@kohost/api-client 3.9.12 → 4.0.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 (776) hide show
  1. package/dist/appError-v8-O4juF.d.cts +7 -0
  2. package/dist/appError-v8-O4juF.d.ts +7 -0
  3. package/dist/chunk-36WNTEIW.js +117 -0
  4. package/dist/chunk-36WNTEIW.js.map +1 -0
  5. package/dist/chunk-EBJTC6MA.js +26 -0
  6. package/dist/chunk-EBJTC6MA.js.map +1 -0
  7. package/dist/chunk-HKJ2B2AA.js +15 -0
  8. package/dist/chunk-HKJ2B2AA.js.map +1 -0
  9. package/dist/chunk-KBBL6OJS.js +36359 -0
  10. package/dist/chunk-KBBL6OJS.js.map +1 -0
  11. package/dist/{cjs/defs/amqpExchanges.js → chunk-KNSZIQXT.js} +32 -14
  12. package/dist/chunk-KNSZIQXT.js.map +1 -0
  13. package/dist/chunk-MYWOGDCQ.js +502 -0
  14. package/dist/chunk-MYWOGDCQ.js.map +1 -0
  15. package/dist/chunk-W2G36LNI.js +67 -0
  16. package/dist/chunk-W2G36LNI.js.map +1 -0
  17. package/dist/client.cjs +288 -0
  18. package/dist/client.cjs.map +1 -0
  19. package/dist/client.d.cts +81 -0
  20. package/dist/client.d.ts +81 -0
  21. package/dist/client.js +208 -0
  22. package/dist/client.js.map +1 -0
  23. package/dist/commands.cjs +443 -0
  24. package/dist/commands.cjs.map +1 -0
  25. package/dist/commands.d.cts +268 -0
  26. package/dist/commands.d.ts +268 -0
  27. package/dist/commands.js +380 -0
  28. package/dist/commands.js.map +1 -0
  29. package/dist/defs.cjs +83 -0
  30. package/dist/defs.cjs.map +1 -0
  31. package/dist/defs.d.cts +62 -0
  32. package/dist/defs.d.ts +62 -0
  33. package/dist/defs.js +10 -0
  34. package/dist/defs.js.map +1 -0
  35. package/dist/errors.cjs +157 -0
  36. package/dist/errors.cjs.map +1 -0
  37. package/dist/errors.d.cts +47 -0
  38. package/dist/errors.d.ts +47 -0
  39. package/dist/errors.js +32 -0
  40. package/dist/errors.js.map +1 -0
  41. package/dist/events.cjs +526 -0
  42. package/dist/events.cjs.map +1 -0
  43. package/dist/events.d.cts +230 -0
  44. package/dist/events.d.ts +230 -0
  45. package/dist/events.js +67 -0
  46. package/dist/events.js.map +1 -0
  47. package/dist/index.cjs +51708 -0
  48. package/dist/index.cjs.map +1 -0
  49. package/dist/index.d.cts +30955 -0
  50. package/dist/index.d.ts +30955 -0
  51. package/dist/index.js +51670 -0
  52. package/dist/index.js.map +1 -0
  53. package/dist/models.cjs +36397 -0
  54. package/dist/models.cjs.map +1 -0
  55. package/dist/models.d.cts +88 -0
  56. package/dist/models.d.ts +88 -0
  57. package/dist/models.js +89 -0
  58. package/dist/models.js.map +1 -0
  59. package/dist/socketIoClient.cjs +117 -0
  60. package/dist/socketIoClient.cjs.map +1 -0
  61. package/dist/socketIoClient.d.cts +43 -0
  62. package/dist/socketIoClient.d.ts +43 -0
  63. package/dist/{cjs/SocketIoClient/index.js → socketIoClient.js} +33 -31
  64. package/dist/socketIoClient.js.map +1 -0
  65. package/dist/useCases.cjs +13656 -0
  66. package/dist/useCases.cjs.map +1 -0
  67. package/dist/useCases.d.cts +21004 -0
  68. package/dist/useCases.d.ts +21004 -0
  69. package/dist/useCases.js +13576 -0
  70. package/dist/useCases.js.map +1 -0
  71. package/dist/utils.cjs +37088 -0
  72. package/dist/utils.cjs.map +1 -0
  73. package/dist/utils.d.cts +9 -0
  74. package/dist/utils.d.ts +9 -0
  75. package/dist/utils.js +190 -0
  76. package/dist/utils.js.map +1 -0
  77. package/dist/windowCovering-C3dsx-cW.d.cts +8328 -0
  78. package/dist/windowCovering-C3dsx-cW.d.ts +8328 -0
  79. package/package.json +67 -17
  80. package/dist/cjs/AMQPClient/index.js +0 -239
  81. package/dist/cjs/Client/index.js +0 -7831
  82. package/dist/cjs/Commands/CheckInReservation.js +0 -15
  83. package/dist/cjs/Commands/CheckOutReservation.js +0 -16
  84. package/dist/cjs/Commands/Command.js +0 -32
  85. package/dist/cjs/Commands/CreateImageUploadEndpoint.js +0 -13
  86. package/dist/cjs/Commands/CreateShortLink.js +0 -16
  87. package/dist/cjs/Commands/GetCategories.js +0 -13
  88. package/dist/cjs/Commands/GetMobileKey.js +0 -20
  89. package/dist/cjs/Commands/GetProducts.js +0 -13
  90. package/dist/cjs/Commands/GetReservationSpaceCategoryAvailabilities.js +0 -16
  91. package/dist/cjs/Commands/GetReservations.js +0 -16
  92. package/dist/cjs/Commands/GetRooms.js +0 -31
  93. package/dist/cjs/Commands/GetUsers.js +0 -13
  94. package/dist/cjs/Commands/OCRDocument.js +0 -15
  95. package/dist/cjs/Commands/SellProducts.js +0 -13
  96. package/dist/cjs/Commands/SendEmail.js +0 -20
  97. package/dist/cjs/Commands/SendSMS.js +0 -18
  98. package/dist/cjs/Commands/SetAlarm.js +0 -13
  99. package/dist/cjs/Commands/SetCourtesy.js +0 -13
  100. package/dist/cjs/Commands/SetDimmer.js +0 -13
  101. package/dist/cjs/Commands/SetLock.js +0 -13
  102. package/dist/cjs/Commands/SetMedia.js +0 -13
  103. package/dist/cjs/Commands/SetScene.js +0 -13
  104. package/dist/cjs/Commands/SetSwitch.js +0 -13
  105. package/dist/cjs/Commands/SetThermostat.js +0 -13
  106. package/dist/cjs/Commands/SetWindowCovering.js +0 -13
  107. package/dist/cjs/Commands/UpdateReservation.js +0 -15
  108. package/dist/cjs/Commands/UpdateUser.js +0 -37
  109. package/dist/cjs/Commands/UploadImage.js +0 -13
  110. package/dist/cjs/Commands/index.js +0 -59
  111. package/dist/cjs/Errors/AppError.js +0 -9
  112. package/dist/cjs/Errors/AuthenticationError.js +0 -10
  113. package/dist/cjs/Errors/AuthorizationError.js +0 -10
  114. package/dist/cjs/Errors/ConflictError.js +0 -10
  115. package/dist/cjs/Errors/DeviceCommError.js +0 -10
  116. package/dist/cjs/Errors/LoginError.js +0 -10
  117. package/dist/cjs/Errors/NotFoundError.js +0 -10
  118. package/dist/cjs/Errors/RequestError.js +0 -10
  119. package/dist/cjs/Errors/SystemCommError.js +0 -10
  120. package/dist/cjs/Errors/TokenExpiredError.js +0 -10
  121. package/dist/cjs/Errors/UnprocessableRequestError.js +0 -10
  122. package/dist/cjs/Errors/ValidationError.js +0 -10
  123. package/dist/cjs/Errors/index.js +0 -16
  124. package/dist/cjs/Events/ApplicationInUse.js +0 -22
  125. package/dist/cjs/Events/ApplicationOutOfUse.js +0 -22
  126. package/dist/cjs/Events/EmailEvent.js +0 -17
  127. package/dist/cjs/Events/Event.js +0 -44
  128. package/dist/cjs/Events/ReservationCheckedIn.js +0 -22
  129. package/dist/cjs/Events/ReservationCheckedOut.js +0 -22
  130. package/dist/cjs/Events/ReservationSpaceChanged.js +0 -22
  131. package/dist/cjs/Events/SMSEvent.js +0 -17
  132. package/dist/cjs/Events/SceneSet.js +0 -17
  133. package/dist/cjs/Events/ShortLinkCreated.js +0 -17
  134. package/dist/cjs/Events/SystemAlarmUpdated.js +0 -17
  135. package/dist/cjs/Events/SystemCameraUpdated.js +0 -17
  136. package/dist/cjs/Events/SystemCategoryUpdated.js +0 -17
  137. package/dist/cjs/Events/SystemCourtesyUpdated.js +0 -17
  138. package/dist/cjs/Events/SystemCredentialUpdated.js +0 -17
  139. package/dist/cjs/Events/SystemDimmerUpdated.js +0 -17
  140. package/dist/cjs/Events/SystemEntityDeleted.js +0 -17
  141. package/dist/cjs/Events/SystemGatewayUpdated.js +0 -17
  142. package/dist/cjs/Events/SystemLockUpdated.js +0 -17
  143. package/dist/cjs/Events/SystemMediaSourceUpdated.js +0 -17
  144. package/dist/cjs/Events/SystemMotionSensorUpdated.js +0 -17
  145. package/dist/cjs/Events/SystemOrganizationUpdated.js +0 -17
  146. package/dist/cjs/Events/SystemProductUpdated.js +0 -17
  147. package/dist/cjs/Events/SystemPropertyUpdated.js +0 -17
  148. package/dist/cjs/Events/SystemReservationUpdated.js +0 -17
  149. package/dist/cjs/Events/SystemSpaceUpdated.js +0 -17
  150. package/dist/cjs/Events/SystemSwitchUpdated.js +0 -17
  151. package/dist/cjs/Events/SystemThermostatUpdated.js +0 -17
  152. package/dist/cjs/Events/SystemUserUpdated.js +0 -17
  153. package/dist/cjs/Events/SystemWindowCoveringUpdated.js +0 -17
  154. package/dist/cjs/Events/index.js +0 -71
  155. package/dist/cjs/Models/Alarm.js +0 -35
  156. package/dist/cjs/Models/Announcement.js +0 -34
  157. package/dist/cjs/Models/Camera.js +0 -35
  158. package/dist/cjs/Models/Category.js +0 -36
  159. package/dist/cjs/Models/Courtesy.js +0 -39
  160. package/dist/cjs/Models/Credential.js +0 -35
  161. package/dist/cjs/Models/DeviceRouter.js +0 -36
  162. package/dist/cjs/Models/Dimmer.js +0 -61
  163. package/dist/cjs/Models/DiscoveredDevice.js +0 -36
  164. package/dist/cjs/Models/EmailMessage.js +0 -35
  165. package/dist/cjs/Models/EnergyReport.js +0 -35
  166. package/dist/cjs/Models/EnergyReportShard.js +0 -35
  167. package/dist/cjs/Models/Entity.js +0 -96
  168. package/dist/cjs/Models/Gateway.js +0 -35
  169. package/dist/cjs/Models/Identification.js +0 -38
  170. package/dist/cjs/Models/Issue.js +0 -35
  171. package/dist/cjs/Models/Lock.js +0 -39
  172. package/dist/cjs/Models/Log.js +0 -35
  173. package/dist/cjs/Models/MediaFile.js +0 -48
  174. package/dist/cjs/Models/MediaSource.js +0 -35
  175. package/dist/cjs/Models/MotionSensor.js +0 -35
  176. package/dist/cjs/Models/Order.js +0 -100
  177. package/dist/cjs/Models/Organization.js +0 -34
  178. package/dist/cjs/Models/Policy.js +0 -34
  179. package/dist/cjs/Models/Product.js +0 -35
  180. package/dist/cjs/Models/Property.js +0 -34
  181. package/dist/cjs/Models/Reservation.js +0 -114
  182. package/dist/cjs/Models/Room.js +0 -217
  183. package/dist/cjs/Models/Scene.js +0 -169
  184. package/dist/cjs/Models/ShortLink.js +0 -35
  185. package/dist/cjs/Models/SmsMessage.js +0 -35
  186. package/dist/cjs/Models/Space.js +0 -97
  187. package/dist/cjs/Models/Switch.js +0 -39
  188. package/dist/cjs/Models/SystemUser.js +0 -55
  189. package/dist/cjs/Models/Thermostat.js +0 -86
  190. package/dist/cjs/Models/Ticket.js +0 -55
  191. package/dist/cjs/Models/TimeSheet.js +0 -60
  192. package/dist/cjs/Models/User.js +0 -130
  193. package/dist/cjs/Models/Vendor.js +0 -35
  194. package/dist/cjs/Models/WindowCovering.js +0 -55
  195. package/dist/cjs/Models/index.js +0 -85
  196. package/dist/cjs/defs/deviceTypes.js +0 -15
  197. package/dist/cjs/defs/formalDeviceTypes.js +0 -6
  198. package/dist/cjs/defs/index.js +0 -11
  199. package/dist/cjs/index.js +0 -23
  200. package/dist/cjs/schemas/alarm.json +0 -85
  201. package/dist/cjs/schemas/announcement.json +0 -47
  202. package/dist/cjs/schemas/camera.json +0 -105
  203. package/dist/cjs/schemas/category.json +0 -42
  204. package/dist/cjs/schemas/courtesy.json +0 -48
  205. package/dist/cjs/schemas/credential.json +0 -54
  206. package/dist/cjs/schemas/definitions.json +0 -245
  207. package/dist/cjs/schemas/deviceRouter.json +0 -29
  208. package/dist/cjs/schemas/dimmer.json +0 -42
  209. package/dist/cjs/schemas/discoveredDevice.json +0 -44
  210. package/dist/cjs/schemas/emailMessage.json +0 -72
  211. package/dist/cjs/schemas/energyReport.json +0 -86
  212. package/dist/cjs/schemas/energyReportShard.json +0 -75
  213. package/dist/cjs/schemas/gateway.json +0 -34
  214. package/dist/cjs/schemas/identification.json +0 -61
  215. package/dist/cjs/schemas/issue.json +0 -54
  216. package/dist/cjs/schemas/lock.json +0 -57
  217. package/dist/cjs/schemas/log.json +0 -94
  218. package/dist/cjs/schemas/mediaFile.json +0 -75
  219. package/dist/cjs/schemas/mediaSource.json +0 -246
  220. package/dist/cjs/schemas/motionSensor.json +0 -32
  221. package/dist/cjs/schemas/order.json +0 -190
  222. package/dist/cjs/schemas/organization.json +0 -159
  223. package/dist/cjs/schemas/payment.json +0 -47
  224. package/dist/cjs/schemas/policy.json +0 -62
  225. package/dist/cjs/schemas/product.json +0 -45
  226. package/dist/cjs/schemas/property.json +0 -430
  227. package/dist/cjs/schemas/reservation.json +0 -146
  228. package/dist/cjs/schemas/room.json +0 -103
  229. package/dist/cjs/schemas/scene.json +0 -146
  230. package/dist/cjs/schemas/shortLink.json +0 -31
  231. package/dist/cjs/schemas/smsMessage.json +0 -62
  232. package/dist/cjs/schemas/space.json +0 -155
  233. package/dist/cjs/schemas/switch.json +0 -49
  234. package/dist/cjs/schemas/systemUser.json +0 -106
  235. package/dist/cjs/schemas/thermostat.json +0 -149
  236. package/dist/cjs/schemas/ticket.json +0 -229
  237. package/dist/cjs/schemas/timeSheet.json +0 -61
  238. package/dist/cjs/schemas/user.json +0 -189
  239. package/dist/cjs/schemas/vendor.json +0 -40
  240. package/dist/cjs/schemas/windowCovering.json +0 -48
  241. package/dist/cjs/utils/entityFactory.js +0 -86
  242. package/dist/cjs/utils/errorFactory.js +0 -32
  243. package/dist/cjs/utils/eventFactory.js +0 -10
  244. package/dist/cjs/utils/getDeviceTypes.js +0 -7
  245. package/dist/cjs/utils/getFormalDeviceType.js +0 -5
  246. package/dist/cjs/utils/index.js +0 -13
  247. package/dist/cjs/utils/schema.js +0 -25
  248. package/dist/esm/Client.js +0 -10692
  249. package/dist/esm/Client.js.map +0 -7
  250. package/dist/esm/Commands.js +0 -985
  251. package/dist/esm/Commands.js.map +0 -7
  252. package/dist/esm/Errors.js +0 -245
  253. package/dist/esm/Errors.js.map +0 -7
  254. package/dist/esm/Events.js +0 -741
  255. package/dist/esm/Events.js.map +0 -7
  256. package/dist/esm/Models.js +0 -14074
  257. package/dist/esm/Models.js.map +0 -7
  258. package/dist/esm/SocketIoClient.js +0 -5010
  259. package/dist/esm/SocketIoClient.js.map +0 -7
  260. package/dist/esm/defs.js +0 -3070
  261. package/dist/esm/defs.js.map +0 -7
  262. package/dist/esm/index.js +0 -18
  263. package/dist/esm/utils.js +0 -14263
  264. package/dist/esm/utils.js.map +0 -7
  265. package/dist/types/AMQPClient/index.d.ts +0 -128
  266. package/dist/types/AMQPClient/index.d.ts.map +0 -1
  267. package/dist/types/Client/index.d.ts +0 -58
  268. package/dist/types/Client/index.d.ts.map +0 -1
  269. package/dist/types/Commands/CheckInReservation.d.ts +0 -10
  270. package/dist/types/Commands/CheckInReservation.d.ts.map +0 -1
  271. package/dist/types/Commands/CheckOutReservation.d.ts +0 -11
  272. package/dist/types/Commands/CheckOutReservation.d.ts.map +0 -1
  273. package/dist/types/Commands/Command.d.ts +0 -12
  274. package/dist/types/Commands/Command.d.ts.map +0 -1
  275. package/dist/types/Commands/CreateImageUploadEndpoint.d.ts +0 -11
  276. package/dist/types/Commands/CreateImageUploadEndpoint.d.ts.map +0 -1
  277. package/dist/types/Commands/CreateShortLink.d.ts +0 -11
  278. package/dist/types/Commands/CreateShortLink.d.ts.map +0 -1
  279. package/dist/types/Commands/GetCategories.d.ts +0 -10
  280. package/dist/types/Commands/GetCategories.d.ts.map +0 -1
  281. package/dist/types/Commands/GetMobileKey.d.ts +0 -14
  282. package/dist/types/Commands/GetMobileKey.d.ts.map +0 -1
  283. package/dist/types/Commands/GetProducts.d.ts +0 -11
  284. package/dist/types/Commands/GetProducts.d.ts.map +0 -1
  285. package/dist/types/Commands/GetReservationSpaceCategoryAvailabilities.d.ts +0 -6
  286. package/dist/types/Commands/GetReservationSpaceCategoryAvailabilities.d.ts.map +0 -1
  287. package/dist/types/Commands/GetReservations.d.ts +0 -6
  288. package/dist/types/Commands/GetReservations.d.ts.map +0 -1
  289. package/dist/types/Commands/GetRooms.d.ts +0 -16
  290. package/dist/types/Commands/GetRooms.d.ts.map +0 -1
  291. package/dist/types/Commands/GetUsers.d.ts +0 -10
  292. package/dist/types/Commands/GetUsers.d.ts.map +0 -1
  293. package/dist/types/Commands/OCRDocument.d.ts +0 -11
  294. package/dist/types/Commands/OCRDocument.d.ts.map +0 -1
  295. package/dist/types/Commands/SellProducts.d.ts +0 -12
  296. package/dist/types/Commands/SellProducts.d.ts.map +0 -1
  297. package/dist/types/Commands/SendEmail.d.ts +0 -14
  298. package/dist/types/Commands/SendEmail.d.ts.map +0 -1
  299. package/dist/types/Commands/SendSMS.d.ts +0 -14
  300. package/dist/types/Commands/SendSMS.d.ts.map +0 -1
  301. package/dist/types/Commands/SetAlarm.d.ts +0 -13
  302. package/dist/types/Commands/SetAlarm.d.ts.map +0 -1
  303. package/dist/types/Commands/SetCourtesy.d.ts +0 -11
  304. package/dist/types/Commands/SetCourtesy.d.ts.map +0 -1
  305. package/dist/types/Commands/SetDimmer.d.ts +0 -11
  306. package/dist/types/Commands/SetDimmer.d.ts.map +0 -1
  307. package/dist/types/Commands/SetLock.d.ts +0 -11
  308. package/dist/types/Commands/SetLock.d.ts.map +0 -1
  309. package/dist/types/Commands/SetMedia.d.ts +0 -11
  310. package/dist/types/Commands/SetMedia.d.ts.map +0 -1
  311. package/dist/types/Commands/SetScene.d.ts +0 -11
  312. package/dist/types/Commands/SetScene.d.ts.map +0 -1
  313. package/dist/types/Commands/SetSwitch.d.ts +0 -11
  314. package/dist/types/Commands/SetSwitch.d.ts.map +0 -1
  315. package/dist/types/Commands/SetThermostat.d.ts +0 -13
  316. package/dist/types/Commands/SetThermostat.d.ts.map +0 -1
  317. package/dist/types/Commands/SetWindowCovering.d.ts +0 -11
  318. package/dist/types/Commands/SetWindowCovering.d.ts.map +0 -1
  319. package/dist/types/Commands/UpdateReservation.d.ts +0 -10
  320. package/dist/types/Commands/UpdateReservation.d.ts.map +0 -1
  321. package/dist/types/Commands/UpdateUser.d.ts +0 -18
  322. package/dist/types/Commands/UpdateUser.d.ts.map +0 -1
  323. package/dist/types/Commands/UploadImage.d.ts +0 -12
  324. package/dist/types/Commands/UploadImage.d.ts.map +0 -1
  325. package/dist/types/Commands/index.d.ts +0 -30
  326. package/dist/types/Commands/index.d.ts.map +0 -1
  327. package/dist/types/Errors/AppError.d.ts +0 -7
  328. package/dist/types/Errors/AppError.d.ts.map +0 -1
  329. package/dist/types/Errors/AuthenticationError.d.ts +0 -6
  330. package/dist/types/Errors/AuthenticationError.d.ts.map +0 -1
  331. package/dist/types/Errors/AuthorizationError.d.ts +0 -6
  332. package/dist/types/Errors/AuthorizationError.d.ts.map +0 -1
  333. package/dist/types/Errors/ConflictError.d.ts +0 -6
  334. package/dist/types/Errors/ConflictError.d.ts.map +0 -1
  335. package/dist/types/Errors/DeviceCommError.d.ts +0 -6
  336. package/dist/types/Errors/DeviceCommError.d.ts.map +0 -1
  337. package/dist/types/Errors/LoginError.d.ts +0 -6
  338. package/dist/types/Errors/LoginError.d.ts.map +0 -1
  339. package/dist/types/Errors/NotFoundError.d.ts +0 -6
  340. package/dist/types/Errors/NotFoundError.d.ts.map +0 -1
  341. package/dist/types/Errors/RequestError.d.ts +0 -6
  342. package/dist/types/Errors/RequestError.d.ts.map +0 -1
  343. package/dist/types/Errors/SystemCommError.d.ts +0 -6
  344. package/dist/types/Errors/SystemCommError.d.ts.map +0 -1
  345. package/dist/types/Errors/TokenExpiredError.d.ts +0 -6
  346. package/dist/types/Errors/TokenExpiredError.d.ts.map +0 -1
  347. package/dist/types/Errors/UnprocessableRequestError.d.ts +0 -6
  348. package/dist/types/Errors/UnprocessableRequestError.d.ts.map +0 -1
  349. package/dist/types/Errors/ValidationError.d.ts +0 -6
  350. package/dist/types/Errors/ValidationError.d.ts.map +0 -1
  351. package/dist/types/Errors/index.d.ts +0 -37
  352. package/dist/types/Errors/index.d.ts.map +0 -1
  353. package/dist/types/Events/ApplicationInUse.d.ts +0 -7
  354. package/dist/types/Events/ApplicationInUse.d.ts.map +0 -1
  355. package/dist/types/Events/ApplicationOutOfUse.d.ts +0 -7
  356. package/dist/types/Events/ApplicationOutOfUse.d.ts.map +0 -1
  357. package/dist/types/Events/EmailEvent.d.ts +0 -7
  358. package/dist/types/Events/EmailEvent.d.ts.map +0 -1
  359. package/dist/types/Events/Event.d.ts +0 -48
  360. package/dist/types/Events/Event.d.ts.map +0 -1
  361. package/dist/types/Events/ReservationCheckedIn.d.ts +0 -7
  362. package/dist/types/Events/ReservationCheckedIn.d.ts.map +0 -1
  363. package/dist/types/Events/ReservationCheckedOut.d.ts +0 -7
  364. package/dist/types/Events/ReservationCheckedOut.d.ts.map +0 -1
  365. package/dist/types/Events/ReservationSpaceChanged.d.ts +0 -7
  366. package/dist/types/Events/ReservationSpaceChanged.d.ts.map +0 -1
  367. package/dist/types/Events/SMSEvent.d.ts +0 -7
  368. package/dist/types/Events/SMSEvent.d.ts.map +0 -1
  369. package/dist/types/Events/SceneSet.d.ts +0 -7
  370. package/dist/types/Events/SceneSet.d.ts.map +0 -1
  371. package/dist/types/Events/ShortLinkCreated.d.ts +0 -7
  372. package/dist/types/Events/ShortLinkCreated.d.ts.map +0 -1
  373. package/dist/types/Events/SystemAlarmUpdated.d.ts +0 -7
  374. package/dist/types/Events/SystemAlarmUpdated.d.ts.map +0 -1
  375. package/dist/types/Events/SystemCameraUpdated.d.ts +0 -7
  376. package/dist/types/Events/SystemCameraUpdated.d.ts.map +0 -1
  377. package/dist/types/Events/SystemCategoryUpdated.d.ts +0 -7
  378. package/dist/types/Events/SystemCategoryUpdated.d.ts.map +0 -1
  379. package/dist/types/Events/SystemCourtesyUpdated.d.ts +0 -7
  380. package/dist/types/Events/SystemCourtesyUpdated.d.ts.map +0 -1
  381. package/dist/types/Events/SystemCredentialUpdated.d.ts +0 -7
  382. package/dist/types/Events/SystemCredentialUpdated.d.ts.map +0 -1
  383. package/dist/types/Events/SystemDimmerUpdated.d.ts +0 -7
  384. package/dist/types/Events/SystemDimmerUpdated.d.ts.map +0 -1
  385. package/dist/types/Events/SystemEntityDeleted.d.ts +0 -7
  386. package/dist/types/Events/SystemEntityDeleted.d.ts.map +0 -1
  387. package/dist/types/Events/SystemGatewayUpdated.d.ts +0 -7
  388. package/dist/types/Events/SystemGatewayUpdated.d.ts.map +0 -1
  389. package/dist/types/Events/SystemLockUpdated.d.ts +0 -7
  390. package/dist/types/Events/SystemLockUpdated.d.ts.map +0 -1
  391. package/dist/types/Events/SystemMediaSourceUpdated.d.ts +0 -7
  392. package/dist/types/Events/SystemMediaSourceUpdated.d.ts.map +0 -1
  393. package/dist/types/Events/SystemMotionSensorUpdated.d.ts +0 -7
  394. package/dist/types/Events/SystemMotionSensorUpdated.d.ts.map +0 -1
  395. package/dist/types/Events/SystemOrganizationUpdated.d.ts +0 -7
  396. package/dist/types/Events/SystemOrganizationUpdated.d.ts.map +0 -1
  397. package/dist/types/Events/SystemProductUpdated.d.ts +0 -7
  398. package/dist/types/Events/SystemProductUpdated.d.ts.map +0 -1
  399. package/dist/types/Events/SystemPropertyUpdated.d.ts +0 -7
  400. package/dist/types/Events/SystemPropertyUpdated.d.ts.map +0 -1
  401. package/dist/types/Events/SystemReservationUpdated.d.ts +0 -7
  402. package/dist/types/Events/SystemReservationUpdated.d.ts.map +0 -1
  403. package/dist/types/Events/SystemSpaceUpdated.d.ts +0 -7
  404. package/dist/types/Events/SystemSpaceUpdated.d.ts.map +0 -1
  405. package/dist/types/Events/SystemSwitchUpdated.d.ts +0 -7
  406. package/dist/types/Events/SystemSwitchUpdated.d.ts.map +0 -1
  407. package/dist/types/Events/SystemThermostatUpdated.d.ts +0 -7
  408. package/dist/types/Events/SystemThermostatUpdated.d.ts.map +0 -1
  409. package/dist/types/Events/SystemUserUpdated.d.ts +0 -7
  410. package/dist/types/Events/SystemUserUpdated.d.ts.map +0 -1
  411. package/dist/types/Events/SystemWindowCoveringUpdated.d.ts +0 -7
  412. package/dist/types/Events/SystemWindowCoveringUpdated.d.ts.map +0 -1
  413. package/dist/types/Events/index.d.ts +0 -32
  414. package/dist/types/Events/index.d.ts.map +0 -1
  415. package/dist/types/Models/Alarm.d.ts +0 -17
  416. package/dist/types/Models/Alarm.d.ts.map +0 -1
  417. package/dist/types/Models/Announcement.d.ts +0 -17
  418. package/dist/types/Models/Announcement.d.ts.map +0 -1
  419. package/dist/types/Models/Camera.d.ts +0 -17
  420. package/dist/types/Models/Camera.d.ts.map +0 -1
  421. package/dist/types/Models/Category.d.ts +0 -17
  422. package/dist/types/Models/Category.d.ts.map +0 -1
  423. package/dist/types/Models/Courtesy.d.ts +0 -18
  424. package/dist/types/Models/Courtesy.d.ts.map +0 -1
  425. package/dist/types/Models/Credential.d.ts +0 -17
  426. package/dist/types/Models/Credential.d.ts.map +0 -1
  427. package/dist/types/Models/DeviceRouter.d.ts +0 -17
  428. package/dist/types/Models/DeviceRouter.d.ts.map +0 -1
  429. package/dist/types/Models/Dimmer.d.ts +0 -23
  430. package/dist/types/Models/Dimmer.d.ts.map +0 -1
  431. package/dist/types/Models/DiscoveredDevice.d.ts +0 -17
  432. package/dist/types/Models/DiscoveredDevice.d.ts.map +0 -1
  433. package/dist/types/Models/EmailMessage.d.ts +0 -17
  434. package/dist/types/Models/EmailMessage.d.ts.map +0 -1
  435. package/dist/types/Models/EnergyReport.d.ts +0 -17
  436. package/dist/types/Models/EnergyReport.d.ts.map +0 -1
  437. package/dist/types/Models/EnergyReportShard.d.ts +0 -17
  438. package/dist/types/Models/EnergyReportShard.d.ts.map +0 -1
  439. package/dist/types/Models/Entity.d.ts +0 -12
  440. package/dist/types/Models/Entity.d.ts.map +0 -1
  441. package/dist/types/Models/Gateway.d.ts +0 -17
  442. package/dist/types/Models/Gateway.d.ts.map +0 -1
  443. package/dist/types/Models/Identification.d.ts +0 -18
  444. package/dist/types/Models/Identification.d.ts.map +0 -1
  445. package/dist/types/Models/Issue.d.ts +0 -17
  446. package/dist/types/Models/Issue.d.ts.map +0 -1
  447. package/dist/types/Models/Lock.d.ts +0 -18
  448. package/dist/types/Models/Lock.d.ts.map +0 -1
  449. package/dist/types/Models/Log.d.ts +0 -17
  450. package/dist/types/Models/Log.d.ts.map +0 -1
  451. package/dist/types/Models/MediaFile.d.ts +0 -18
  452. package/dist/types/Models/MediaFile.d.ts.map +0 -1
  453. package/dist/types/Models/MediaSource.d.ts +0 -17
  454. package/dist/types/Models/MediaSource.d.ts.map +0 -1
  455. package/dist/types/Models/MotionSensor.d.ts +0 -17
  456. package/dist/types/Models/MotionSensor.d.ts.map +0 -1
  457. package/dist/types/Models/Order.d.ts +0 -24
  458. package/dist/types/Models/Order.d.ts.map +0 -1
  459. package/dist/types/Models/Organization.d.ts +0 -17
  460. package/dist/types/Models/Organization.d.ts.map +0 -1
  461. package/dist/types/Models/Policy.d.ts +0 -17
  462. package/dist/types/Models/Policy.d.ts.map +0 -1
  463. package/dist/types/Models/Product.d.ts +0 -17
  464. package/dist/types/Models/Product.d.ts.map +0 -1
  465. package/dist/types/Models/Property.d.ts +0 -17
  466. package/dist/types/Models/Property.d.ts.map +0 -1
  467. package/dist/types/Models/Reservation.d.ts +0 -23
  468. package/dist/types/Models/Reservation.d.ts.map +0 -1
  469. package/dist/types/Models/Room.d.ts +0 -32
  470. package/dist/types/Models/Room.d.ts.map +0 -1
  471. package/dist/types/Models/Scene.d.ts +0 -24
  472. package/dist/types/Models/Scene.d.ts.map +0 -1
  473. package/dist/types/Models/ShortLink.d.ts +0 -17
  474. package/dist/types/Models/ShortLink.d.ts.map +0 -1
  475. package/dist/types/Models/SmsMessage.d.ts +0 -17
  476. package/dist/types/Models/SmsMessage.d.ts.map +0 -1
  477. package/dist/types/Models/Space.d.ts +0 -27
  478. package/dist/types/Models/Space.d.ts.map +0 -1
  479. package/dist/types/Models/Switch.d.ts +0 -18
  480. package/dist/types/Models/Switch.d.ts.map +0 -1
  481. package/dist/types/Models/SystemUser.d.ts +0 -20
  482. package/dist/types/Models/SystemUser.d.ts.map +0 -1
  483. package/dist/types/Models/Thermostat.d.ts +0 -22
  484. package/dist/types/Models/Thermostat.d.ts.map +0 -1
  485. package/dist/types/Models/Ticket.d.ts +0 -18
  486. package/dist/types/Models/Ticket.d.ts.map +0 -1
  487. package/dist/types/Models/TimeSheet.d.ts +0 -18
  488. package/dist/types/Models/TimeSheet.d.ts.map +0 -1
  489. package/dist/types/Models/User.d.ts +0 -27
  490. package/dist/types/Models/User.d.ts.map +0 -1
  491. package/dist/types/Models/Vendor.d.ts +0 -17
  492. package/dist/types/Models/Vendor.d.ts.map +0 -1
  493. package/dist/types/Models/WindowCovering.d.ts +0 -18
  494. package/dist/types/Models/WindowCovering.d.ts.map +0 -1
  495. package/dist/types/Models/index.d.ts +0 -42
  496. package/dist/types/Models/index.d.ts.map +0 -1
  497. package/dist/types/SocketIoClient/index.d.ts +0 -36
  498. package/dist/types/SocketIoClient/index.d.ts.map +0 -1
  499. package/dist/types/defs/amqpExchanges.d.ts +0 -58
  500. package/dist/types/defs/amqpExchanges.d.ts.map +0 -1
  501. package/dist/types/defs/deviceTypes.d.ts +0 -3
  502. package/dist/types/defs/deviceTypes.d.ts.map +0 -1
  503. package/dist/types/defs/formalDeviceTypes.d.ts +0 -3
  504. package/dist/types/defs/formalDeviceTypes.d.ts.map +0 -1
  505. package/dist/types/defs/index.d.ts +0 -5
  506. package/dist/types/defs/index.d.ts.map +0 -1
  507. package/dist/types/index.d.ts +0 -11
  508. package/dist/types/index.d.ts.map +0 -1
  509. package/dist/types/schemas/AlarmSchema.d.ts +0 -210
  510. package/dist/types/schemas/AnnouncementSchema.d.ts +0 -65
  511. package/dist/types/schemas/CameraSchema.d.ts +0 -205
  512. package/dist/types/schemas/CategorySchema.d.ts +0 -105
  513. package/dist/types/schemas/CourtesySchema.d.ts +0 -185
  514. package/dist/types/schemas/CredentialSchema.d.ts +0 -73
  515. package/dist/types/schemas/DefinitionsSchema.d.ts +0 -10
  516. package/dist/types/schemas/DeviceRouterSchema.d.ts +0 -23
  517. package/dist/types/schemas/DimmerSchema.d.ts +0 -184
  518. package/dist/types/schemas/DiscoveredDeviceSchema.d.ts +0 -48
  519. package/dist/types/schemas/EmailMessageSchema.d.ts +0 -49
  520. package/dist/types/schemas/EnergyReportSchema.d.ts +0 -57
  521. package/dist/types/schemas/EnergyReportShardSchema.d.ts +0 -61
  522. package/dist/types/schemas/GatewaySchema.d.ts +0 -182
  523. package/dist/types/schemas/IdentificationSchema.d.ts +0 -45
  524. package/dist/types/schemas/IssueSchema.d.ts +0 -27
  525. package/dist/types/schemas/LockSchema.d.ts +0 -190
  526. package/dist/types/schemas/LogSchema.d.ts +0 -46
  527. package/dist/types/schemas/MediaFileSchema.d.ts +0 -47
  528. package/dist/types/schemas/MediaSourceSchema.d.ts +0 -301
  529. package/dist/types/schemas/MotionSensorSchema.d.ts +0 -180
  530. package/dist/types/schemas/OrderSchema.d.ts +0 -96
  531. package/dist/types/schemas/OrganizationSchema.d.ts +0 -68
  532. package/dist/types/schemas/PaymentSchema.d.ts +0 -33
  533. package/dist/types/schemas/PolicySchema.d.ts +0 -25
  534. package/dist/types/schemas/ProductSchema.d.ts +0 -111
  535. package/dist/types/schemas/PropertySchema.d.ts +0 -227
  536. package/dist/types/schemas/ReservationSchema.d.ts +0 -143
  537. package/dist/types/schemas/RoomSchema.d.ts +0 -1422
  538. package/dist/types/schemas/SceneSchema.d.ts +0 -68
  539. package/dist/types/schemas/ShortLinkSchema.d.ts +0 -20
  540. package/dist/types/schemas/SmsMessageSchema.d.ts +0 -40
  541. package/dist/types/schemas/SpaceSchema.d.ts +0 -116
  542. package/dist/types/schemas/SwitchSchema.d.ts +0 -185
  543. package/dist/types/schemas/SystemUserSchema.d.ts +0 -213
  544. package/dist/types/schemas/ThermostatSchema.d.ts +0 -215
  545. package/dist/types/schemas/TicketSchema.d.ts +0 -100
  546. package/dist/types/schemas/TimeSheetSchema.d.ts +0 -38
  547. package/dist/types/schemas/UserSchema.d.ts +0 -334
  548. package/dist/types/schemas/VendorSchema.d.ts +0 -80
  549. package/dist/types/schemas/WindowCoveringSchema.d.ts +0 -185
  550. package/dist/types/utils/entityFactory.d.ts +0 -4
  551. package/dist/types/utils/entityFactory.d.ts.map +0 -1
  552. package/dist/types/utils/errorFactory.d.ts +0 -5
  553. package/dist/types/utils/errorFactory.d.ts.map +0 -1
  554. package/dist/types/utils/eventFactory.d.ts +0 -3
  555. package/dist/types/utils/eventFactory.d.ts.map +0 -1
  556. package/dist/types/utils/getDeviceTypes.d.ts +0 -3
  557. package/dist/types/utils/getDeviceTypes.d.ts.map +0 -1
  558. package/dist/types/utils/getFormalDeviceType.d.ts +0 -3
  559. package/dist/types/utils/getFormalDeviceType.d.ts.map +0 -1
  560. package/dist/types/utils/index.d.ts +0 -7
  561. package/dist/types/utils/index.d.ts.map +0 -1
  562. package/dist/types/utils/schema.d.ts +0 -3
  563. package/dist/types/utils/schema.d.ts.map +0 -1
  564. package/dist/useCases/AssignSpaceToReservation.js +0 -28
  565. package/dist/useCases/AutoAssociateDiscoveredDevices.js +0 -28
  566. package/dist/useCases/AutoCloseTickets.js +0 -28
  567. package/dist/useCases/BatchNotifyCheckIn.js +0 -28
  568. package/dist/useCases/BatchNotifyCheckOut.js +0 -28
  569. package/dist/useCases/BatchNotifyMissedCheckOut.js +0 -28
  570. package/dist/useCases/BatchNotifyPreArrival.js +0 -28
  571. package/dist/useCases/BulkUpdateIssue.js +0 -28
  572. package/dist/useCases/CheckInReservation.js +0 -28
  573. package/dist/useCases/CheckOutReservation.js +0 -28
  574. package/dist/useCases/CheckVerificationCode.js +0 -28
  575. package/dist/useCases/CreateAlarm.js +0 -28
  576. package/dist/useCases/CreateAnnouncement.js +0 -28
  577. package/dist/useCases/CreateCamera.js +0 -28
  578. package/dist/useCases/CreateCateory.js +0 -28
  579. package/dist/useCases/CreateCourtesy.js +0 -28
  580. package/dist/useCases/CreateDefaultScenes.js +0 -28
  581. package/dist/useCases/CreateDimmer.js +0 -28
  582. package/dist/useCases/CreateDiscoveredDevice.js +0 -28
  583. package/dist/useCases/CreateDiscoveredDeviceAssociation.js +0 -28
  584. package/dist/useCases/CreateDiscoveredDeviceAssociationMap.js +0 -28
  585. package/dist/useCases/CreateImageUploadEndpoint.js +0 -28
  586. package/dist/useCases/CreateIssue.js +0 -28
  587. package/dist/useCases/CreateLock.js +0 -28
  588. package/dist/useCases/CreateMediaSource.js +0 -28
  589. package/dist/useCases/CreateOrganization.js +0 -28
  590. package/dist/useCases/CreatePolicy.js +0 -28
  591. package/dist/useCases/CreateProperty.js +0 -28
  592. package/dist/useCases/CreateReservation.js +0 -28
  593. package/dist/useCases/CreateRoom.js +0 -28
  594. package/dist/useCases/CreateRoomInSpace.js +0 -28
  595. package/dist/useCases/CreateScene.js +0 -28
  596. package/dist/useCases/CreateSpace.js +0 -28
  597. package/dist/useCases/CreateSwitch.js +0 -28
  598. package/dist/useCases/CreateThermostat.js +0 -28
  599. package/dist/useCases/CreateTicket.js +0 -28
  600. package/dist/useCases/CreateTicketMessage.js +0 -28
  601. package/dist/useCases/CreateTimeSheet.js +0 -28
  602. package/dist/useCases/CreateTimeSheetTimeEntry.js +0 -28
  603. package/dist/useCases/CreateUser.js +0 -28
  604. package/dist/useCases/CreateUserMobileKey.js +0 -28
  605. package/dist/useCases/CreateVendor.js +0 -28
  606. package/dist/useCases/CreateWindowCovering.js +0 -28
  607. package/dist/useCases/DeleteAlarm.js +0 -28
  608. package/dist/useCases/DeleteAnnouncement.js +0 -28
  609. package/dist/useCases/DeleteCamera.js +0 -28
  610. package/dist/useCases/DeleteCategory.js +0 -28
  611. package/dist/useCases/DeleteCourtesy.js +0 -28
  612. package/dist/useCases/DeleteDimmer.js +0 -28
  613. package/dist/useCases/DeleteDiscoveredDevice.js +0 -28
  614. package/dist/useCases/DeleteIssue.js +0 -28
  615. package/dist/useCases/DeleteLock.js +0 -28
  616. package/dist/useCases/DeleteMediaFile.js +0 -28
  617. package/dist/useCases/DeleteMediaSource.js +0 -28
  618. package/dist/useCases/DeletePolicy.js +0 -28
  619. package/dist/useCases/DeleteReservation.js +0 -28
  620. package/dist/useCases/DeleteRoom.js +0 -28
  621. package/dist/useCases/DeleteSpace.js +0 -28
  622. package/dist/useCases/DeleteSwitch.js +0 -28
  623. package/dist/useCases/DeleteThermostat.js +0 -28
  624. package/dist/useCases/DeleteTicket.js +0 -28
  625. package/dist/useCases/DeleteTimeSheet.js +0 -28
  626. package/dist/useCases/DeleteTimeSheetTimeEntry.js +0 -28
  627. package/dist/useCases/DeleteUser.js +0 -28
  628. package/dist/useCases/DeleteUserCredential.js +0 -28
  629. package/dist/useCases/DeleteVendor.js +0 -28
  630. package/dist/useCases/DeleteWindowCovering.js +0 -28
  631. package/dist/useCases/DescribeAlarm.js +0 -28
  632. package/dist/useCases/DescribeAlarmConfig.js +0 -28
  633. package/dist/useCases/DescribeAnnouncement.js +0 -28
  634. package/dist/useCases/DescribeCamera.js +0 -28
  635. package/dist/useCases/DescribeCategory.js +0 -28
  636. package/dist/useCases/DescribeCourtesy.js +0 -28
  637. package/dist/useCases/DescribeDimmer.js +0 -28
  638. package/dist/useCases/DescribeDiscoveredDevice.js +0 -28
  639. package/dist/useCases/DescribeIssue.js +0 -28
  640. package/dist/useCases/DescribeLock.js +0 -28
  641. package/dist/useCases/DescribeLockCredential.js +0 -28
  642. package/dist/useCases/DescribeMediaSource.js +0 -28
  643. package/dist/useCases/DescribeMyAuth.js +0 -28
  644. package/dist/useCases/DescribeMyMobileKeyApp.js +0 -28
  645. package/dist/useCases/DescribeMyOrganization.js +0 -28
  646. package/dist/useCases/DescribeMyPasskeyRegistrations.js +0 -28
  647. package/dist/useCases/DescribeOrganization.js +0 -28
  648. package/dist/useCases/DescribePolicy.js +0 -28
  649. package/dist/useCases/DescribeProduct.js +0 -28
  650. package/dist/useCases/DescribeProperty.js +0 -28
  651. package/dist/useCases/DescribeReservation.js +0 -28
  652. package/dist/useCases/DescribeReservationEarlyCheckInProducts.js +0 -28
  653. package/dist/useCases/DescribeReservationLateCheckOutProducts.js +0 -28
  654. package/dist/useCases/DescribeReservationPetProducts.js +0 -28
  655. package/dist/useCases/DescribeReservationPromos.js +0 -28
  656. package/dist/useCases/DescribeReservationRoomUpgrades.js +0 -28
  657. package/dist/useCases/DescribeRoom.js +0 -28
  658. package/dist/useCases/DescribeSOS.js +0 -28
  659. package/dist/useCases/DescribeSelf.js +0 -28
  660. package/dist/useCases/DescribeSpace.js +0 -28
  661. package/dist/useCases/DescribeSwitch.js +0 -28
  662. package/dist/useCases/DescribeThermostat.js +0 -28
  663. package/dist/useCases/DescribeTicket.js +0 -28
  664. package/dist/useCases/DescribeTicketStats.js +0 -28
  665. package/dist/useCases/DescribeTimeSheet.js +0 -28
  666. package/dist/useCases/DescribeTimeSheetStats.js +0 -28
  667. package/dist/useCases/DescribeUser.js +0 -28
  668. package/dist/useCases/DescribeVendor.js +0 -28
  669. package/dist/useCases/DescribeWindowCovering.js +0 -28
  670. package/dist/useCases/DiscoverReservations.js +0 -28
  671. package/dist/useCases/EmailUserAccountSetup.js +0 -28
  672. package/dist/useCases/FinishRegisterPasskey.js +0 -28
  673. package/dist/useCases/ListAlarms.js +0 -28
  674. package/dist/useCases/ListAnnouncements.js +0 -28
  675. package/dist/useCases/ListCameras.js +0 -28
  676. package/dist/useCases/ListCategories.js +0 -28
  677. package/dist/useCases/ListCourtesy.js +0 -28
  678. package/dist/useCases/ListDimmers.js +0 -28
  679. package/dist/useCases/ListDiscoveredDevices.js +0 -28
  680. package/dist/useCases/ListIssues.js +0 -28
  681. package/dist/useCases/ListLocks.js +0 -28
  682. package/dist/useCases/ListMediaSources.js +0 -28
  683. package/dist/useCases/ListMyOrders.js +0 -28
  684. package/dist/useCases/ListMyProperties.js +0 -28
  685. package/dist/useCases/ListMyReservations.js +0 -28
  686. package/dist/useCases/ListMySpaces.js +0 -28
  687. package/dist/useCases/ListMyTickets.js +0 -28
  688. package/dist/useCases/ListMyTimeSheets.js +0 -28
  689. package/dist/useCases/ListOrders.js +0 -28
  690. package/dist/useCases/ListOrganizations.js +0 -28
  691. package/dist/useCases/ListPolicies.js +0 -28
  692. package/dist/useCases/ListProducts.js +0 -28
  693. package/dist/useCases/ListProperties.js +0 -28
  694. package/dist/useCases/ListReservations.js +0 -28
  695. package/dist/useCases/ListRooms.js +0 -28
  696. package/dist/useCases/ListRoomsInSpace.js +0 -28
  697. package/dist/useCases/ListScenes.js +0 -28
  698. package/dist/useCases/ListSpaces.js +0 -28
  699. package/dist/useCases/ListSwitches.js +0 -28
  700. package/dist/useCases/ListTeam.js +0 -28
  701. package/dist/useCases/ListThermostats.js +0 -28
  702. package/dist/useCases/ListTickets.js +0 -28
  703. package/dist/useCases/ListTimeSheets.js +0 -28
  704. package/dist/useCases/ListUserMobileKeys.js +0 -28
  705. package/dist/useCases/ListUserOrders.js +0 -28
  706. package/dist/useCases/ListUserReservations.js +0 -28
  707. package/dist/useCases/ListUserSpaces.js +0 -28
  708. package/dist/useCases/ListUsers.js +0 -28
  709. package/dist/useCases/ListVendors.js +0 -28
  710. package/dist/useCases/ListWindowCoverings.js +0 -28
  711. package/dist/useCases/LoginFinish.js +0 -28
  712. package/dist/useCases/LoginStart.js +0 -28
  713. package/dist/useCases/LogoutSelf.js +0 -28
  714. package/dist/useCases/LogoutUser.js +0 -28
  715. package/dist/useCases/MatchUserIdentification.js +0 -28
  716. package/dist/useCases/OCRDocument.js +0 -28
  717. package/dist/useCases/PurchaseReservationEarlyCheckInProducts.js +0 -28
  718. package/dist/useCases/PurchaseReservationLateCheckOutProducts.js +0 -28
  719. package/dist/useCases/PurchaseReservationPetProducts.js +0 -28
  720. package/dist/useCases/PurchaseReservationPromos.js +0 -28
  721. package/dist/useCases/PurchaseReservationRoomUpgrades.js +0 -28
  722. package/dist/useCases/RefreshToken.js +0 -28
  723. package/dist/useCases/RequestLoginToken.js +0 -28
  724. package/dist/useCases/SendCheckInSMS.js +0 -28
  725. package/dist/useCases/SendCheckOutSMS.js +0 -28
  726. package/dist/useCases/SendPreArrivalEmail.js +0 -28
  727. package/dist/useCases/SendPreArrivalSMS.js +0 -28
  728. package/dist/useCases/SendRoomControlSMS.js +0 -28
  729. package/dist/useCases/SendVerificationCode.js +0 -28
  730. package/dist/useCases/SetAlarm.js +0 -28
  731. package/dist/useCases/SetCamera.js +0 -28
  732. package/dist/useCases/SetCourtesy.js +0 -28
  733. package/dist/useCases/SetDimmer.js +0 -28
  734. package/dist/useCases/SetLock.js +0 -28
  735. package/dist/useCases/SetMediaSource.js +0 -28
  736. package/dist/useCases/SetRoomScene.js +0 -28
  737. package/dist/useCases/SetScene.js +0 -28
  738. package/dist/useCases/SetSpaceScene.js +0 -28
  739. package/dist/useCases/SetSwitch.js +0 -28
  740. package/dist/useCases/SetThermostat.js +0 -28
  741. package/dist/useCases/SetWindowCovering.js +0 -28
  742. package/dist/useCases/StartRegisterPasskey.js +0 -28
  743. package/dist/useCases/StartSOS.js +0 -28
  744. package/dist/useCases/StopSOS.js +0 -28
  745. package/dist/useCases/TipUser.js +0 -28
  746. package/dist/useCases/UpdateAlarm.js +0 -28
  747. package/dist/useCases/UpdateAnnouncement.js +0 -28
  748. package/dist/useCases/UpdateCamera.js +0 -28
  749. package/dist/useCases/UpdateCategory.js +0 -28
  750. package/dist/useCases/UpdateCourtesy.js +0 -28
  751. package/dist/useCases/UpdateDimmer.js +0 -28
  752. package/dist/useCases/UpdateDiscoveredDevice.js +0 -28
  753. package/dist/useCases/UpdateIssue.js +0 -28
  754. package/dist/useCases/UpdateLock.js +0 -28
  755. package/dist/useCases/UpdateMediaSource.js +0 -28
  756. package/dist/useCases/UpdateMessageReadStatus.js +0 -28
  757. package/dist/useCases/UpdateOrganization.js +0 -28
  758. package/dist/useCases/UpdatePolicy.js +0 -28
  759. package/dist/useCases/UpdateProperty.js +0 -28
  760. package/dist/useCases/UpdatePropertySettings.js +0 -28
  761. package/dist/useCases/UpdateReservation.js +0 -28
  762. package/dist/useCases/UpdateReservationExpectedArrivalTime.js +0 -28
  763. package/dist/useCases/UpdateRoom.js +0 -28
  764. package/dist/useCases/UpdateSelf.js +0 -28
  765. package/dist/useCases/UpdateSpace.js +0 -28
  766. package/dist/useCases/UpdateSwitch.js +0 -28
  767. package/dist/useCases/UpdateThermostat.js +0 -28
  768. package/dist/useCases/UpdateTicket.js +0 -28
  769. package/dist/useCases/UpdateTicketStatus.js +0 -28
  770. package/dist/useCases/UpdateTimeSheet.js +0 -28
  771. package/dist/useCases/UpdateTimeSheetTimeEntry.js +0 -28
  772. package/dist/useCases/UpdateUser.js +0 -28
  773. package/dist/useCases/UpdateVendor.js +0 -28
  774. package/dist/useCases/UpdateWindowCovering.js +0 -28
  775. package/dist/useCases/UploadImage.js +0 -28
  776. package/dist/useCases/UpsertDiscoveredDevice.js +0 -28
