@kohost/api-client 4.6.3 → 4.6.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 (253) hide show
  1. package/dist/amqpClient.cjs.map +1 -1
  2. package/dist/amqpClient.js +1 -1
  3. package/dist/{chunk-TM3PSLKD.js → chunk-272AWU65.js} +1 -1
  4. package/dist/{chunk-6LO4AAZU.js → chunk-2WQGG3GP.js} +1 -1
  5. package/dist/{chunk-3OHHAVGM.js → chunk-2YKTIVLE.js} +1 -1
  6. package/dist/{chunk-XGYTUUO7.js → chunk-3A366CIV.js} +1 -1
  7. package/dist/{chunk-XVJVSQGH.js → chunk-3MER5OVQ.js} +1 -1
  8. package/dist/{chunk-RE2TLPXP.js → chunk-4N4JCEJH.js} +1 -1
  9. package/dist/{chunk-364IZMI7.js → chunk-4QV2AU43.js} +1 -1
  10. package/dist/{chunk-364IZMI7.js.map → chunk-4QV2AU43.js.map} +1 -1
  11. package/dist/{chunk-IWGDMVNC.js → chunk-6D233UFG.js} +1 -1
  12. package/dist/{chunk-45WLVARH.js → chunk-6IMKOEPO.js} +1 -1
  13. package/dist/{chunk-VL5FTU46.js → chunk-7HBE4KJE.js} +1 -1
  14. package/dist/{chunk-PRDI3KRE.js → chunk-7WDWVUP4.js} +1 -1
  15. package/dist/{chunk-XRZGL3GO.js → chunk-BB2LZ6H4.js} +1 -1
  16. package/dist/{chunk-LM3DGQWT.js → chunk-BLPMSNOM.js} +1 -1
  17. package/dist/{chunk-XQ5CWKNA.js → chunk-BV7DLVJD.js} +1 -1
  18. package/dist/{chunk-DJZRIWGL.js → chunk-CPHTNHWG.js} +1 -1
  19. package/dist/{chunk-NL7OPBZY.js → chunk-CQ6QDFH5.js} +1 -1
  20. package/dist/{chunk-UIFA6TUW.js → chunk-E3ZIIDU2.js} +1 -1
  21. package/dist/{chunk-X7VZCU32.js → chunk-ELXY3DDW.js} +1 -1
  22. package/dist/{chunk-4SSME4Y4.js → chunk-ES43C3KH.js} +1 -1
  23. package/dist/{chunk-IAIKQXNR.js → chunk-F6IXLEJ6.js} +1 -1
  24. package/dist/{chunk-XYV2ZMBZ.js → chunk-FIIQWHVH.js} +1 -1
  25. package/dist/{chunk-KI6XJTAQ.js → chunk-GNH5YHFT.js} +1 -1
  26. package/dist/{chunk-6HFMALKH.js → chunk-ICMHZEBL.js} +1 -1
  27. package/dist/{chunk-DNAXIHEO.js → chunk-IZAHIGET.js} +1 -1
  28. package/dist/{chunk-BWKM6FHE.js → chunk-JBL22KMP.js} +1 -1
  29. package/dist/{chunk-FM7UL4RE.js → chunk-JIH6SR4Q.js} +1 -1
  30. package/dist/{chunk-CWTMCUZZ.js → chunk-KRZRJWUC.js} +1 -1
  31. package/dist/{chunk-CWTMCUZZ.js.map → chunk-KRZRJWUC.js.map} +1 -1
  32. package/dist/{chunk-Y5J5SCRG.js → chunk-LEEBU66C.js} +1 -1
  33. package/dist/{chunk-7SDGK3FY.js → chunk-M3FL4KEH.js} +1 -1
  34. package/dist/{chunk-LJVWC3E4.js → chunk-MMA2BJ4M.js} +1 -1
  35. package/dist/{chunk-LBHE6WMJ.js → chunk-MYYWR6TU.js} +1 -1
  36. package/dist/chunk-NYA3RBPT.js +1 -0
  37. package/dist/{chunk-HCLU4KYE.js.map → chunk-NYA3RBPT.js.map} +1 -1
  38. package/dist/{chunk-UNLKDI2P.js → chunk-OM4RZGDI.js} +1 -1
  39. package/dist/{chunk-UNLKDI2P.js.map → chunk-OM4RZGDI.js.map} +1 -1
  40. package/dist/{chunk-NWH5F523.js → chunk-ORD57R57.js} +1 -1
  41. package/dist/{chunk-FW7D3GH3.js → chunk-QRKJ3EPS.js} +1 -1
  42. package/dist/chunk-RM6XS6VX.js +1 -0
  43. package/dist/chunk-RM6XS6VX.js.map +1 -0
  44. package/dist/{chunk-PYZPYTS3.js → chunk-RMTYPPC5.js} +1 -1
  45. package/dist/{chunk-GXMHA263.js → chunk-ROCX57V3.js} +1 -1
  46. package/dist/{chunk-2P5LASH2.js → chunk-RV42OZ7B.js} +1 -1
  47. package/dist/{chunk-6BAPG7KI.js → chunk-RZSDC4H5.js} +1 -1
  48. package/dist/chunk-SCQ56FY5.js +1 -0
  49. package/dist/chunk-SCQ56FY5.js.map +1 -0
  50. package/dist/{chunk-7BI266GZ.js → chunk-SSJ5FXF7.js} +1 -1
  51. package/dist/{chunk-D5TZNOHT.js → chunk-UBULXWAL.js} +1 -1
  52. package/dist/{chunk-3H74J6YV.js → chunk-VQ7RZNSI.js} +1 -1
  53. package/dist/{chunk-Q33FW2UC.js → chunk-VRCIGWQ4.js} +1 -1
  54. package/dist/{chunk-Q33FW2UC.js.map → chunk-VRCIGWQ4.js.map} +1 -1
  55. package/dist/{chunk-UDBCX6ZP.js → chunk-XMCXXZYZ.js} +1 -1
  56. package/dist/{chunk-3XNNT6GS.js → chunk-YJLYY4JK.js} +1 -1
  57. package/dist/{chunk-RPCMFJ32.js → chunk-Z62P7Z4L.js} +1 -1
  58. package/dist/{chunk-IWIPSTOH.js → chunk-Z75TJKTC.js} +1 -1
  59. package/dist/{chunk-POWSQ6EB.js → chunk-ZIYKSNOV.js} +1 -1
  60. package/dist/commands/index.cjs.map +1 -1
  61. package/dist/commands/index.js +1 -1
  62. package/dist/errors/index.cjs.map +1 -1
  63. package/dist/errors/index.js +1 -1
  64. package/dist/events/index.cjs.map +1 -1
  65. package/dist/events/index.js +1 -1
  66. package/dist/index.cjs +1 -1
  67. package/dist/index.cjs.map +1 -1
  68. package/dist/index.js +1 -1
  69. package/dist/models/alarm.cjs +1 -1
  70. package/dist/models/alarm.cjs.map +1 -1
  71. package/dist/models/alarm.js +1 -1
  72. package/dist/models/announcement.cjs +1 -1
  73. package/dist/models/announcement.cjs.map +1 -1
  74. package/dist/models/announcement.js +1 -1
  75. package/dist/models/automation.cjs +1 -1
  76. package/dist/models/automation.cjs.map +1 -1
  77. package/dist/models/automation.d.cts +111 -67
  78. package/dist/models/automation.d.ts +111 -67
  79. package/dist/models/automation.js +1 -1
  80. package/dist/models/camera.cjs +1 -1
  81. package/dist/models/camera.cjs.map +1 -1
  82. package/dist/models/camera.js +1 -1
  83. package/dist/models/category.cjs +1 -1
  84. package/dist/models/category.cjs.map +1 -1
  85. package/dist/models/category.js +1 -1
  86. package/dist/models/courtesy.cjs +1 -1
  87. package/dist/models/courtesy.cjs.map +1 -1
  88. package/dist/models/courtesy.js +1 -1
  89. package/dist/models/credential.cjs +1 -1
  90. package/dist/models/credential.cjs.map +1 -1
  91. package/dist/models/credential.js +1 -1
  92. package/dist/models/deviceRouter.cjs +1 -1
  93. package/dist/models/deviceRouter.cjs.map +1 -1
  94. package/dist/models/deviceRouter.js +1 -1
  95. package/dist/models/dimmer.cjs +1 -1
  96. package/dist/models/dimmer.cjs.map +1 -1
  97. package/dist/models/dimmer.js +1 -1
  98. package/dist/models/discoveredDevice.cjs +1 -1
  99. package/dist/models/discoveredDevice.cjs.map +1 -1
  100. package/dist/models/discoveredDevice.js +1 -1
  101. package/dist/models/emailMessage.cjs +1 -1
  102. package/dist/models/emailMessage.cjs.map +1 -1
  103. package/dist/models/emailMessage.js +1 -1
  104. package/dist/models/energyReport.cjs +1 -1
  105. package/dist/models/energyReport.cjs.map +1 -1
  106. package/dist/models/energyReport.js +1 -1
  107. package/dist/models/energyReportShard.cjs +1 -1
  108. package/dist/models/energyReportShard.cjs.map +1 -1
  109. package/dist/models/energyReportShard.js +1 -1
  110. package/dist/models/gateway.cjs +1 -1
  111. package/dist/models/gateway.cjs.map +1 -1
  112. package/dist/models/gateway.js +1 -1
  113. package/dist/models/identification.cjs +1 -1
  114. package/dist/models/identification.cjs.map +1 -1
  115. package/dist/models/identification.js +1 -1
  116. package/dist/models/index.cjs +1 -1
  117. package/dist/models/index.cjs.map +1 -1
  118. package/dist/models/index.js +1 -1
  119. package/dist/models/issue.cjs +1 -1
  120. package/dist/models/issue.cjs.map +1 -1
  121. package/dist/models/issue.js +1 -1
  122. package/dist/models/lock.cjs +1 -1
  123. package/dist/models/lock.cjs.map +1 -1
  124. package/dist/models/lock.js +1 -1
  125. package/dist/models/log.cjs +1 -1
  126. package/dist/models/log.cjs.map +1 -1
  127. package/dist/models/log.js +1 -1
  128. package/dist/models/mediaFile.cjs +1 -1
  129. package/dist/models/mediaFile.cjs.map +1 -1
  130. package/dist/models/mediaFile.js +1 -1
  131. package/dist/models/mediaSource.cjs +1 -1
  132. package/dist/models/mediaSource.cjs.map +1 -1
  133. package/dist/models/mediaSource.js +1 -1
  134. package/dist/models/motionSensor.cjs +1 -1
  135. package/dist/models/motionSensor.cjs.map +1 -1
  136. package/dist/models/motionSensor.js +1 -1
  137. package/dist/models/notification.cjs +1 -1
  138. package/dist/models/notification.cjs.map +1 -1
  139. package/dist/models/notification.js +1 -1
  140. package/dist/models/order.cjs +1 -1
  141. package/dist/models/order.cjs.map +1 -1
  142. package/dist/models/order.js +1 -1
  143. package/dist/models/organization.cjs +1 -1
  144. package/dist/models/organization.cjs.map +1 -1
  145. package/dist/models/organization.js +1 -1
  146. package/dist/models/payment.cjs +1 -1
  147. package/dist/models/payment.cjs.map +1 -1
  148. package/dist/models/payment.js +1 -1
  149. package/dist/models/policy.cjs +1 -1
  150. package/dist/models/policy.cjs.map +1 -1
  151. package/dist/models/policy.js +1 -1
  152. package/dist/models/product.cjs +1 -1
  153. package/dist/models/product.cjs.map +1 -1
  154. package/dist/models/product.js +1 -1
  155. package/dist/models/property.cjs +1 -1
  156. package/dist/models/property.cjs.map +1 -1
  157. package/dist/models/property.js +1 -1
  158. package/dist/models/reservation.cjs +1 -1
  159. package/dist/models/reservation.cjs.map +1 -1
  160. package/dist/models/reservation.js +1 -1
  161. package/dist/models/room.cjs +1 -1
  162. package/dist/models/room.cjs.map +1 -1
  163. package/dist/models/room.js +1 -1
  164. package/dist/models/scene.cjs +1 -1
  165. package/dist/models/scene.cjs.map +1 -1
  166. package/dist/models/scene.js +1 -1
  167. package/dist/models/shortLink.cjs +1 -1
  168. package/dist/models/shortLink.cjs.map +1 -1
  169. package/dist/models/shortLink.js +1 -1
  170. package/dist/models/smsMessage.cjs +1 -1
  171. package/dist/models/smsMessage.cjs.map +1 -1
  172. package/dist/models/smsMessage.js +1 -1
  173. package/dist/models/space.cjs +1 -1
  174. package/dist/models/space.cjs.map +1 -1
  175. package/dist/models/space.js +1 -1
  176. package/dist/models/switch.cjs +1 -1
  177. package/dist/models/switch.cjs.map +1 -1
  178. package/dist/models/switch.js +1 -1
  179. package/dist/models/systemUser.cjs +1 -1
  180. package/dist/models/systemUser.cjs.map +1 -1
  181. package/dist/models/systemUser.js +1 -1
  182. package/dist/models/thermostat.cjs +1 -1
  183. package/dist/models/thermostat.cjs.map +1 -1
  184. package/dist/models/thermostat.js +1 -1
  185. package/dist/models/ticket.cjs +1 -1
  186. package/dist/models/ticket.cjs.map +1 -1
  187. package/dist/models/ticket.js +1 -1
  188. package/dist/models/timeSheet.cjs +1 -1
  189. package/dist/models/timeSheet.cjs.map +1 -1
  190. package/dist/models/timeSheet.js +1 -1
  191. package/dist/models/user.cjs +1 -1
  192. package/dist/models/user.cjs.map +1 -1
  193. package/dist/models/user.js +1 -1
  194. package/dist/models/vendor.cjs +1 -1
  195. package/dist/models/vendor.cjs.map +1 -1
  196. package/dist/models/vendor.js +1 -1
  197. package/dist/models/windowCovering.cjs +1 -1
  198. package/dist/models/windowCovering.cjs.map +1 -1
  199. package/dist/models/windowCovering.js +1 -1
  200. package/dist/useCases/index.cjs.map +1 -1
  201. package/dist/useCases/index.js +1 -1
  202. package/dist/utils.cjs +1 -1
  203. package/dist/utils.cjs.map +1 -1
  204. package/dist/utils.js +1 -1
  205. package/package.json +1 -1
  206. package/dist/chunk-HCLU4KYE.js +0 -1
  207. package/dist/chunk-IL3ICDGN.js +0 -1
  208. package/dist/chunk-IL3ICDGN.js.map +0 -1
  209. package/dist/chunk-MOGXYZHC.js +0 -1
  210. package/dist/chunk-MOGXYZHC.js.map +0 -1
  211. /package/dist/{chunk-TM3PSLKD.js.map → chunk-272AWU65.js.map} +0 -0
  212. /package/dist/{chunk-6LO4AAZU.js.map → chunk-2WQGG3GP.js.map} +0 -0
  213. /package/dist/{chunk-3OHHAVGM.js.map → chunk-2YKTIVLE.js.map} +0 -0
  214. /package/dist/{chunk-XGYTUUO7.js.map → chunk-3A366CIV.js.map} +0 -0
  215. /package/dist/{chunk-XVJVSQGH.js.map → chunk-3MER5OVQ.js.map} +0 -0
  216. /package/dist/{chunk-RE2TLPXP.js.map → chunk-4N4JCEJH.js.map} +0 -0
  217. /package/dist/{chunk-IWGDMVNC.js.map → chunk-6D233UFG.js.map} +0 -0
  218. /package/dist/{chunk-45WLVARH.js.map → chunk-6IMKOEPO.js.map} +0 -0
  219. /package/dist/{chunk-VL5FTU46.js.map → chunk-7HBE4KJE.js.map} +0 -0
  220. /package/dist/{chunk-PRDI3KRE.js.map → chunk-7WDWVUP4.js.map} +0 -0
  221. /package/dist/{chunk-XRZGL3GO.js.map → chunk-BB2LZ6H4.js.map} +0 -0
  222. /package/dist/{chunk-LM3DGQWT.js.map → chunk-BLPMSNOM.js.map} +0 -0
  223. /package/dist/{chunk-XQ5CWKNA.js.map → chunk-BV7DLVJD.js.map} +0 -0
  224. /package/dist/{chunk-DJZRIWGL.js.map → chunk-CPHTNHWG.js.map} +0 -0
  225. /package/dist/{chunk-NL7OPBZY.js.map → chunk-CQ6QDFH5.js.map} +0 -0
  226. /package/dist/{chunk-UIFA6TUW.js.map → chunk-E3ZIIDU2.js.map} +0 -0
  227. /package/dist/{chunk-X7VZCU32.js.map → chunk-ELXY3DDW.js.map} +0 -0
  228. /package/dist/{chunk-4SSME4Y4.js.map → chunk-ES43C3KH.js.map} +0 -0
  229. /package/dist/{chunk-IAIKQXNR.js.map → chunk-F6IXLEJ6.js.map} +0 -0
  230. /package/dist/{chunk-XYV2ZMBZ.js.map → chunk-FIIQWHVH.js.map} +0 -0
  231. /package/dist/{chunk-KI6XJTAQ.js.map → chunk-GNH5YHFT.js.map} +0 -0
  232. /package/dist/{chunk-6HFMALKH.js.map → chunk-ICMHZEBL.js.map} +0 -0
  233. /package/dist/{chunk-DNAXIHEO.js.map → chunk-IZAHIGET.js.map} +0 -0
  234. /package/dist/{chunk-BWKM6FHE.js.map → chunk-JBL22KMP.js.map} +0 -0
  235. /package/dist/{chunk-FM7UL4RE.js.map → chunk-JIH6SR4Q.js.map} +0 -0
  236. /package/dist/{chunk-Y5J5SCRG.js.map → chunk-LEEBU66C.js.map} +0 -0
  237. /package/dist/{chunk-7SDGK3FY.js.map → chunk-M3FL4KEH.js.map} +0 -0
  238. /package/dist/{chunk-LJVWC3E4.js.map → chunk-MMA2BJ4M.js.map} +0 -0
  239. /package/dist/{chunk-LBHE6WMJ.js.map → chunk-MYYWR6TU.js.map} +0 -0
  240. /package/dist/{chunk-NWH5F523.js.map → chunk-ORD57R57.js.map} +0 -0
  241. /package/dist/{chunk-FW7D3GH3.js.map → chunk-QRKJ3EPS.js.map} +0 -0
  242. /package/dist/{chunk-PYZPYTS3.js.map → chunk-RMTYPPC5.js.map} +0 -0
  243. /package/dist/{chunk-GXMHA263.js.map → chunk-ROCX57V3.js.map} +0 -0
  244. /package/dist/{chunk-2P5LASH2.js.map → chunk-RV42OZ7B.js.map} +0 -0
  245. /package/dist/{chunk-6BAPG7KI.js.map → chunk-RZSDC4H5.js.map} +0 -0
  246. /package/dist/{chunk-7BI266GZ.js.map → chunk-SSJ5FXF7.js.map} +0 -0
  247. /package/dist/{chunk-D5TZNOHT.js.map → chunk-UBULXWAL.js.map} +0 -0
  248. /package/dist/{chunk-3H74J6YV.js.map → chunk-VQ7RZNSI.js.map} +0 -0
  249. /package/dist/{chunk-UDBCX6ZP.js.map → chunk-XMCXXZYZ.js.map} +0 -0
  250. /package/dist/{chunk-3XNNT6GS.js.map → chunk-YJLYY4JK.js.map} +0 -0
  251. /package/dist/{chunk-RPCMFJ32.js.map → chunk-Z62P7Z4L.js.map} +0 -0
  252. /package/dist/{chunk-IWIPSTOH.js.map → chunk-Z75TJKTC.js.map} +0 -0
  253. /package/dist/{chunk-POWSQ6EB.js.map → chunk-ZIYKSNOV.js.map} +0 -0