@@ -1,985 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropNames = Object.getOwnPropertyNames;
3
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
4
- var __commonJS = (cb, mod) => function __require() {
5
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
6
- };
7
-
8
- // src/defs/amqpExchanges.js
9
- var require_amqpExchanges = __commonJS({
10
- "src/defs/amqpExchanges.js"(exports, module) {
11
- var exchanges = {
12
- // routes commands based on `command-name` header and in many cases `property-id` header
13
- Commands: {
14
- name: "kohost.commands",
15
- type: "headers",
16
- options: {
17
- durable: true
18
- }
19
- },
20
- CommandResponses: {
21
- name: "kohost.commandResponses",
22
- type: "topic",
23
- options: {
24
- durable: true
25
- }
26
- },
27
- // routes events based on routing keys
28
- DriverEvents: {
29
- name: "kohost.events.drivers",
30
- type: "topic",
31
- options: {
32
- durable: true
33
- }
34
- },
35
- AppEvents: {
36
- name: "kohost.events.app",
37
- type: "topic",
38
- options: {
39
- durable: true
40
- }
41
- },
42
- Direct: {
43
- name: "kohost.direct",
44
- type: "direct",
45
- options: {
46
- durable: true
47
- }
48
- },
49
- // dead letter exchange
50
- dlx: {
51
- name: "kohost.dlx",
52
- type: "direct"
53
- }
54
- };
55
- module.exports = exchanges;
56
- }
57
- });
58
-
59
- // src/Commands/Command.js
60
- var require_Command = __commonJS({
61
- "src/Commands/Command.js"(exports, module) {
62
- var exchanges = require_amqpExchanges();
63
- var Command = class {
64
- static {
65
- __name(this, "Command");
66
- }
67
- constructor(data) {
68
- this.data = {};
69
- if (!data) throw new Error("Command data is required");
70
- if (typeof data !== "object")
71
- throw new Error("Command data must be an object");
72
- for (const key in data) {
73
- this.data[key] = data[key];
74
- }
75
- }
76
- get name() {
77
- throw new Error("Command name is required");
78
- }
79
- static get type() {
80
- return "Command";
81
- }
82
- static get exchange() {
83
- return exchanges.Commands.name;
84
- }
85
- build() {
86
- return { data: { ...this.data } };
87
- }
88
- };
89
- module.exports = Command;
90
- }
91
- });
92
-
93
- // src/Commands/SetScene.js
94
- var require_SetScene = __commonJS({
95
- "src/Commands/SetScene.js"(exports, module) {
96
- var Command = require_Command();
97
- var SetScene = class extends Command {
98
- static {
99
- __name(this, "SetScene");
100
- }
101
- constructor({ id, devices, ...rest }) {
102
- super({ id, devices, ...rest });
103
- }
104
- get name() {
105
- return "SetScene";
106
- }
107
- };
108
- module.exports = SetScene;
109
- }
110
- });
111
-
112
- // src/Commands/SetAlarm.js
113
- var require_SetAlarm = __commonJS({
114
- "src/Commands/SetAlarm.js"(exports, module) {
115
- var Command = require_Command();
116
- var SetAlarm = class extends Command {
117
- static {
118
- __name(this, "SetAlarm");
119
- }
120
- constructor({ id, zones, areas, code, ...rest }) {
121
- super({ id, zones, areas, code, ...rest });
122
- }
123
- get name() {
124
- return "SetAlarm";
125
- }
126
- };
127
- module.exports = SetAlarm;
128
- }
129
- });
130
-
131
- // src/Commands/SetDimmer.js
132
- var require_SetDimmer = __commonJS({
133
- "src/Commands/SetDimmer.js"(exports, module) {
134
- var Command = require_Command();
135
- var SetDimmer = class extends Command {
136
- static {
137
- __name(this, "SetDimmer");
138
- }
139
- constructor({ id, level, ...rest }) {
140
- super({ id, level, ...rest });
141
- }
142
- get name() {
143
- return "SetDimmer";
144
- }
145
- };
146
- module.exports = SetDimmer;
147
- }
148
- });
149
-
150
- // src/Commands/SetSwitch.js
151
- var require_SetSwitch = __commonJS({
152
- "src/Commands/SetSwitch.js"(exports, module) {
153
- var Command = require_Command();
154
- var SetSwitch = class extends Command {
155
- static {
156
- __name(this, "SetSwitch");
157
- }
158
- constructor({ id, state, ...rest }) {
159
- super({ id, state, ...rest });
160
- }
161
- get name() {
162
- return "SetSwitch";
163
- }
164
- };
165
- module.exports = SetSwitch;
166
- }
167
- });
168
-
169
- // src/Commands/SetThermostat.js
170
- var require_SetThermostat = __commonJS({
171
- "src/Commands/SetThermostat.js"(exports, module) {
172
- var Command = require_Command();
173
- var SetThermostat = class extends Command {
174
- static {
175
- __name(this, "SetThermostat");
176
- }
177
- constructor({ id, setpoints, hvacMode, fanMode, ...rest }) {
178
- super({ id, setpoints, hvacMode, fanMode, ...rest });
179
- }
180
- get name() {
181
- return "SetThermostat";
182
- }
183
- };
184
- module.exports = SetThermostat;
185
- }
186
- });
187
-
188
- // src/Commands/SetLock.js
189
- var require_SetLock = __commonJS({
190
- "src/Commands/SetLock.js"(exports, module) {
191
- var Command = require_Command();
192
- var SetLock = class extends Command {
193
- static {
194
- __name(this, "SetLock");
195
- }
196
- constructor({ id, state, ...rest }) {
197
- super({ id, state, ...rest });
198
- }
199
- get name() {
200
- return "SetLock";
201
- }
202
- };
203
- module.exports = SetLock;
204
- }
205
- });
206
-
207
- // src/Commands/SetWindowCovering.js
208
- var require_SetWindowCovering = __commonJS({
209
- "src/Commands/SetWindowCovering.js"(exports, module) {
210
- var Command = require_Command();
211
- var SetWindowCovering = class extends Command {
212
- static {
213
- __name(this, "SetWindowCovering");
214
- }
215
- constructor({ id, position, ...rest }) {
216
- super({ id, position, ...rest });
217
- }
218
- get name() {
219
- return "SetWindowCovering";
220
- }
221
- };
222
- module.exports = SetWindowCovering;
223
- }
224
- });
225
-
226
- // src/Commands/SetCourtesy.js
227
- var require_SetCourtesy = __commonJS({
228
- "src/Commands/SetCourtesy.js"(exports, module) {
229
- var Command = require_Command();
230
- var SetCourtesy = class extends Command {
231
- static {
232
- __name(this, "SetCourtesy");
233
- }
234
- constructor({ id, state, ...rest }) {
235
- super({ id, state, ...rest });
236
- }
237
- get name() {
238
- return "SetCourtesy";
239
- }
240
- };
241
- module.exports = SetCourtesy;
242
- }
243
- });
244
-
245
- // src/Commands/SetMedia.js
246
- var require_SetMedia = __commonJS({
247
- "src/Commands/SetMedia.js"(exports, module) {
248
- var Command = require_Command();
249
- var SetMedia = class extends Command {
250
- static {
251
- __name(this, "SetMedia");
252
- }
253
- constructor({ id, command, ...rest }) {
254
- super({ id, command, ...rest });
255
- }
256
- get name() {
257
- return "SetMedia";
258
- }
259
- };
260
- module.exports = SetMedia;
261
- }
262
- });
263
-
264
- // src/Commands/GetUsers.js
265
- var require_GetUsers = __commonJS({
266
- "src/Commands/GetUsers.js"(exports, module) {
267
- var Command = require_Command();
268
- var GetUsers = class extends Command {
269
- static {
270
- __name(this, "GetUsers");
271
- }
272
- constructor({ id, ...rest }) {
273
- super({ id, ...rest });
274
- }
275
- get name() {
276
- return "GetUsers";
277
- }
278
- };
279
- module.exports = GetUsers;
280
- }
281
- });
282
-
283
- // src/Errors/AppError.js
284
- var require_AppError = __commonJS({
285
- "src/Errors/AppError.js"(exports, module) {
286
- module.exports = class AppError extends Error {
287
- static {
288
- __name(this, "AppError");
289
- }
290
- constructor(message = "Internal Server Error", options) {
291
- super(message, options);
292
- this.type = this.constructor.name;
293
- this.statusCode = 500;
294
- this.name = "AppError";
295
- Object.setPrototypeOf(this, AppError.prototype);
296
- }
297
- };
298
- }
299
- });
300
-
301
- // src/Errors/RequestError.js
302
- var require_RequestError = __commonJS({
303
- "src/Errors/RequestError.js"(exports, module) {
304
- var AppError = require_AppError();
305
- module.exports = class RequestError extends AppError {
306
- static {
307
- __name(this, "RequestError");
308
- }
309
- constructor(message = "Bad Request", options = {}) {
310
- super(message, options);
311
- this.statusCode = 400;
312
- this.name = "RequestError";
313
- Object.setPrototypeOf(this, RequestError.prototype);
314
- }
315
- };
316
- }
317
- });
318
-
319
- // src/Commands/OCRDocument.js
320
- var require_OCRDocument = __commonJS({
321
- "src/Commands/OCRDocument.js"(exports, module) {
322
- var Command = require_Command();
323
- var RequestError = require_RequestError();
324
- var OCRDocument = class extends Command {
325
- static {
326
- __name(this, "OCRDocument");
327
- }
328
- constructor({ type, image, ...rest }) {
329
- if (!image) throw new RequestError("document image is required");
330
- super({ type, image, ...rest });
331
- }
332
- get name() {
333
- return "OCRDocument";
334
- }
335
- };
336
- module.exports = OCRDocument;
337
- }
338
- });
339
-
340
- // src/Commands/CheckInReservation.js
341
- var require_CheckInReservation = __commonJS({
342
- "src/Commands/CheckInReservation.js"(exports, module) {
343
- var Command = require_Command();
344
- var RequestError = require_RequestError();
345
- var CheckInReservation = class extends Command {
346
- static {
347
- __name(this, "CheckInReservation");
348
- }
349
- constructor({ id, ...rest }) {
350
- if (!id) throw new RequestError("reservation id is required");
351
- super({ id, ...rest });
352
- }
353
- get name() {
354
- return "CheckInReservation";
355
- }
356
- };
357
- module.exports = CheckInReservation;
358
- }
359
- });
360
-
361
- // src/Commands/CheckOutReservation.js
362
- var require_CheckOutReservation = __commonJS({
363
- "src/Commands/CheckOutReservation.js"(exports, module) {
364
- var Command = require_Command();
365
- var RequestError = require_RequestError();
366
- var CheckOutReservation = class extends Command {
367
- static {
368
- __name(this, "CheckOutReservation");
369
- }
370
- constructor({ reservationId, userId, ...rest }) {
371
- if (!reservationId) throw new RequestError("reservation id is required");
372
- if (!userId) throw new RequestError("user id is required");
373
- super({ reservationId, userId, ...rest });
374
- }
375
- get name() {
376
- return "CheckOutReservation";
377
- }
378
- };
379
- module.exports = CheckOutReservation;
380
- }
381
- });
382
-
383
- // src/Commands/SendEmail.js
384
- var require_SendEmail = __commonJS({
385
- "src/Commands/SendEmail.js"(exports, module) {
386
- var Command = require_Command();
387
- var RequestError = require_RequestError();
388
- var SendEmail = class extends Command {
389
- static {
390
- __name(this, "SendEmail");
391
- }
392
- constructor({ text, html, to, from, subject, ...rest }) {
393
- if (!to) throw new RequestError("email to is required");
394
- if (!from) throw new RequestError("email from is required");
395
- if (!subject) throw new RequestError("email subject is required");
396
- if (!text && !html)
397
- throw new RequestError("email text or html is required");
398
- super({ text, html, to, from, subject, ...rest });
399
- }
400
- get name() {
401
- return "SendEmail";
402
- }
403
- };
404
- module.exports = SendEmail;
405
- }
406
- });
407
-
408
- // src/Commands/SendSMS.js
409
- var require_SendSMS = __commonJS({
410
- "src/Commands/SendSMS.js"(exports, module) {
411
- var Command = require_Command();
412
- var RequestError = require_RequestError();
413
- var SendSMS = class extends Command {
414
- static {
415
- __name(this, "SendSMS");
416
- }
417
- constructor({ id, body, to, from, media, ...rest }) {
418
- if (!body && !media)
419
- throw new RequestError("sms body or media is required");
420
- if (!to) throw new RequestError("sms to is required");
421
- if (!from) throw new RequestError("sms from is required");
422
- super({ id, body, to, from, media, ...rest });
423
- }
424
- get name() {
425
- return "SendSMS";
426
- }
427
- };
428
- module.exports = SendSMS;
429
- }
430
- });
431
-
432
- // src/Errors/AuthenticationError.js
433
- var require_AuthenticationError = __commonJS({
434
- "src/Errors/AuthenticationError.js"(exports, module) {
435
- var AppError = require_AppError();
436
- module.exports = class AuthenticationError extends AppError {
437
- static {
438
- __name(this, "AuthenticationError");
439
- }
440
- constructor(message = "Authentication Error", options = {}) {
441
- super(message, options);
442
- this.statusCode = 401;
443
- this.name = "AuthenticationError";
444
- Object.setPrototypeOf(this, AuthenticationError.prototype);
445
- }
446
- };
447
- }
448
- });
449
-
450
- // src/Errors/AuthorizationError.js
451
- var require_AuthorizationError = __commonJS({
452
- "src/Errors/AuthorizationError.js"(exports, module) {
453
- var AppError = require_AppError();
454
- module.exports = class AuthorizationError extends AppError {
455
- static {
456
- __name(this, "AuthorizationError");
457
- }
458
- constructor(message = "Authorization Error", options = {}) {
459
- super(message, options);
460
- this.statusCode = 403;
461
- this.name = "AuthorizationError";
462
- Object.setPrototypeOf(this, AuthorizationError.prototype);
463
- }
464
- };
465
- }
466
- });
467
-
468
- // src/Errors/ConflictError.js
469
- var require_ConflictError = __commonJS({
470
- "src/Errors/ConflictError.js"(exports, module) {
471
- var AppError = require_AppError();
472
- module.exports = class ConflictError extends AppError {
473
- static {
474
- __name(this, "ConflictError");
475
- }
476
- constructor(message = "Bad Request", options = {}) {
477
- super(message, options);
478
- this.statusCode = 409;
479
- this.name = "ConflictError";
480
- Object.setPrototypeOf(this, ConflictError.prototype);
481
- }
482
- };
483
- }
484
- });
485
-
486
- // src/Errors/DeviceCommError.js
487
- var require_DeviceCommError = __commonJS({
488
- "src/Errors/DeviceCommError.js"(exports, module) {
489
- var AppError = require_AppError();
490
- module.exports = class DeviceCommError extends AppError {
491
- static {
492
- __name(this, "DeviceCommError");
493
- }
494
- constructor(message = "Device Communication Error", options = {}) {
495
- super(message, options);
496
- this.statusCode = 503;
497
- this.name = "DeviceCommError";
498
- Object.setPrototypeOf(this, DeviceCommError.prototype);
499
- }
500
- };
501
- }
502
- });
503
-
504
- // src/Errors/LoginError.js
505
- var require_LoginError = __commonJS({
506
- "src/Errors/LoginError.js"(exports, module) {
507
- var AppError = require_AppError();
508
- module.exports = class LoginError extends AppError {
509
- static {
510
- __name(this, "LoginError");
511
- }
512
- constructor(message = "Invalid Login information provided", options = {}) {
513
- super(message, options);
514
- this.statusCode = 401;
515
- this.name = "LoginError";
516
- Object.setPrototypeOf(this, LoginError.prototype);
517
- }
518
- };
519
- }
520
- });
521
-
522
- // src/Errors/NotFoundError.js
523
- var require_NotFoundError = __commonJS({
524
- "src/Errors/NotFoundError.js"(exports, module) {
525
- var AppError = require_AppError();
526
- module.exports = class NotFoundError extends AppError {
527
- static {
528
- __name(this, "NotFoundError");
529
- }
530
- constructor(message = "Resource Not Found", options = {}) {
531
- super(message, options);
532
- this.statusCode = 404;
533
- this.name = "NotFoundError";
534
- Object.setPrototypeOf(this, NotFoundError.prototype);
535
- }
536
- };
537
- }
538
- });
539
-
540
- // src/Errors/SystemCommError.js
541
- var require_SystemCommError = __commonJS({
542
- "src/Errors/SystemCommError.js"(exports, module) {
543
- var AppError = require_AppError();
544
- module.exports = class SystemCommError extends AppError {
545
- static {
546
- __name(this, "SystemCommError");
547
- }
548
- constructor(message = "System Communication Error", options = {}) {
549
- super(message, options);
550
- this.statusCode = 503;
551
- this.name = "SystemCommError";
552
- Object.setPrototypeOf(this, SystemCommError.prototype);
553
- }
554
- };
555
- }
556
- });
557
-
558
- // src/Errors/TokenExpiredError.js
559
- var require_TokenExpiredError = __commonJS({
560
- "src/Errors/TokenExpiredError.js"(exports, module) {
561
- var AppError = require_AppError();
562
- module.exports = class TokenExpiredError extends AppError {
563
- static {
564
- __name(this, "TokenExpiredError");
565
- }
566
- constructor(message = "Token Expired", options = {}) {
567
- super(message, options);
568
- this.statusCode = 401;
569
- this.name = "TokenExpiredError";
570
- Object.setPrototypeOf(this, TokenExpiredError.prototype);
571
- }
572
- };
573
- }
574
- });
575
-
576
- // src/Errors/UnprocessableRequestError.js
577
- var require_UnprocessableRequestError = __commonJS({
578
- "src/Errors/UnprocessableRequestError.js"(exports, module) {
579
- var AppError = require_AppError();
580
- module.exports = class UnprocessableRequestError extends AppError {
581
- static {
582
- __name(this, "UnprocessableRequestError");
583
- }
584
- constructor(message = "Unprocessable Request Error", options = {}) {
585
- super(message, options);
586
- this.statusCode = 422;
587
- this.name = "UnprocessableRequestError";
588
- Object.setPrototypeOf(this, UnprocessableRequestError.prototype);
589
- }
590
- };
591
- }
592
- });
593
-
594
- // src/Errors/ValidationError.js
595
- var require_ValidationError = __commonJS({
596
- "src/Errors/ValidationError.js"(exports, module) {
597
- var AppError = require_AppError();
598
- module.exports = class ValidationError extends AppError {
599
- static {
600
- __name(this, "ValidationError");
601
- }
602
- constructor(message = "Validation Error", options = {}) {
603
- super(message, options);
604
- this.statusCode = 400;
605
- this.name = "ValidationError";
606
- Object.setPrototypeOf(this, ValidationError.prototype);
607
- }
608
- };
609
- }
610
- });
611
-
612
- // src/Errors/index.js
613
- var require_Errors = __commonJS({
614
- "src/Errors/index.js"(exports, module) {
615
- var Errors = {
616
- AppError: require_AppError(),
617
- AuthenticationError: require_AuthenticationError(),
618
- AuthorizationError: require_AuthorizationError(),
619
- ConflictError: require_ConflictError(),
620
- DeviceCommError: require_DeviceCommError(),
621
- LoginError: require_LoginError(),
622
- NotFoundError: require_NotFoundError(),
623
- RequestError: require_RequestError(),
624
- SystemCommError: require_SystemCommError(),
625
- TokenExpiredError: require_TokenExpiredError(),
626
- UnprocessableRequestError: require_UnprocessableRequestError(),
627
- ValidationError: require_ValidationError()
628
- };
629
- module.exports = Errors;
630
- }
631
- });
632
-
633
- // src/Commands/GetReservations.js
634
- var require_GetReservations = __commonJS({
635
- "src/Commands/GetReservations.js"(exports, module) {
636
- var { RequestError } = require_Errors();
637
- var Command = require_Command();
638
- var GetReservations = class extends Command {
639
- static {
640
- __name(this, "GetReservations");
641
- }
642
- constructor(options) {
643
- if (!options) throw new RequestError("options are required");
644
- const { id, startDate, endDate, status, ...rest } = options;
645
- super({ id, startDate, endDate, status, ...rest });
646
- }
647
- get name() {
648
- return "GetReservations";
649
- }
650
- };
651
- module.exports = GetReservations;
652
- }
653
- });
654
-
655
- // src/Commands/GetReservationSpaceCategoryAvailabilities.js
656
- var require_GetReservationSpaceCategoryAvailabilities = __commonJS({
657
- "src/Commands/GetReservationSpaceCategoryAvailabilities.js"(exports, module) {
658
- var { RequestError } = require_Errors();
659
- var Command = require_Command();
660
- var GetReservationSpaceCategoryAvailabilities = class extends Command {
661
- static {
662
- __name(this, "GetReservationSpaceCategoryAvailabilities");
663
- }
664
- constructor(options) {
665
- if (!options) throw new RequestError("options are required");
666
- const { id, ...rest } = options;
667
- super({ id, ...rest });
668
- }
669
- get name() {
670
- return "GetReservationSpaceCategoryAvailabilities";
671
- }
672
- };
673
- module.exports = GetReservationSpaceCategoryAvailabilities;
674
- }
675
- });
676
-
677
- // src/Commands/GetRooms.js
678
- var require_GetRooms = __commonJS({
679
- "src/Commands/GetRooms.js"(exports, module) {
680
- var Command = require_Command();
681
- var GetRooms = class extends Command {
682
- static {
683
- __name(this, "GetRooms");
684
- }
685
- constructor({
686
- id,
687
- types,
688
- categories,
689
- startDate,
690
- endDate,
691
- serviceStatus,
692
- housekeepingStatus,
693
- ...rest
694
- }) {
695
- super({
696
- id,
697
- types,
698
- categories,
699
- startDate,
700
- endDate,
701
- serviceStatus,
702
- housekeepingStatus,
703
- ...rest
704
- });
705
- }
706
- get name() {
707
- return "GetRooms";
708
- }
709
- };
710
- module.exports = GetRooms;
711
- }
712
- });
713
-
714
- // src/Commands/GetCategories.js
715
- var require_GetCategories = __commonJS({
716
- "src/Commands/GetCategories.js"(exports, module) {
717
- var Command = require_Command();
718
- var GetCategories = class extends Command {
719
- static {
720
- __name(this, "GetCategories");
721
- }
722
- constructor({ id, ...rest }) {
723
- super({ id, ...rest });
724
- }
725
- get name() {
726
- return "GetCategories";
727
- }
728
- };
729
- module.exports = GetCategories;
730
- }
731
- });
732
-
733
- // src/Commands/CreateShortLink.js
734
- var require_CreateShortLink = __commonJS({
735
- "src/Commands/CreateShortLink.js"(exports, module) {
736
- var Command = require_Command();
737
- var RequestError = require_RequestError();
738
- var CreateShortLink = class extends Command {
739
- static {
740
- __name(this, "CreateShortLink");
741
- }
742
- constructor({ title, destination, ...rest }) {
743
- if (!title) throw new RequestError("title is required");
744
- if (!destination) throw new RequestError("destination to is required");
745
- super({ title, destination, ...rest });
746
- }
747
- get name() {
748
- return "CreateShortLink";
749
- }
750
- };
751
- module.exports = CreateShortLink;
752
- }
753
- });
754
-
755
- // src/Commands/UpdateReservation.js
756
- var require_UpdateReservation = __commonJS({
757
- "src/Commands/UpdateReservation.js"(exports, module) {
758
- var Command = require_Command();
759
- var RequestError = require_RequestError();
760
- var UpdateReservation = class extends Command {
761
- static {
762
- __name(this, "UpdateReservation");
763
- }
764
- constructor({ id, ...rest }) {
765
- if (!id) throw new RequestError("document type is required");
766
- super({ id, ...rest });
767
- }
768
- get name() {
769
- return "UpdateReservation";
770
- }
771
- };
772
- module.exports = UpdateReservation;
773
- }
774
- });
775
-
776
- // src/Commands/UpdateUser.js
777
- var require_UpdateUser = __commonJS({
778
- "src/Commands/UpdateUser.js"(exports, module) {
779
- var Command = require_Command();
780
- var RequestError = require_RequestError();
781
- var UpdateUser = class extends Command {
782
- static {
783
- __name(this, "UpdateUser");
784
- }
785
- constructor({
786
- id,
787
- email,
788
- phone,
789
- identification,
790
- address,
791
- note,
792
- nationality,
793
- file,
794
- payment,
795
- ...rest
796
- }) {
797
- if (!id) throw new RequestError("document type is required");
798
- super({
799
- id,
800
- email,
801
- phone,
802
- identification,
803
- address,
804
- note,
805
- nationality,
806
- file,
807
- payment,
808
- ...rest
809
- });
810
- }
811
- get name() {
812
- return "UpdateUser";
813
- }
814
- };
815
- module.exports = UpdateUser;
816
- }
817
- });
818
-
819
- // src/Commands/GetMobileKey.js
820
- var require_GetMobileKey = __commonJS({
821
- "src/Commands/GetMobileKey.js"(exports, module) {
822
- var Command = require_Command();
823
- var GetMobileKey = class extends Command {
824
- static {
825
- __name(this, "GetMobileKey");
826
- }
827
- constructor({
828
- id,
829
- phone,
830
- beginDateTime,
831
- endDateTime,
832
- keyToReplace,
833
- ...rest
834
- }) {
835
- super({ id, phone, beginDateTime, endDateTime, keyToReplace, ...rest });
836
- }
837
- get name() {
838
- return "GetMobileKey";
839
- }
840
- };
841
- module.exports = GetMobileKey;
842
- }
843
- });
844
-
845
- // src/Commands/CreateImageUploadEndpoint.js
846
- var require_CreateImageUploadEndpoint = __commonJS({
847
- "src/Commands/CreateImageUploadEndpoint.js"(exports, module) {
848
- var Command = require_Command();
849
- var CreateImageUploadEndpoint = class extends Command {
850
- static {
851
- __name(this, "CreateImageUploadEndpoint");
852
- }
853
- constructor({ id, expires, ...rest }) {
854
- super({ id, expires, ...rest });
855
- }
856
- get name() {
857
- return "CreateImageUploadEndpoint";
858
- }
859
- };
860
- module.exports = CreateImageUploadEndpoint;
861
- }
862
- });
863
-
864
- // src/Commands/UploadImage.js
865
- var require_UploadImage = __commonJS({
866
- "src/Commands/UploadImage.js"(exports, module) {
867
- var Command = require_Command();
868
- var UploadImage = class extends Command {
869
- static {
870
- __name(this, "UploadImage");
871
- }
872
- constructor({ id, url, file, ...rest }) {
873
- super({ id, url, file, ...rest });
874
- }
875
- get name() {
876
- return "UploadImage";
877
- }
878
- };
879
- module.exports = UploadImage;
880
- }
881
- });
882
-
883
- // src/Commands/GetProducts.js
884
- var require_GetProducts = __commonJS({
885
- "src/Commands/GetProducts.js"(exports, module) {
886
- var Command = require_Command();
887
- var GetProducts = class extends Command {
888
- static {
889
- __name(this, "GetProducts");
890
- }
891
- constructor({ id, externalSystemId, ...rest }) {
892
- super({ id, externalSystemId, ...rest });
893
- }
894
- get name() {
895
- return "GetProducts";
896
- }
897
- };
898
- module.exports = GetProducts;
899
- }
900
- });
901
-
902
- // src/Commands/SellProducts.js
903
- var require_SellProducts = __commonJS({
904
- "src/Commands/SellProducts.js"(exports, module) {
905
- var Command = require_Command();
906
- var SellProducts = class extends Command {
907
- static {
908
- __name(this, "SellProducts");
909
- }
910
- constructor({ reservationId, userId, products, ...rest }) {
911
- super({ reservationId, userId, products, ...rest });
912
- }
913
- get name() {
914
- return "SellProducts";
915
- }
916
- };
917
- module.exports = SellProducts;
918
- }
919
- });
920
-
921
- // src/Commands/index.js
922
- var require_Commands = __commonJS({
923
- "src/Commands/index.js"(exports, module) {
924
- var Command = require_Command();
925
- var SetScene = require_SetScene();
926
- var SetAlarm = require_SetAlarm();
927
- var SetDimmer = require_SetDimmer();
928
- var SetSwitch = require_SetSwitch();
929
- var SetThermostat = require_SetThermostat();
930
- var SetLock = require_SetLock();
931
- var SetWindowCovering = require_SetWindowCovering();
932
- var SetCourtesy = require_SetCourtesy();
933
- var SetMedia = require_SetMedia();
934
- var GetUsers = require_GetUsers();
935
- var OCRDocument = require_OCRDocument();
936
- var CheckInReservation = require_CheckInReservation();
937
- var CheckOutReservation = require_CheckOutReservation();
938
- var SendEmail = require_SendEmail();
939
- var SendSMS = require_SendSMS();
940
- var GetReservations = require_GetReservations();
941
- var GetReservationSpaceCategoryAvailabilities = require_GetReservationSpaceCategoryAvailabilities();
942
- var GetRooms = require_GetRooms();
943
- var GetCategories = require_GetCategories();
944
- var CreateShortLink = require_CreateShortLink();
945
- var UpdateReservation = require_UpdateReservation();
946
- var UpdateUser = require_UpdateUser();
947
- var GetMobileKey = require_GetMobileKey();
948
- var CreateImageUploadEndpoint = require_CreateImageUploadEndpoint();
949
- var UploadImage = require_UploadImage();
950
- var GetProducts = require_GetProducts();
951
- var SellProducts = require_SellProducts();
952
- module.exports = {
953
- Command,
954
- SetScene,
955
- SetAlarm,
956
- SetDimmer,
957
- SetSwitch,
958
- SetThermostat,
959
- SetLock,
960
- SetWindowCovering,
961
- SetCourtesy,
962
- SetMedia,
963
- OCRDocument,
964
- GetUsers,
965
- CheckInReservation,
966
- CheckOutReservation,
967
- SendSMS,
968
- SendEmail,
969
- GetReservations,
970
- GetReservationSpaceCategoryAvailabilities,
971
- GetRooms,
972
- GetCategories,
973
- CreateShortLink,
974
- UpdateReservation,
975
- UpdateUser,
976
- GetMobileKey,
977
- CreateImageUploadEndpoint,
978
- UploadImage,
979
- GetProducts,
980
- SellProducts
981
- };
982
- }
983
- });
984
- export default require_Commands();
985
- //# sourceMappingURL=Commands.js.map