@@ -1 +1 @@
1
- import{validateMotionSensor}from"./chunk-IL3ICDGN.js";import{Entity}from"./chunk-YPJMXYGL.js";import{__name}from"./chunk-XE4OXN2W.js";var MotionSensor=class extends Entity{static{__name(this,"MotionSensor")}constructor(data){super(data),this.id=data.id,void 0!==data.name&&(this.name=data.name),this.type=data.type,void 0!==data.offline&&(this.offline=data.offline),this.driver=data.driver,void 0!==data.systemId&&(this.systemId=data.systemId),void 0!==data.supportedNotifications&&(this.supportedNotifications=data.supportedNotifications),void 0!==data.notification&&(this.notification=data.notification),void 0!==data.watts&&(this.watts=data.watts),void 0!==data.icon&&(this.icon=data.icon),void 0!==data.modelNumber&&(this.modelNumber=data.modelNumber),void 0!==data.serialNumber&&(this.serialNumber=data.serialNumber),void 0!==data.firmwareVersion&&(this.firmwareVersion=data.firmwareVersion)}};Object.defineProperty(MotionSensor.prototype,"schema",{value:{$schema:"http://json-schema.org/draft-07/schema",$id:"motionSensor.json",title:"Motion Sensor",description:"Any smart motion sensor",type:"object",required:["id","type","driver"],additionalProperties:!1,properties:{id:{$ref:"definitions.json#/definitions/id"},name:{type:"string"},type:{$ref:"definitions.json#/definitions/type"},offline:{type:"boolean"},driver:{$ref:"definitions.json#/definitions/driver"},systemId:{$ref:"definitions.json#/definitions/systemId"},supportedNotifications:{$ref:"definitions.json#/definitions/supportedNotifications"},notification:{$ref:"definitions.json#/definitions/notification"},watts:{$ref:"definitions.json#/definitions/watts"},icon:{type:"string"},modelNumber:{type:"string"},serialNumber:{type:"string"},firmwareVersion:{type:"string"}}}}),Object.defineProperty(MotionSensor.prototype,"validator",{get:__name((function(){return validateMotionSensor}),"get")});export{MotionSensor};//# sourceMappingURL=chunk-6BAPG7KI.js.map
1
+ import{validateMotionSensor}from"./chunk-RM6XS6VX.js";import{Entity}from"./chunk-YPJMXYGL.js";import{__name}from"./chunk-XE4OXN2W.js";var MotionSensor=class extends Entity{static{__name(this,"MotionSensor")}constructor(data){super(data),this.id=data.id,void 0!==data.name&&(this.name=data.name),this.type=data.type,void 0!==data.offline&&(this.offline=data.offline),this.driver=data.driver,void 0!==data.systemId&&(this.systemId=data.systemId),void 0!==data.supportedNotifications&&(this.supportedNotifications=data.supportedNotifications),void 0!==data.notification&&(this.notification=data.notification),void 0!==data.watts&&(this.watts=data.watts),void 0!==data.icon&&(this.icon=data.icon),void 0!==data.modelNumber&&(this.modelNumber=data.modelNumber),void 0!==data.serialNumber&&(this.serialNumber=data.serialNumber),void 0!==data.firmwareVersion&&(this.firmwareVersion=data.firmwareVersion)}};Object.defineProperty(MotionSensor.prototype,"schema",{value:{$schema:"http://json-schema.org/draft-07/schema",$id:"motionSensor.json",title:"Motion Sensor",description:"Any smart motion sensor",type:"object",required:["id","type","driver"],additionalProperties:!1,properties:{id:{$ref:"definitions.json#/definitions/id"},name:{type:"string"},type:{$ref:"definitions.json#/definitions/type"},offline:{type:"boolean"},driver:{$ref:"definitions.json#/definitions/driver"},systemId:{$ref:"definitions.json#/definitions/systemId"},supportedNotifications:{$ref:"definitions.json#/definitions/supportedNotifications"},notification:{$ref:"definitions.json#/definitions/notification"},watts:{$ref:"definitions.json#/definitions/watts"},icon:{type:"string"},modelNumber:{type:"string"},serialNumber:{type:"string"},firmwareVersion:{type:"string"}}}}),Object.defineProperty(MotionSensor.prototype,"validator",{get:__name((function(){return validateMotionSensor}),"get")});export{MotionSensor};//# sourceMappingURL=chunk-RZSDC4H5.js.map
@@ -0,0 +1 @@
1
+ import{validateAutomation}from"./chunk-RM6XS6VX.js";import{Entity}from"./chunk-YPJMXYGL.js";import{__name}from"./chunk-XE4OXN2W.js";var Automation=class extends Entity{static{__name(this,"Automation")}constructor(data){super(data),this.id=data.id,void 0!==data.name&&(this.name=data.name),this.type=data.type,void 0!==data.isEnabled&&(this.isEnabled=data.isEnabled),this.trigger=data.trigger,this.actions=data.actions,void 0!==data.createdAt&&(this.createdAt=data.createdAt),void 0!==data.updatedAt&&(this.updatedAt=data.updatedAt),void 0!==data.lastTriggeredAt&&(this.lastTriggeredAt=data.lastTriggeredAt)}};Object.defineProperty(Automation.prototype,"schema",{value:{$schema:"http://json-schema.org/draft-07/schema",$id:"automation.json",title:"Automation",description:"An automation is a collection of triggers and actions",type:"object",required:["id","type","trigger","actions"],properties:{id:{$ref:"definitions.json#/definitions/id"},name:{type:"string",description:"The friendly name of the automation"},type:{type:"string",enum:["automation"],default:"automation"},isEnabled:{type:"boolean",description:"Whether the automation is currently enabled",default:!0},trigger:{type:"object",description:"The trigger that initiates the automation",required:["discriminator"],properties:{discriminator:{type:"string",enum:["schedule","event"],description:"Type of trigger"},schedule:{type:"object",description:"Schedule for time-based triggers",required:["days","time","timezone"],properties:{days:{type:"array",description:"Days of the week (0 = Sunday, 6 = Saturday)",items:{type:"integer",minimum:0,maximum:6}},time:{type:"string",description:"Time of day to trigger the automation"},timeOffsetSeconds:{type:"integer",description:"Offset in seconds from the scheduled time",default:0},repeat:{type:"boolean",description:"Whether the schedule repeats",default:!0},timezone:{type:"string",description:"Timezone for the schedule (IANA timezone format)"}}},event:{type:"object",required:["eventName","eventProperties","match"],properties:{eventName:{type:"string",description:"Name of the event that triggers the automation actions"},eventProperties:{type:"array",description:"Properties of the event that triggers the automation actions",items:{type:"object",required:["property","value","operator"],properties:{property:{type:"string",description:"Property of the event"},value:{type:"string",description:"Value of the property"},operator:{type:"string",description:"Operator of the property",enum:["==","!=",">",">=","<","<="]}}}},match:{type:"string",description:"Match criteria for the event to trigger the automation actions",enum:["any","all"]}}}}},actions:{type:"array",description:"Actions to perform when the trigger conditions are met",items:{type:"object",required:["useCase","useCaseParams"],properties:{useCase:{type:"string",description:"Name of the use case to call"},useCaseParams:{type:"object",description:"Parameters to pass to the use case",properties:{data:{type:["object","array"],description:"Data to pass to the use case"}}}},minItems:1}},createdAt:{$ref:"definitions.json#/definitions/createdAt"},updatedAt:{$ref:"definitions.json#/definitions/updatedAt"},lastTriggeredAt:{$ref:"definitions.json#/definitions/date",description:"When the automation was last triggered"}},additionalProperties:!1}}),Object.defineProperty(Automation.prototype,"validator",{get:__name((function(){return validateAutomation}),"get")});export{Automation};//# sourceMappingURL=chunk-SCQ56FY5.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/models/automation.js"],"sourcesContent":["/* @ts-nocheck */\n/* This file is automatically generated. Do not modify it manually. */\n\nimport { Entity } from \"./entity\";\nimport { validateAutomation as validate } from \"../validate\";\n\n/**\n * @typedef {Object} AutomationData An automation is a collection of triggers and actions\n * @property {string} id - Identifier of the object.\n * @property {string} [name] - The friendly name of the automation\n * @property {\"automation\"} type - Default: \"automation\"\n * @property {boolean} [isEnabled] - Whether the automation is currently enabled. Default: true\n * @property {{discriminator: (\"schedule\"|\"event\"), schedule?: {days: number[], time: string, timeOffsetSeconds?: number, repeat?: boolean, timezone: string}, event?: {eventName: string, eventProperties: {property: string, value: string, operator: (\"==\"|\"!=\"|\">\"|\">=\"|\"<\"|\"<=\")}[], match: (\"any\"|\"all\")}}} trigger - The trigger that initiates the automation\n * @property {(\"schedule\"|\"event\")} trigger.discriminator - Type of trigger\n * @property {{days: number[], time: string, timeOffsetSeconds?: number, repeat?: boolean, timezone: string}} [trigger.schedule] - Schedule for time-based triggers\n * @property {number[]} trigger.schedule.days - Days of the week (0 = Sunday, 6 = Saturday)\n * @property {string} trigger.schedule.time - Time of day to trigger the automation\n * @property {number} [trigger.schedule.timeOffsetSeconds] - Offset in seconds from the scheduled time. Default: 0\n * @property {boolean} [trigger.schedule.repeat] - Whether the schedule repeats. Default: true\n * @property {string} trigger.schedule.timezone - Timezone for the schedule (IANA timezone format)\n * @property {{eventName: string, eventProperties: {property: string, value: string, operator: (\"==\"|\"!=\"|\">\"|\">=\"|\"<\"|\"<=\")}[], match: (\"any\"|\"all\")}} [trigger.event]\n * @property {string} trigger.event.eventName - Name of the event that triggers the automation actions\n * @property {{property: string, value: string, operator: (\"==\"|\"!=\"|\">\"|\">=\"|\"<\"|\"<=\")}[]} trigger.event.eventProperties - Properties of the event that triggers the automation actions\n * @property {(\"any\"|\"all\")} trigger.event.match - Match criteria for the event to trigger the automation actions\n * @property {{useCase: string, useCaseParams: {data?: (object|array)}}[]} actions - Actions to perform when the trigger conditions are met\n * @property {(string|object)} [createdAt]\n * @property {(string|object)} [updatedAt]\n * @property {(string|object)} [lastTriggeredAt] - When the automation was last triggered\n */\n\n/**\n * An automation is a collection of triggers and actions\n * @class Automation\n * @extends {Entity}\n */\nexport class Automation extends Entity {\n /**\n * @constructor\n * @param {AutomationData} data - The data to initialize the Automation with\n */\n constructor(data) {\n super(data);\n this.id = data.id;\n if (data.name !== undefined) this.name = data.name;\n this.type = data.type;\n if (data.isEnabled !== undefined) this.isEnabled = data.isEnabled;\n this.trigger = data.trigger;\n this.actions = data.actions;\n if (data.createdAt !== undefined) this.createdAt = data.createdAt;\n if (data.updatedAt !== undefined) this.updatedAt = data.updatedAt;\n if (data.lastTriggeredAt !== undefined)\n this.lastTriggeredAt = data.lastTriggeredAt;\n }\n}\n\nObject.defineProperty(Automation.prototype, \"schema\", {\n value: {\n $schema: \"http://json-schema.org/draft-07/schema\",\n $id: \"automation.json\",\n title: \"Automation\",\n description: \"An automation is a collection of triggers and actions\",\n type: \"object\",\n required: [\"id\", \"type\", \"trigger\", \"actions\"],\n properties: {\n id: { $ref: \"definitions.json#/definitions/id\" },\n name: {\n type: \"string\",\n description: \"The friendly name of the automation\",\n },\n type: { type: \"string\", enum: [\"automation\"], default: \"automation\" },\n isEnabled: {\n type: \"boolean\",\n description: \"Whether the automation is currently enabled\",\n default: true,\n },\n trigger: {\n type: \"object\",\n description: \"The trigger that initiates the automation\",\n required: [\"discriminator\"],\n properties: {\n discriminator: {\n type: \"string\",\n enum: [\"schedule\", \"event\"],\n description: \"Type of trigger\",\n },\n schedule: {\n type: \"object\",\n description: \"Schedule for time-based triggers\",\n required: [\"days\", \"time\", \"timezone\"],\n properties: {\n days: {\n type: \"array\",\n description: \"Days of the week (0 = Sunday, 6 = Saturday)\",\n items: { type: \"integer\", minimum: 0, maximum: 6 },\n },\n time: {\n type: \"string\",\n description: \"Time of day to trigger the automation\",\n },\n timeOffsetSeconds: {\n type: \"integer\",\n description: \"Offset in seconds from the scheduled time\",\n default: 0,\n },\n repeat: {\n type: \"boolean\",\n description: \"Whether the schedule repeats\",\n default: true,\n },\n timezone: {\n type: \"string\",\n description: \"Timezone for the schedule (IANA timezone format)\",\n },\n },\n },\n event: {\n type: \"object\",\n required: [\"eventName\", \"eventProperties\", \"match\"],\n properties: {\n eventName: {\n type: \"string\",\n description:\n \"Name of the event that triggers the automation actions\",\n },\n eventProperties: {\n type: \"array\",\n description:\n \"Properties of the event that triggers the automation actions\",\n items: {\n type: \"object\",\n required: [\"property\", \"value\", \"operator\"],\n properties: {\n property: {\n type: \"string\",\n description: \"Property of the event\",\n },\n value: {\n type: \"string\",\n description: \"Value of the property\",\n },\n operator: {\n type: \"string\",\n description: \"Operator of the property\",\n enum: [\"==\", \"!=\", \">\", \">=\", \"<\", \"<=\"],\n },\n },\n },\n },\n match: {\n type: \"string\",\n description:\n \"Match criteria for the event to trigger the automation actions\",\n enum: [\"any\", \"all\"],\n },\n },\n },\n },\n },\n actions: {\n type: \"array\",\n description: \"Actions to perform when the trigger conditions are met\",\n items: {\n type: \"object\",\n required: [\"useCase\", \"useCaseParams\"],\n properties: {\n useCase: {\n type: \"string\",\n description: \"Name of the use case to call\",\n },\n useCaseParams: {\n type: \"object\",\n description: \"Parameters to pass to the use case\",\n properties: {\n data: {\n type: [\"object\", \"array\"],\n description: \"Data to pass to the use case\",\n },\n },\n },\n },\n minItems: 1,\n },\n },\n createdAt: { $ref: \"definitions.json#/definitions/createdAt\" },\n updatedAt: { $ref: \"definitions.json#/definitions/updatedAt\" },\n lastTriggeredAt: {\n $ref: \"definitions.json#/definitions/date\",\n description: \"When the automation was last triggered\",\n },\n },\n additionalProperties: false,\n },\n});\n\nObject.defineProperty(Automation.protot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cACrB;AAAA,YACF;AAAA,UACF;AAAA,QACF;AAAA,MACF;AAAA,MACA,SAAS;AAAA,QACP,MAAM;AAAA,QACN,aAAa;AAAA,QACb,OAAO;AAAA,UACL,MAAM;AAAA,UACN,UAAU,CAAC,WAAW,eAAe;AAAA,UACrC,YAAY;AAAA,YACV,SAAS;AAAA,cACP,MAAM;AAAA,cACN,aAAa;AAAA,YACf;AAAA,YACA,eAAe;AAAA,cACb,MAAM;AAAA,cACN,aAAa;AAAA,cACb,YAAY;AAAA,gBACV,MAAM;AAAA,kBACJ,MAAM,CAAC,UAAU,OAAO;AAAA,kBACxB,aAAa;AAAA,gBACf;AAAA,cACF;AAAA,YACF;AAAA,UACF;AAAA,UACA,UAAU;AAAA,QACZ;AAAA,MACF;AAAA,MACA,WAAW,EAAE,MAAM,0CAA0C;AAAA,MAC7D,WAAW,EAAE,MAAM,0CAA0C;AAAA,MAC7D,iBAAiB;AAAA,QACf,MAAM;AAAA,QACN,aAAa;AAAA,MACf;AAAA,IACF;AAAA,IACA,sBAAsB;AAAA,EACxB;AACF,CAAC;AAED,OAAO,eAAe,WAAW,WAAW,aAAa;AAAA,EACvD,KAAK,kCAAY;AACf,WAAO;AAAA,EACT,GAFK;AAGP,CAAC;","names":[]}
@@ -1 +1 @@
1
- import{validateCategory}from"./chunk-IL3ICDGN.js";import{Entity}from"./chunk-YPJMXYGL.js";import{__name}from"./chunk-XE4OXN2W.js";var Category=class extends Entity{static{__name(this,"Category")}constructor(data){super(data),this.id=data.id,this.type=data.type,void 0!==data.name&&(this.name=data.name),void 0!==data.driver&&(this.driver=data.driver),void 0!==data.description&&(this.description=data.description),void 0!==data.image&&(this.image=data.image),void 0!==data.rating&&(this.rating=data.rating),this.discriminator=data.discriminator,void 0!==data.systemId&&(this.systemId=data.systemId)}};Object.defineProperty(Category.prototype,"schema",{value:{$schema:"http://json-schema.org/draft-07/schema",$id:"category.json",title:"Category",type:"object",required:["id","type","discriminator"],properties:{id:{$ref:"definitions.json#/definitions/id"},type:{type:"string",enum:["category"],default:"category"},name:{type:"string",minLength:1},driver:{$ref:"definitions.json#/definitions/driver"},description:{type:"string"},image:{$ref:"mediaFile.json"},rating:{type:"number",minimum:0,maximum:10,default:9},discriminator:{type:"string",enum:["space","product","mediaFile","property","user"]},systemId:{$ref:"definitions.json#/definitions/systemId"}}}}),Object.defineProperty(Category.prototype,"validator",{get:__name((function(){return validateCategory}),"get")});export{Category};//# sourceMappingURL=chunk-7BI266GZ.js.map
1
+ import{validateCategory}from"./chunk-RM6XS6VX.js";import{Entity}from"./chunk-YPJMXYGL.js";import{__name}from"./chunk-XE4OXN2W.js";var Category=class extends Entity{static{__name(this,"Category")}constructor(data){super(data),this.id=data.id,this.type=data.type,void 0!==data.name&&(this.name=data.name),void 0!==data.driver&&(this.driver=data.driver),void 0!==data.description&&(this.description=data.description),void 0!==data.image&&(this.image=data.image),void 0!==data.rating&&(this.rating=data.rating),this.discriminator=data.discriminator,void 0!==data.systemId&&(this.systemId=data.systemId)}};Object.defineProperty(Category.prototype,"schema",{value:{$schema:"http://json-schema.org/draft-07/schema",$id:"category.json",title:"Category",type:"object",required:["id","type","discriminator"],properties:{id:{$ref:"definitions.json#/definitions/id"},type:{type:"string",enum:["category"],default:"category"},name:{type:"string",minLength:1},driver:{$ref:"definitions.json#/definitions/driver"},description:{type:"string"},image:{$ref:"mediaFile.json"},rating:{type:"number",minimum:0,maximum:10,default:9},discriminator:{type:"string",enum:["space","product","mediaFile","property","user"]},systemId:{$ref:"definitions.json#/definitions/systemId"}}}}),Object.defineProperty(Category.prototype,"validator",{get:__name((function(){return validateCategory}),"get")});export{Category};//# sourceMappingURL=chunk-SSJ5FXF7.js.map
@@ -1 +1 @@
1
- import{validateEnergyReport}from"./chunk-IL3ICDGN.js";import{Entity}from"./chunk-YPJMXYGL.js";import{__name}from"./chunk-XE4OXN2W.js";var EnergyReport=class extends Entity{static{__name(this,"EnergyReport")}constructor(data){super(data),this.id=data.id,this.type=data.type,void 0!==data.reportTime&&(this.reportTime=data.reportTime),this.roomId=data.roomId,this.first=data.first,this.last=data.last,this.consumption=data.consumption,this.totals=data.totals,this.costPerKw=data.costPerKw}};Object.defineProperty(EnergyReport.prototype,"schema",{value:{$schema:"http://json-schema.org/draft-07/schema",$id:"energyReport.json",title:"Energy Report",description:"Hourly Report for Energy based on energy report shards",type:"object",required:["id","type","roomId","first","last","consumption","totals","costPerKw"],properties:{id:{$ref:"definitions.json#/definitions/id"},type:{type:"string",enum:["energyReport"],default:"energyReport"},reportTime:{type:"string",enum:["hourly","daily","monthly"]},roomId:{$ref:"definitions.json#/definitions/id"},first:{type:["string","object"],format:"date-time"},last:{type:["string","object"],format:"date-time"},consumption:{type:"array",items:{type:"object",required:["id","type","kwh"],properties:{id:{$ref:"definitions.json#/definitions/id"},type:{$ref:"definitions.json#/definitions/type"},kwh:{type:"number",minimum:0}}}},totals:{type:"array",items:{type:"object",required:["lights","climate","media"],properties:{lights:{type:"number",minimum:0},climate:{type:"number",minimum:0},media:{type:"number",minimum:0}}}},costPerKw:{type:"number",minimum:0}}}}),Object.defineProperty(EnergyReport.prototype,"validator",{get:__name((function(){return validateEnergyReport}),"get")});export{EnergyReport};//# sourceMappingURL=chunk-D5TZNOHT.js.map
1
+ import{validateEnergyReport}from"./chunk-RM6XS6VX.js";import{Entity}from"./chunk-YPJMXYGL.js";import{__name}from"./chunk-XE4OXN2W.js";var EnergyReport=class extends Entity{static{__name(this,"EnergyReport")}constructor(data){super(data),this.id=data.id,this.type=data.type,void 0!==data.reportTime&&(this.reportTime=data.reportTime),this.roomId=data.roomId,this.first=data.first,this.last=data.last,this.consumption=data.consumption,this.totals=data.totals,this.costPerKw=data.costPerKw}};Object.defineProperty(EnergyReport.prototype,"schema",{value:{$schema:"http://json-schema.org/draft-07/schema",$id:"energyReport.json",title:"Energy Report",description:"Hourly Report for Energy based on energy report shards",type:"object",required:["id","type","roomId","first","last","consumption","totals","costPerKw"],properties:{id:{$ref:"definitions.json#/definitions/id"},type:{type:"string",enum:["energyReport"],default:"energyReport"},reportTime:{type:"string",enum:["hourly","daily","monthly"]},roomId:{$ref:"definitions.json#/definitions/id"},first:{type:["string","object"],format:"date-time"},last:{type:["string","object"],format:"date-time"},consumption:{type:"array",items:{type:"object",required:["id","type","kwh"],properties:{id:{$ref:"definitions.json#/definitions/id"},type:{$ref:"definitions.json#/definitions/type"},kwh:{type:"number",minimum:0}}}},totals:{type:"array",items:{type:"object",required:["lights","climate","media"],properties:{lights:{type:"number",minimum:0},climate:{type:"number",minimum:0},media:{type:"number",minimum:0}}}},costPerKw:{type:"number",minimum:0}}}}),Object.defineProperty(EnergyReport.prototype,"validator",{get:__name((function(){return validateEnergyReport}),"get")});export{EnergyReport};//# sourceMappingURL=chunk-UBULXWAL.js.map
@@ -1 +1 @@
1
- import{validateIdentification}from"./chunk-IL3ICDGN.js";import{Entity}from"./chunk-YPJMXYGL.js";import{__name}from"./chunk-XE4OXN2W.js";var Identification=class extends Entity{static{__name(this,"Identification")}constructor(data){super(data),void 0!==data.id&&(this.id=data.id),this.type=data.type,void 0!==data.number&&(this.number=data.number),void 0!==data.maskedNumber&&(this.maskedNumber=data.maskedNumber),void 0!==data.encryptedNumber&&(this.encryptedNumber=data.encryptedNumber),void 0!==data.issued&&(this.issued=data.issued),void 0!==data.expires&&(this.expires=data.expires),void 0!==data.verified&&(this.verified=data.verified),void 0!==data.matched&&(this.matched=data.matched),void 0!==data.firstName&&(this.firstName=data.firstName),void 0!==data.lastName&&(this.lastName=data.lastName),void 0!==data.issuingCountry&&(this.issuingCountry=data.issuingCountry),void 0!==data.issuingState&&(this.issuingState=data.issuingState),void 0!==data.systemId&&(this.systemId=data.systemId)}};Object.defineProperty(Identification.prototype,"schema",{value:{$schema:"http://json-schema.org/draft-07/schema",$id:"identification.json",title:"Identification",type:"object",required:["type"],additionalProperties:!1,oneOf:[{required:["number"]},{required:["encryptedNumber"]}],properties:{id:{$ref:"definitions.json#/definitions/id"},type:{type:"string",enum:["driversLicense","passport","identityCard","visa"]},number:{type:"string"},maskedNumber:{type:"string"},encryptedNumber:{type:"string"},issued:{type:["string","object"],format:"date-time"},expires:{type:["string","object","null"],format:"date-time"},verified:{type:"boolean"},matched:{type:"boolean"},firstName:{type:"string"},lastName:{type:"string"},issuingCountry:{type:"string",minLength:2,maxLength:2},issuingState:{type:"string",minLength:2,maxLength:2},systemId:{$ref:"definitions.json#/definitions/systemId"}}}}),Object.defineProperty(Identification.prototype,"validator",{get:__name((function(){return validateIdentification}),"get")});export{Identification};//# sourceMappingURL=chunk-3H74J6YV.js.map
1
+ import{validateIdentification}from"./chunk-RM6XS6VX.js";import{Entity}from"./chunk-YPJMXYGL.js";import{__name}from"./chunk-XE4OXN2W.js";var Identification=class extends Entity{static{__name(this,"Identification")}constructor(data){super(data),void 0!==data.id&&(this.id=data.id),this.type=data.type,void 0!==data.number&&(this.number=data.number),void 0!==data.maskedNumber&&(this.maskedNumber=data.maskedNumber),void 0!==data.encryptedNumber&&(this.encryptedNumber=data.encryptedNumber),void 0!==data.issued&&(this.issued=data.issued),void 0!==data.expires&&(this.expires=data.expires),void 0!==data.verified&&(this.verified=data.verified),void 0!==data.matched&&(this.matched=data.matched),void 0!==data.firstName&&(this.firstName=data.firstName),void 0!==data.lastName&&(this.lastName=data.lastName),void 0!==data.issuingCountry&&(this.issuingCountry=data.issuingCountry),void 0!==data.issuingState&&(this.issuingState=data.issuingState),void 0!==data.systemId&&(this.systemId=data.systemId)}};Object.defineProperty(Identification.prototype,"schema",{value:{$schema:"http://json-schema.org/draft-07/schema",$id:"identification.json",title:"Identification",type:"object",required:["type"],additionalProperties:!1,oneOf:[{required:["number"]},{required:["encryptedNumber"]}],properties:{id:{$ref:"definitions.json#/definitions/id"},type:{type:"string",enum:["driversLicense","passport","identityCard","visa"]},number:{type:"string"},maskedNumber:{type:"string"},encryptedNumber:{type:"string"},issued:{type:["string","object"],format:"date-time"},expires:{type:["string","object","null"],format:"date-time"},verified:{type:"boolean"},matched:{type:"boolean"},firstName:{type:"string"},lastName:{type:"string"},issuingCountry:{type:"string",minLength:2,maxLength:2},issuingState:{type:"string",minLength:2,maxLength:2},systemId:{$ref:"definitions.json#/definitions/systemId"}}}}),Object.defineProperty(Identification.prototype,"validator",{get:__name((function(){return validateIdentification}),"get")});export{Identification};//# sourceMappingURL=chunk-VQ7RZNSI.js.map
@@ -1 +1 @@
1
- import{UpdateTicketStatusCommand}from"./chunk-CHCXUUXJ.js";import{UpdateTimeSheetCommand}from"./chunk-A7TILMKI.js";import{UpdateTimeSheetTimeEntryCommand}from"./chunk-XONP4FEK.js";import{UpdateUserCommand}from"./chunk-Y4PZ75PT.js";import{UpdateVendorCommand}from"./chunk-NAF3FABJ.js";import{UpdateWindowCoveringCommand}from"./chunk-5DNQU2FN.js";import{UploadImageCommand}from"./chunk-B24C6J7O.js";import{UpsertDiscoveredDeviceCommand}from"./chunk-C7JSBZLV.js";import{UpdateReservationCommand}from"./chunk-FDLJ6AZF.js";import{UpdateReservationExpectedArrivalTimeCommand}from"./chunk-HJ3XIRBN.js";import{UpdateRoomCommand}from"./chunk-OFXNOUCM.js";import{UpdateSelfCommand}from"./chunk-Q6F3LF22.js";import{UpdateSpaceCommand}from"./chunk-IZXI2SOG.js";import{UpdateSwitchCommand}from"./chunk-PVABPG43.js";import{UpdateThermostatCommand}from"./chunk-LW2F4XCH.js";import{UpdateTicketCommand}from"./chunk-P4533SBS.js";import{UpdateLockCommand}from"./chunk-RPBCUIRI.js";import{UpdateMediaSourceCommand}from"./chunk-53VNMIPT.js";import{UpdateMessageReadStatusCommand}from"./chunk-3QGQ3HFU.js";import{UpdateNotificationCommand}from"./chunk-3ZPDPK4Y.js";import{UpdateOrganizationCommand}from"./chunk-DWBKLSPD.js";import{UpdatePolicyCommand}from"./chunk-TYVI7KFK.js";import{UpdatePropertyCommand}from"./chunk-YIKGFPRH.js";import{UpdatePropertySettingsCommand}from"./chunk-TPG477WA.js";import{UpdateAnnouncementCommand}from"./chunk-GDXSWCUH.js";import{UpdateAutomationCommand}from"./chunk-WN4RUVLM.js";import{UpdateCameraCommand}from"./chunk-HWTJDXGP.js";import{UpdateCategoryCommand}from"./chunk-77I2U6PG.js";import{UpdateCourtesyCommand}from"./chunk-IMHSYHFF.js";import{UpdateDimmerCommand}from"./chunk-VBNNVQT5.js";import{UpdateDiscoveredDeviceCommand}from"./chunk-7G55RCQJ.js";import{UpdateIssueCommand}from"./chunk-26JNDUBE.js";import{SetSwitchCommand}from"./chunk-OUD7C6CI.js";import{SetThermostatCommand}from"./chunk-5H6YOMFN.js";import{SetWindowCoveringCommand}from"./chunk-W5VXITWL.js";import{StartRegisterPasskeyCommand}from"./chunk-P6ZNG2FS.js";import{StartSOSCommand}from"./chunk-6SSD62CE.js";import{StopSOSCommand}from"./chunk-P4CFH3SZ.js";import{TipUserCommand}from"./chunk-PJ3NI4YA.js";import{UpdateAlarmCommand}from"./chunk-EK4UYIKD.js";import{SetCameraCommand}from"./chunk-S57VOMUR.js";import{SetCourtesyCommand}from"./chunk-BZPVH7WA.js";import{SetDimmerCommand}from"./chunk-PMAZE76W.js";import{SetLockCommand}from"./chunk-ZSOV3MQ6.js";import{SetMediaSourceCommand}from"./chunk-2IL6K5TD.js";import{SetRoomSceneCommand}from"./chunk-QA5BF6ZN.js";import{SetSceneCommand}from"./chunk-KJBFB44G.js";import{SetSpaceSceneCommand}from"./chunk-4PYVYVQC.js";import{RequestLoginTokenCommand}from"./chunk-OBPX7U4O.js";import{SendCheckInSMSCommand}from"./chunk-IK3TFIWL.js";import{SendCheckOutSMSCommand}from"./chunk-OMC5UKAS.js";import{SendPreArrivalEmailCommand}from"./chunk-PXREMXKS.js";import{SendPreArrivalSMSCommand}from"./chunk-XOUKFXHJ.js";import{SendRoomControlSMSCommand}from"./chunk-GSFLZ3SM.js";import{SendVerificationCodeCommand}from"./chunk-JCALXIJJ.js";import{SetAlarmCommand}from"./chunk-BWKXL2MB.js";import{MoveWindowCoveringCommand}from"./chunk-D7FXORN4.js";import{OCRDocumentCommand}from"./chunk-R4MV37ZN.js";import{PurchaseReservationEarlyCheckInProductsCommand}from"./chunk-FNY2LSAT.js";import{PurchaseReservationLateCheckOutProductsCommand}from"./chunk-2O7UQOQH.js";import{PurchaseReservationPetProductsCommand}from"./chunk-PZKGEYSH.js";import{PurchaseReservationPromosCommand}from"./chunk-5UDBLHPJ.js";import{PurchaseReservationRoomUpgradesCommand}from"./chunk-I3B5XZER.js";import{MoveAlarmCommand}from"./chunk-B7G35LSC.js";import{MoveCameraCommand}from"./chunk-2WIOD3PU.js";import{MoveCourtesyCommand}from"./chunk-XDVJ2R44.js";import{MoveDimmerCommand}from"./chunk-ENCV5ZK6.js";import{MoveLockCommand}from"./chunk-DTVM7B6N.js";import{MoveMediaSourceCommand}from"./chunk-2QDHY4WA.js";import{MoveSwitchCommand}from"./chunk-UUDDCROP.js";import{MoveThermostatCommand}from"./chunk-HTK4UK2R.js";import{ListUsersCommand}from"./chunk-FTQDS5SO.js";import{ListVendorsCommand}from"./chunk-YTABCOF6.js";import{ListWindowCoveringsCommand}from"./chunk-23PUJHN7.js";import{LoginFinishCommand}from"./chunk-5HJJTLVN.js";import{LoginStartCommand}from"./chunk-7BRNTSSZ.js";import{LogoutSelfCommand}from"./chunk-G5D4MILJ.js";import{LogoutUserCommand}from"./chunk-XHEZRTFT.js";import{MatchUserIdentificationCommand}from"./chunk-EUP7CZPE.js";import{ListThermostatsCommand}from"./chunk-GGOXEJ3W.js";import{ListTicketLocationsCommand}from"./chunk-YFSA7DES.js";import{ListTicketsCommand}from"./chunk-HNQEFJ2F.js";import{ListTimeSheetsCommand}from"./chunk-LVXKLQ7V.js";import{ListUserMobileKeysCommand}from"./chunk-77HHVUF3.js";import{ListUserOrdersCommand}from"./chunk-PXZILSHB.js";import{ListUserReservationsCommand}from"./chunk-6QADWWZT.js";import{ListUserSpacesCommand}from"./chunk-QI5A6GSC.js";import{ListPropertiesCommand}from"./chunk-BRZPCV4O.js";import{ListReservationsCommand}from"./chunk-GYJIZPGL.js";import{ListRoomsCommand}from"./chunk-ZB3SCFNR.js";import{ListRoomsInSpaceCommand}from"./chunk-32UWMHVN.js";import{ListScenesCommand}from"./chunk-J45O4NYB.js";import{ListSpacesCommand}from"./chunk-YBLCXCZY.js";import{ListSwitchesCommand}from"./chunk-ITUMVA55.js";import{ListTeamCommand}from"./chunk-LAUKT2AE.js";import{ListMySpacesCommand}from"./chunk-NY2EFLRO.js";import{ListMyTicketsCommand}from"./chunk-E4UBP742.js";import{ListMyTimeSheetsCommand}from"./chunk-PQZMUNKU.js";import{ListNotificationsCommand}from"./chunk-3CEPEOCR.js";import{ListOrdersCommand}from"./chunk-HGKTO2NG.js";import{ListOrganizationsCommand}from"./chunk-HL5GAGNI.js";import{ListPoliciesCommand}from"./chunk-5QXCTJ5F.js";import{ListProductsCommand}from"./chunk-BERYA3VH.js";import{ListDimmersCommand}from"./chunk-KY3YNTQ2.js";import{ListDiscoveredDevicesCommand}from"./chunk-CU3YQYRP.js";import{ListIssuesCommand}from"./chunk-NNX5L5M2.js";import{ListLocksCommand}from"./chunk-RK3ITEDR.js";import{ListMediaSourcesCommand}from"./chunk-55D5A6DP.js";import{ListMyOrdersCommand}from"./chunk-4O2TKMSA.js";import{ListMyPropertiesCommand}from"./chunk-T7BXKWFO.js";import{ListMyReservationsCommand}from"./chunk-LFSXBJUW.js";import{LeaveTicketCommand}from"./chunk-LISQ4HEZ.js";import{ListAlarmsCommand}from"./chunk-SKNUKGDB.js";import{ListAnnouncementsCommand}from"./chunk-L7T4I4SQ.js";import{ListAutomationsCommand}from"./chunk-R2FWHPQA.js";import{ListCameraStreamPreviewsCommand}from"./chunk-DAHTKF26.js";import{ListCamerasCommand}from"./chunk-R4QVB3LQ.js";import{ListCategoriesCommand}from"./chunk-M573TBJP.js";import{ListCourtesyCommand}from"./chunk-WJCGFY5Q.js";import{DescribeTimeSheetStatsCommand}from"./chunk-7DC2ARL4.js";import{DescribeUserCommand}from"./chunk-Y2CIEUOO.js";import{DescribeVendorCommand}from"./chunk-B5TQWVBJ.js";import{DescribeWindowCoveringCommand}from"./chunk-URK7XA4J.js";import{DiscoverReservationsCommand}from"./chunk-CQGHT4XO.js";import{EmailUserAccountSetupCommand}from"./chunk-FGYCDBKH.js";import{FinishRegisterPasskeyCommand}from"./chunk-TLL7LIXS.js";import{DescribeSelfCommand}from"./chunk-LNHXUQYL.js";import{DescribeSpaceCommand}from"./chunk-ORI2H4NU.js";import{DescribeSwitchCommand}from"./chunk-4PW2QIOA.js";import{DescribeThermostatCommand}from"./chunk-BPYEOZO4.js";import{DescribeTicketCommand}from"./chunk-DIH5R3XM.js";import{DescribeTicketFiltersCommand}from"./chunk-2SY6P677.js";import{DescribeTicketStatsCommand}from"./chunk-RHNIGNOZ.js";import{DescribeTimeSheetCommand}from"./chunk-A7GG2TVC.js";import{DescribeReservationCommand}from"./chunk-AVVJQTRJ.js";import{DescribeReservationEarlyCheckInProductsCommand}from"./chunk-JXRQFP6D.js";import{DescribeReservationLateCheckOutProductsCommand}from"./chunk-27NTA47W.js";import{DescribeReservationPetProductsCommand}from"./chunk-VJ6CYCB4.js";import{DescribeReservationPromosCommand}from"./chunk-Z4UI2Z3T.js";import{DescribeReservationRoomUpgradesCommand}from"./chunk-GRW6OZF2.js";import{DescribeRoomCommand}from"./chunk-YJX6IXAC.js";import{DescribeSOSCommand}from"./chunk-N3O2RPY7.js";import{DescribeMyMobileKeyAppCommand}from"./chunk-NNDIIZGC.js";import{DescribeMyOrganizationCommand}from"./chunk-XP5SG7L2.js";import{DescribeMyPasskeyRegistrationsCommand}from"./chunk-PI4IZNDZ.js";import{DescribeNotificationCommand}from"./chunk-ZPG5QZTP.js";import{DescribeOrganizationCommand}from"./chunk-MJYJ2KAE.js";import{DescribePolicyCommand}from"./chunk-FLCOZN5W.js";import{DescribeProductCommand}from"./chunk-AQCEJOKW.js";import{DescribePropertyCommand}from"./chunk-OETCIQSK.js";import{DescribeCourtesyCommand}from"./chunk-S4ZGFVGN.js";import{DescribeDimmerCommand}from"./chunk-AIQCCGVA.js";import{DescribeDiscoveredDeviceCommand}from"./chunk-CRN7VQQF.js";import{DescribeIssueCommand}from"./chunk-4OUA3LJX.js";import{DescribeLockCommand}from"./chunk-BTFAQXPT.js";import{DescribeLockCredentialCommand}from"./chunk-LG4PH7OT.js";import{DescribeMediaSourceCommand}from"./chunk-AMFJLADB.js";import{DescribeMyAuthCommand}from"./chunk-M5B55VKO.js";import{DeleteVendorCommand}from"./chunk-IJPU72AM.js";import{DeleteWindowCoveringCommand}from"./chunk-ICACX25E.js";import{DescribeAlarmCommand}from"./chunk-VKJ6PHC7.js";import{DescribeAlarmConfigCommand}from"./chunk-53WND32I.js";import{DescribeAnnouncementCommand}from"./chunk-PRM5U7XZ.js";import{DescribeAutomationCommand}from"./chunk-5I2ISSKC.js";import{DescribeCameraCommand}from"./chunk-7HMF3YCM.js";import{DescribeCategoryCommand}from"./chunk-WC6KBQAQ.js";import{DeleteSpaceCommand}from"./chunk-3LIZA4WP.js";import{DeleteSwitchCommand}from"./chunk-ZVMC2YQ5.js";import{DeleteThermostatCommand}from"./chunk-CF7MXNFK.js";import{DeleteTicketCommand}from"./chunk-36262U4E.js";import{DeleteTimeSheetCommand}from"./chunk-TZJL7VU4.js";import{DeleteTimeSheetTimeEntryCommand}from"./chunk-YEMC6WGZ.js";import{DeleteUserCommand}from"./chunk-D5DOI5MQ.js";import{DeleteUserCredentialCommand}from"./chunk-VIUVXWCB.js";import{DeleteIssueCommand}from"./chunk-WWZH5VUV.js";import{DeleteLockCommand}from"./chunk-4KQ5F6UH.js";import{DeleteMediaFileCommand}from"./chunk-TEP5NPXV.js";import{DeleteMediaSourceCommand}from"./chunk-N7CJZZ7U.js";import{DeleteNotificationCommand}from"./chunk-2JNC542E.js";import{DeletePolicyCommand}from"./chunk-OHBI4WE7.js";import{DeleteReservationCommand}from"./chunk-W6CKPKGU.js";import{DeleteRoomCommand}from"./chunk-AO4TTSCE.js";import{DeleteAlarmCommand}from"./chunk-7E7N4I6Q.js";import{DeleteAnnouncementCommand}from"./chunk-KO6QTUYQ.js";import{DeleteAutomationCommand}from"./chunk-EMF6OWI7.js";import{DeleteCameraCommand}from"./chunk-JFFWUOTH.js";import{DeleteCategoryCommand}from"./chunk-O3ALFKOU.js";import{DeleteCourtesyCommand}from"./chunk-ZFZ4LD23.js";import{DeleteDimmerCommand}from"./chunk-3YCXS45T.js";import{DeleteDiscoveredDeviceCommand}from"./chunk-H6XT22OW.js";import{CreateTicketCommand}from"./chunk-KBS25CSR.js";import{CreateTicketMessageCommand}from"./chunk-5DX2OPHX.js";import{CreateTimeSheetCommand}from"./chunk-2CB47PCP.js";import{CreateTimeSheetTimeEntryCommand}from"./chunk-LWFL4WTZ.js";import{CreateUserCommand}from"./chunk-TGR7EWI5.js";import{CreateUserMobileKeyCommand}from"./chunk-HGP2QVKS.js";import{CreateVendorCommand}from"./chunk-G6BCPGDF.js";import{CreateWindowCoveringCommand}from"./chunk-DTYCYZBU.js";import{CreatePropertyCommand}from"./chunk-ECT6N4V6.js";import{CreateReservationCommand}from"./chunk-JARDOYE6.js";import{CreateRoomCommand}from"./chunk-JKIH5JC7.js";import{CreateRoomInSpaceCommand}from"./chunk-HTRYMGCE.js";import{CreateSceneCommand}from"./chunk-TPKROBGV.js";import{CreateSpaceCommand}from"./chunk-2T47BIBX.js";import{CreateSwitchCommand}from"./chunk-I66VL3NG.js";import{CreateThermostatCommand}from"./chunk-PM3N4CT2.js";import{CreateDiscoveredDeviceAssociationMapCommand}from"./chunk-ST6AUNOP.js";import{CreateImageUploadEndpointCommand}from"./chunk-TWGO4A5Y.js";import{CreateIssueCommand}from"./chunk-4AECNH3F.js";import{CreateLockCommand}from"./chunk-OXUASXM7.js";import{CreateMediaSourceCommand}from"./chunk-3WJYMSNN.js";import{CreateNotificationCommand}from"./chunk-RJ4LV7PB.js";import{CreateOrganizationCommand}from"./chunk-TEUMAFZH.js";import{CreatePolicyCommand}from"./chunk-7OADEXAB.js";import{CreateAutomationCommand}from"./chunk-IFCZ6ZQM.js";import{CreateCameraCommand}from"./chunk-YNJWQVHP.js";import{CreateCategoryCommand}from"./chunk-73ZQAT3C.js";import{CreateCourtesyCommand}from"./chunk-SK7IEZ5Z.js";import{CreateDefaultScenesCommand}from"./chunk-5H2DUCBY.js";import{CreateDimmerCommand}from"./chunk-MWI43I5I.js";import{CreateDiscoveredDeviceCommand}from"./chunk-CTYQCN7S.js";import{CreateDiscoveredDeviceAssociationCommand}from"./chunk-R7S3S3GL.js";import{BatchNotifyMissedCheckOutCommand}from"./chunk-NEMLMGQO.js";import{BatchNotifyPreArrivalCommand}from"./chunk-AXUQ2QWL.js";import{BulkUpdateIssueCommand}from"./chunk-SKVW66UZ.js";import{CheckInReservationCommand}from"./chunk-3CDZBSNN.js";import{CheckOutReservationCommand}from"./chunk-V3VRHSYR.js";import{CheckVerificationCodeCommand}from"./chunk-A4ZR7HMD.js";import{CreateAlarmCommand}from"./chunk-N2MJA4TZ.js";import{CreateAnnouncementCommand}from"./chunk-BRAAKAMQ.js";import{AssignSpaceToReservationCommand}from"./chunk-3UC7ONO5.js";import{AutoAssociateDiscoveredDevicesCommand}from"./chunk-FYYOKPDT.js";import{AutoCloseTicketsCommand}from"./chunk-WVSPCDJ3.js";import{BatchNotifyCheckInCommand}from"./chunk-52WY7JLC.js";import{BatchNotifyCheckOutCommand}from"./chunk-RKY3LNNR.js";import{RefreshTokenCommand}from"./chunk-XY46T6DS.js";import{__export}from"./chunk-XE4OXN2W.js";var useCases_exports={};__export(useCases_exports,{AssignSpaceToReservationCommand:()=>AssignSpaceToReservationCommand,AutoAssociateDiscoveredDevicesCommand:()=>AutoAssociateDiscoveredDevicesCommand,AutoCloseTicketsCommand:()=>AutoCloseTicketsCommand,BatchNotifyCheckInCommand:()=>BatchNotifyCheckInCommand,BatchNotifyCheckOutCommand:()=>BatchNotifyCheckOutCommand,BatchNotifyMissedCheckOutCommand:()=>BatchNotifyMissedCheckOutCommand,BatchNotifyPreArrivalCommand:()=>BatchNotifyPreArrivalCommand,BulkUpdateIssueCommand:()=>BulkUpdateIssueCommand,CheckInReservationCommand:()=>CheckInReservationCommand,CheckOutReservationCommand:()=>CheckOutReservationCommand,CheckVerificationCodeCommand:()=>CheckVerificationCodeCommand,CreateAlarmCommand:()=>CreateAlarmCommand,CreateAnnouncementCommand:()=>CreateAnnouncementCommand,CreateAutomationCommand:()=>CreateAutomationCommand,CreateCameraCommand:()=>CreateCameraCommand,CreateCategoryCommand:()=>CreateCategoryCommand,CreateCourtesyCommand:()=>CreateCourtesyCommand,CreateDefaultScenesCommand:()=>CreateDefaultScenesCommand,CreateDimmerCommand:()=>CreateDimmerCommand,CreateDiscoveredDeviceAssociationCommand:()=>CreateDiscoveredDeviceAssociationCommand,CreateDiscoveredDeviceAssociationMapCommand:()=>CreateDiscoveredDeviceAssociationMapCommand,CreateDiscoveredDeviceCommand:()=>CreateDiscoveredDeviceCommand,CreateImageUploadEndpointCommand:()=>CreateImageUploadEndpointCommand,CreateIssueCommand:()=>CreateIssueCommand,CreateLockCommand:()=>CreateLockCommand,CreateMediaSourceCommand:()=>CreateMediaSourceCommand,CreateNotificationCommand:()=>CreateNotificationCommand,CreateOrganizationCommand:()=>CreateOrganizationCommand,CreatePolicyCommand:()=>CreatePolicyCommand,CreatePropertyCommand:()=>CreatePropertyCommand,CreateReservationCommand:()=>CreateReservationCommand,CreateRoomCommand:()=>CreateRoomCommand,CreateRoomInSpaceCommand:()=>CreateRoomInSpaceCommand,CreateSceneCommand:()=>CreateSceneCommand,CreateSpaceCommand:()=>CreateSpaceCommand,CreateSwitchCommand:()=>CreateSwitchCommand,CreateThermostatCommand:()=>CreateThermostatCommand,CreateTicketCommand:()=>CreateTicketCommand,CreateTicketMessageCommand:()=>CreateTicketMessageCommand,CreateTimeSheetCommand:()=>CreateTimeSheetCommand,CreateTimeSheetTimeEntryCommand:()=>CreateTimeSheetTimeEntryCommand,CreateUserCommand:()=>CreateUserCommand,CreateUserMobileKeyCommand:()=>CreateUserMobileKeyCommand,CreateVendorCommand:()=>CreateVendorCommand,CreateWindowCoveringCommand:()=>CreateWindowCoveringCommand,DeleteAlarmCommand:()=>DeleteAlarmCommand,DeleteAnnouncementCommand:()=>DeleteAnnouncementCommand,DeleteAutomationCommand:()=>DeleteAutomationCommand,DeleteCameraCommand:()=>DeleteCameraCommand,DeleteCategoryCommand:()=>DeleteCategoryCommand,DeleteCourtesyCommand:()=>DeleteCourtesyCommand,DeleteDimmerCommand:()=>DeleteDimmerCommand,DeleteDiscoveredDeviceCommand:()=>DeleteDiscoveredDeviceCommand,DeleteIssueCommand:()=>DeleteIssueCommand,DeleteLockCommand:()=>DeleteLockCommand,DeleteMediaFileCommand:()=>DeleteMediaFileCommand,DeleteMediaSourceCommand:()=>DeleteMediaSourceCommand,DeleteNotificationCommand:()=>DeleteNotificationCommand,DeletePolicyCommand:()=>DeletePolicyCommand,DeleteReservationCommand:()=>DeleteReservationCommand,DeleteRoomCommand:()=>DeleteRoomCommand,DeleteSpaceCommand:()=>DeleteSpaceCommand,DeleteSwitchCommand:()=>DeleteSwitchCommand,DeleteThermostatCommand:()=>DeleteThermostatCommand,DeleteTicketCommand:()=>DeleteTicketCommand,DeleteTimeSheetCommand:()=>DeleteTimeSheetCommand,DeleteTimeSheetTimeEntryCommand:()=>DeleteTimeSheetTimeEntryCommand,DeleteUserCommand:()=>DeleteUserCommand,DeleteUserCredentialCommand:()=>DeleteUserCredentialCommand,DeleteVendorCommand:()=>DeleteVendorCommand,DeleteWindowCoveringCommand:()=>DeleteWindowCoveringCommand,DescribeAlarmCommand:()=>DescribeAlarmCommand,DescribeAlarmConfigCommand:()=>DescribeAlarmConfigCommand,DescribeAnnouncementCommand:()=>DescribeAnnouncementCommand,DescribeAutomationCommand:()=>DescribeAutomationCommand,DescribeCameraCommand:()=>DescribeCameraCommand,DescribeCategoryCommand:()=>DescribeCategoryCommand,DescribeCourtesyCommand:()=>DescribeCourtesyCommand,DescribeDimmerCommand:()=>DescribeDimmerCommand,DescribeDiscoveredDeviceCommand:()=>DescribeDiscoveredDeviceCommand,DescribeIssueCommand:()=>DescribeIssueCommand,DescribeLockCommand:()=>DescribeLockCommand,DescribeLockCredentialCommand:()=>DescribeLockCredentialCommand,DescribeMediaSourceCommand:()=>DescribeMediaSourceCommand,DescribeMyAuthCommand:()=>DescribeMyAuthCommand,DescribeMyMobileKeyAppCommand:()=>DescribeMyMobileKeyAppCommand,DescribeMyOrganizationCommand:()=>DescribeMyOrganizationCommand,DescribeMyPasskeyRegistrationsCommand:()=>DescribeMyPasskeyRegistrationsCommand,DescribeNotificationCommand:()=>DescribeNotificationCommand,DescribeOrganizationCommand:()=>DescribeOrganizationCommand,DescribePolicyCommand:()=>DescribePolicyCommand,DescribeProductCommand:()=>DescribeProductCommand,DescribePropertyCommand:()=>DescribePropertyCommand,DescribeReservationCommand:()=>DescribeReservationCommand,DescribeReservationEarlyCheckInProductsCommand:()=>DescribeReservationEarlyCheckInProductsCommand,DescribeReservationLateCheckOutProductsCommand:()=>DescribeReservationLateCheckOutProductsCommand,DescribeReservationPetProductsCommand:()=>DescribeReservationPetProductsCommand,DescribeReservationPromosCommand:()=>DescribeReservationPromosCommand,DescribeReservationRoomUpgradesCommand:()=>DescribeReservationRoomUpgradesCommand,DescribeRoomCommand:()=>DescribeRoomCommand,DescribeSOSCommand:()=>DescribeSOSCommand,DescribeSelfCommand:()=>DescribeSelfCommand,DescribeSpaceCommand:()=>DescribeSpaceCommand,DescribeSwitchCommand:()=>DescribeSwitchCommand,DescribeThermostatCommand:()=>DescribeThermostatCommand,DescribeTicketCommand:()=>DescribeTicketCommand,DescribeTicketFiltersCommand:()=>DescribeTicketFiltersCommand,DescribeTicketStatsCommand:()=>DescribeTicketStatsCommand,DescribeTimeSheetCommand:()=>DescribeTimeSheetCommand,DescribeTimeSheetStatsCommand:()=>DescribeTimeSheetStatsCommand,DescribeUserCommand:()=>DescribeUserCommand,DescribeVendorCommand:()=>DescribeVendorCommand,DescribeWindowCoveringCommand:()=>DescribeWindowCoveringCommand,DiscoverReservationsCommand:()=>DiscoverReservationsCommand,EmailUserAccountSetupCommand:()=>EmailUserAccountSetupCommand,FinishRegisterPasskeyCommand:()=>FinishRegisterPasskeyCommand,LeaveTicketCommand:()=>LeaveTicketCommand,ListAlarmsCommand:()=>ListAlarmsCommand,ListAnnouncementsCommand:()=>ListAnnouncementsCommand,ListAutomationsCommand:()=>ListAutomationsCommand,ListCameraStreamPreviewsCommand:()=>ListCameraStreamPreviewsCommand,ListCamerasCommand:()=>ListCamerasCommand,ListCategoriesCommand:()=>ListCategoriesCommand,ListCourtesyCommand:()=>ListCourtesyCommand,ListDimmersCommand:()=>ListDimmersCommand,ListDiscoveredDevicesCommand:()=>ListDiscoveredDevicesCommand,ListIssuesCommand:()=>ListIssuesCommand,ListLocksCommand:()=>ListLocksCommand,ListMediaSourcesCommand:()=>ListMediaSourcesCommand,ListMyOrdersCommand:()=>ListMyOrdersCommand,ListMyPropertiesCommand:()=>ListMyPropertiesCommand,ListMyReservationsCommand:()=>ListMyReservationsCommand,ListMySpacesCommand:()=>ListMySpacesCommand,ListMyTicketsCommand:()=>ListMyTicketsCommand,ListMyTimeSheetsCommand:()=>ListMyTimeSheetsCommand,ListNotificationsCommand:()=>ListNotificationsCommand,ListOrdersCommand:()=>ListOrdersCommand,ListOrganizationsCommand:()=>ListOrganizationsCommand,ListPoliciesCommand:()=>ListPoliciesCommand,ListProductsCommand:()=>ListProductsCommand,ListPropertiesCommand:()=>ListPropertiesCommand,ListReservationsCommand:()=>ListReservationsCommand,ListRoomsCommand:()=>ListRoomsCommand,ListRoomsInSpaceCommand:()=>ListRoomsInSpaceCommand,ListScenesCommand:()=>ListScenesCommand,ListSpacesCommand:()=>ListSpacesCommand,ListSwitchesCommand:()=>ListSwitchesCommand,ListTeamCommand:()=>ListTeamCommand,ListThermostatsCommand:()=>ListThermostatsCommand,ListTicketLocationsCommand:()=>ListTicketLocationsCommand,ListTicketsCommand:()=>ListTicketsCommand,ListTimeSheetsCommand:()=>ListTimeSheetsCommand,ListUserMobileKeysCommand:()=>ListUserMobileKeysCommand,ListUserOrdersCommand:()=>ListUserOrdersCommand,ListUserReservationsCommand:()=>ListUserReservationsCommand,ListUserSpacesCommand:()=>ListUserSpacesCommand,ListUsersCommand:()=>ListUsersCommand,ListVendorsCommand:()=>ListVendorsCommand,ListWindowCoveringsCommand:()=>ListWindowCoveringsCommand,LoginFinishCommand:()=>LoginFinishCommand,LoginStartCommand:()=>LoginStartCommand,LogoutSelfCommand:()=>LogoutSelfCommand,LogoutUserCommand:()=>LogoutUserCommand,MatchUserIdentificationCommand:()=>MatchUserIdentificationCommand,MoveAlarmCommand:()=>MoveAlarmCommand,MoveCameraCommand:()=>MoveCameraCommand,MoveCourtesyCommand:()=>MoveCourtesyCommand,MoveDimmerCommand:()=>MoveDimmerCommand,MoveLockCommand:()=>MoveLockCommand,MoveMediaSourceCommand:()=>MoveMediaSourceCommand,MoveSwitchCommand:()=>MoveSwitchCommand,MoveThermostatCommand:()=>MoveThermostatCommand,MoveWindowCoveringCommand:()=>MoveWindowCoveringCommand,OCRDocumentCommand:()=>OCRDocumentCommand,PurchaseReservationEarlyCheckInProductsCommand:()=>PurchaseReservationEarlyCheckInProductsCommand,PurchaseReservationLateCheckOutProductsCommand:()=>PurchaseReservationLateCheckOutProductsCommand,PurchaseReservationPetProductsCommand:()=>PurchaseReservationPetProductsCommand,PurchaseReservationPromosCommand:()=>PurchaseReservationPromosCommand,PurchaseReservationRoomUpgradesCommand:()=>PurchaseReservationRoomUpgradesCommand,RefreshTokenCommand:()=>RefreshTokenCommand,RequestLoginTokenCommand:()=>RequestLoginTokenCommand,SendCheckInSMSCommand:()=>SendCheckInSMSCommand,SendCheckOutSMSCommand:()=>SendCheckOutSMSCommand,SendPreArrivalEmailCommand:()=>SendPreArrivalEmailCommand,SendPreArrivalSMSCommand:()=>SendPreArrivalSMSCommand,SendRoomControlSMSCommand:()=>SendRoomControlSMSCommand,SendVerificationCodeCommand:()=>SendVerificationCodeCommand,SetAlarmCommand:()=>SetAlarmCommand,SetCameraCommand:()=>SetCameraCommand,SetCourtesyCommand:()=>SetCourtesyCommand,SetDimmerCommand:()=>SetDimmerCommand,SetLockCommand:()=>SetLockCommand,SetMediaSourceCommand:()=>SetMediaSourceCommand,SetRoomSceneCommand:()=>SetRoomSceneCommand,SetSceneCommand:()=>SetSceneCommand,SetSpaceSceneCommand:()=>SetSpaceSceneCommand,SetSwitchCommand:()=>SetSwitchCommand,SetThermostatCommand:()=>SetThermostatCommand,SetWindowCoveringCommand:()=>SetWindowCoveringCommand,StartRegisterPasskeyCommand:()=>StartRegisterPasskeyCommand,StartSOSCommand:()=>StartSOSCommand,StopSOSCommand:()=>StopSOSCommand,TipUserCommand:()=>TipUserCommand,UpdateAlarmCommand:()=>UpdateAlarmCommand,UpdateAnnouncementCommand:()=>UpdateAnnouncementCommand,UpdateAutomationCommand:()=>UpdateAutomationCommand,UpdateCameraCommand:()=>UpdateCameraCommand,UpdateCategoryCommand:()=>UpdateCategoryCommand,UpdateCourtesyCommand:()=>UpdateCourtesyCommand,UpdateDimmerCommand:()=>UpdateDimmerCommand,UpdateDiscoveredDeviceCommand:()=>UpdateDiscoveredDeviceCommand,UpdateIssueCommand:()=>UpdateIssueCommand,UpdateLockCommand:()=>UpdateLockCommand,UpdateMediaSourceCommand:()=>UpdateMediaSourceCommand,UpdateMessageReadStatusCommand:()=>UpdateMessageReadStatusCommand,UpdateNotificationCommand:()=>UpdateNotificationCommand,UpdateOrganizationCommand:()=>UpdateOrganizationCommand,UpdatePolicyCommand:()=>UpdatePolicyCommand,UpdatePropertyCommand:()=>UpdatePropertyCommand,UpdatePropertySettingsCommand:()=>UpdatePropertySettingsCommand,UpdateReservationCommand:()=>UpdateReservationCommand,UpdateReservationExpectedArrivalTimeCommand:()=>UpdateReservationExpectedArrivalTimeCommand,UpdateRoomCommand:()=>UpdateRoomCommand,UpdateSelfCommand:()=>UpdateSelfCommand,UpdateSpaceCommand:()=>UpdateSpaceCommand,UpdateSwitchCommand:()=>UpdateSwitchCommand,UpdateThermostatCommand:()=>UpdateThermostatCommand,UpdateTicketCommand:()=>UpdateTicketCommand,UpdateTicketStatusCommand:()=>UpdateTicketStatusCommand,UpdateTimeSheetCommand:()=>UpdateTimeSheetCommand,UpdateTimeSheetTimeEntryCommand:()=>UpdateTimeSheetTimeEntryCommand,UpdateUserCommand:()=>UpdateUserCommand,UpdateVendorCommand:()=>UpdateVendorCommand,UpdateWindowCoveringCommand:()=>UpdateWindowCoveringCommand,UploadImageCommand:()=>UploadImageCommand,UpsertDiscoveredDeviceCommand:()=>UpsertDiscoveredDeviceCommand});export{useCases_exports};//# sourceMappingURL=chunk-Q33FW2UC.js.map
1
+ import{UpdateTicketStatusCommand}from"./chunk-CHCXUUXJ.js";import{UpdateTimeSheetCommand}from"./chunk-A7TILMKI.js";import{UpdateTimeSheetTimeEntryCommand}from"./chunk-XONP4FEK.js";import{UpdateUserCommand}from"./chunk-Y4PZ75PT.js";import{UpdateVendorCommand}from"./chunk-NAF3FABJ.js";import{UpdateWindowCoveringCommand}from"./chunk-5DNQU2FN.js";import{UploadImageCommand}from"./chunk-B24C6J7O.js";import{UpsertDiscoveredDeviceCommand}from"./chunk-C7JSBZLV.js";import{UpdateReservationCommand}from"./chunk-FDLJ6AZF.js";import{UpdateReservationExpectedArrivalTimeCommand}from"./chunk-HJ3XIRBN.js";import{UpdateRoomCommand}from"./chunk-OFXNOUCM.js";import{UpdateSelfCommand}from"./chunk-Q6F3LF22.js";import{UpdateSpaceCommand}from"./chunk-IZXI2SOG.js";import{UpdateSwitchCommand}from"./chunk-PVABPG43.js";import{UpdateThermostatCommand}from"./chunk-LW2F4XCH.js";import{UpdateTicketCommand}from"./chunk-P4533SBS.js";import{UpdateLockCommand}from"./chunk-RPBCUIRI.js";import{UpdateMediaSourceCommand}from"./chunk-53VNMIPT.js";import{UpdateMessageReadStatusCommand}from"./chunk-3QGQ3HFU.js";import{UpdateNotificationCommand}from"./chunk-3ZPDPK4Y.js";import{UpdateOrganizationCommand}from"./chunk-DWBKLSPD.js";import{UpdatePolicyCommand}from"./chunk-TYVI7KFK.js";import{UpdatePropertyCommand}from"./chunk-YIKGFPRH.js";import{UpdatePropertySettingsCommand}from"./chunk-TPG477WA.js";import{UpdateAnnouncementCommand}from"./chunk-GDXSWCUH.js";import{UpdateAutomationCommand}from"./chunk-WN4RUVLM.js";import{UpdateCameraCommand}from"./chunk-HWTJDXGP.js";import{UpdateCategoryCommand}from"./chunk-77I2U6PG.js";import{UpdateCourtesyCommand}from"./chunk-IMHSYHFF.js";import{UpdateDimmerCommand}from"./chunk-VBNNVQT5.js";import{UpdateDiscoveredDeviceCommand}from"./chunk-7G55RCQJ.js";import{UpdateIssueCommand}from"./chunk-26JNDUBE.js";import{SetSwitchCommand}from"./chunk-OUD7C6CI.js";import{SetThermostatCommand}from"./chunk-5H6YOMFN.js";import{SetWindowCoveringCommand}from"./chunk-W5VXITWL.js";import{StartRegisterPasskeyCommand}from"./chunk-P6ZNG2FS.js";import{StartSOSCommand}from"./chunk-6SSD62CE.js";import{StopSOSCommand}from"./chunk-P4CFH3SZ.js";import{TipUserCommand}from"./chunk-PJ3NI4YA.js";import{UpdateAlarmCommand}from"./chunk-EK4UYIKD.js";import{SetCameraCommand}from"./chunk-S57VOMUR.js";import{SetCourtesyCommand}from"./chunk-BZPVH7WA.js";import{SetDimmerCommand}from"./chunk-PMAZE76W.js";import{SetLockCommand}from"./chunk-ZSOV3MQ6.js";import{SetMediaSourceCommand}from"./chunk-2IL6K5TD.js";import{SetRoomSceneCommand}from"./chunk-QA5BF6ZN.js";import{SetSceneCommand}from"./chunk-KJBFB44G.js";import{SetSpaceSceneCommand}from"./chunk-4PYVYVQC.js";import{RequestLoginTokenCommand}from"./chunk-OBPX7U4O.js";import{SendCheckInSMSCommand}from"./chunk-IK3TFIWL.js";import{SendCheckOutSMSCommand}from"./chunk-OMC5UKAS.js";import{SendPreArrivalEmailCommand}from"./chunk-PXREMXKS.js";import{SendPreArrivalSMSCommand}from"./chunk-XOUKFXHJ.js";import{SendRoomControlSMSCommand}from"./chunk-GSFLZ3SM.js";import{SendVerificationCodeCommand}from"./chunk-JCALXIJJ.js";import{SetAlarmCommand}from"./chunk-BWKXL2MB.js";import{MoveWindowCoveringCommand}from"./chunk-D7FXORN4.js";import{OCRDocumentCommand}from"./chunk-R4MV37ZN.js";import{PurchaseReservationEarlyCheckInProductsCommand}from"./chunk-FNY2LSAT.js";import{PurchaseReservationLateCheckOutProductsCommand}from"./chunk-2O7UQOQH.js";import{PurchaseReservationPetProductsCommand}from"./chunk-PZKGEYSH.js";import{PurchaseReservationPromosCommand}from"./chunk-5UDBLHPJ.js";import{PurchaseReservationRoomUpgradesCommand}from"./chunk-I3B5XZER.js";import{MoveAlarmCommand}from"./chunk-B7G35LSC.js";import{MoveCameraCommand}from"./chunk-2WIOD3PU.js";import{MoveCourtesyCommand}from"./chunk-XDVJ2R44.js";import{MoveDimmerCommand}from"./chunk-ENCV5ZK6.js";import{MoveLockCommand}from"./chunk-DTVM7B6N.js";import{MoveMediaSourceCommand}from"./chunk-2QDHY4WA.js";import{MoveSwitchCommand}from"./chunk-UUDDCROP.js";import{MoveThermostatCommand}from"./chunk-HTK4UK2R.js";import{ListUsersCommand}from"./chunk-FTQDS5SO.js";import{ListVendorsCommand}from"./chunk-YTABCOF6.js";import{ListWindowCoveringsCommand}from"./chunk-23PUJHN7.js";import{LoginFinishCommand}from"./chunk-5HJJTLVN.js";import{LoginStartCommand}from"./chunk-7BRNTSSZ.js";import{LogoutSelfCommand}from"./chunk-G5D4MILJ.js";import{LogoutUserCommand}from"./chunk-XHEZRTFT.js";import{MatchUserIdentificationCommand}from"./chunk-EUP7CZPE.js";import{ListThermostatsCommand}from"./chunk-GGOXEJ3W.js";import{ListTicketLocationsCommand}from"./chunk-YFSA7DES.js";import{ListTicketsCommand}from"./chunk-HNQEFJ2F.js";import{ListTimeSheetsCommand}from"./chunk-LVXKLQ7V.js";import{ListUserMobileKeysCommand}from"./chunk-77HHVUF3.js";import{ListUserOrdersCommand}from"./chunk-PXZILSHB.js";import{ListUserReservationsCommand}from"./chunk-6QADWWZT.js";import{ListUserSpacesCommand}from"./chunk-QI5A6GSC.js";import{ListPropertiesCommand}from"./chunk-BRZPCV4O.js";import{ListReservationsCommand}from"./chunk-GYJIZPGL.js";import{ListRoomsCommand}from"./chunk-ZB3SCFNR.js";import{ListRoomsInSpaceCommand}from"./chunk-32UWMHVN.js";import{ListScenesCommand}from"./chunk-J45O4NYB.js";import{ListSpacesCommand}from"./chunk-YBLCXCZY.js";import{ListSwitchesCommand}from"./chunk-ITUMVA55.js";import{ListTeamCommand}from"./chunk-LAUKT2AE.js";import{ListMySpacesCommand}from"./chunk-NY2EFLRO.js";import{ListMyTicketsCommand}from"./chunk-E4UBP742.js";import{ListMyTimeSheetsCommand}from"./chunk-PQZMUNKU.js";import{ListNotificationsCommand}from"./chunk-3CEPEOCR.js";import{ListOrdersCommand}from"./chunk-HGKTO2NG.js";import{ListOrganizationsCommand}from"./chunk-HL5GAGNI.js";import{ListPoliciesCommand}from"./chunk-5QXCTJ5F.js";import{ListProductsCommand}from"./chunk-BERYA3VH.js";import{ListDimmersCommand}from"./chunk-KY3YNTQ2.js";import{ListDiscoveredDevicesCommand}from"./chunk-CU3YQYRP.js";import{ListIssuesCommand}from"./chunk-NNX5L5M2.js";import{ListLocksCommand}from"./chunk-RK3ITEDR.js";import{ListMediaSourcesCommand}from"./chunk-55D5A6DP.js";import{ListMyOrdersCommand}from"./chunk-4O2TKMSA.js";import{ListMyPropertiesCommand}from"./chunk-T7BXKWFO.js";import{ListMyReservationsCommand}from"./chunk-LFSXBJUW.js";import{LeaveTicketCommand}from"./chunk-LISQ4HEZ.js";import{ListAlarmsCommand}from"./chunk-SKNUKGDB.js";import{ListAnnouncementsCommand}from"./chunk-L7T4I4SQ.js";import{ListAutomationsCommand}from"./chunk-R2FWHPQA.js";import{ListCameraStreamPreviewsCommand}from"./chunk-DAHTKF26.js";import{ListCamerasCommand}from"./chunk-R4QVB3LQ.js";import{ListCategoriesCommand}from"./chunk-M573TBJP.js";import{ListCourtesyCommand}from"./chunk-WJCGFY5Q.js";import{DescribeTimeSheetStatsCommand}from"./chunk-7DC2ARL4.js";import{DescribeUserCommand}from"./chunk-Y2CIEUOO.js";import{DescribeVendorCommand}from"./chunk-B5TQWVBJ.js";import{DescribeWindowCoveringCommand}from"./chunk-URK7XA4J.js";import{DiscoverReservationsCommand}from"./chunk-CQGHT4XO.js";import{EmailUserAccountSetupCommand}from"./chunk-FGYCDBKH.js";import{FinishRegisterPasskeyCommand}from"./chunk-TLL7LIXS.js";import{DescribeSelfCommand}from"./chunk-LNHXUQYL.js";import{DescribeSpaceCommand}from"./chunk-ORI2H4NU.js";import{DescribeSwitchCommand}from"./chunk-4PW2QIOA.js";import{DescribeThermostatCommand}from"./chunk-BPYEOZO4.js";import{DescribeTicketCommand}from"./chunk-DIH5R3XM.js";import{DescribeTicketFiltersCommand}from"./chunk-2SY6P677.js";import{DescribeTicketStatsCommand}from"./chunk-RHNIGNOZ.js";import{DescribeTimeSheetCommand}from"./chunk-A7GG2TVC.js";import{DescribeReservationCommand}from"./chunk-AVVJQTRJ.js";import{DescribeReservationEarlyCheckInProductsCommand}from"./chunk-JXRQFP6D.js";import{DescribeReservationLateCheckOutProductsCommand}from"./chunk-27NTA47W.js";import{DescribeReservationPetProductsCommand}from"./chunk-VJ6CYCB4.js";import{DescribeReservationPromosCommand}from"./chunk-Z4UI2Z3T.js";import{DescribeReservationRoomUpgradesCommand}from"./chunk-GRW6OZF2.js";import{DescribeRoomCommand}from"./chunk-YJX6IXAC.js";import{DescribeSOSCommand}from"./chunk-N3O2RPY7.js";import{DescribeMyMobileKeyAppCommand}from"./chunk-NNDIIZGC.js";import{DescribeMyOrganizationCommand}from"./chunk-XP5SG7L2.js";import{DescribeMyPasskeyRegistrationsCommand}from"./chunk-PI4IZNDZ.js";import{DescribeNotificationCommand}from"./chunk-ZPG5QZTP.js";import{DescribeOrganizationCommand}from"./chunk-MJYJ2KAE.js";import{DescribePolicyCommand}from"./chunk-FLCOZN5W.js";import{DescribeProductCommand}from"./chunk-AQCEJOKW.js";import{DescribePropertyCommand}from"./chunk-OETCIQSK.js";import{DescribeCourtesyCommand}from"./chunk-S4ZGFVGN.js";import{DescribeDimmerCommand}from"./chunk-AIQCCGVA.js";import{DescribeDiscoveredDeviceCommand}from"./chunk-CRN7VQQF.js";import{DescribeIssueCommand}from"./chunk-4OUA3LJX.js";import{DescribeLockCommand}from"./chunk-BTFAQXPT.js";import{DescribeLockCredentialCommand}from"./chunk-LG4PH7OT.js";import{DescribeMediaSourceCommand}from"./chunk-AMFJLADB.js";import{DescribeMyAuthCommand}from"./chunk-M5B55VKO.js";import{DeleteVendorCommand}from"./chunk-IJPU72AM.js";import{DeleteWindowCoveringCommand}from"./chunk-ICACX25E.js";import{DescribeAlarmCommand}from"./chunk-VKJ6PHC7.js";import{DescribeAlarmConfigCommand}from"./chunk-53WND32I.js";import{DescribeAnnouncementCommand}from"./chunk-PRM5U7XZ.js";import{DescribeAutomationCommand}from"./chunk-5I2ISSKC.js";import{DescribeCameraCommand}from"./chunk-7HMF3YCM.js";import{DescribeCategoryCommand}from"./chunk-WC6KBQAQ.js";import{DeleteSpaceCommand}from"./chunk-3LIZA4WP.js";import{DeleteSwitchCommand}from"./chunk-ZVMC2YQ5.js";import{DeleteThermostatCommand}from"./chunk-CF7MXNFK.js";import{DeleteTicketCommand}from"./chunk-36262U4E.js";import{DeleteTimeSheetCommand}from"./chunk-TZJL7VU4.js";import{DeleteTimeSheetTimeEntryCommand}from"./chunk-YEMC6WGZ.js";import{DeleteUserCommand}from"./chunk-D5DOI5MQ.js";import{DeleteUserCredentialCommand}from"./chunk-VIUVXWCB.js";import{DeleteIssueCommand}from"./chunk-WWZH5VUV.js";import{DeleteLockCommand}from"./chunk-4KQ5F6UH.js";import{DeleteMediaFileCommand}from"./chunk-TEP5NPXV.js";import{DeleteMediaSourceCommand}from"./chunk-N7CJZZ7U.js";import{DeleteNotificationCommand}from"./chunk-2JNC542E.js";import{DeletePolicyCommand}from"./chunk-OHBI4WE7.js";import{DeleteReservationCommand}from"./chunk-W6CKPKGU.js";import{DeleteRoomCommand}from"./chunk-AO4TTSCE.js";import{DeleteAlarmCommand}from"./chunk-7E7N4I6Q.js";import{DeleteAnnouncementCommand}from"./chunk-KO6QTUYQ.js";import{DeleteAutomationCommand}from"./chunk-EMF6OWI7.js";import{DeleteCameraCommand}from"./chunk-JFFWUOTH.js";import{DeleteCategoryCommand}from"./chunk-O3ALFKOU.js";import{DeleteCourtesyCommand}from"./chunk-ZFZ4LD23.js";import{DeleteDimmerCommand}from"./chunk-3YCXS45T.js";import{DeleteDiscoveredDeviceCommand}from"./chunk-H6XT22OW.js";import{CreateTicketCommand}from"./chunk-KBS25CSR.js";import{CreateTicketMessageCommand}from"./chunk-5DX2OPHX.js";import{CreateTimeSheetCommand}from"./chunk-2CB47PCP.js";import{CreateTimeSheetTimeEntryCommand}from"./chunk-LWFL4WTZ.js";import{CreateUserCommand}from"./chunk-TGR7EWI5.js";import{CreateUserMobileKeyCommand}from"./chunk-HGP2QVKS.js";import{CreateVendorCommand}from"./chunk-G6BCPGDF.js";import{CreateWindowCoveringCommand}from"./chunk-DTYCYZBU.js";import{CreatePropertyCommand}from"./chunk-ECT6N4V6.js";import{CreateReservationCommand}from"./chunk-JARDOYE6.js";import{CreateRoomCommand}from"./chunk-JKIH5JC7.js";import{CreateRoomInSpaceCommand}from"./chunk-HTRYMGCE.js";import{CreateSceneCommand}from"./chunk-TPKROBGV.js";import{CreateSpaceCommand}from"./chunk-2T47BIBX.js";import{CreateSwitchCommand}from"./chunk-I66VL3NG.js";import{CreateThermostatCommand}from"./chunk-PM3N4CT2.js";import{CreateDiscoveredDeviceAssociationMapCommand}from"./chunk-ST6AUNOP.js";import{CreateImageUploadEndpointCommand}from"./chunk-TWGO4A5Y.js";import{CreateIssueCommand}from"./chunk-4AECNH3F.js";import{CreateLockCommand}from"./chunk-OXUASXM7.js";import{CreateMediaSourceCommand}from"./chunk-3WJYMSNN.js";import{CreateNotificationCommand}from"./chunk-RJ4LV7PB.js";import{CreateOrganizationCommand}from"./chunk-TEUMAFZH.js";import{CreatePolicyCommand}from"./chunk-7OADEXAB.js";import{CreateAutomationCommand}from"./chunk-IFCZ6ZQM.js";import{CreateCameraCommand}from"./chunk-YNJWQVHP.js";import{CreateCategoryCommand}from"./chunk-73ZQAT3C.js";import{CreateCourtesyCommand}from"./chunk-SK7IEZ5Z.js";import{CreateDefaultScenesCommand}from"./chunk-5H2DUCBY.js";import{CreateDimmerCommand}from"./chunk-MWI43I5I.js";import{CreateDiscoveredDeviceCommand}from"./chunk-CTYQCN7S.js";import{CreateDiscoveredDeviceAssociationCommand}from"./chunk-R7S3S3GL.js";import{BatchNotifyMissedCheckOutCommand}from"./chunk-NEMLMGQO.js";import{BatchNotifyPreArrivalCommand}from"./chunk-AXUQ2QWL.js";import{BulkUpdateIssueCommand}from"./chunk-SKVW66UZ.js";import{CheckInReservationCommand}from"./chunk-3CDZBSNN.js";import{CheckOutReservationCommand}from"./chunk-V3VRHSYR.js";import{CheckVerificationCodeCommand}from"./chunk-A4ZR7HMD.js";import{CreateAlarmCommand}from"./chunk-N2MJA4TZ.js";import{CreateAnnouncementCommand}from"./chunk-BRAAKAMQ.js";import{AssignSpaceToReservationCommand}from"./chunk-3UC7ONO5.js";import{AutoAssociateDiscoveredDevicesCommand}from"./chunk-FYYOKPDT.js";import{AutoCloseTicketsCommand}from"./chunk-WVSPCDJ3.js";import{BatchNotifyCheckInCommand}from"./chunk-52WY7JLC.js";import{BatchNotifyCheckOutCommand}from"./chunk-RKY3LNNR.js";import{RefreshTokenCommand}from"./chunk-XY46T6DS.js";import{__export}from"./chunk-XE4OXN2W.js";var useCases_exports={};__export(useCases_exports,{AssignSpaceToReservationCommand:()=>AssignSpaceToReservationCommand,AutoAssociateDiscoveredDevicesCommand:()=>AutoAssociateDiscoveredDevicesCommand,AutoCloseTicketsCommand:()=>AutoCloseTicketsCommand,BatchNotifyCheckInCommand:()=>BatchNotifyCheckInCommand,BatchNotifyCheckOutCommand:()=>BatchNotifyCheckOutCommand,BatchNotifyMissedCheckOutCommand:()=>BatchNotifyMissedCheckOutCommand,BatchNotifyPreArrivalCommand:()=>BatchNotifyPreArrivalCommand,BulkUpdateIssueCommand:()=>BulkUpdateIssueCommand,CheckInReservationCommand:()=>CheckInReservationCommand,CheckOutReservationCommand:()=>CheckOutReservationCommand,CheckVerificationCodeCommand:()=>CheckVerificationCodeCommand,CreateAlarmCommand:()=>CreateAlarmCommand,CreateAnnouncementCommand:()=>CreateAnnouncementCommand,CreateAutomationCommand:()=>CreateAutomationCommand,CreateCameraCommand:()=>CreateCameraCommand,CreateCategoryCommand:()=>CreateCategoryCommand,CreateCourtesyCommand:()=>CreateCourtesyCommand,CreateDefaultScenesCommand:()=>CreateDefaultScenesCommand,CreateDimmerCommand:()=>CreateDimmerCommand,CreateDiscoveredDeviceAssociationCommand:()=>CreateDiscoveredDeviceAssociationCommand,CreateDiscoveredDeviceAssociationMapCommand:()=>CreateDiscoveredDeviceAssociationMapCommand,CreateDiscoveredDeviceCommand:()=>CreateDiscoveredDeviceCommand,CreateImageUploadEndpointCommand:()=>CreateImageUploadEndpointCommand,CreateIssueCommand:()=>CreateIssueCommand,CreateLockCommand:()=>CreateLockCommand,CreateMediaSourceCommand:()=>CreateMediaSourceCommand,CreateNotificationCommand:()=>CreateNotificationCommand,CreateOrganizationCommand:()=>CreateOrganizationCommand,CreatePolicyCommand:()=>CreatePolicyCommand,CreatePropertyCommand:()=>CreatePropertyCommand,CreateReservationCommand:()=>CreateReservationCommand,CreateRoomCommand:()=>CreateRoomCommand,CreateRoomInSpaceCommand:()=>CreateRoomInSpaceCommand,CreateSceneCommand:()=>CreateSceneCommand,CreateSpaceCommand:()=>CreateSpaceCommand,CreateSwitchCommand:()=>CreateSwitchCommand,CreateThermostatCommand:()=>CreateThermostatCommand,CreateTicketCommand:()=>CreateTicketCommand,CreateTicketMessageCommand:()=>CreateTicketMessageCommand,CreateTimeSheetCommand:()=>CreateTimeSheetCommand,CreateTimeSheetTimeEntryCommand:()=>CreateTimeSheetTimeEntryCommand,CreateUserCommand:()=>CreateUserCommand,CreateUserMobileKeyCommand:()=>CreateUserMobileKeyCommand,CreateVendorCommand:()=>CreateVendorCommand,CreateWindowCoveringCommand:()=>CreateWindowCoveringCommand,DeleteAlarmCommand:()=>DeleteAlarmCommand,DeleteAnnouncementCommand:()=>DeleteAnnouncementCommand,DeleteAutomationCommand:()=>DeleteAutomationCommand,DeleteCameraCommand:()=>DeleteCameraCommand,DeleteCategoryCommand:()=>DeleteCategoryCommand,DeleteCourtesyCommand:()=>DeleteCourtesyCommand,DeleteDimmerCommand:()=>DeleteDimmerCommand,DeleteDiscoveredDeviceCommand:()=>DeleteDiscoveredDeviceCommand,DeleteIssueCommand:()=>DeleteIssueCommand,DeleteLockCommand:()=>DeleteLockCommand,DeleteMediaFileCommand:()=>DeleteMediaFileCommand,DeleteMediaSourceCommand:()=>DeleteMediaSourceCommand,DeleteNotificationCommand:()=>DeleteNotificationCommand,DeletePolicyCommand:()=>DeletePolicyCommand,DeleteReservationCommand:()=>DeleteReservationCommand,DeleteRoomCommand:()=>DeleteRoomCommand,DeleteSpaceCommand:()=>DeleteSpaceCommand,DeleteSwitchCommand:()=>DeleteSwitchCommand,DeleteThermostatCommand:()=>DeleteThermostatCommand,DeleteTicketCommand:()=>DeleteTicketCommand,DeleteTimeSheetCommand:()=>DeleteTimeSheetCommand,DeleteTimeSheetTimeEntryCommand:()=>DeleteTimeSheetTimeEntryCommand,DeleteUserCommand:()=>DeleteUserCommand,DeleteUserCredentialCommand:()=>DeleteUserCredentialCommand,DeleteVendorCommand:()=>DeleteVendorCommand,DeleteWindowCoveringCommand:()=>DeleteWindowCoveringCommand,DescribeAlarmCommand:()=>DescribeAlarmCommand,DescribeAlarmConfigCommand:()=>DescribeAlarmConfigCommand,DescribeAnnouncementCommand:()=>DescribeAnnouncementCommand,DescribeAutomationCommand:()=>DescribeAutomationCommand,DescribeCameraCommand:()=>DescribeCameraCommand,DescribeCategoryCommand:()=>DescribeCategoryCommand,DescribeCourtesyCommand:()=>DescribeCourtesyCommand,DescribeDimmerCommand:()=>DescribeDimmerCommand,DescribeDiscoveredDeviceCommand:()=>DescribeDiscoveredDeviceCommand,DescribeIssueCommand:()=>DescribeIssueCommand,DescribeLockCommand:()=>DescribeLockCommand,DescribeLockCredentialCommand:()=>DescribeLockCredentialCommand,DescribeMediaSourceCommand:()=>DescribeMediaSourceCommand,DescribeMyAuthCommand:()=>DescribeMyAuthCommand,DescribeMyMobileKeyAppCommand:()=>DescribeMyMobileKeyAppCommand,DescribeMyOrganizationCommand:()=>DescribeMyOrganizationCommand,DescribeMyPasskeyRegistrationsCommand:()=>DescribeMyPasskeyRegistrationsCommand,DescribeNotificationCommand:()=>DescribeNotificationCommand,DescribeOrganizationCommand:()=>DescribeOrganizationCommand,DescribePolicyCommand:()=>DescribePolicyCommand,DescribeProductCommand:()=>DescribeProductCommand,DescribePropertyCommand:()=>DescribePropertyCommand,DescribeReservationCommand:()=>DescribeReservationCommand,DescribeReservationEarlyCheckInProductsCommand:()=>DescribeReservationEarlyCheckInProductsCommand,DescribeReservationLateCheckOutProductsCommand:()=>DescribeReservationLateCheckOutProductsCommand,DescribeReservationPetProductsCommand:()=>DescribeReservationPetProductsCommand,DescribeReservationPromosCommand:()=>DescribeReservationPromosCommand,DescribeReservationRoomUpgradesCommand:()=>DescribeReservationRoomUpgradesCommand,DescribeRoomCommand:()=>DescribeRoomCommand,DescribeSOSCommand:()=>DescribeSOSCommand,DescribeSelfCommand:()=>DescribeSelfCommand,DescribeSpaceCommand:()=>DescribeSpaceCommand,DescribeSwitchCommand:()=>DescribeSwitchCommand,DescribeThermostatCommand:()=>DescribeThermostatCommand,DescribeTicketCommand:()=>DescribeTicketCommand,DescribeTicketFiltersCommand:()=>DescribeTicketFiltersCommand,DescribeTicketStatsCommand:()=>DescribeTicketStatsCommand,DescribeTimeSheetCommand:()=>DescribeTimeSheetCommand,DescribeTimeSheetStatsCommand:()=>DescribeTimeSheetStatsCommand,DescribeUserCommand:()=>DescribeUserCommand,DescribeVendorCommand:()=>DescribeVendorCommand,DescribeWindowCoveringCommand:()=>DescribeWindowCoveringCommand,DiscoverReservationsCommand:()=>DiscoverReservationsCommand,EmailUserAccountSetupCommand:()=>EmailUserAccountSetupCommand,FinishRegisterPasskeyCommand:()=>FinishRegisterPasskeyCommand,LeaveTicketCommand:()=>LeaveTicketCommand,ListAlarmsCommand:()=>ListAlarmsCommand,ListAnnouncementsCommand:()=>ListAnnouncementsCommand,ListAutomationsCommand:()=>ListAutomationsCommand,ListCameraStreamPreviewsCommand:()=>ListCameraStreamPreviewsCommand,ListCamerasCommand:()=>ListCamerasCommand,ListCategoriesCommand:()=>ListCategoriesCommand,ListCourtesyCommand:()=>ListCourtesyCommand,ListDimmersCommand:()=>ListDimmersCommand,ListDiscoveredDevicesCommand:()=>ListDiscoveredDevicesCommand,ListIssuesCommand:()=>ListIssuesCommand,ListLocksCommand:()=>ListLocksCommand,ListMediaSourcesCommand:()=>ListMediaSourcesCommand,ListMyOrdersCommand:()=>ListMyOrdersCommand,ListMyPropertiesCommand:()=>ListMyPropertiesCommand,ListMyReservationsCommand:()=>ListMyReservationsCommand,ListMySpacesCommand:()=>ListMySpacesCommand,ListMyTicketsCommand:()=>ListMyTicketsCommand,ListMyTimeSheetsCommand:()=>ListMyTimeSheetsCommand,ListNotificationsCommand:()=>ListNotificationsCommand,ListOrdersCommand:()=>ListOrdersCommand,ListOrganizationsCommand:()=>ListOrganizationsCommand,ListPoliciesCommand:()=>ListPoliciesCommand,ListProductsCommand:()=>ListProductsCommand,ListPropertiesCommand:()=>ListPropertiesCommand,ListReservationsCommand:()=>ListReservationsCommand,ListRoomsCommand:()=>ListRoomsCommand,ListRoomsInSpaceCommand:()=>ListRoomsInSpaceCommand,ListScenesCommand:()=>ListScenesCommand,ListSpacesCommand:()=>ListSpacesCommand,ListSwitchesCommand:()=>ListSwitchesCommand,ListTeamCommand:()=>ListTeamCommand,ListThermostatsCommand:()=>ListThermostatsCommand,ListTicketLocationsCommand:()=>ListTicketLocationsCommand,ListTicketsCommand:()=>ListTicketsCommand,ListTimeSheetsCommand:()=>ListTimeSheetsCommand,ListUserMobileKeysCommand:()=>ListUserMobileKeysCommand,ListUserOrdersCommand:()=>ListUserOrdersCommand,ListUserReservationsCommand:()=>ListUserReservationsCommand,ListUserSpacesCommand:()=>ListUserSpacesCommand,ListUsersCommand:()=>ListUsersCommand,ListVendorsCommand:()=>ListVendorsCommand,ListWindowCoveringsCommand:()=>ListWindowCoveringsCommand,LoginFinishCommand:()=>LoginFinishCommand,LoginStartCommand:()=>LoginStartCommand,LogoutSelfCommand:()=>LogoutSelfCommand,LogoutUserCommand:()=>LogoutUserCommand,MatchUserIdentificationCommand:()=>MatchUserIdentificationCommand,MoveAlarmCommand:()=>MoveAlarmCommand,MoveCameraCommand:()=>MoveCameraCommand,MoveCourtesyCommand:()=>MoveCourtesyCommand,MoveDimmerCommand:()=>MoveDimmerCommand,MoveLockCommand:()=>MoveLockCommand,MoveMediaSourceCommand:()=>MoveMediaSourceCommand,MoveSwitchCommand:()=>MoveSwitchCommand,MoveThermostatCommand:()=>MoveThermostatCommand,MoveWindowCoveringCommand:()=>MoveWindowCoveringCommand,OCRDocumentCommand:()=>OCRDocumentCommand,PurchaseReservationEarlyCheckInProductsCommand:()=>PurchaseReservationEarlyCheckInProductsCommand,PurchaseReservationLateCheckOutProductsCommand:()=>PurchaseReservationLateCheckOutProductsCommand,PurchaseReservationPetProductsCommand:()=>PurchaseReservationPetProductsCommand,PurchaseReservationPromosCommand:()=>PurchaseReservationPromosCommand,PurchaseReservationRoomUpgradesCommand:()=>PurchaseReservationRoomUpgradesCommand,RefreshTokenCommand:()=>RefreshTokenCommand,RequestLoginTokenCommand:()=>RequestLoginTokenCommand,SendCheckInSMSCommand:()=>SendCheckInSMSCommand,SendCheckOutSMSCommand:()=>SendCheckOutSMSCommand,SendPreArrivalEmailCommand:()=>SendPreArrivalEmailCommand,SendPreArrivalSMSCommand:()=>SendPreArrivalSMSCommand,SendRoomControlSMSCommand:()=>SendRoomControlSMSCommand,SendVerificationCodeCommand:()=>SendVerificationCodeCommand,SetAlarmCommand:()=>SetAlarmCommand,SetCameraCommand:()=>SetCameraCommand,SetCourtesyCommand:()=>SetCourtesyCommand,SetDimmerCommand:()=>SetDimmerCommand,SetLockCommand:()=>SetLockCommand,SetMediaSourceCommand:()=>SetMediaSourceCommand,SetRoomSceneCommand:()=>SetRoomSceneCommand,SetSceneCommand:()=>SetSceneCommand,SetSpaceSceneCommand:()=>SetSpaceSceneCommand,SetSwitchCommand:()=>SetSwitchCommand,SetThermostatCommand:()=>SetThermostatCommand,SetWindowCoveringCommand:()=>SetWindowCoveringCommand,StartRegisterPasskeyCommand:()=>StartRegisterPasskeyCommand,StartSOSCommand:()=>StartSOSCommand,StopSOSCommand:()=>StopSOSCommand,TipUserCommand:()=>TipUserCommand,UpdateAlarmCommand:()=>UpdateAlarmCommand,UpdateAnnouncementCommand:()=>UpdateAnnouncementCommand,UpdateAutomationCommand:()=>UpdateAutomationCommand,UpdateCameraCommand:()=>UpdateCameraCommand,UpdateCategoryCommand:()=>UpdateCategoryCommand,UpdateCourtesyCommand:()=>UpdateCourtesyCommand,UpdateDimmerCommand:()=>UpdateDimmerCommand,UpdateDiscoveredDeviceCommand:()=>UpdateDiscoveredDeviceCommand,UpdateIssueCommand:()=>UpdateIssueCommand,UpdateLockCommand:()=>UpdateLockCommand,UpdateMediaSourceCommand:()=>UpdateMediaSourceCommand,UpdateMessageReadStatusCommand:()=>UpdateMessageReadStatusCommand,UpdateNotificationCommand:()=>UpdateNotificationCommand,UpdateOrganizationCommand:()=>UpdateOrganizationCommand,UpdatePolicyCommand:()=>UpdatePolicyCommand,UpdatePropertyCommand:()=>UpdatePropertyCommand,UpdatePropertySettingsCommand:()=>UpdatePropertySettingsCommand,UpdateReservationCommand:()=>UpdateReservationCommand,UpdateReservationExpectedArrivalTimeCommand:()=>UpdateReservationExpectedArrivalTimeCommand,UpdateRoomCommand:()=>UpdateRoomCommand,UpdateSelfCommand:()=>UpdateSelfCommand,UpdateSpaceCommand:()=>UpdateSpaceCommand,UpdateSwitchCommand:()=>UpdateSwitchCommand,UpdateThermostatCommand:()=>UpdateThermostatCommand,UpdateTicketCommand:()=>UpdateTicketCommand,UpdateTicketStatusCommand:()=>UpdateTicketStatusCommand,UpdateTimeSheetCommand:()=>UpdateTimeSheetCommand,UpdateTimeSheetTimeEntryCommand:()=>UpdateTimeSheetTimeEntryCommand,UpdateUserCommand:()=>UpdateUserCommand,UpdateVendorCommand:()=>UpdateVendorCommand,UpdateWindowCoveringCommand:()=>UpdateWindowCoveringCommand,UploadImageCommand:()=>UploadImageCommand,UpsertDiscoveredDeviceCommand:()=>UpsertDiscoveredDeviceCommand});export{useCases_exports};//# sourceMappingURL=chunk-VRCIGWQ4.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/useCases/index.js"],"sourcesContent":["// This file is auto-generated. Do not edit this file manually.\n// Generated on: 2025-05-10T15:07:59.170Z\n\nexport * from \"./assignSpaceToReservation\";\nexport * from \"./autoAssociateDiscoveredDevices\";\nexport * from \"./autoCloseTickets\";\nexport * from \"./batchNotifyCheckIn\";\nexport * from \"./batchNotifyCheckOut\";\nexport * from \"./batchNotifyMissedCheckOut\";\nexport * from \"./batchNotifyPreArrival\";\nexport * from \"./bulkUpdateIssue\";\nexport * from \"./checkInReservation\";\nexport * from \"./checkOutReservation\";\nexport * from \"./checkVerificationCode\";\nexport * from \"./createAlarm\";\nexport * from \"./createAnnouncement\";\nexport * from \"./createAutomation\";\nexport * from \"./createCamera\";\nexport * from \"./createCategory\";\nexport * from \"./createCourtesy\";\nexport * from \"./createDefaultScenes\";\nexport * from \"./createDimmer\";\nexport * from \"./createDiscoveredDevice\";\nexport * from \"./createDiscoveredDeviceAssociation\";\nexport * from \"./createDiscoveredDeviceAssociationMap\";\nexport * from \"./createImageUploadEndpoint\";\nexport * from \"./createIssue\";\nexport * from \"./createLock\";\nexport * from \"./createMediaSource\";\nexport * from \"./createNotification\";\nexport * from \"./createOrganization\";\nexport * from \"./createPolicy\";\nexport * from \"./createProperty\";\nexport * from \"./createReservation\";\nexport * from \"./createRoom\";\nexport * from \"./createRoomInSpace\";\nexport * from \"./createScene\";\nexport * from \"./createSpace\";\nexport * from \"./createSwitch\";\nexport * from \"./createThermostat\";\nexport * from \"./createTicket\";\nexport * from \"./createTicketMessage\";\nexport * from \"./createTimeSheet\";\nexport * from \"./createTimeSheetTimeEntry\";\nexport * from \"./createUser\";\nexport * from \"./createUserMobileKey\";\nexport * from \"./createVendor\";\nexport * from \"./createWindowCovering\";\nexport * from \"./deleteAlarm\";\nexport * from \"./deleteAnnouncement\";\nexport * from \"./deleteAutomation\";\nexport * from \"./deleteCamera\";\nexport * from \"./deleteCategory\";\nexport * from \"./deleteCourtesy\";\nexport * from \"./deleteDimmer\";\nexport * from \"./deleteDiscoveredDevice\";\nexport * from \"./deleteIssue\";\nexport * from \"./deleteLock\";\nexport * from \"./deleteMediaFile\";\nexport * from \"./deleteMediaSource\";\nexport * from \"./deleteNotification\";\nexport * from \"./deletePolicy\";\nexport * from \"./deleteReservation\";\nexport * from \"./deleteRoom\";\nexport * from \"./deleteSpace\";\nexport * from \"./deleteSwitch\";\nexport * from \"./deleteThermostat\";\nexport * from \"./deleteTicket\";\nexport * from \"./deleteTimeSheet\";\nexport * from \"./deleteTimeSheetTimeEntry\";\nexport * from \"./deleteUser\";\nexport * from \"./deleteUserCredential\";\nexport * from \"./deleteVendor\";\nexport * from \"./deleteWindowCovering\";\nexport * from \"./describeAlarm\";\nexport * from \"./describeAlarmConfig\";\nexport * from \"./describeAnnouncement\";\nexport * from \"./describeAutomation\";\nexport * from \"./describeCamera\";\nexport * from \"./describeCategory\";\nexport * from \"./describeCourtesy\";\nexport * from \"./describeDimmer\";\nexport * from \"./describeDiscoveredDevice\";\nexport * from \"./describeIssue\";\nexport * from \"./describeLock\";\nexport * from \"./describeLockCredential\";\nexport * from \"./describeMediaSource\";\nexport * from \"./describeMyAuth\";\nexport * from \"./describeMyMobileKeyApp\";\nexport * from \"./describeMyOrganization\";\nexport * from \"./describeMyPasskeyRegistrations\";\nexport * from \"./describeNotification\";\nexport * from \"./describeOrganization\";\nexport * from \"./describePolicy\";\nexport * from \"./describeProduct\";\nexport * from \"./describeProperty\";\nexport * from \"./describeReservation\";\nexport * from \"./describeReservationEarlyCheckInProducts\";\nexport * from \"./describeReservationLateCheckOutProducts\";\nexport * from \"./describeReservationPetProducts\";\nexport * from \"./describeReservationPromos\";\nexport * from \"./describeReservationRoomUpgrades\";\nexport * from \"./describeRoom\";\nexport * from \"./describeSOS\";\nexport * from \"./describeSelf\";\nexport * from \"./describeSpace\";\nexport * from \"./describeSwitch\";\nexport * from \"./describeThermostat\";\nexport * from \"./describeTicket\";\nexport * from \"./describeTicketFilters\";\nexport * from \"./describeTicketStats\";\nexport * from \"./describeTimeSheet\";\nexport * from \"./describeTimeSheetStats\";\nexport * from \"./describeUser\";\nexport * from \"./describeVendor\";\nexport * from \"./describeWindowCovering\";\nexport * from \"./discoverReservations\";\nexport * from \"./emailUserAccountSetup\";\nexport * from \"./finishRegisterPasskey\";\nexport * from \"./leaveTicket\";\nexport * from \"./listAlarms\";\nexport * from \"./listAnnouncements\";\nexport * from \"./listAutomations\";\nexport * from \"./listCameraStreamPreviews\";\nexport * from \"./listCameras\";\nexport * from \"./listCategories\";\nexport * from \"./listCourtesy\";\nexport * from \"./listDimmers\";\nexport * from \"./listDiscoveredDevices\";\nexport * from \"./listIssues\";\nexport * from \"./listLocks\";\nexport * from \"./listMediaSources\";\nexport * from \"./listMyOrders\";\nexport * from \"./listMyProperties\";\nexport * from \"./listMyReservations\";\nexport * from \"./listMySpaces\";\nexport * from \"./listMyTickets\";\nexport * from \"./listMyTimeSheets\";\nexport * from \"./listNotifications\";\nexport * from \"./listOrders\";\nexport * from \"./listOrganizations\";\nexport * from \"./listPolicies\";\nexport * from \"./listProducts\";\nexport * from \"./listProperties\";\nexport * from \"./listReservations\";\nexport * from \"./listRooms\";\nexport * from \"./listRoomsInSpace\";\nexport * from \"./listScenes\";\nexport * from \"./listSpaces\";\nexport * from \"./listSwitches\";\nexport * from \"./listTeam\";\nexport * from \"./listThermostats\";\nexport * from \"./listTicketLocations\";\nexport * from \"./listTickets\";\nexport * from \"./listTimeSheets\";\nexport * from \"./listUserMobileKeys\";\nexport * from \"./listUserOrders\";\nexport * from \"./listUserReservations\";\nexport * from \"./listUserSpaces\";\nexport * from \"./listUsers\";\nexport * from \"./listVendors\";\nexport * from \"./listWindowCoverings\";\nexport * from \"./loginFinish\";\nexport * from \"./loginStart\";\nexport * from \"./logoutSelf\";\nexport * from \"./logoutUser\";\nexport * from \"./matchUserIdentification\";\nexport * from \"./moveAlarm\";\nexport * from \"./moveCamera\";\nexport * from \"./moveCourtesy\";\nexport * from \"./moveDimmer\";\nexport * from \"./moveLock\";\nexport * from \"./moveMediaSource\";\nexport * from \"./moveSwitch\";\nexport * from \"./moveThermostat\";\nexport * from \"./moveWindowCovering\";\nexport * from \"./oCRDocument\";\nexport * from \"./purchaseReservationEarlyCheckInProducts\";\nexport * from \"./purchaseReservationLateCheckOutProducts\";\nexport * from \"./purchaseReservationPetProducts\";\nexport * from \"./purchaseReservationPromos\";\nexport * from \"./purchaseReservationRoomUpgrades\";\nexport * from \"./refreshToken\";\nexport * from \"./requestLoginToken\";\nexport * from \"./sendCheckInSMS\";\nexport * from \"./sendCheckOutSMS\";\nexport * from \"./sendPreArrivalEmail\";\nexport * from \"./sendPreArrivalSMS\";\nexport * from \"./sendRoomControlSMS\";\nexport * from \"./sendVerificationCode\";\nexport * from \"./setAlarm\";\nexport * from \"./setCamera\";\nexport * from \"./setCourtesy\";\nexport * from \"./setDimmer\";\nexport * from \"./setLock\";\nexport * from \"./setMediaSource\";\nexport * from \"./setRoomScene\";\nexport * from \"./setScene\";\nexport * from \"./setSpaceScene\";\nexport * from \"./setSwitch\";\nexport * from \"./setThermostat\";\nexport * from \"./setWindowCovering\";\nexport * from \"./startRegisterPasskey\";\nexport * from \"./startSOS\";\nexport * from \"./stopSOS\";\nexport * from \"./tipUser\";\nexport * from \"./updateAlarm\";\nexport * from \"./updateAnnouncement\";\nexport * from \"./updateAutomation\";\nexport * from \"./updateCamera\";\nexport * from \"./updateCategory\";\nexport * from \"./updateCourtesy\";\nexport * from \"./updateDimmer\";\nexport * from \"./updateDiscoveredDevice\";\nexport * from \"./updateIssue\";\nexport * from \"./updateLock\";\nexport * from \"./updateMediaSource\";\nexport * from \"./updateMessageReadStatus\";\nexport * from \"./updateNotification\";\nexport * from \"./updateOrganization\";\nexport * from \"./updatePolicy\";\nexport * from \"./updateProperty\";\nexport * from \"./updatePropertySettings\";\nexport * from \"./updateReservation\";\nexport * from \"./updateReservationExpectedArrivalTime\";\nexport * from \"./updateRoom\";\nexport * from \"./updateSelf\";\nexport * from \"./updateSpace\";\nexport * from \"./updateSwitch\";\nexport * from \"./updateThermostat\";\nexport * from \"./updateTicket\";\nexport * from \"./updateTicketStatus\";\nexport * from \"./updateTimeSheet\";\nexport * from \"./updateTimeSheetTimeEntry\";\nexport * from \"./updateUser\";\nexport * from \"./updateVendor\";\nexport * from \"./updateWindowCovering\";\nexport * from \"./uploadImage\";\nexport * from \"./upsertDiscoveredDevice\";"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;","names":[]}
1
+ {"version":3,"sources":["../src/useCases/index.js"],"sourcesContent":["// This file is auto-generated. Do not edit this file manually.\n// Generated on: 2025-05-16T22:30:53.553Z\n\nexport * from \"./assignSpaceToReservation\";\nexport * from \"./autoAssociateDiscoveredDevices\";\nexport * from \"./autoCloseTickets\";\nexport * from \"./batchNotifyCheckIn\";\nexport * from \"./batchNotifyCheckOut\";\nexport * from \"./batchNotifyMissedCheckOut\";\nexport * from \"./batchNotifyPreArrival\";\nexport * from \"./bulkUpdateIssue\";\nexport * from \"./checkInReservation\";\nexport * from \"./checkOutReservation\";\nexport * from \"./checkVerificationCode\";\nexport * from \"./createAlarm\";\nexport * from \"./createAnnouncement\";\nexport * from \"./createAutomation\";\nexport * from \"./createCamera\";\nexport * from \"./createCategory\";\nexport * from \"./createCourtesy\";\nexport * from \"./createDefaultScenes\";\nexport * from \"./createDimmer\";\nexport * from \"./createDiscoveredDevice\";\nexport * from \"./createDiscoveredDeviceAssociation\";\nexport * from \"./createDiscoveredDeviceAssociationMap\";\nexport * from \"./createImageUploadEndpoint\";\nexport * from \"./createIssue\";\nexport * from \"./createLock\";\nexport * from \"./createMediaSource\";\nexport * from \"./createNotification\";\nexport * from \"./createOrganization\";\nexport * from \"./createPolicy\";\nexport * from \"./createProperty\";\nexport * from \"./createReservation\";\nexport * from \"./createRoom\";\nexport * from \"./createRoomInSpace\";\nexport * from \"./createScene\";\nexport * from \"./createSpace\";\nexport * from \"./createSwitch\";\nexport * from \"./createThermostat\";\nexport * from \"./createTicket\";\nexport * from \"./createTicketMessage\";\nexport * from \"./createTimeSheet\";\nexport * from \"./createTimeSheetTimeEntry\";\nexport * from \"./createUser\";\nexport * from \"./createUserMobileKey\";\nexport * from \"./createVendor\";\nexport * from \"./createWindowCovering\";\nexport * from \"./deleteAlarm\";\nexport * from \"./deleteAnnouncement\";\nexport * from \"./deleteAutomation\";\nexport * from \"./deleteCamera\";\nexport * from \"./deleteCategory\";\nexport * from \"./deleteCourtesy\";\nexport * from \"./deleteDimmer\";\nexport * from \"./deleteDiscoveredDevice\";\nexport * from \"./deleteIssue\";\nexport * from \"./deleteLock\";\nexport * from \"./deleteMediaFile\";\nexport * from \"./deleteMediaSource\";\nexport * from \"./deleteNotification\";\nexport * from \"./deletePolicy\";\nexport * from \"./deleteReservation\";\nexport * from \"./deleteRoom\";\nexport * from \"./deleteSpace\";\nexport * from \"./deleteSwitch\";\nexport * from \"./deleteThermostat\";\nexport * from \"./deleteTicket\";\nexport * from \"./deleteTimeSheet\";\nexport * from \"./deleteTimeSheetTimeEntry\";\nexport * from \"./deleteUser\";\nexport * from \"./deleteUserCredential\";\nexport * from \"./deleteVendor\";\nexport * from \"./deleteWindowCovering\";\nexport * from \"./describeAlarm\";\nexport * from \"./describeAlarmConfig\";\nexport * from \"./describeAnnouncement\";\nexport * from \"./describeAutomation\";\nexport * from \"./describeCamera\";\nexport * from \"./describeCategory\";\nexport * from \"./describeCourtesy\";\nexport * from \"./describeDimmer\";\nexport * from \"./describeDiscoveredDevice\";\nexport * from \"./describeIssue\";\nexport * from \"./describeLock\";\nexport * from \"./describeLockCredential\";\nexport * from \"./describeMediaSource\";\nexport * from \"./describeMyAuth\";\nexport * from \"./describeMyMobileKeyApp\";\nexport * from \"./describeMyOrganization\";\nexport * from \"./describeMyPasskeyRegistrations\";\nexport * from \"./describeNotification\";\nexport * from \"./describeOrganization\";\nexport * from \"./describePolicy\";\nexport * from \"./describeProduct\";\nexport * from \"./describeProperty\";\nexport * from \"./describeReservation\";\nexport * from \"./describeReservationEarlyCheckInProducts\";\nexport * from \"./describeReservationLateCheckOutProducts\";\nexport * from \"./describeReservationPetProducts\";\nexport * from \"./describeReservationPromos\";\nexport * from \"./describeReservationRoomUpgrades\";\nexport * from \"./describeRoom\";\nexport * from \"./describeSOS\";\nexport * from \"./describeSelf\";\nexport * from \"./describeSpace\";\nexport * from \"./describeSwitch\";\nexport * from \"./describeThermostat\";\nexport * from \"./describeTicket\";\nexport * from \"./describeTicketFilters\";\nexport * from \"./describeTicketStats\";\nexport * from \"./describeTimeSheet\";\nexport * from \"./describeTimeSheetStats\";\nexport * from \"./describeUser\";\nexport * from \"./describeVendor\";\nexport * from \"./describeWindowCovering\";\nexport * from \"./discoverReservations\";\nexport * from \"./emailUserAccountSetup\";\nexport * from \"./finishRegisterPasskey\";\nexport * from \"./leaveTicket\";\nexport * from \"./listAlarms\";\nexport * from \"./listAnnouncements\";\nexport * from \"./listAutomations\";\nexport * from \"./listCameraStreamPreviews\";\nexport * from \"./listCameras\";\nexport * from \"./listCategories\";\nexport * from \"./listCourtesy\";\nexport * from \"./listDimmers\";\nexport * from \"./listDiscoveredDevices\";\nexport * from \"./listIssues\";\nexport * from \"./listLocks\";\nexport * from \"./listMediaSources\";\nexport * from \"./listMyOrders\";\nexport * from \"./listMyProperties\";\nexport * from \"./listMyReservations\";\nexport * from \"./listMySpaces\";\nexport * from \"./listMyTickets\";\nexport * from \"./listMyTimeSheets\";\nexport * from \"./listNotifications\";\nexport * from \"./listOrders\";\nexport * from \"./listOrganizations\";\nexport * from \"./listPolicies\";\nexport * from \"./listProducts\";\nexport * from \"./listProperties\";\nexport * from \"./listReservations\";\nexport * from \"./listRooms\";\nexport * from \"./listRoomsInSpace\";\nexport * from \"./listScenes\";\nexport * from \"./listSpaces\";\nexport * from \"./listSwitches\";\nexport * from \"./listTeam\";\nexport * from \"./listThermostats\";\nexport * from \"./listTicketLocations\";\nexport * from \"./listTickets\";\nexport * from \"./listTimeSheets\";\nexport * from \"./listUserMobileKeys\";\nexport * from \"./listUserOrders\";\nexport * from \"./listUserReservations\";\nexport * from \"./listUserSpaces\";\nexport * from \"./listUsers\";\nexport * from \"./listVendors\";\nexport * from \"./listWindowCoverings\";\nexport * from \"./loginFinish\";\nexport * from \"./loginStart\";\nexport * from \"./logoutSelf\";\nexport * from \"./logoutUser\";\nexport * from \"./matchUserIdentification\";\nexport * from \"./moveAlarm\";\nexport * from \"./moveCamera\";\nexport * from \"./moveCourtesy\";\nexport * from \"./moveDimmer\";\nexport * from \"./moveLock\";\nexport * from \"./moveMediaSource\";\nexport * from \"./moveSwitch\";\nexport * from \"./moveThermostat\";\nexport * from \"./moveWindowCovering\";\nexport * from \"./oCRDocument\";\nexport * from \"./purchaseReservationEarlyCheckInProducts\";\nexport * from \"./purchaseReservationLateCheckOutProducts\";\nexport * from \"./purchaseReservationPetProducts\";\nexport * from \"./purchaseReservationPromos\";\nexport * from \"./purchaseReservationRoomUpgrades\";\nexport * from \"./refreshToken\";\nexport * from \"./requestLoginToken\";\nexport * from \"./sendCheckInSMS\";\nexport * from \"./sendCheckOutSMS\";\nexport * from \"./sendPreArrivalEmail\";\nexport * from \"./sendPreArrivalSMS\";\nexport * from \"./sendRoomControlSMS\";\nexport * from \"./sendVerificationCode\";\nexport * from \"./setAlarm\";\nexport * from \"./setCamera\";\nexport * from \"./setCourtesy\";\nexport * from \"./setDimmer\";\nexport * from \"./setLock\";\nexport * from \"./setMediaSource\";\nexport * from \"./setRoomScene\";\nexport * from \"./setScene\";\nexport * from \"./setSpaceScene\";\nexport * from \"./setSwitch\";\nexport * from \"./setThermostat\";\nexport * from \"./setWindowCovering\";\nexport * from \"./startRegisterPasskey\";\nexport * from \"./startSOS\";\nexport * from \"./stopSOS\";\nexport * from \"./tipUser\";\nexport * from \"./updateAlarm\";\nexport * from \"./updateAnnouncement\";\nexport * from \"./updateAutomation\";\nexport * from \"./updateCamera\";\nexport * from \"./updateCategory\";\nexport * from \"./updateCourtesy\";\nexport * from \"./updateDimmer\";\nexport * from \"./updateDiscoveredDevice\";\nexport * from \"./updateIssue\";\nexport * from \"./updateLock\";\nexport * from \"./updateMediaSource\";\nexport * from \"./updateMessageReadStatus\";\nexport * from \"./updateNotification\";\nexport * from \"./updateOrganization\";\nexport * from \"./updatePolicy\";\nexport * from \"./updateProperty\";\nexport * from \"./updatePropertySettings\";\nexport * from \"./updateReservation\";\nexport * from \"./updateReservationExpectedArrivalTime\";\nexport * from \"./updateRoom\";\nexport * from \"./updateSelf\";\nexport * from \"./updateSpace\";\nexport * from \"./updateSwitch\";\nexport * from \"./updateThermostat\";\nexport * from \"./updateTicket\";\nexport * from \"./updateTicketStatus\";\nexport * from \"./updateTimeSheet\";\nexport * from \"./updateTimeSheetTimeEntry\";\nexport * from \"./updateUser\";\nexport * from \"./updateVendor\";\nexport * from \"./updateWindowCovering\";\nexport * from \"./uploadImage\";\nexport * from \"./upsertDiscoveredDevice\";"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;","names":[]}
@@ -1 +1 @@
1
- import{validatePayment}from"./chunk-IL3ICDGN.js";import{Entity}from"./chunk-YPJMXYGL.js";import{__name}from"./chunk-XE4OXN2W.js";var Payment=class extends Entity{static{__name(this,"Payment")}constructor(data){super(data),void 0!==data.id&&(this.id=data.id),this.type=data.type,void 0!==data.enabled&&(this.enabled=data.enabled),void 0!==data.storageData&&(this.storageData=data.storageData),this.maskedNumber=data.maskedNumber,void 0!==data.issued&&(this.issued=data.issued),this.expires=data.expires,void 0!==data.systemId&&(this.systemId=data.systemId)}};Object.defineProperty(Payment.prototype,"schema",{value:{$schema:"http://json-schema.org/draft-07/schema",$id:"payment.json",title:"Payment",type:"object",required:["type","maskedNumber","expires"],additionalProperties:!1,properties:{id:{$ref:"definitions.json#/definitions/id"},type:{type:"string",enum:["amex","visa","masterCard","maestro","discover","diners","jcb","applePay","alipay","chinaUnionPay","vpay"]},enabled:{type:"boolean",default:!0},storageData:{type:["string","null"]},maskedNumber:{type:"string"},issued:{type:["string","null"]},expires:{type:"string"},systemId:{$ref:"definitions.json#/definitions/systemId"}}}}),Object.defineProperty(Payment.prototype,"validator",{get:__name((function(){return validatePayment}),"get")});export{Payment};//# sourceMappingURL=chunk-UDBCX6ZP.js.map
1
+ import{validatePayment}from"./chunk-RM6XS6VX.js";import{Entity}from"./chunk-YPJMXYGL.js";import{__name}from"./chunk-XE4OXN2W.js";var Payment=class extends Entity{static{__name(this,"Payment")}constructor(data){super(data),void 0!==data.id&&(this.id=data.id),this.type=data.type,void 0!==data.enabled&&(this.enabled=data.enabled),void 0!==data.storageData&&(this.storageData=data.storageData),this.maskedNumber=data.maskedNumber,void 0!==data.issued&&(this.issued=data.issued),this.expires=data.expires,void 0!==data.systemId&&(this.systemId=data.systemId)}};Object.defineProperty(Payment.prototype,"schema",{value:{$schema:"http://json-schema.org/draft-07/schema",$id:"payment.json",title:"Payment",type:"object",required:["type","maskedNumber","expires"],additionalProperties:!1,properties:{id:{$ref:"definitions.json#/definitions/id"},type:{type:"string",enum:["amex","visa","masterCard","maestro","discover","diners","jcb","applePay","alipay","chinaUnionPay","vpay"]},enabled:{type:"boolean",default:!0},storageData:{type:["string","null"]},maskedNumber:{type:"string"},issued:{type:["string","null"]},expires:{type:"string"},systemId:{$ref:"definitions.json#/definitions/systemId"}}}}),Object.defineProperty(Payment.prototype,"validator",{get:__name((function(){return validatePayment}),"get")});export{Payment};//# sourceMappingURL=chunk-XMCXXZYZ.js.map
@@ -1 +1 @@
1
- import{validateLog}from"./chunk-IL3ICDGN.js";import{Entity}from"./chunk-YPJMXYGL.js";import{__name}from"./chunk-XE4OXN2W.js";var Log=class extends Entity{static{__name(this,"Log")}constructor(data){super(data),this.type=data.type,this.timestamp=data.timestamp,this.id=data.id,this.driver=data.driver,this.name=data.name,void 0!==data.field1&&(this.field1=data.field1),void 0!==data.field2&&(this.field2=data.field2),void 0!==data.field3&&(this.field3=data.field3),void 0!==data.field4&&(this.field4=data.field4),void 0!==data.field5&&(this.field5=data.field5),void 0!==data.field6&&(this.field6=data.field6)}};Object.defineProperty(Log.prototype,"schema",{value:{$schema:"http://json-schema.org/draft-07/schema",$id:"log.json",title:"Log",type:"object",required:["type","timestamp","id","driver","name"],properties:{type:{type:"string",default:"log",enum:["log"]},timestamp:{type:"number",minimum:1655907956593},id:{$ref:"definitions.json#/definitions/id"},driver:{$ref:"definitions.json#/definitions/driver"},name:{type:"string",description:"Event name"},field1:{type:"object",required:["name","value"],properties:{name:{type:"string"},value:{type:"string"}}},field2:{type:"object",required:["name","value"],properties:{name:{type:"string"},value:{type:"string"}}},field3:{type:"object",required:["name","value"],properties:{name:{type:"string"},value:{type:"string"}}},field4:{type:"object",required:["name","value"],properties:{name:{type:"string"},value:{type:"string"}}},field5:{type:"object",required:["name","value"],properties:{name:{type:"string"},value:{type:"string"}}},field6:{type:"object",required:["name","value"],properties:{name:{type:"string"},value:{type:"string"}}}}}}),Object.defineProperty(Log.prototype,"validator",{get:__name((function(){return validateLog}),"get")});export{Log};//# sourceMappingURL=chunk-3XNNT6GS.js.map
1
+ import{validateLog}from"./chunk-RM6XS6VX.js";import{Entity}from"./chunk-YPJMXYGL.js";import{__name}from"./chunk-XE4OXN2W.js";var Log=class extends Entity{static{__name(this,"Log")}constructor(data){super(data),this.type=data.type,this.timestamp=data.timestamp,this.id=data.id,this.driver=data.driver,this.name=data.name,void 0!==data.field1&&(this.field1=data.field1),void 0!==data.field2&&(this.field2=data.field2),void 0!==data.field3&&(this.field3=data.field3),void 0!==data.field4&&(this.field4=data.field4),void 0!==data.field5&&(this.field5=data.field5),void 0!==data.field6&&(this.field6=data.field6)}};Object.defineProperty(Log.prototype,"schema",{value:{$schema:"http://json-schema.org/draft-07/schema",$id:"log.json",title:"Log",type:"object",required:["type","timestamp","id","driver","name"],properties:{type:{type:"string",default:"log",enum:["log"]},timestamp:{type:"number",minimum:1655907956593},id:{$ref:"definitions.json#/definitions/id"},driver:{$ref:"definitions.json#/definitions/driver"},name:{type:"string",description:"Event name"},field1:{type:"object",required:["name","value"],properties:{name:{type:"string"},value:{type:"string"}}},field2:{type:"object",required:["name","value"],properties:{name:{type:"string"},value:{type:"string"}}},field3:{type:"object",required:["name","value"],properties:{name:{type:"string"},value:{type:"string"}}},field4:{type:"object",required:["name","value"],properties:{name:{type:"string"},value:{type:"string"}}},field5:{type:"object",required:["name","value"],properties:{name:{type:"string"},value:{type:"string"}}},field6:{type:"object",required:["name","value"],properties:{name:{type:"string"},value:{type:"string"}}}}}}),Object.defineProperty(Log.prototype,"validator",{get:__name((function(){return validateLog}),"get")});export{Log};//# sourceMappingURL=chunk-YJLYY4JK.js.map
@@ -1 +1 @@
1
- import{validateSpace}from"./chunk-IL3ICDGN.js";import{Entity}from"./chunk-YPJMXYGL.js";import{__name}from"./chunk-XE4OXN2W.js";var Space=class extends Entity{static{__name(this,"Space")}constructor(data){super(data),this.id=data.id,this.name=data.name,this.type=data.type,void 0!==data.discriminator&&(this.discriminator=data.discriminator),void 0!==data.floor&&(this.floor=data.floor),void 0!==data.driver&&(this.driver=data.driver),void 0!==data.category&&(this.category=data.category),void 0!==data.rooms&&(this.rooms=data.rooms),void 0!==data.occupied&&(this.occupied=data.occupied),void 0!==data.inUse&&(this.inUse=data.inUse),void 0!==data.eco&&(this.eco=data.eco),void 0!==data.features&&(this.features=data.features),void 0!==data.maximumOccupancy&&(this.maximumOccupancy=data.maximumOccupancy),void 0!==data.housekeepingStatus&&(this.housekeepingStatus=data.housekeepingStatus),void 0!==data.serviceStatus&&(this.serviceStatus=data.serviceStatus),void 0!==data.systemId&&(this.systemId=data.systemId)}get hasDimmer(){return this.rooms.some((room=>room.hasDimmer))}get hasSwitch(){return this.rooms.some((room=>room.hasSwitch))}get hasWindowCovering(){return this.rooms.some((room=>room.hasWindowCovering))}get hasThermostat(){return this.rooms.some((room=>room.hasThermostat))}get hasLock(){return this.rooms.some((room=>room.hasLock))}get hasCourtesy(){return this.rooms.some((room=>room.hasCourtesy))}get hasCamera(){return this.rooms.some((room=>room.hasCamera))}get hasAlarm(){return this.rooms.some((room=>room.hasAlarm))}get hasMedia(){return this.rooms.some((room=>room.hasMedia))}};Object.defineProperty(Space.prototype,"schema",{value:{$schema:"http://json-schema.org/draft-07/schema",$id:"space.json",title:"Space",type:"object",required:["id","name","type"],additionalProperties:!1,properties:{id:{$ref:"definitions.json#/definitions/id"},name:{type:"string",minLength:1},type:{type:"string",default:"space",enum:["space"]},discriminator:{type:"string",enum:["classRoom","hotelRoom","office","building","commonArea","conferenceRoom","lobby","gym","pool","restaurant","unit"]},floor:{type:"string"},driver:{$ref:"definitions.json#/definitions/driver"},category:{type:"string",description:"This is the category id"},rooms:{type:"array",items:{type:"string"}},occupied:{type:"boolean"},inUse:{type:"boolean"},eco:{type:"object",additionalProperties:!1,default:{active:!1,allowed:!1,previousState:null},properties:{active:{type:"boolean",default:!1},activatedAt:{type:["string","object"],format:"date-time"},allowed:{type:"boolean",default:!1},previousState:{type:["object","null"],properties:{thermostats:{type:"object",patternProperties:{".*":{type:"object",properties:{setpoints:{$ref:"thermostat.json#/properties/setpoints"}}}}}},additionalProperties:!1}}},features:{type:"array",items:{type:"string",enum:["pet"]}},maximumOccupancy:{type:"number",minimum:1},housekeepingStatus:{type:"string",enum:["clean","dirty","inspected","pickup"]},serviceStatus:{type:"string",enum:["inService","outOfOrder","outOfService"]},systemId:{$ref:"definitions.json#/definitions/systemId"}}}}),Object.defineProperty(Space.prototype,"validator",{get:__name((function(){return validateSpace}),"get")});export{Space};//# sourceMappingURL=chunk-RPCMFJ32.js.map
1
+ import{validateSpace}from"./chunk-RM6XS6VX.js";import{Entity}from"./chunk-YPJMXYGL.js";import{__name}from"./chunk-XE4OXN2W.js";var Space=class extends Entity{static{__name(this,"Space")}constructor(data){super(data),this.id=data.id,this.name=data.name,this.type=data.type,void 0!==data.discriminator&&(this.discriminator=data.discriminator),void 0!==data.floor&&(this.floor=data.floor),void 0!==data.driver&&(this.driver=data.driver),void 0!==data.category&&(this.category=data.category),void 0!==data.rooms&&(this.rooms=data.rooms),void 0!==data.occupied&&(this.occupied=data.occupied),void 0!==data.inUse&&(this.inUse=data.inUse),void 0!==data.eco&&(this.eco=data.eco),void 0!==data.features&&(this.features=data.features),void 0!==data.maximumOccupancy&&(this.maximumOccupancy=data.maximumOccupancy),void 0!==data.housekeepingStatus&&(this.housekeepingStatus=data.housekeepingStatus),void 0!==data.serviceStatus&&(this.serviceStatus=data.serviceStatus),void 0!==data.systemId&&(this.systemId=data.systemId)}get hasDimmer(){return this.rooms.some((room=>room.hasDimmer))}get hasSwitch(){return this.rooms.some((room=>room.hasSwitch))}get hasWindowCovering(){return this.rooms.some((room=>room.hasWindowCovering))}get hasThermostat(){return this.rooms.some((room=>room.hasThermostat))}get hasLock(){return this.rooms.some((room=>room.hasLock))}get hasCourtesy(){return this.rooms.some((room=>room.hasCourtesy))}get hasCamera(){return this.rooms.some((room=>room.hasCamera))}get hasAlarm(){return this.rooms.some((room=>room.hasAlarm))}get hasMedia(){return this.rooms.some((room=>room.hasMedia))}};Object.defineProperty(Space.prototype,"schema",{value:{$schema:"http://json-schema.org/draft-07/schema",$id:"space.json",title:"Space",type:"object",required:["id","name","type"],additionalProperties:!1,properties:{id:{$ref:"definitions.json#/definitions/id"},name:{type:"string",minLength:1},type:{type:"string",default:"space",enum:["space"]},discriminator:{type:"string",enum:["classRoom","hotelRoom","office","building","commonArea","conferenceRoom","lobby","gym","pool","restaurant","unit"]},floor:{type:"string"},driver:{$ref:"definitions.json#/definitions/driver"},category:{type:"string",description:"This is the category id"},rooms:{type:"array",items:{type:"string"}},occupied:{type:"boolean"},inUse:{type:"boolean"},eco:{type:"object",additionalProperties:!1,default:{active:!1,allowed:!1,previousState:null},properties:{active:{type:"boolean",default:!1},activatedAt:{type:["string","object"],format:"date-time"},allowed:{type:"boolean",default:!1},previousState:{type:["object","null"],properties:{thermostats:{type:"object",patternProperties:{".*":{type:"object",properties:{setpoints:{$ref:"thermostat.json#/properties/setpoints"}}}}}},additionalProperties:!1}}},features:{type:"array",items:{type:"string",enum:["pet"]}},maximumOccupancy:{type:"number",minimum:1},housekeepingStatus:{type:"string",enum:["clean","dirty","inspected","pickup"]},serviceStatus:{type:"string",enum:["inService","outOfOrder","outOfService"]},systemId:{$ref:"definitions.json#/definitions/systemId"}}}}),Object.defineProperty(Space.prototype,"validator",{get:__name((function(){return validateSpace}),"get")});export{Space};//# sourceMappingURL=chunk-Z62P7Z4L.js.map
@@ -1 +1 @@
1
- import{validateAlarm}from"./chunk-IL3ICDGN.js";import{Entity}from"./chunk-YPJMXYGL.js";import{__name}from"./chunk-XE4OXN2W.js";var Alarm=class extends Entity{static{__name(this,"Alarm")}constructor(data){super(data),this.id=data.id,void 0!==data.name&&(this.name=data.name),void 0!==data.offline&&(this.offline=data.offline),this.type=data.type,void 0!==data.systemId&&(this.systemId=data.systemId),void 0!==data.supportedNotifications&&(this.supportedNotifications=data.supportedNotifications),void 0!==data.notification&&(this.notification=data.notification),this.driver=data.driver,this.areas=data.areas,this.zones=data.zones,void 0!==data.chime&&(this.chime=data.chime),void 0!==data.watts&&(this.watts=data.watts),void 0!==data.icon&&(this.icon=data.icon),void 0!==data.modelNumber&&(this.modelNumber=data.modelNumber),void 0!==data.serialNumber&&(this.serialNumber=data.serialNumber),void 0!==data.firmwareVersion&&(this.firmwareVersion=data.firmwareVersion),void 0!==data.address&&(this.address=data.address)}};Object.defineProperty(Alarm.prototype,"schema",{value:{$schema:"http://json-schema.org/draft-07/schema",$id:"alarm.json",title:"Alarm",description:"Any smart alarm system",type:"object",required:["id","type","areas","zones","driver"],additionalProperties:!1,properties:{id:{$ref:"definitions.json#/definitions/id"},name:{type:"string",description:"Name of the alarm"},offline:{type:"boolean"},type:{type:"string",enum:["alarm"],default:"alarm"},systemId:{$ref:"definitions.json#/definitions/systemId"},supportedNotifications:{$ref:"definitions.json#/definitions/supportedNotifications"},notification:{$ref:"definitions.json#/definitions/notification"},driver:{$ref:"definitions.json#/definitions/driver"},areas:{type:"array",items:{type:"object",properties:{number:{type:"number"},name:{type:"string"},securityMode:{type:["string","null"],enum:["arming","disarming","armed","disarmed","alarm",null]}},additionalProperties:!1}},zones:{type:"array",items:{type:"object",properties:{number:{type:"number",minimum:0},name:{type:"string"},secure:{type:["boolean","null"]},bypassed:{type:["boolean","null"]}},additionalProperties:!1}},chime:{type:"boolean",description:"Reflects whether console chime is enabled"},watts:{$ref:"definitions.json#/definitions/watts"},icon:{type:"string"},modelNumber:{type:"string"},serialNumber:{type:"string"},firmwareVersion:{type:"string"},address:{$ref:"definitions.json#/definitions/address"}}}}),Object.defineProperty(Alarm.prototype,"validator",{get:__name((function(){return validateAlarm}),"get")});export{Alarm};//# sourceMappingURL=chunk-IWIPSTOH.js.map
1
+ import{validateAlarm}from"./chunk-RM6XS6VX.js";import{Entity}from"./chunk-YPJMXYGL.js";import{__name}from"./chunk-XE4OXN2W.js";var Alarm=class extends Entity{static{__name(this,"Alarm")}constructor(data){super(data),this.id=data.id,void 0!==data.name&&(this.name=data.name),void 0!==data.offline&&(this.offline=data.offline),this.type=data.type,void 0!==data.systemId&&(this.systemId=data.systemId),void 0!==data.supportedNotifications&&(this.supportedNotifications=data.supportedNotifications),void 0!==data.notification&&(this.notification=data.notification),this.driver=data.driver,this.areas=data.areas,this.zones=data.zones,void 0!==data.chime&&(this.chime=data.chime),void 0!==data.watts&&(this.watts=data.watts),void 0!==data.icon&&(this.icon=data.icon),void 0!==data.modelNumber&&(this.modelNumber=data.modelNumber),void 0!==data.serialNumber&&(this.serialNumber=data.serialNumber),void 0!==data.firmwareVersion&&(this.firmwareVersion=data.firmwareVersion),void 0!==data.address&&(this.address=data.address)}};Object.defineProperty(Alarm.prototype,"schema",{value:{$schema:"http://json-schema.org/draft-07/schema",$id:"alarm.json",title:"Alarm",description:"Any smart alarm system",type:"object",required:["id","type","areas","zones","driver"],additionalProperties:!1,properties:{id:{$ref:"definitions.json#/definitions/id"},name:{type:"string",description:"Name of the alarm"},offline:{type:"boolean"},type:{type:"string",enum:["alarm"],default:"alarm"},systemId:{$ref:"definitions.json#/definitions/systemId"},supportedNotifications:{$ref:"definitions.json#/definitions/supportedNotifications"},notification:{$ref:"definitions.json#/definitions/notification"},driver:{$ref:"definitions.json#/definitions/driver"},areas:{type:"array",items:{type:"object",properties:{number:{type:"number"},name:{type:"string"},securityMode:{type:["string","null"],enum:["arming","disarming","armed","disarmed","alarm",null]}},additionalProperties:!1}},zones:{type:"array",items:{type:"object",properties:{number:{type:"number",minimum:0},name:{type:"string"},secure:{type:["boolean","null"]},bypassed:{type:["boolean","null"]}},additionalProperties:!1}},chime:{type:"boolean",description:"Reflects whether console chime is enabled"},watts:{$ref:"definitions.json#/definitions/watts"},icon:{type:"string"},modelNumber:{type:"string"},serialNumber:{type:"string"},firmwareVersion:{type:"string"},address:{$ref:"definitions.json#/definitions/address"}}}}),Object.defineProperty(Alarm.prototype,"validator",{get:__name((function(){return validateAlarm}),"get")});export{Alarm};//# sourceMappingURL=chunk-Z75TJKTC.js.map
@@ -1 +1 @@
1
- import{validateSwitch}from"./chunk-IL3ICDGN.js";import{Entity}from"./chunk-YPJMXYGL.js";import{__name}from"./chunk-XE4OXN2W.js";var Switch=class extends Entity{static{__name(this,"Switch")}constructor(data){super(data),this.id=data.id,void 0!==data.name&&(this.name=data.name),this.type=data.type,void 0!==data.discriminator&&(this.discriminator=data.discriminator),void 0!==data.supportedNotifications&&(this.supportedNotifications=data.supportedNotifications),void 0!==data.notification&&(this.notification=data.notification),this.driver=data.driver,void 0!==data.offline&&(this.offline=data.offline),this.state=data.state,void 0!==data.systemId&&(this.systemId=data.systemId),void 0!==data.watts&&(this.watts=data.watts),void 0!==data.icon&&(this.icon=data.icon),void 0!==data.modelNumber&&(this.modelNumber=data.modelNumber),void 0!==data.serialNumber&&(this.serialNumber=data.serialNumber),void 0!==data.firmwareVersion&&(this.firmwareVersion=data.firmwareVersion),void 0!==data.restoresAt&&(this.restoresAt=data.restoresAt)}};Object.defineProperty(Switch.prototype,"schema",{value:{$schema:"http://json-schema.org/draft-07/schema",$id:"switch.json",title:"Switch",description:"Any smart switch",type:"object",required:["id","type","state","driver"],properties:{id:{$ref:"definitions.json#/definitions/id"},name:{type:"string"},type:{$ref:"definitions.json#/definitions/type"},discriminator:{type:"string",enum:["light","fan","irrigation"]},supportedNotifications:{$ref:"definitions.json#/definitions/supportedNotifications"},notification:{$ref:"definitions.json#/definitions/notification"},driver:{$ref:"definitions.json#/definitions/driver"},offline:{type:"boolean"},state:{type:"string",enum:["on","off"]},systemId:{$ref:"definitions.json#/definitions/systemId"},watts:{$ref:"definitions.json#/definitions/watts"},icon:{type:"string"},modelNumber:{type:"string"},serialNumber:{type:"string"},firmwareVersion:{type:"string"},restoresAt:{type:"string",format:"date-time"}}}}),Object.defineProperty(Switch.prototype,"validator",{get:__name((function(){return validateSwitch}),"get")});export{Switch};//# sourceMappingURL=chunk-POWSQ6EB.js.map
1
+ import{validateSwitch}from"./chunk-RM6XS6VX.js";import{Entity}from"./chunk-YPJMXYGL.js";import{__name}from"./chunk-XE4OXN2W.js";var Switch=class extends Entity{static{__name(this,"Switch")}constructor(data){super(data),this.id=data.id,void 0!==data.name&&(this.name=data.name),this.type=data.type,void 0!==data.discriminator&&(this.discriminator=data.discriminator),void 0!==data.supportedNotifications&&(this.supportedNotifications=data.supportedNotifications),void 0!==data.notification&&(this.notification=data.notification),this.driver=data.driver,void 0!==data.offline&&(this.offline=data.offline),this.state=data.state,void 0!==data.systemId&&(this.systemId=data.systemId),void 0!==data.watts&&(this.watts=data.watts),void 0!==data.icon&&(this.icon=data.icon),void 0!==data.modelNumber&&(this.modelNumber=data.modelNumber),void 0!==data.serialNumber&&(this.serialNumber=data.serialNumber),void 0!==data.firmwareVersion&&(this.firmwareVersion=data.firmwareVersion),void 0!==data.restoresAt&&(this.restoresAt=data.restoresAt)}};Object.defineProperty(Switch.prototype,"schema",{value:{$schema:"http://json-schema.org/draft-07/schema",$id:"switch.json",title:"Switch",description:"Any smart switch",type:"object",required:["id","type","state","driver"],properties:{id:{$ref:"definitions.json#/definitions/id"},name:{type:"string"},type:{$ref:"definitions.json#/definitions/type"},discriminator:{type:"string",enum:["light","fan","irrigation"]},supportedNotifications:{$ref:"definitions.json#/definitions/supportedNotifications"},notification:{$ref:"definitions.json#/definitions/notification"},driver:{$ref:"definitions.json#/definitions/driver"},offline:{type:"boolean"},state:{type:"string",enum:["on","off"]},systemId:{$ref:"definitions.json#/definitions/systemId"},watts:{$ref:"definitions.json#/definitions/watts"},icon:{type:"string"},modelNumber:{type:"string"},serialNumber:{type:"string"},firmwareVersion:{type:"string"},restoresAt:{type:"string",format:"date-time"}}}}),Object.defineProperty(Switch.prototype,"validator",{get:__name((function(){return validateSwitch}),"get")});export{Switch};//# sourceMappingURL=chunk-ZIYKSNOV.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/commands/index.js","../../src/defs.js","../../src/commands/command.js","../../src/commands/checkInReservation.js","../../src/commands/checkOutReservation.js","../../src/commands/createImageUploadEndpoint.js","../../src/commands/createShortLink.js","../../src/commands/getCategories.js","../../src/commands/getMobileKey.js","../../src/commands/getProducts.js","../../src/commands/getReservationSpaceCategoryAvailabilities.js","../../src/commands/getReservations.js","../../src/commands/getRooms.js","../../src/commands/getUsers.js","../../src/commands/ocrDocument.js","../../src/commands/sellProducts.js","../../src/commands/sendEmail.js","../../src/commands/sendSMS.js","../../src/commands/setAlarm.js","../../src/commands/setCourtesy.js","../../src/commands/setDimmer.js","../../src/commands/setLock.js","../../src/commands/setMedia.js","../../src/commands/setScene.js","../../src/commands/setSwitch.js","../../src/commands/setThermostat.js","../../src/commands/setWindowCovering.js","../../src/commands/updateReservation.js","../../src/commands/updateUser.js","../../src/commands/uploadImage.js"],"sourcesContent":["// This file is auto-generated. Do not edit this file manually.\n// Generated on: 2025-05-10T15:07:59.163Z\n\nexport * from \"./checkInReservation\";\nexport * from \"./checkOutReservation\";\nexport * from \"./command\";\nexport * from \"./createImageUploadEndpoint\";\nexport * from \"./createShortLink\";\nexport * from \"./getCategories\";\nexport * from \"./getMobileKey\";\nexport * from \"./getProducts\";\nexport * from \"./getReservationSpaceCategoryAvailabilities\";\nexport * from \"./getReservations\";\nexport * from \"./getRooms\";\nexport * from \"./getUsers\";\nexport * from \"./ocrDocument\";\nexport * from \"./sellProducts\";\nexport * from \"./sendEmail\";\nexport * from \"./sendSMS\";\nexport * from \"./setAlarm\";\nexport * from \"./setCourtesy\";\nexport * from \"./setDimmer\";\nexport * from \"./setLock\";\nexport * from \"./setMedia\";\nexport * from \"./setScene\";\nexport * from \"./setSwitch\";\nexport * from \"./setThermostat\";\nexport * from \"./setWindowCovering\";\nexport * from \"./updateReservation\";\nexport * from \"./updateUser\";\nexport * from \"./uploadImage\";","export const amqpExchanges = {\n // routes commands based on `command-name` header and in many cases `property-id` header\n Commands: {\n name: \"kohost.commands\",\n type: \"headers\",\n options: {\n durable: true,\n },\n },\n CommandResponses: {\n name: \"kohost.commandResponses\",\n type: \"topic\",\n options: {\n durable: true,\n },\n },\n // routes events based on routing keys\n DriverEvents: {\n name: \"kohost.events.drivers\",\n type: \"topic\",\n options: {\n durable: true,\n },\n },\n AppEvents: {\n name: \"kohost.events.app\",\n type: \"topic\",\n options: {\n durable: true,\n },\n },\n Direct: {\n name: \"kohost.direct\",\n type: \"direct\",\n options: {\n durable: true,\n },\n },\n // dead letter exchange\n dlx: {\n name: \"kohost.dlx\",\n type: \"direct\",\n },\n};\n\nexport const deviceTypes = [\n \"dimmer\",\n \"switch\",\n \"thermostat\",\n \"lock\",\n \"windowCovering\",\n \"courtesy\",\n \"alarm\",\n \"camera\",\n \"mediaSource\",\n \"motionSensor\",\n \"gateway\",\n];\n","import { amqpExchanges } from \"../defs\";\n\nconst Commands = amqpExchanges.Commands;\n\nexport class Command {\n constructor(data) {\n this.data = {};\n if (!data) throw new Error(\"Command data is required\");\n if (typeof data !== \"object\")\n throw new Error(\"Command data must be an object\");\n\n for (const key in data) {\n this.data[key] = data[key];\n }\n }\n\n get name() {\n throw new Error(\"Command name is required\");\n }\n\n static get type() {\n return \"Command\";\n }\n\n static get exchange() {\n return Commands.name;\n }\n\n build() {\n return { data: { ...this.data } };\n }\n}\n","import { Command } from \"./command\";\n\nexport class CheckInReservation extends Command {\n constructor({ id, ...rest }) {\n super({ id, ...rest });\n }\n\n get name() {\n return \"CheckInReservation\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class CheckOutReservation extends Command {\n constructor({ reservationId, userId, ...rest }) {\n super({ reservationId, userId, ...rest });\n }\n\n get name() {\n return \"CheckOutReservation\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class CreateImageUploadEndpoint extends Command {\n constructor({ id, expires, ...rest }) {\n super({ id, expires, ...rest });\n }\n\n get name() {\n return \"CreateImageUploadEndpoint\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class CreateShortLink extends Command {\n constructor({ title, destination, ...rest }) {\n super({ title, destination, ...rest });\n }\n\n get name() {\n return \"CreateShortLink\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class GetCategories extends Command {\n constructor({ id, ...rest }) {\n super({ id, ...rest });\n }\n\n get name() {\n return \"GetCategories\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class GetMobileKey extends Command {\n constructor({\n id,\n phone,\n beginDateTime,\n endDateTime,\n keyToReplace,\n ...rest\n }) {\n super({ id, phone, beginDateTime, endDateTime, keyToReplace, ...rest });\n }\n\n get name() {\n return \"GetMobileKey\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class GetProducts extends Command {\n constructor({ id, externalSystemId, ...rest }) {\n super({ id, externalSystemId, ...rest });\n }\n\n get name() {\n return \"GetProducts\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class GetReservationSpaceCategoryAvailabilities extends Command {\n constructor(options) {\n const { id, ...rest } = options;\n super({ id, ...rest });\n }\n\n get name() {\n return \"GetReservationSpaceCategoryAvailabilities\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class GetReservations extends Command {\n constructor(options) {\n const { id, startDate, endDate, status, ...rest } = options;\n super({ id, startDate, endDate, status, ...rest });\n }\n\n get name() {\n return \"GetReservations\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class GetRooms extends Command {\n constructor({\n id,\n types,\n categories,\n startDate,\n endDate,\n serviceStatus,\n housekeepingStatus,\n ...rest\n }) {\n super({\n id,\n types,\n categories,\n startDate,\n endDate,\n serviceStatus,\n housekeepingStatus,\n ...rest,\n });\n }\n\n get name() {\n return \"GetRooms\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class GetUsers extends Command {\n constructor({ id, ...rest }) {\n super({ id, ...rest });\n }\n\n get name() {\n return \"GetUsers\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class OCRDocument extends Command {\n constructor({ type, image, ...rest }) {\n super({ type, image, ...rest });\n }\n\n get name() {\n return \"OCRDocument\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SellProducts extends Command {\n constructor({ reservationId, userId, products, ...rest }) {\n super({ reservationId, userId, products, ...rest });\n }\n\n get name() {\n return \"SellProducts\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SendEmail extends Command {\n constructor({ text, html, to, from, subject, ...rest }) {\n super({ text, html, to, from, subject, ...rest });\n }\n\n get name() {\n return \"SendEmail\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SendSMS extends Command {\n constructor({ id, body, to, from, media, ...rest }) {\n super({ id, body, to, from, media, ...rest });\n }\n\n get name() {\n return \"SendSMS\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SetAlarm extends Command {\n constructor({ id, zones, areas, code, ...rest }) {\n super({ id, zones, areas, code, ...rest });\n }\n\n get name() {\n return \"SetAlarm\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SetCourtesy extends Command {\n constructor({ id, state, ...rest }) {\n super({ id, state, ...rest });\n }\n\n get name() {\n return \"SetCourtesy\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SetDimmer extends Command {\n constructor({ id, level, ...rest }) {\n super({ id, level, ...rest });\n }\n\n get name() {\n return \"SetDimmer\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SetLock extends Command {\n constructor({ id, state, ...rest }) {\n super({ id, state, ...rest });\n }\n\n get name() {\n return \"SetLock\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SetMedia extends Command {\n constructor({ id, command, ...rest }) {\n super({ id, command, ...rest });\n }\n\n get name() {\n return \"SetMedia\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SetScene extends Command {\n constructor({ id, devices, ...rest }) {\n super({ id, devices, ...rest });\n }\n\n get name() {\n return \"SetScene\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SetSwitch extends Command {\n constructor({ id, state, ...rest }) {\n super({ id, state, ...rest });\n }\n\n get name() {\n return \"SetSwitch\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SetThermostat extends Command {\n constructor({ id, setpoints, hvacMode, fanMode, ...rest }) {\n super({ id, setpoints, hvacMode, fanMode, ...rest });\n }\n\n get name() {\n return \"SetThermostat\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SetWindowCovering extends Command {\n constructor({ id, position, ...rest }) {\n super({ id, position, ...rest });\n }\n\n get name() {\n return \"SetWindowCovering\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class UpdateReservation extends Command {\n constructor({ id, ...rest }) {\n super({ id, ...rest });\n }\n\n get name() {\n return \"UpdateReservation\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class UpdateUser extends Command {\n constructor({\n id,\n email,\n phone,\n identification,\n address,\n note,\n nationality,\n file,\n payment,\n ...rest\n }) {\n super({\n id,\n email,\n phone,\n identification,\n address,\n note,\n nationality,\n file,\n payment,\n ...rest,\n });\n }\n\n get name() {\n return \"UpdateUser\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class UploadImage extends Command {\n constructor({ id, url, file, ...rest }) {\n super({ id, url, file, ...rest });\n }\n\n get name() {\n return \"UploadImage\";\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAO,IAAM,gBAAgB;AAAA;AAAA,EAE3B,UAAU;AAAA,IACR,MAAM;AAAA,IACN,MAAM;AAAA,IACN,SAAS;AAAA,MACP,SAAS;AAAA,IACX;AAAA,EACF;AAAA,EACA,kBAAkB;AAAA,IAChB,MAAM;AAAA,IACN,MAAM;AAAA,IACN,SAAS;AAAA,MACP,SAAS;AAAA,IACX;AAAA,EACF;AAAA;AAAA,EAEA,cAAc;AAAA,IACZ,MAAM;AAAA,IACN,MAAM;AAAA,IACN,SAAS;AAAA,MACP,SAAS;AAAA,IACX;AAAA,EACF;AAAA,EACA,WAAW;AAAA,IACT,MAAM;AAAA,IACN,MAAM;AAAA,IACN,SAAS;AAAA,MACP,SAAS;AAAA,IACX;AAAA,EACF;AAAA,EACA,QAAQ;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,IACN,SAAS;AAAA,MACP,SAAS;AAAA,IACX;AAAA,EACF;AAAA;AAAA,EAEA,KAAK;AAAA,IACH,MAAM;AAAA,IACN,MAAM;AAAA,EACR;AACF;;;ACzCA,IAAM,WAAW,cAAc;AAExB,IAAM,UAAN,MAAc;AAAA,EAJrB,OAIqB;AAAA;AAAA;AAAA,EACnB,YAAY,MAAM;AAChB,SAA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src/commands/command.js","../../src/commands/checkInReservation.js","../../src/commands/checkOutReservation.js","../../src/commands/createImageUploadEndpoint.js","../../src/commands/createShortLink.js","../../src/commands/getCategories.js","../../src/commands/getMobileKey.js","../../src/commands/getProducts.js","../../src/commands/getReservationSpaceCategoryAvailabilities.js","../../src/commands/getReservations.js","../../src/commands/getRooms.js","../../src/commands/getUsers.js","../../src/commands/ocrDocument.js","../../src/commands/sellProducts.js","../../src/commands/sendEmail.js","../../src/commands/sendSMS.js","../../src/commands/setAlarm.js","../../src/commands/setCourtesy.js","../../src/commands/setDimmer.js","../../src/commands/setLock.js","../../src/commands/setMedia.js","../../src/commands/setScene.js","../../src/commands/setSwitch.js","../../src/commands/setThermostat.js","../../src/commands/setWindowCovering.js","../../src/commands/updateReservation.js","../../src/commands/updateUser.js","../../src/commands/uploadImage.js"],"sourcesContent":["// This file is auto-generated. Do not edit this file manually.\n// Generated on: 2025-05-16T22:30:53.545Z\n\nexport * from \"./checkInReservation\";\nexport * from \"./checkOutReservation\";\nexport * from \"./command\";\nexport * from \"./createImageUploadEndpoint\";\nexport * from \"./createShortLink\";\nexport * from \"./getCategories\";\nexport * from \"./getMobileKey\";\nexport * from \"./getProducts\";\nexport * from \"./getReservationSpaceCategoryAvailabilities\";\nexport * from \"./getReservations\";\nexport * from \"./getRooms\";\nexport * from \"./getUsers\";\nexport * from \"./ocrDocument\";\nexport * from \"./sellProducts\";\nexport * from \"./sendEmail\";\nexport * from \"./sendSMS\";\nexport * from \"./setAlarm\";\nexport * from \"./setCourtesy\";\nexport * from \"./setDimmer\";\nexport * from \"./setLock\";\nexport * from \"./setMedia\";\nexport * from \"./setScene\";\nexport * from \"./setSwitch\";\nexport * from \"./setThermostat\";\nexport * from \"./setWindowCovering\";\nexport * from \"./updateReservation\";\nexport * from \"./updateUser\";\nexport * from \"./uploadImage\";","export const amqpExchanges = {\n // routes commands based on `command-name` header and in many cases `property-id` header\n Commands: {\n name: \"kohost.commands\",\n type: \"headers\",\n options: {\n durable: true,\n },\n },\n CommandResponses: {\n name: \"kohost.commandResponses\",\n type: \"topic\",\n options: {\n durable: true,\n },\n },\n // routes events based on routing keys\n DriverEvents: {\n name: \"kohost.events.drivers\",\n type: \"topic\",\n options: {\n durable: true,\n },\n },\n AppEvents: {\n name: \"kohost.events.app\",\n type: \"topic\",\n options: {\n durable: true,\n },\n },\n Direct: {\n name: \"kohost.direct\",\n type: \"direct\",\n options: {\n durable: true,\n },\n },\n // dead letter exchange\n dlx: {\n name: \"kohost.dlx\",\n type: \"direct\",\n },\n};\n\nexport const deviceTypes = [\n \"dimmer\",\n \"switch\",\n \"thermostat\",\n \"lock\",\n \"windowCovering\",\n \"courtesy\",\n \"alarm\",\n \"camera\",\n \"mediaSource\",\n \"motionSensor\",\n \"gateway\",\n];\n","import { amqpExchanges } from \"../defs\";\n\nconst Commands = amqpExchanges.Commands;\n\nexport class Command {\n constructor(data) {\n this.data = {};\n if (!data) throw new Error(\"Command data is required\");\n if (typeof data !== \"object\")\n throw new Error(\"Command data must be an object\");\n\n for (const key in data) {\n this.data[key] = data[key];\n }\n }\n\n get name() {\n throw new Error(\"Command name is required\");\n }\n\n static get type() {\n return \"Command\";\n }\n\n static get exchange() {\n return Commands.name;\n }\n\n build() {\n return { data: { ...this.data } };\n }\n}\n","import { Command } from \"./command\";\n\nexport class CheckInReservation extends Command {\n constructor({ id, ...rest }) {\n super({ id, ...rest });\n }\n\n get name() {\n return \"CheckInReservation\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class CheckOutReservation extends Command {\n constructor({ reservationId, userId, ...rest }) {\n super({ reservationId, userId, ...rest });\n }\n\n get name() {\n return \"CheckOutReservation\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class CreateImageUploadEndpoint extends Command {\n constructor({ id, expires, ...rest }) {\n super({ id, expires, ...rest });\n }\n\n get name() {\n return \"CreateImageUploadEndpoint\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class CreateShortLink extends Command {\n constructor({ title, destination, ...rest }) {\n super({ title, destination, ...rest });\n }\n\n get name() {\n return \"CreateShortLink\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class GetCategories extends Command {\n constructor({ id, ...rest }) {\n super({ id, ...rest });\n }\n\n get name() {\n return \"GetCategories\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class GetMobileKey extends Command {\n constructor({\n id,\n phone,\n beginDateTime,\n endDateTime,\n keyToReplace,\n ...rest\n }) {\n super({ id, phone, beginDateTime, endDateTime, keyToReplace, ...rest });\n }\n\n get name() {\n return \"GetMobileKey\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class GetProducts extends Command {\n constructor({ id, externalSystemId, ...rest }) {\n super({ id, externalSystemId, ...rest });\n }\n\n get name() {\n return \"GetProducts\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class GetReservationSpaceCategoryAvailabilities extends Command {\n constructor(options) {\n const { id, ...rest } = options;\n super({ id, ...rest });\n }\n\n get name() {\n return \"GetReservationSpaceCategoryAvailabilities\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class GetReservations extends Command {\n constructor(options) {\n const { id, startDate, endDate, status, ...rest } = options;\n super({ id, startDate, endDate, status, ...rest });\n }\n\n get name() {\n return \"GetReservations\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class GetRooms extends Command {\n constructor({\n id,\n types,\n categories,\n startDate,\n endDate,\n serviceStatus,\n housekeepingStatus,\n ...rest\n }) {\n super({\n id,\n types,\n categories,\n startDate,\n endDate,\n serviceStatus,\n housekeepingStatus,\n ...rest,\n });\n }\n\n get name() {\n return \"GetRooms\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class GetUsers extends Command {\n constructor({ id, ...rest }) {\n super({ id, ...rest });\n }\n\n get name() {\n return \"GetUsers\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class OCRDocument extends Command {\n constructor({ type, image, ...rest }) {\n super({ type, image, ...rest });\n }\n\n get name() {\n return \"OCRDocument\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SellProducts extends Command {\n constructor({ reservationId, userId, products, ...rest }) {\n super({ reservationId, userId, products, ...rest });\n }\n\n get name() {\n return \"SellProducts\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SendEmail extends Command {\n constructor({ text, html, to, from, subject, ...rest }) {\n super({ text, html, to, from, subject, ...rest });\n }\n\n get name() {\n return \"SendEmail\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SendSMS extends Command {\n constructor({ id, body, to, from, media, ...rest }) {\n super({ id, body, to, from, media, ...rest });\n }\n\n get name() {\n return \"SendSMS\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SetAlarm extends Command {\n constructor({ id, zones, areas, code, ...rest }) {\n super({ id, zones, areas, code, ...rest });\n }\n\n get name() {\n return \"SetAlarm\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SetCourtesy extends Command {\n constructor({ id, state, ...rest }) {\n super({ id, state, ...rest });\n }\n\n get name() {\n return \"SetCourtesy\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SetDimmer extends Command {\n constructor({ id, level, ...rest }) {\n super({ id, level, ...rest });\n }\n\n get name() {\n return \"SetDimmer\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SetLock extends Command {\n constructor({ id, state, ...rest }) {\n super({ id, state, ...rest });\n }\n\n get name() {\n return \"SetLock\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SetMedia extends Command {\n constructor({ id, command, ...rest }) {\n super({ id, command, ...rest });\n }\n\n get name() {\n return \"SetMedia\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SetScene extends Command {\n constructor({ id, devices, ...rest }) {\n super({ id, devices, ...rest });\n }\n\n get name() {\n return \"SetScene\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SetSwitch extends Command {\n constructor({ id, state, ...rest }) {\n super({ id, state, ...rest });\n }\n\n get name() {\n return \"SetSwitch\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SetThermostat extends Command {\n constructor({ id, setpoints, hvacMode, fanMode, ...rest }) {\n super({ id, setpoints, hvacMode, fanMode, ...rest });\n }\n\n get name() {\n return \"SetThermostat\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SetWindowCovering extends Command {\n constructor({ id, position, ...rest }) {\n super({ id, position, ...rest });\n }\n\n get name() {\n return \"SetWindowCovering\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class UpdateReservation extends Command {\n constructor({ id, ...rest }) {\n super({ id, ...rest });\n }\n\n get name() {\n return \"UpdateReservation\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class UpdateUser extends Command {\n constructor({\n id,\n email,\n phone,\n identification,\n address,\n note,\n nationality,\n file,\n payment,\n ...rest\n }) {\n super({\n id,\n email,\n phone,\n identification,\n address,\n note,\n nationality,\n file,\n payment,\n ...rest,\n });\n }\n\n get name() {\n return \"UpdateUser\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class UploadImage extends Command {\n constructor({ id, url, file, ...rest }) {\n super({ id, url, file, ...rest });\n }\n\n get name() {\n return \"UploadImage\";\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAO,IAAM,gBAAgB;AAAA;AAAA,EAE3B,UAAU;AAAA,IACR,MAAM;AAAA,IACN,MAAM;AAAA,IACN,SAAS;AAAA,MACP,SAAS;AAAA,IACX;AAAA,EACF;AAAA,EACA,kBAAkB;AAAA,IAChB,MAAM;AAAA,IACN,MAAM;AAAA,IACN,SAAS;AAAA,MACP,SAAS;AAAA,IACX;AAAA,EACF;AAAA;AAAA,EAEA,cAAc;AAAA,IACZ,MAAM;AAAA,IACN,MAAM;AAAA,IACN,SAAS;AAAA,MACP,SAAS;AAAA,IACX;AAAA,EACF;AAAA,EACA,WA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AA,MACA,GAAG;AAAA,IACL,CAAC;AAAA,EACH;AAAA,EAEA,IAAI,OAAO;AACT,WAAO;AAAA,EACT;AACF;;;AC9BO,IAAM,cAAN,cAA0B,QAAQ;AAAA,EAFzC,OAEyC;AAAA;AAAA;AAAA,EACvC,YAAY,EAAE,IAAI,KAAK,MAAM,GAAG,KAAK,GAAG;AACtC,UAAM,EAAE,IAAI,KAAK,MAAM,GAAG,KAAK,CAAC;AAAA,EAClC;AAAA,EAEA,IAAI,OAAO;AACT,WAAO;AAAA,EACT;AACF;","names":[]}
@@ -1 +1 @@
1
- import"../chunk-CWTMCUZZ.js";import{UpdateReservation}from"../chunk-FTCH2YVK.js";import{UpdateUser}from"../chunk-25TS7WQK.js";import{UploadImage}from"../chunk-BHG5VJNQ.js";import{SetCourtesy}from"../chunk-JKB4GVXZ.js";import{SetDimmer}from"../chunk-PVVJAJ2U.js";import{SetLock}from"../chunk-ANEFCLND.js";import{SetMedia}from"../chunk-F7RJAXJ3.js";import{SetScene}from"../chunk-HQAVS73L.js";import{SetSwitch}from"../chunk-AXJW3S5W.js";import{SetThermostat}from"../chunk-4PPJAXMZ.js";import{SetWindowCovering}from"../chunk-XYE4QWAL.js";import{GetRooms}from"../chunk-QGACPW7L.js";import{GetUsers}from"../chunk-RP66PVLU.js";import{OCRDocument}from"../chunk-2YCWOIUR.js";import{SellProducts}from"../chunk-DOX5ZOSZ.js";import{SendEmail}from"../chunk-RBVPAANY.js";import{SendSMS}from"../chunk-RMDNQAV4.js";import{SetAlarm}from"../chunk-XURK32UQ.js";import{CreateImageUploadEndpoint}from"../chunk-K3ERMR2X.js";import{CreateShortLink}from"../chunk-2C6SKQY6.js";import{GetCategories}from"../chunk-XFXENMXN.js";import{GetMobileKey}from"../chunk-J3KAHJ7Z.js";import{GetProducts}from"../chunk-5Z3DQU4I.js";import{GetReservationSpaceCategoryAvailabilities}from"../chunk-VE45ITDQ.js";import{GetReservations}from"../chunk-6D6FRQCU.js";import{CheckInReservation}from"../chunk-RIWQUPNT.js";import{CheckOutReservation}from"../chunk-HF3F4KLM.js";import{Command}from"../chunk-4FR6LYG3.js";import"../chunk-THXOWLL3.js";import"../chunk-XE4OXN2W.js";export{CheckInReservation,CheckOutReservation,Command,CreateImageUploadEndpoint,CreateShortLink,GetCategories,GetMobileKey,GetProducts,GetReservationSpaceCategoryAvailabilities,GetReservations,GetRooms,GetUsers,OCRDocument,SellProducts,SendEmail,SendSMS,SetAlarm,SetCourtesy,SetDimmer,SetLock,SetMedia,SetScene,SetSwitch,SetThermostat,SetWindowCovering,UpdateReservation,UpdateUser,UploadImage};//# sourceMappingURL=index.js.map
1
+ import"../chunk-KRZRJWUC.js";import{UpdateReservation}from"../chunk-FTCH2YVK.js";import{UpdateUser}from"../chunk-25TS7WQK.js";import{UploadImage}from"../chunk-BHG5VJNQ.js";import{SetCourtesy}from"../chunk-JKB4GVXZ.js";import{SetDimmer}from"../chunk-PVVJAJ2U.js";import{SetLock}from"../chunk-ANEFCLND.js";import{SetMedia}from"../chunk-F7RJAXJ3.js";import{SetScene}from"../chunk-HQAVS73L.js";import{SetSwitch}from"../chunk-AXJW3S5W.js";import{SetThermostat}from"../chunk-4PPJAXMZ.js";import{SetWindowCovering}from"../chunk-XYE4QWAL.js";import{GetRooms}from"../chunk-QGACPW7L.js";import{GetUsers}from"../chunk-RP66PVLU.js";import{OCRDocument}from"../chunk-2YCWOIUR.js";import{SellProducts}from"../chunk-DOX5ZOSZ.js";import{SendEmail}from"../chunk-RBVPAANY.js";import{SendSMS}from"../chunk-RMDNQAV4.js";import{SetAlarm}from"../chunk-XURK32UQ.js";import{CreateImageUploadEndpoint}from"../chunk-K3ERMR2X.js";import{CreateShortLink}from"../chunk-2C6SKQY6.js";import{GetCategories}from"../chunk-XFXENMXN.js";import{GetMobileKey}from"../chunk-J3KAHJ7Z.js";import{GetProducts}from"../chunk-5Z3DQU4I.js";import{GetReservationSpaceCategoryAvailabilities}from"../chunk-VE45ITDQ.js";import{GetReservations}from"../chunk-6D6FRQCU.js";import{CheckInReservation}from"../chunk-RIWQUPNT.js";import{CheckOutReservation}from"../chunk-HF3F4KLM.js";import{Command}from"../chunk-4FR6LYG3.js";import"../chunk-THXOWLL3.js";import"../chunk-XE4OXN2W.js";export{CheckInReservation,CheckOutReservation,Command,CreateImageUploadEndpoint,CreateShortLink,GetCategories,GetMobileKey,GetProducts,GetReservationSpaceCategoryAvailabilities,GetReservations,GetRooms,GetUsers,OCRDocument,SellProducts,SendEmail,SendSMS,SetAlarm,SetCourtesy,SetDimmer,SetLock,SetMedia,SetScene,SetSwitch,SetThermostat,SetWindowCovering,UpdateReservation,UpdateUser,UploadImage};//# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/errors/index.js","../../src/errors/appError.js","../../src/errors/authenticationError.js","../../src/errors/authorizationError.js","../../src/errors/conflictError.js","../../src/errors/deviceCommError.js","../../src/errors/loginError.js","../../src/errors/notFoundError.js","../../src/errors/requestError.js","../../src/errors/systemCommError.js","../../src/errors/tokenExpiredError.js","../../src/errors/unprocessableRequestError.js","../../src/errors/validationError.js"],"sourcesContent":["// This file is auto-generated. Do not edit this file manually.\n// Generated on: 2025-05-10T15:07:59.162Z\n\nexport * from \"./appError\";\nexport * from \"./authenticationError\";\nexport * from \"./authorizationError\";\nexport * from \"./conflictError\";\nexport * from \"./deviceCommError\";\nexport * from \"./loginError\";\nexport * from \"./notFoundError\";\nexport * from \"./requestError\";\nexport * from \"./systemCommError\";\nexport * from \"./tokenExpiredError\";\nexport * from \"./unprocessableRequestError\";\nexport * from \"./validationError\";","export class AppError extends Error {\n constructor(message = \"Internal Server Error\", options) {\n super(message, options);\n this.type = this.constructor.name;\n this.statusCode = 500;\n this.name = \"AppError\";\n Object.setPrototypeOf(this, AppError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class AuthenticationError extends AppError {\n constructor(message = \"Authentication Error\", options = {}) {\n super(message, options);\n this.statusCode = 401;\n this.name = \"AuthenticationError\";\n Object.setPrototypeOf(this, AuthenticationError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class AuthorizationError extends AppError {\n constructor(message = \"Authorization Error\", options = {}) {\n super(message, options);\n this.statusCode = 403;\n this.name = \"AuthorizationError\";\n Object.setPrototypeOf(this, AuthorizationError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class ConflictError extends AppError {\n constructor(message = \"Bad Request\", options = {}) {\n super(message, options);\n this.statusCode = 409;\n this.name = \"ConflictError\";\n Object.setPrototypeOf(this, ConflictError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class DeviceCommError extends AppError {\n constructor(message = \"Device Communication Error\", options = {}) {\n super(message, options);\n this.statusCode = 503;\n this.name = \"DeviceCommError\";\n Object.setPrototypeOf(this, DeviceCommError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class LoginError extends AppError {\n constructor(message = \"Invalid Login information provided\", options = {}) {\n super(message, options);\n this.statusCode = 401;\n this.name = \"LoginError\";\n Object.setPrototypeOf(this, LoginError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class NotFoundError extends AppError {\n constructor(message = \"Resource Not Found\", options = {}) {\n super(message, options);\n this.statusCode = 404;\n this.name = \"NotFoundError\";\n Object.setPrototypeOf(this, NotFoundError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class RequestError extends AppError {\n constructor(message = \"Bad Request\", options = {}) {\n super(message, options);\n this.statusCode = 400;\n this.name = \"RequestError\";\n Object.setPrototypeOf(this, RequestError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class SystemCommError extends AppError {\n constructor(message = \"System Communication Error\", options = {}) {\n super(message, options);\n this.statusCode = 503;\n this.name = \"SystemCommError\";\n Object.setPrototypeOf(this, SystemCommError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class TokenExpiredError extends AppError {\n constructor(message = \"Token Expired\", options = {}) {\n super(message, options);\n this.statusCode = 401;\n this.name = \"TokenExpiredError\";\n Object.setPrototypeOf(this, TokenExpiredError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class UnprocessableRequestError extends AppError {\n constructor(message = \"Unprocessable Request Error\", options = {}) {\n super(message, options);\n this.statusCode = 422;\n this.name = \"UnprocessableRequestError\";\n Object.setPrototypeOf(this, UnprocessableRequestError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class ValidationError extends AppError {\n constructor(message = \"Validation Error\", options = {}) {\n super(message, options);\n this.statusCode = 400;\n this.name = \"ValidationError\";\n Object.setPrototypeOf(this, ValidationError.prototype);\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAO,IAAM,WAAN,MAAM,kBAAiB,MAAM;AAAA,EAApC,OAAoC;AAAA;AAAA;AAAA,EAClC,YAAY,UAAU,yBAAyB,SAAS;AACtD,UAAM,SAAS,OAAO;AACtB,SAAK,OAAO,KAAK,YAAY;AAC7B,SAAK,aAAa;AAClB,SAAK,OAAO;AACZ,WAAO,eAAe,MAAM,UAAS,SAAS;AAAA,EAChD;AACF;;;ACNO,IAAM,sBAAN,MAAM,6BAA4B,SAAS;AAAA,EAFlD,OAEkD;AAAA;AAAA;AAAA,EAChD,YAAY,UAAU,wBAAwB,UAAU,CAAC,GAAG;AAC1D,UAAM,SAAS,OAAO;AACtB,SAAK,aAAa;AAClB,SAAK,OAAO;AACZ,WAAO,eAAe,MAAM,qBAAoB,SAAS;AAAA,EAC3D;AACF;;;ACPO,IAAM,qBAAN,MAAM,4BAA2B,SAAS;AAAA,EAFjD,OAEiD;AAAA;AAAA;AAAA,EAC/C,YAAY,UAAU,uBAAuB,UAAU,CAAC,GAAG;AACzD,UAAM,SAAS,OAAO;AACtB,SAAK,aAAa;AAClB,SAAK,OAAO;AACZ,WAAO,eAAe,MAAM,oBAAmB,SAAS;A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M,yBAAwB,SAAS;AAAA,EAF9C,OAE8C;AAAA;AAAA;AAAA,EAC5C,YAAY,UAAU,8BAA8B,UAAU,CAAC,GAAG;AAChE,UAAM,SAAS,OAAO;AACtB,SAAK,aAAa;AAClB,SAAK,OAAO;AACZ,WAAO,eAAe,MAAM,iBAAgB,SAAS;AAAA,EACvD;AACF;;;ACPO,IAAM,oBAAN,MAAM,2BAA0B,SAAS;AAAA,EAFhD,OAEgD;AAAA;AAAA;AAAA,EAC9C,YAAY,UAAU,iBAAiB,UAAU,CAAC,GAAG;AACnD,UAAM,SAAS,OAAO;AACtB,SAAK,aAAa;AAClB,SAAK,OAAO;AACZ,WAAO,eAAe,MAAM,mBAAkB,SAAS;AAAA,EACzD;AACF;;;ACPO,IAAM,4BAAN,MAAM,mCAAkC,SAAS;AAAA,EAFxD,OAEwD;AAAA;AAAA;AAAA,EACtD,YAAY,UAAU,+BAA+B,UAAU,CAAC,GAAG;AACjE,UAAM,SAAS,OAAO;AACtB,SAAK,aAAa;AAClB,SAAK,OAAO;AACZ,WAAO,eAAe,MAAM,2BAA0B,SAAS;AAAA,EACjE;AACF;;;ACPO,IAAM,kBAAN,MAAM,yBAAwB,SAAS;AAAA,EAF9C,OAE8C;AAAA;AAAA;AAAA,EAC5C,YAAY,UAAU,oBAAoB,UAAU,CAAC,GAAG;AACtD,UAAM,SAAS,OAAO;AACtB,SAAK,aAAa;AAClB,SAAK,OAAO;AACZ,WAAO,eAAe,MAAM,iBAAgB,SAAS;AAAA,EACvD;AACF;","names":[]}
1
+ {"version":3,"sources":["../../src/errors/index.js","../../src/errors/appError.js","../../src/errors/authenticationError.js","../../src/errors/authorizationError.js","../../src/errors/conflictError.js","../../src/errors/deviceCommError.js","../../src/errors/loginError.js","../../src/errors/notFoundError.js","../../src/errors/requestError.js","../../src/errors/systemCommError.js","../../src/errors/tokenExpiredError.js","../../src/errors/unprocessableRequestError.js","../../src/errors/validationError.js"],"sourcesContent":["// This file is auto-generated. Do not edit this file manually.\n// Generated on: 2025-05-16T22:30:53.544Z\n\nexport * from \"./appError\";\nexport * from \"./authenticationError\";\nexport * from \"./authorizationError\";\nexport * from \"./conflictError\";\nexport * from \"./deviceCommError\";\nexport * from \"./loginError\";\nexport * from \"./notFoundError\";\nexport * from \"./requestError\";\nexport * from \"./systemCommError\";\nexport * from \"./tokenExpiredError\";\nexport * from \"./unprocessableRequestError\";\nexport * from \"./validationError\";","export class AppError extends Error {\n constructor(message = \"Internal Server Error\", options) {\n super(message, options);\n this.type = this.constructor.name;\n this.statusCode = 500;\n this.name = \"AppError\";\n Object.setPrototypeOf(this, AppError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class AuthenticationError extends AppError {\n constructor(message = \"Authentication Error\", options = {}) {\n super(message, options);\n this.statusCode = 401;\n this.name = \"AuthenticationError\";\n Object.setPrototypeOf(this, AuthenticationError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class AuthorizationError extends AppError {\n constructor(message = \"Authorization Error\", options = {}) {\n super(message, options);\n this.statusCode = 403;\n this.name = \"AuthorizationError\";\n Object.setPrototypeOf(this, AuthorizationError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class ConflictError extends AppError {\n constructor(message = \"Bad Request\", options = {}) {\n super(message, options);\n this.statusCode = 409;\n this.name = \"ConflictError\";\n Object.setPrototypeOf(this, ConflictError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class DeviceCommError extends AppError {\n constructor(message = \"Device Communication Error\", options = {}) {\n super(message, options);\n this.statusCode = 503;\n this.name = \"DeviceCommError\";\n Object.setPrototypeOf(this, DeviceCommError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class LoginError extends AppError {\n constructor(message = \"Invalid Login information provided\", options = {}) {\n super(message, options);\n this.statusCode = 401;\n this.name = \"LoginError\";\n Object.setPrototypeOf(this, LoginError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class NotFoundError extends AppError {\n constructor(message = \"Resource Not Found\", options = {}) {\n super(message, options);\n this.statusCode = 404;\n this.name = \"NotFoundError\";\n Object.setPrototypeOf(this, NotFoundError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class RequestError extends AppError {\n constructor(message = \"Bad Request\", options = {}) {\n super(message, options);\n this.statusCode = 400;\n this.name = \"RequestError\";\n Object.setPrototypeOf(this, RequestError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class SystemCommError extends AppError {\n constructor(message = \"System Communication Error\", options = {}) {\n super(message, options);\n this.statusCode = 503;\n this.name = \"SystemCommError\";\n Object.setPrototypeOf(this, SystemCommError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class TokenExpiredError extends AppError {\n constructor(message = \"Token Expired\", options = {}) {\n super(message, options);\n this.statusCode = 401;\n this.name = \"TokenExpiredError\";\n Object.setPrototypeOf(this, TokenExpiredError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class UnprocessableRequestError extends AppError {\n constructor(message = \"Unprocessable Request Error\", options = {}) {\n super(message, options);\n this.statusCode = 422;\n this.name = \"UnprocessableRequestError\";\n Object.setPrototypeOf(this, UnprocessableRequestError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class ValidationError extends AppError {\n constructor(message = \"Validation Error\", options = {}) {\n super(message, options);\n this.statusCode = 400;\n this.name = \"ValidationError\";\n Object.setPrototypeOf(this, ValidationError.prototype);\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAO,IAAM,WAAN,MAAM,kBAAiB,MAAM;AAAA,EAApC,OAAoC;AAAA;AAAA;AAAA,EAClC,YAAY,UAAU,yBAAyB,SAAS;AACtD,UAAM,SAAS,OAAO;AACtB,SAAK,OAAO,KAAK,YAAY;AAC7B,SAAK,aAAa;AAClB,SAAK,OAAO;AACZ,WAAO,eA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M,yBAAwB,SAAS;AAAA,EAF9C,OAE8C;AAAA;AAAA;AAAA,EAC5C,YAAY,UAAU,oBAAoB,UAAU,CAAC,GAAG;AACtD,UAAM,SAAS,OAAO;AACtB,SAAK,aAAa;AAClB,SAAK,OAAO;AACZ,WAAO,eAAe,MAAM,iBAAgB,SAAS;AAAA,EACvD;AACF;","names":[]}
@@ -1 +1 @@
1
- import"../chunk-364IZMI7.js";import{LoginError}from"../chunk-FU3MLFEZ.js";import{NotFoundError}from"../chunk-S3LGXCUW.js";import{RequestError}from"../chunk-R36FVWOK.js";import{SystemCommError}from"../chunk-J3IXW2RX.js";import{TokenExpiredError}from"../chunk-ELAUVDF4.js";import{UnprocessableRequestError}from"../chunk-ZXW3Q5ZK.js";import{ValidationError}from"../chunk-5FSWHSBF.js";import{AuthenticationError}from"../chunk-FWQABD55.js";import{AuthorizationError}from"../chunk-WN4Z5JJD.js";import{ConflictError}from"../chunk-7GGLCJ6I.js";import{DeviceCommError}from"../chunk-3AE3KSKI.js";import{AppError}from"../chunk-P3ZPJTJ2.js";import"../chunk-XE4OXN2W.js";export{AppError,AuthenticationError,AuthorizationError,ConflictError,DeviceCommError,LoginError,NotFoundError,RequestError,SystemCommError,TokenExpiredError,UnprocessableRequestError,ValidationError};//# sourceMappingURL=index.js.map
1
+ import"../chunk-4QV2AU43.js";import{LoginError}from"../chunk-FU3MLFEZ.js";import{NotFoundError}from"../chunk-S3LGXCUW.js";import{RequestError}from"../chunk-R36FVWOK.js";import{SystemCommError}from"../chunk-J3IXW2RX.js";import{TokenExpiredError}from"../chunk-ELAUVDF4.js";import{UnprocessableRequestError}from"../chunk-ZXW3Q5ZK.js";import{ValidationError}from"../chunk-5FSWHSBF.js";import{AuthenticationError}from"../chunk-FWQABD55.js";import{AuthorizationError}from"../chunk-WN4Z5JJD.js";import{ConflictError}from"../chunk-7GGLCJ6I.js";import{DeviceCommError}from"../chunk-3AE3KSKI.js";import{AppError}from"../chunk-P3ZPJTJ2.js";import"../chunk-XE4OXN2W.js";export{AppError,AuthenticationError,AuthorizationError,ConflictError,DeviceCommError,LoginError,NotFoundError,RequestError,SystemCommError,TokenExpiredError,UnprocessableRequestError,ValidationError};//# sourceMappingURL=index.js.map