@fastybird/smart-panel-backend 0.1.0-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3502) hide show
  1. package/LICENSE.md +201 -0
  2. package/README.md +266 -0
  3. package/dist/app.constants.d.ts +10 -0
  4. package/dist/app.constants.js +15 -0
  5. package/dist/app.constants.js.map +1 -0
  6. package/dist/app.interfaces.d.ts +4 -0
  7. package/dist/app.interfaces.js +3 -0
  8. package/dist/app.interfaces.js.map +1 -0
  9. package/dist/app.module.d.ts +14 -0
  10. package/dist/app.module.js +428 -0
  11. package/dist/app.module.js.map +1 -0
  12. package/dist/cli.d.ts +1 -0
  13. package/dist/cli.js +48 -0
  14. package/dist/cli.js.map +1 -0
  15. package/dist/common/entities/base.entity.d.ts +5 -0
  16. package/dist/common/entities/base.entity.js +78 -0
  17. package/dist/common/entities/base.entity.js.map +1 -0
  18. package/dist/common/filters/bad-request-exception.filter.d.ts +5 -0
  19. package/dist/common/filters/bad-request-exception.filter.js +85 -0
  20. package/dist/common/filters/bad-request-exception.filter.js.map +1 -0
  21. package/dist/common/filters/global-error.filter.d.ts +5 -0
  22. package/dist/common/filters/global-error.filter.js +73 -0
  23. package/dist/common/filters/global-error.filter.js.map +1 -0
  24. package/dist/common/filters/internal-server-error-exception.filter.d.ts +5 -0
  25. package/dist/common/filters/internal-server-error-exception.filter.js +51 -0
  26. package/dist/common/filters/internal-server-error-exception.filter.js.map +1 -0
  27. package/dist/common/filters/not-found-exception.filter.d.ts +4 -0
  28. package/dist/common/filters/not-found-exception.filter.js +52 -0
  29. package/dist/common/filters/not-found-exception.filter.js.map +1 -0
  30. package/dist/common/filters/query-failed-exception.filter.d.ts +9 -0
  31. package/dist/common/filters/query-failed-exception.filter.js +74 -0
  32. package/dist/common/filters/query-failed-exception.filter.js.map +1 -0
  33. package/dist/common/filters/unprocessable-entity-exception.filter.d.ts +5 -0
  34. package/dist/common/filters/unprocessable-entity-exception.filter.js +52 -0
  35. package/dist/common/filters/unprocessable-entity-exception.filter.js.map +1 -0
  36. package/dist/common/logger/extension-logger.service.d.ts +19 -0
  37. package/dist/common/logger/extension-logger.service.js +103 -0
  38. package/dist/common/logger/extension-logger.service.js.map +1 -0
  39. package/dist/common/logger/index.d.ts +1 -0
  40. package/dist/common/logger/index.js +18 -0
  41. package/dist/common/logger/index.js.map +1 -0
  42. package/dist/common/services/app-instance-holder.service.d.ts +9 -0
  43. package/dist/common/services/app-instance-holder.service.js +39 -0
  44. package/dist/common/services/app-instance-holder.service.js.map +1 -0
  45. package/dist/common/utils/color.utils.d.ts +1 -0
  46. package/dist/common/utils/color.utils.js +46 -0
  47. package/dist/common/utils/color.utils.js.map +1 -0
  48. package/dist/common/utils/config.utils.d.ts +3 -0
  49. package/dist/common/utils/config.utils.js +30 -0
  50. package/dist/common/utils/config.utils.js.map +1 -0
  51. package/dist/common/utils/cooldown-manager.d.ts +8 -0
  52. package/dist/common/utils/cooldown-manager.js +29 -0
  53. package/dist/common/utils/cooldown-manager.js.map +1 -0
  54. package/dist/common/utils/http.utils.d.ts +17 -0
  55. package/dist/common/utils/http.utils.js +68 -0
  56. package/dist/common/utils/http.utils.js.map +1 -0
  57. package/dist/common/utils/semver.d.ts +3 -0
  58. package/dist/common/utils/semver.js +77 -0
  59. package/dist/common/utils/semver.js.map +1 -0
  60. package/dist/common/utils/transform.utils.d.ts +10 -0
  61. package/dist/common/utils/transform.utils.js +107 -0
  62. package/dist/common/utils/transform.utils.js.map +1 -0
  63. package/dist/common/validation/abstract-instance.validator.d.ts +5 -0
  64. package/dist/common/validation/abstract-instance.validator.js +28 -0
  65. package/dist/common/validation/abstract-instance.validator.js.map +1 -0
  66. package/dist/common/validation/validation-exception-factory.d.ts +6 -0
  67. package/dist/common/validation/validation-exception-factory.js +38 -0
  68. package/dist/common/validation/validation-exception-factory.js.map +1 -0
  69. package/dist/dataSource.d.ts +1 -0
  70. package/dist/dataSource.js +58 -0
  71. package/dist/dataSource.js.map +1 -0
  72. package/dist/index.d.ts +4 -0
  73. package/dist/index.js +12 -0
  74. package/dist/index.js.map +1 -0
  75. package/dist/main.d.ts +1 -0
  76. package/dist/main.js +113 -0
  77. package/dist/main.js.map +1 -0
  78. package/dist/migrations/1000000000000-InitialSetup.d.ts +6 -0
  79. package/dist/migrations/1000000000000-InitialSetup.js +418 -0
  80. package/dist/migrations/1000000000000-InitialSetup.js.map +1 -0
  81. package/dist/modules/api/api.constants.d.ts +4 -0
  82. package/dist/modules/api/api.constants.js +17 -0
  83. package/dist/modules/api/api.constants.js.map +1 -0
  84. package/dist/modules/api/api.exceptions.d.ts +12 -0
  85. package/dist/modules/api/api.exceptions.js +32 -0
  86. package/dist/modules/api/api.exceptions.js.map +1 -0
  87. package/dist/modules/api/api.module.d.ts +12 -0
  88. package/dist/modules/api/api.module.js +62 -0
  89. package/dist/modules/api/api.module.js.map +1 -0
  90. package/dist/modules/api/api.openapi.d.ts +3 -0
  91. package/dist/modules/api/api.openapi.js +24 -0
  92. package/dist/modules/api/api.openapi.js.map +1 -0
  93. package/dist/modules/api/decorators/raw-route.decorator.d.ts +2 -0
  94. package/dist/modules/api/decorators/raw-route.decorator.js +8 -0
  95. package/dist/modules/api/decorators/raw-route.decorator.js.map +1 -0
  96. package/dist/modules/api/interceptors/api-metrics.interceptor.d.ts +8 -0
  97. package/dist/modules/api/interceptors/api-metrics.interceptor.js +33 -0
  98. package/dist/modules/api/interceptors/api-metrics.interceptor.js.map +1 -0
  99. package/dist/modules/api/interceptors/location-replace.interceptor.d.ts +11 -0
  100. package/dist/modules/api/interceptors/location-replace.interceptor.js +84 -0
  101. package/dist/modules/api/interceptors/location-replace.interceptor.js.map +1 -0
  102. package/dist/modules/api/interceptors/open-api-response.interceptor.d.ts +8 -0
  103. package/dist/modules/api/interceptors/open-api-response.interceptor.js +82 -0
  104. package/dist/modules/api/interceptors/open-api-response.interceptor.js.map +1 -0
  105. package/dist/modules/api/interceptors/transform-response.interceptor.d.ts +8 -0
  106. package/dist/modules/api/interceptors/transform-response.interceptor.js +45 -0
  107. package/dist/modules/api/interceptors/transform-response.interceptor.js.map +1 -0
  108. package/dist/modules/api/models/api-response.model.d.ts +58 -0
  109. package/dist/modules/api/models/api-response.model.js +414 -0
  110. package/dist/modules/api/models/api-response.model.js.map +1 -0
  111. package/dist/modules/api/models/api.model.d.ts +17 -0
  112. package/dist/modules/api/models/api.model.js +157 -0
  113. package/dist/modules/api/models/api.model.js.map +1 -0
  114. package/dist/modules/api/providers/api-stats.provider.d.ts +8 -0
  115. package/dist/modules/api/providers/api-stats.provider.js +47 -0
  116. package/dist/modules/api/providers/api-stats.provider.js.map +1 -0
  117. package/dist/modules/api/services/api-metrics.service.d.ts +14 -0
  118. package/dist/modules/api/services/api-metrics.service.js +73 -0
  119. package/dist/modules/api/services/api-metrics.service.js.map +1 -0
  120. package/dist/modules/api/utils/location-header.utils.d.ts +6 -0
  121. package/dist/modules/api/utils/location-header.utils.js +36 -0
  122. package/dist/modules/api/utils/location-header.utils.js.map +1 -0
  123. package/dist/modules/auth/auth.constants.d.ts +15 -0
  124. package/dist/modules/auth/auth.constants.js +21 -0
  125. package/dist/modules/auth/auth.constants.js.map +1 -0
  126. package/dist/modules/auth/auth.exceptions.d.ts +12 -0
  127. package/dist/modules/auth/auth.exceptions.js +32 -0
  128. package/dist/modules/auth/auth.exceptions.js.map +1 -0
  129. package/dist/modules/auth/auth.module.d.ts +13 -0
  130. package/dist/modules/auth/auth.module.js +166 -0
  131. package/dist/modules/auth/auth.module.js.map +1 -0
  132. package/dist/modules/auth/auth.openapi.d.ts +6 -0
  133. package/dist/modules/auth/auth.openapi.js +35 -0
  134. package/dist/modules/auth/auth.openapi.js.map +1 -0
  135. package/dist/modules/auth/commands/register-owner.command.d.ts +13 -0
  136. package/dist/modules/auth/commands/register-owner.command.js +59 -0
  137. package/dist/modules/auth/commands/register-owner.command.js.map +1 -0
  138. package/dist/modules/auth/commands/reset-password.command.d.ts +8 -0
  139. package/dist/modules/auth/commands/reset-password.command.js +57 -0
  140. package/dist/modules/auth/commands/reset-password.command.js.map +1 -0
  141. package/dist/modules/auth/controllers/auth.controller.d.ts +21 -0
  142. package/dist/modules/auth/controllers/auth.controller.js +226 -0
  143. package/dist/modules/auth/controllers/auth.controller.js.map +1 -0
  144. package/dist/modules/auth/controllers/tokens.controller.d.ts +19 -0
  145. package/dist/modules/auth/controllers/tokens.controller.js +253 -0
  146. package/dist/modules/auth/controllers/tokens.controller.js.map +1 -0
  147. package/dist/modules/auth/dto/check-email.dto.d.ts +6 -0
  148. package/dist/modules/auth/dto/check-email.dto.js +49 -0
  149. package/dist/modules/auth/dto/check-email.dto.js.map +1 -0
  150. package/dist/modules/auth/dto/check-username.dto.d.ts +6 -0
  151. package/dist/modules/auth/dto/check-username.dto.js +49 -0
  152. package/dist/modules/auth/dto/check-username.dto.js.map +1 -0
  153. package/dist/modules/auth/dto/create-token.dto.d.ts +28 -0
  154. package/dist/modules/auth/dto/create-token.dto.js +254 -0
  155. package/dist/modules/auth/dto/create-token.dto.js.map +1 -0
  156. package/dist/modules/auth/dto/login.dto.d.ts +7 -0
  157. package/dist/modules/auth/dto/login.dto.js +61 -0
  158. package/dist/modules/auth/dto/login.dto.js.map +1 -0
  159. package/dist/modules/auth/dto/refresh-token.dto.d.ts +6 -0
  160. package/dist/modules/auth/dto/refresh-token.dto.js +49 -0
  161. package/dist/modules/auth/dto/refresh-token.dto.js.map +1 -0
  162. package/dist/modules/auth/dto/register.dto.d.ts +13 -0
  163. package/dist/modules/auth/dto/register.dto.js +124 -0
  164. package/dist/modules/auth/dto/register.dto.js.map +1 -0
  165. package/dist/modules/auth/dto/update-config.dto.d.ts +5 -0
  166. package/dist/modules/auth/dto/update-config.dto.js +39 -0
  167. package/dist/modules/auth/dto/update-config.dto.js.map +1 -0
  168. package/dist/modules/auth/dto/update-token.dto.d.ts +19 -0
  169. package/dist/modules/auth/dto/update-token.dto.js +141 -0
  170. package/dist/modules/auth/dto/update-token.dto.js.map +1 -0
  171. package/dist/modules/auth/entities/auth.entity.d.ts +34 -0
  172. package/dist/modules/auth/entities/auth.entity.js +306 -0
  173. package/dist/modules/auth/entities/auth.entity.js.map +1 -0
  174. package/dist/modules/auth/guards/auth.guard.d.ts +42 -0
  175. package/dist/modules/auth/guards/auth.guard.js +190 -0
  176. package/dist/modules/auth/guards/auth.guard.js.map +1 -0
  177. package/dist/modules/auth/models/auth-response.model.d.ts +31 -0
  178. package/dist/modules/auth/models/auth-response.model.js +172 -0
  179. package/dist/modules/auth/models/auth-response.model.js.map +1 -0
  180. package/dist/modules/auth/models/auth.model.d.ts +21 -0
  181. package/dist/modules/auth/models/auth.model.js +188 -0
  182. package/dist/modules/auth/models/auth.model.js.map +1 -0
  183. package/dist/modules/auth/models/config.model.d.ts +5 -0
  184. package/dist/modules/auth/models/config.model.js +49 -0
  185. package/dist/modules/auth/models/config.model.js.map +1 -0
  186. package/dist/modules/auth/services/auth.service.d.ts +27 -0
  187. package/dist/modules/auth/services/auth.service.js +243 -0
  188. package/dist/modules/auth/services/auth.service.js.map +1 -0
  189. package/dist/modules/auth/services/crypto.service.d.ts +3 -0
  190. package/dist/modules/auth/services/crypto.service.js +21 -0
  191. package/dist/modules/auth/services/crypto.service.js.map +1 -0
  192. package/dist/modules/auth/services/tokens-type-mapper.service.d.ts +14 -0
  193. package/dist/modules/auth/services/tokens-type-mapper.service.js +31 -0
  194. package/dist/modules/auth/services/tokens-type-mapper.service.js.map +1 -0
  195. package/dist/modules/auth/services/tokens.service.d.ts +26 -0
  196. package/dist/modules/auth/services/tokens.service.js +264 -0
  197. package/dist/modules/auth/services/tokens.service.js.map +1 -0
  198. package/dist/modules/auth/utils/token.utils.d.ts +1 -0
  199. package/dist/modules/auth/utils/token.utils.js +42 -0
  200. package/dist/modules/auth/utils/token.utils.js.map +1 -0
  201. package/dist/modules/buddy/buddy.constants.d.ts +73 -0
  202. package/dist/modules/buddy/buddy.constants.js +88 -0
  203. package/dist/modules/buddy/buddy.constants.js.map +1 -0
  204. package/dist/modules/buddy/buddy.exceptions.d.ts +49 -0
  205. package/dist/modules/buddy/buddy.exceptions.js +101 -0
  206. package/dist/modules/buddy/buddy.exceptions.js.map +1 -0
  207. package/dist/modules/buddy/buddy.module.d.ts +27 -0
  208. package/dist/modules/buddy/buddy.module.js +215 -0
  209. package/dist/modules/buddy/buddy.module.js.map +1 -0
  210. package/dist/modules/buddy/buddy.openapi.d.ts +8 -0
  211. package/dist/modules/buddy/buddy.openapi.js +37 -0
  212. package/dist/modules/buddy/buddy.openapi.js.map +1 -0
  213. package/dist/modules/buddy/buddy.utils.d.ts +15 -0
  214. package/dist/modules/buddy/buddy.utils.js +138 -0
  215. package/dist/modules/buddy/buddy.utils.js.map +1 -0
  216. package/dist/modules/buddy/controllers/buddy-conversations.controller.d.ts +23 -0
  217. package/dist/modules/buddy/controllers/buddy-conversations.controller.js +319 -0
  218. package/dist/modules/buddy/controllers/buddy-conversations.controller.js.map +1 -0
  219. package/dist/modules/buddy/controllers/buddy-personality.controller.d.ts +10 -0
  220. package/dist/modules/buddy/controllers/buddy-personality.controller.js +86 -0
  221. package/dist/modules/buddy/controllers/buddy-personality.controller.js.map +1 -0
  222. package/dist/modules/buddy/controllers/buddy-providers.controller.d.ts +19 -0
  223. package/dist/modules/buddy/controllers/buddy-providers.controller.js +135 -0
  224. package/dist/modules/buddy/controllers/buddy-providers.controller.js.map +1 -0
  225. package/dist/modules/buddy/controllers/buddy-suggestions.controller.d.ts +13 -0
  226. package/dist/modules/buddy/controllers/buddy-suggestions.controller.js +121 -0
  227. package/dist/modules/buddy/controllers/buddy-suggestions.controller.js.map +1 -0
  228. package/dist/modules/buddy/dto/create-conversation.dto.d.ts +7 -0
  229. package/dist/modules/buddy/dto/create-conversation.dto.js +60 -0
  230. package/dist/modules/buddy/dto/create-conversation.dto.js.map +1 -0
  231. package/dist/modules/buddy/dto/send-message.dto.d.ts +6 -0
  232. package/dist/modules/buddy/dto/send-message.dto.js +50 -0
  233. package/dist/modules/buddy/dto/send-message.dto.js.map +1 -0
  234. package/dist/modules/buddy/dto/suggestion-feedback.dto.d.ts +7 -0
  235. package/dist/modules/buddy/dto/suggestion-feedback.dto.js +48 -0
  236. package/dist/modules/buddy/dto/suggestion-feedback.dto.js.map +1 -0
  237. package/dist/modules/buddy/dto/update-config.dto.d.ts +26 -0
  238. package/dist/modules/buddy/dto/update-config.dto.js +346 -0
  239. package/dist/modules/buddy/dto/update-config.dto.js.map +1 -0
  240. package/dist/modules/buddy/dto/update-personality.dto.d.ts +6 -0
  241. package/dist/modules/buddy/dto/update-personality.dto.js +50 -0
  242. package/dist/modules/buddy/dto/update-personality.dto.js.map +1 -0
  243. package/dist/modules/buddy/entities/buddy-conversation.entity.d.ts +9 -0
  244. package/dist/modules/buddy/entities/buddy-conversation.entity.js +57 -0
  245. package/dist/modules/buddy/entities/buddy-conversation.entity.js.map +1 -0
  246. package/dist/modules/buddy/entities/buddy-message.entity.d.ts +11 -0
  247. package/dist/modules/buddy/entities/buddy-message.entity.js +64 -0
  248. package/dist/modules/buddy/entities/buddy-message.entity.js.map +1 -0
  249. package/dist/modules/buddy/listeners/buddy-context-cache.listener.d.ts +19 -0
  250. package/dist/modules/buddy/listeners/buddy-context-cache.listener.js +146 -0
  251. package/dist/modules/buddy/listeners/buddy-context-cache.listener.js.map +1 -0
  252. package/dist/modules/buddy/listeners/intent-event.listener.d.ts +7 -0
  253. package/dist/modules/buddy/listeners/intent-event.listener.js +76 -0
  254. package/dist/modules/buddy/listeners/intent-event.listener.js.map +1 -0
  255. package/dist/modules/buddy/listeners/media-activity-event.listener.d.ts +20 -0
  256. package/dist/modules/buddy/listeners/media-activity-event.listener.js +79 -0
  257. package/dist/modules/buddy/listeners/media-activity-event.listener.js.map +1 -0
  258. package/dist/modules/buddy/models/config.model.d.ts +26 -0
  259. package/dist/modules/buddy/models/config.model.js +345 -0
  260. package/dist/modules/buddy/models/config.model.js.map +1 -0
  261. package/dist/modules/buddy/models/conversation-response.model.d.ts +8 -0
  262. package/dist/modules/buddy/models/conversation-response.model.js +46 -0
  263. package/dist/modules/buddy/models/conversation-response.model.js.map +1 -0
  264. package/dist/modules/buddy/models/message-response.model.d.ts +8 -0
  265. package/dist/modules/buddy/models/message-response.model.js +46 -0
  266. package/dist/modules/buddy/models/message-response.model.js.map +1 -0
  267. package/dist/modules/buddy/models/messaging-provider-status.model.d.ts +11 -0
  268. package/dist/modules/buddy/models/messaging-provider-status.model.js +67 -0
  269. package/dist/modules/buddy/models/messaging-provider-status.model.js.map +1 -0
  270. package/dist/modules/buddy/models/personality-response.model.d.ts +7 -0
  271. package/dist/modules/buddy/models/personality-response.model.js +46 -0
  272. package/dist/modules/buddy/models/personality-response.model.js.map +1 -0
  273. package/dist/modules/buddy/models/provider-status.model.d.ts +13 -0
  274. package/dist/modules/buddy/models/provider-status.model.js +86 -0
  275. package/dist/modules/buddy/models/provider-status.model.js.map +1 -0
  276. package/dist/modules/buddy/models/suggestion-response.model.d.ts +24 -0
  277. package/dist/modules/buddy/models/suggestion-response.model.js +161 -0
  278. package/dist/modules/buddy/models/suggestion-response.model.js.map +1 -0
  279. package/dist/modules/buddy/models/voice-provider-status.model.d.ts +15 -0
  280. package/dist/modules/buddy/models/voice-provider-status.model.js +92 -0
  281. package/dist/modules/buddy/models/voice-provider-status.model.js.map +1 -0
  282. package/dist/modules/buddy/platforms/anthropic-sdk.utils.d.ts +18 -0
  283. package/dist/modules/buddy/platforms/anthropic-sdk.utils.js +85 -0
  284. package/dist/modules/buddy/platforms/anthropic-sdk.utils.js.map +1 -0
  285. package/dist/modules/buddy/platforms/llm-provider.platform.d.ts +38 -0
  286. package/dist/modules/buddy/platforms/llm-provider.platform.js +3 -0
  287. package/dist/modules/buddy/platforms/llm-provider.platform.js.map +1 -0
  288. package/dist/modules/buddy/platforms/oauth-token-manager.d.ts +25 -0
  289. package/dist/modules/buddy/platforms/oauth-token-manager.js +72 -0
  290. package/dist/modules/buddy/platforms/oauth-token-manager.js.map +1 -0
  291. package/dist/modules/buddy/platforms/openai-sdk.utils.d.ts +11 -0
  292. package/dist/modules/buddy/platforms/openai-sdk.utils.js +94 -0
  293. package/dist/modules/buddy/platforms/openai-sdk.utils.js.map +1 -0
  294. package/dist/modules/buddy/platforms/stt-provider.platform.d.ts +11 -0
  295. package/dist/modules/buddy/platforms/stt-provider.platform.js +3 -0
  296. package/dist/modules/buddy/platforms/stt-provider.platform.js.map +1 -0
  297. package/dist/modules/buddy/platforms/tool-provider.platform.d.ts +1 -0
  298. package/dist/modules/buddy/platforms/tool-provider.platform.js +3 -0
  299. package/dist/modules/buddy/platforms/tool-provider.platform.js.map +1 -0
  300. package/dist/modules/buddy/platforms/tts-provider.platform.d.ts +17 -0
  301. package/dist/modules/buddy/platforms/tts-provider.platform.js +3 -0
  302. package/dist/modules/buddy/platforms/tts-provider.platform.js.map +1 -0
  303. package/dist/modules/buddy/services/action-observer.service.d.ts +24 -0
  304. package/dist/modules/buddy/services/action-observer.service.js +47 -0
  305. package/dist/modules/buddy/services/action-observer.service.js.map +1 -0
  306. package/dist/modules/buddy/services/anomaly-detector.service.d.ts +20 -0
  307. package/dist/modules/buddy/services/anomaly-detector.service.js +308 -0
  308. package/dist/modules/buddy/services/anomaly-detector.service.js.map +1 -0
  309. package/dist/modules/buddy/services/buddy-context.service.d.ts +111 -0
  310. package/dist/modules/buddy/services/buddy-context.service.js +324 -0
  311. package/dist/modules/buddy/services/buddy-context.service.js.map +1 -0
  312. package/dist/modules/buddy/services/buddy-conversation.service.d.ts +42 -0
  313. package/dist/modules/buddy/services/buddy-conversation.service.js +506 -0
  314. package/dist/modules/buddy/services/buddy-conversation.service.js.map +1 -0
  315. package/dist/modules/buddy/services/buddy-personality.service.d.ts +12 -0
  316. package/dist/modules/buddy/services/buddy-personality.service.js +123 -0
  317. package/dist/modules/buddy/services/buddy-personality.service.js.map +1 -0
  318. package/dist/modules/buddy/services/buddy-provider-status.service.d.ts +10 -0
  319. package/dist/modules/buddy/services/buddy-provider-status.service.js +73 -0
  320. package/dist/modules/buddy/services/buddy-provider-status.service.js.map +1 -0
  321. package/dist/modules/buddy/services/conflict-detector-evaluator.service.d.ts +25 -0
  322. package/dist/modules/buddy/services/conflict-detector-evaluator.service.js +253 -0
  323. package/dist/modules/buddy/services/conflict-detector-evaluator.service.js.map +1 -0
  324. package/dist/modules/buddy/services/energy-evaluator.service.d.ts +16 -0
  325. package/dist/modules/buddy/services/energy-evaluator.service.js +145 -0
  326. package/dist/modules/buddy/services/energy-evaluator.service.js.map +1 -0
  327. package/dist/modules/buddy/services/heartbeat.service.d.ts +25 -0
  328. package/dist/modules/buddy/services/heartbeat.service.js +140 -0
  329. package/dist/modules/buddy/services/heartbeat.service.js.map +1 -0
  330. package/dist/modules/buddy/services/heartbeat.types.d.ts +13 -0
  331. package/dist/modules/buddy/services/heartbeat.types.js +3 -0
  332. package/dist/modules/buddy/services/heartbeat.types.js.map +1 -0
  333. package/dist/modules/buddy/services/llm-provider-registry.service.d.ts +8 -0
  334. package/dist/modules/buddy/services/llm-provider-registry.service.js +39 -0
  335. package/dist/modules/buddy/services/llm-provider-registry.service.js.map +1 -0
  336. package/dist/modules/buddy/services/llm-provider.service.d.ts +14 -0
  337. package/dist/modules/buddy/services/llm-provider.service.js +99 -0
  338. package/dist/modules/buddy/services/llm-provider.service.js.map +1 -0
  339. package/dist/modules/buddy/services/messaging-provider-status.service.d.ts +11 -0
  340. package/dist/modules/buddy/services/messaging-provider-status.service.js +76 -0
  341. package/dist/modules/buddy/services/messaging-provider-status.service.js.map +1 -0
  342. package/dist/modules/buddy/services/module-reset.service.d.ts +13 -0
  343. package/dist/modules/buddy/services/module-reset.service.js +52 -0
  344. package/dist/modules/buddy/services/module-reset.service.js.map +1 -0
  345. package/dist/modules/buddy/services/oauth-callback.service.d.ts +14 -0
  346. package/dist/modules/buddy/services/oauth-callback.service.js +94 -0
  347. package/dist/modules/buddy/services/oauth-callback.service.js.map +1 -0
  348. package/dist/modules/buddy/services/oauth-flow.service.d.ts +27 -0
  349. package/dist/modules/buddy/services/oauth-flow.service.js +115 -0
  350. package/dist/modules/buddy/services/oauth-flow.service.js.map +1 -0
  351. package/dist/modules/buddy/services/pattern-detector.service.d.ts +42 -0
  352. package/dist/modules/buddy/services/pattern-detector.service.js +161 -0
  353. package/dist/modules/buddy/services/pattern-detector.service.js.map +1 -0
  354. package/dist/modules/buddy/services/scene-suggestion-evaluator.service.d.ts +52 -0
  355. package/dist/modules/buddy/services/scene-suggestion-evaluator.service.js +263 -0
  356. package/dist/modules/buddy/services/scene-suggestion-evaluator.service.js.map +1 -0
  357. package/dist/modules/buddy/services/stt-provider-registry.service.d.ts +8 -0
  358. package/dist/modules/buddy/services/stt-provider-registry.service.js +39 -0
  359. package/dist/modules/buddy/services/stt-provider-registry.service.js.map +1 -0
  360. package/dist/modules/buddy/services/stt-provider-status.service.d.ts +10 -0
  361. package/dist/modules/buddy/services/stt-provider-status.service.js +72 -0
  362. package/dist/modules/buddy/services/stt-provider-status.service.js.map +1 -0
  363. package/dist/modules/buddy/services/stt-provider.service.d.ts +13 -0
  364. package/dist/modules/buddy/services/stt-provider.service.js +134 -0
  365. package/dist/modules/buddy/services/stt-provider.service.js.map +1 -0
  366. package/dist/modules/buddy/services/suggestion-engine.service.d.ts +44 -0
  367. package/dist/modules/buddy/services/suggestion-engine.service.js +208 -0
  368. package/dist/modules/buddy/services/suggestion-engine.service.js.map +1 -0
  369. package/dist/modules/buddy/services/tts-provider-registry.service.d.ts +8 -0
  370. package/dist/modules/buddy/services/tts-provider-registry.service.js +39 -0
  371. package/dist/modules/buddy/services/tts-provider-registry.service.js.map +1 -0
  372. package/dist/modules/buddy/services/tts-provider-status.service.d.ts +10 -0
  373. package/dist/modules/buddy/services/tts-provider-status.service.js +72 -0
  374. package/dist/modules/buddy/services/tts-provider-status.service.js.map +1 -0
  375. package/dist/modules/buddy/services/tts-provider.service.d.ts +26 -0
  376. package/dist/modules/buddy/services/tts-provider.service.js +222 -0
  377. package/dist/modules/buddy/services/tts-provider.service.js.map +1 -0
  378. package/dist/modules/buddy/spec/evaluator-rules-loader.service.d.ts +31 -0
  379. package/dist/modules/buddy/spec/evaluator-rules-loader.service.js +248 -0
  380. package/dist/modules/buddy/spec/evaluator-rules-loader.service.js.map +1 -0
  381. package/dist/modules/buddy/spec/evaluator-rules.types.d.ts +121 -0
  382. package/dist/modules/buddy/spec/evaluator-rules.types.js +3 -0
  383. package/dist/modules/buddy/spec/evaluator-rules.types.js.map +1 -0
  384. package/dist/modules/config/commands/generate-admin-extensions.command.d.ts +11 -0
  385. package/dist/modules/config/commands/generate-admin-extensions.command.js +132 -0
  386. package/dist/modules/config/commands/generate-admin-extensions.command.js.map +1 -0
  387. package/dist/modules/config/config.constants.d.ts +8 -0
  388. package/dist/modules/config/config.constants.js +13 -0
  389. package/dist/modules/config/config.constants.js.map +1 -0
  390. package/dist/modules/config/config.exceptions.d.ts +12 -0
  391. package/dist/modules/config/config.exceptions.js +32 -0
  392. package/dist/modules/config/config.exceptions.js.map +1 -0
  393. package/dist/modules/config/config.module.d.ts +17 -0
  394. package/dist/modules/config/config.module.js +109 -0
  395. package/dist/modules/config/config.module.js.map +1 -0
  396. package/dist/modules/config/config.openapi.d.ts +5 -0
  397. package/dist/modules/config/config.openapi.js +22 -0
  398. package/dist/modules/config/config.openapi.js.map +1 -0
  399. package/dist/modules/config/controllers/config.controller.d.ts +28 -0
  400. package/dist/modules/config/controllers/config.controller.js +356 -0
  401. package/dist/modules/config/controllers/config.controller.js.map +1 -0
  402. package/dist/modules/config/dto/config.dto.d.ts +14 -0
  403. package/dist/modules/config/dto/config.dto.js +102 -0
  404. package/dist/modules/config/dto/config.dto.js.map +1 -0
  405. package/dist/modules/config/dto/update-module-config.dto.d.ts +3 -0
  406. package/dist/modules/config/dto/update-module-config.dto.js +18 -0
  407. package/dist/modules/config/dto/update-module-config.dto.js.map +1 -0
  408. package/dist/modules/config/models/config-response.model.d.ts +17 -0
  409. package/dist/modules/config/models/config-response.model.js +89 -0
  410. package/dist/modules/config/models/config-response.model.js.map +1 -0
  411. package/dist/modules/config/models/config-validation-response.model.d.ts +12 -0
  412. package/dist/modules/config/models/config-validation-response.model.js +86 -0
  413. package/dist/modules/config/models/config-validation-response.model.js.map +1 -0
  414. package/dist/modules/config/models/config.model.d.ts +13 -0
  415. package/dist/modules/config/models/config.model.js +118 -0
  416. package/dist/modules/config/models/config.model.js.map +1 -0
  417. package/dist/modules/config/models/module-config.model.d.ts +4 -0
  418. package/dist/modules/config/models/module-config.model.js +37 -0
  419. package/dist/modules/config/models/module-config.model.js.map +1 -0
  420. package/dist/modules/config/services/config.service.d.ts +34 -0
  421. package/dist/modules/config/services/config.service.js +392 -0
  422. package/dist/modules/config/services/config.service.js.map +1 -0
  423. package/dist/modules/config/services/modules-type-mapper.service.d.ts +16 -0
  424. package/dist/modules/config/services/modules-type-mapper.service.js +51 -0
  425. package/dist/modules/config/services/modules-type-mapper.service.js.map +1 -0
  426. package/dist/modules/config/services/plugin-config-validator.service.d.ts +19 -0
  427. package/dist/modules/config/services/plugin-config-validator.service.js +47 -0
  428. package/dist/modules/config/services/plugin-config-validator.service.js.map +1 -0
  429. package/dist/modules/config/services/plugins-type-mapper.service.d.ts +16 -0
  430. package/dist/modules/config/services/plugins-type-mapper.service.js +51 -0
  431. package/dist/modules/config/services/plugins-type-mapper.service.js.map +1 -0
  432. package/dist/modules/dashboard/controllers/data-source.controller.d.ts +20 -0
  433. package/dist/modules/dashboard/controllers/data-source.controller.js +317 -0
  434. package/dist/modules/dashboard/controllers/data-source.controller.js.map +1 -0
  435. package/dist/modules/dashboard/controllers/pages.controller.d.ts +20 -0
  436. package/dist/modules/dashboard/controllers/pages.controller.js +278 -0
  437. package/dist/modules/dashboard/controllers/pages.controller.js.map +1 -0
  438. package/dist/modules/dashboard/controllers/tiles.controller.d.ts +20 -0
  439. package/dist/modules/dashboard/controllers/tiles.controller.js +314 -0
  440. package/dist/modules/dashboard/controllers/tiles.controller.js.map +1 -0
  441. package/dist/modules/dashboard/dashboard.constants.d.ts +19 -0
  442. package/dist/modules/dashboard/dashboard.constants.js +24 -0
  443. package/dist/modules/dashboard/dashboard.constants.js.map +1 -0
  444. package/dist/modules/dashboard/dashboard.exceptions.d.ts +9 -0
  445. package/dist/modules/dashboard/dashboard.exceptions.js +25 -0
  446. package/dist/modules/dashboard/dashboard.exceptions.js.map +1 -0
  447. package/dist/modules/dashboard/dashboard.module.d.ts +23 -0
  448. package/dist/modules/dashboard/dashboard.module.js +180 -0
  449. package/dist/modules/dashboard/dashboard.module.js.map +1 -0
  450. package/dist/modules/dashboard/dashboard.openapi.d.ts +4 -0
  451. package/dist/modules/dashboard/dashboard.openapi.js +26 -0
  452. package/dist/modules/dashboard/dashboard.openapi.js.map +1 -0
  453. package/dist/modules/dashboard/dto/common.dto.d.ts +4 -0
  454. package/dist/modules/dashboard/dto/common.dto.js +40 -0
  455. package/dist/modules/dashboard/dto/common.dto.js.map +1 -0
  456. package/dist/modules/dashboard/dto/create-data-source.dto.d.ts +14 -0
  457. package/dist/modules/dashboard/dto/create-data-source.dto.js +82 -0
  458. package/dist/modules/dashboard/dto/create-data-source.dto.js.map +1 -0
  459. package/dist/modules/dashboard/dto/create-page.dto.d.ts +14 -0
  460. package/dist/modules/dashboard/dto/create-page.dto.js +124 -0
  461. package/dist/modules/dashboard/dto/create-page.dto.js.map +1 -0
  462. package/dist/modules/dashboard/dto/create-tile.dto.d.ts +21 -0
  463. package/dist/modules/dashboard/dto/create-tile.dto.js +148 -0
  464. package/dist/modules/dashboard/dto/create-tile.dto.js.map +1 -0
  465. package/dist/modules/dashboard/dto/update-config.dto.d.ts +5 -0
  466. package/dist/modules/dashboard/dto/update-config.dto.js +39 -0
  467. package/dist/modules/dashboard/dto/update-config.dto.js.map +1 -0
  468. package/dist/modules/dashboard/dto/update-data-source.dto.d.ts +13 -0
  469. package/dist/modules/dashboard/dto/update-data-source.dto.js +69 -0
  470. package/dist/modules/dashboard/dto/update-data-source.dto.js.map +1 -0
  471. package/dist/modules/dashboard/dto/update-page.dto.d.ts +11 -0
  472. package/dist/modules/dashboard/dto/update-page.dto.js +98 -0
  473. package/dist/modules/dashboard/dto/update-page.dto.js.map +1 -0
  474. package/dist/modules/dashboard/dto/update-tile.dto.d.ts +18 -0
  475. package/dist/modules/dashboard/dto/update-tile.dto.js +123 -0
  476. package/dist/modules/dashboard/dto/update-tile.dto.js.map +1 -0
  477. package/dist/modules/dashboard/entities/dashboard.entity.d.ts +39 -0
  478. package/dist/modules/dashboard/entities/dashboard.entity.js +341 -0
  479. package/dist/modules/dashboard/entities/dashboard.entity.js.map +1 -0
  480. package/dist/modules/dashboard/entities/dashboard.relations.d.ts +33 -0
  481. package/dist/modules/dashboard/entities/dashboard.relations.js +3 -0
  482. package/dist/modules/dashboard/entities/dashboard.relations.js.map +1 -0
  483. package/dist/modules/dashboard/models/config.model.d.ts +5 -0
  484. package/dist/modules/dashboard/models/config.model.js +49 -0
  485. package/dist/modules/dashboard/models/config.model.js.map +1 -0
  486. package/dist/modules/dashboard/models/dashboard-response.model.d.ts +20 -0
  487. package/dist/modules/dashboard/models/dashboard-response.model.js +104 -0
  488. package/dist/modules/dashboard/models/dashboard-response.model.js.map +1 -0
  489. package/dist/modules/dashboard/models/dashboard.model.d.ts +17 -0
  490. package/dist/modules/dashboard/models/dashboard.model.js +148 -0
  491. package/dist/modules/dashboard/models/dashboard.model.js.map +1 -0
  492. package/dist/modules/dashboard/providers/dashboard-stats.provider.d.ts +12 -0
  493. package/dist/modules/dashboard/providers/dashboard-stats.provider.js +54 -0
  494. package/dist/modules/dashboard/providers/dashboard-stats.provider.js.map +1 -0
  495. package/dist/modules/dashboard/services/dashboard-seeder.service.d.ts +22 -0
  496. package/dist/modules/dashboard/services/dashboard-seeder.service.js +178 -0
  497. package/dist/modules/dashboard/services/dashboard-seeder.service.js.map +1 -0
  498. package/dist/modules/dashboard/services/data-source-create-builder-registry.service.d.ts +6 -0
  499. package/dist/modules/dashboard/services/data-source-create-builder-registry.service.js +26 -0
  500. package/dist/modules/dashboard/services/data-source-create-builder-registry.service.js.map +1 -0
  501. package/dist/modules/dashboard/services/data-source-relations-loader-registry.service.d.ts +6 -0
  502. package/dist/modules/dashboard/services/data-source-relations-loader-registry.service.js +26 -0
  503. package/dist/modules/dashboard/services/data-source-relations-loader-registry.service.js.map +1 -0
  504. package/dist/modules/dashboard/services/data-source-type-mapper.service.d.ts +15 -0
  505. package/dist/modules/dashboard/services/data-source-type-mapper.service.js +36 -0
  506. package/dist/modules/dashboard/services/data-source-type-mapper.service.js.map +1 -0
  507. package/dist/modules/dashboard/services/data-sources.service.d.ts +32 -0
  508. package/dist/modules/dashboard/services/data-sources.service.js +226 -0
  509. package/dist/modules/dashboard/services/data-sources.service.js.map +1 -0
  510. package/dist/modules/dashboard/services/module-reset.service.d.ts +15 -0
  511. package/dist/modules/dashboard/services/module-reset.service.js +61 -0
  512. package/dist/modules/dashboard/services/module-reset.service.js.map +1 -0
  513. package/dist/modules/dashboard/services/page-create-builder-registry.service.d.ts +6 -0
  514. package/dist/modules/dashboard/services/page-create-builder-registry.service.js +26 -0
  515. package/dist/modules/dashboard/services/page-create-builder-registry.service.js.map +1 -0
  516. package/dist/modules/dashboard/services/page-relations-loader-registry.service.d.ts +6 -0
  517. package/dist/modules/dashboard/services/page-relations-loader-registry.service.js +26 -0
  518. package/dist/modules/dashboard/services/page-relations-loader-registry.service.js.map +1 -0
  519. package/dist/modules/dashboard/services/pages-type-mapper.service.d.ts +15 -0
  520. package/dist/modules/dashboard/services/pages-type-mapper.service.js +36 -0
  521. package/dist/modules/dashboard/services/pages-type-mapper.service.js.map +1 -0
  522. package/dist/modules/dashboard/services/pages.service.d.ts +33 -0
  523. package/dist/modules/dashboard/services/pages.service.js +267 -0
  524. package/dist/modules/dashboard/services/pages.service.js.map +1 -0
  525. package/dist/modules/dashboard/services/tile-create-builder-registry.service.d.ts +6 -0
  526. package/dist/modules/dashboard/services/tile-create-builder-registry.service.js +26 -0
  527. package/dist/modules/dashboard/services/tile-create-builder-registry.service.js.map +1 -0
  528. package/dist/modules/dashboard/services/tile-relations-loader-registry.service.d.ts +6 -0
  529. package/dist/modules/dashboard/services/tile-relations-loader-registry.service.js +26 -0
  530. package/dist/modules/dashboard/services/tile-relations-loader-registry.service.js.map +1 -0
  531. package/dist/modules/dashboard/services/tiles-type-mapper.service.d.ts +15 -0
  532. package/dist/modules/dashboard/services/tiles-type-mapper.service.js +36 -0
  533. package/dist/modules/dashboard/services/tiles-type-mapper.service.js.map +1 -0
  534. package/dist/modules/dashboard/services/tiles.service.d.ts +36 -0
  535. package/dist/modules/dashboard/services/tiles.service.js +257 -0
  536. package/dist/modules/dashboard/services/tiles.service.js.map +1 -0
  537. package/dist/modules/dashboard/subscribers/data-source-entity.subscriber.d.ts +6 -0
  538. package/dist/modules/dashboard/subscribers/data-source-entity.subscriber.js +28 -0
  539. package/dist/modules/dashboard/subscribers/data-source-entity.subscriber.js.map +1 -0
  540. package/dist/modules/dashboard/subscribers/page-entity.subscriber.d.ts +6 -0
  541. package/dist/modules/dashboard/subscribers/page-entity.subscriber.js +28 -0
  542. package/dist/modules/dashboard/subscribers/page-entity.subscriber.js.map +1 -0
  543. package/dist/modules/dashboard/subscribers/tile-entity.subscriber.d.ts +6 -0
  544. package/dist/modules/dashboard/subscribers/tile-entity.subscriber.js +28 -0
  545. package/dist/modules/dashboard/subscribers/tile-entity.subscriber.js.map +1 -0
  546. package/dist/modules/dashboard/validators/data-source-type-constraint.validator.d.ts +10 -0
  547. package/dist/modules/dashboard/validators/data-source-type-constraint.validator.js +98 -0
  548. package/dist/modules/dashboard/validators/data-source-type-constraint.validator.js.map +1 -0
  549. package/dist/modules/dashboard/validators/tile-type-constraint.validator.d.ts +10 -0
  550. package/dist/modules/dashboard/validators/tile-type-constraint.validator.js +98 -0
  551. package/dist/modules/dashboard/validators/tile-type-constraint.validator.js.map +1 -0
  552. package/dist/modules/devices/controllers/channels.controller.d.ts +20 -0
  553. package/dist/modules/devices/controllers/channels.controller.js +261 -0
  554. package/dist/modules/devices/controllers/channels.controller.js.map +1 -0
  555. package/dist/modules/devices/controllers/channels.controls.controller.d.ts +17 -0
  556. package/dist/modules/devices/controllers/channels.controls.controller.js +201 -0
  557. package/dist/modules/devices/controllers/channels.controls.controller.js.map +1 -0
  558. package/dist/modules/devices/controllers/channels.properties.controller.d.ts +30 -0
  559. package/dist/modules/devices/controllers/channels.properties.controller.js +353 -0
  560. package/dist/modules/devices/controllers/channels.properties.controller.js.map +1 -0
  561. package/dist/modules/devices/controllers/devices.channels.controller.d.ts +23 -0
  562. package/dist/modules/devices/controllers/devices.channels.controller.js +292 -0
  563. package/dist/modules/devices/controllers/devices.channels.controller.js.map +1 -0
  564. package/dist/modules/devices/controllers/devices.channels.controls.controller.d.ts +20 -0
  565. package/dist/modules/devices/controllers/devices.channels.controls.controller.js +225 -0
  566. package/dist/modules/devices/controllers/devices.channels.controls.controller.js.map +1 -0
  567. package/dist/modules/devices/controllers/devices.channels.properties.controller.d.ts +33 -0
  568. package/dist/modules/devices/controllers/devices.channels.properties.controller.js +380 -0
  569. package/dist/modules/devices/controllers/devices.channels.properties.controller.js.map +1 -0
  570. package/dist/modules/devices/controllers/devices.controller.d.ts +31 -0
  571. package/dist/modules/devices/controllers/devices.controller.js +417 -0
  572. package/dist/modules/devices/controllers/devices.controller.js.map +1 -0
  573. package/dist/modules/devices/controllers/devices.controls.controller.d.ts +17 -0
  574. package/dist/modules/devices/controllers/devices.controls.controller.js +201 -0
  575. package/dist/modules/devices/controllers/devices.controls.controller.js.map +1 -0
  576. package/dist/modules/devices/devices.constants.d.ts +254 -0
  577. package/dist/modules/devices/devices.constants.js +279 -0
  578. package/dist/modules/devices/devices.constants.js.map +1 -0
  579. package/dist/modules/devices/devices.exceptions.d.ts +12 -0
  580. package/dist/modules/devices/devices.exceptions.js +32 -0
  581. package/dist/modules/devices/devices.exceptions.js.map +1 -0
  582. package/dist/modules/devices/devices.module.d.ts +31 -0
  583. package/dist/modules/devices/devices.module.js +282 -0
  584. package/dist/modules/devices/devices.module.js.map +1 -0
  585. package/dist/modules/devices/devices.openapi.d.ts +6 -0
  586. package/dist/modules/devices/devices.openapi.js +50 -0
  587. package/dist/modules/devices/devices.openapi.js.map +1 -0
  588. package/dist/modules/devices/dto/create-channel-control.dto.d.ts +6 -0
  589. package/dist/modules/devices/dto/create-channel-control.dto.js +36 -0
  590. package/dist/modules/devices/dto/create-channel-control.dto.js.map +1 -0
  591. package/dist/modules/devices/dto/create-channel-property.dto.d.ts +6 -0
  592. package/dist/modules/devices/dto/create-channel-property.dto.js +36 -0
  593. package/dist/modules/devices/dto/create-channel-property.dto.js.map +1 -0
  594. package/dist/modules/devices/dto/create-channel.dto.d.ts +7 -0
  595. package/dist/modules/devices/dto/create-channel.dto.js +49 -0
  596. package/dist/modules/devices/dto/create-channel.dto.js.map +1 -0
  597. package/dist/modules/devices/dto/create-device-channel-control.dto.d.ts +7 -0
  598. package/dist/modules/devices/dto/create-device-channel-control.dto.js +54 -0
  599. package/dist/modules/devices/dto/create-device-channel-control.dto.js.map +1 -0
  600. package/dist/modules/devices/dto/create-device-channel-property.dto.d.ts +17 -0
  601. package/dist/modules/devices/dto/create-device-channel-property.dto.js +205 -0
  602. package/dist/modules/devices/dto/create-device-channel-property.dto.js.map +1 -0
  603. package/dist/modules/devices/dto/create-device-channel.dto.d.ts +17 -0
  604. package/dist/modules/devices/dto/create-device-channel.dto.js +163 -0
  605. package/dist/modules/devices/dto/create-device-channel.dto.js.map +1 -0
  606. package/dist/modules/devices/dto/create-device-control.dto.d.ts +7 -0
  607. package/dist/modules/devices/dto/create-device-control.dto.js +54 -0
  608. package/dist/modules/devices/dto/create-device-control.dto.js.map +1 -0
  609. package/dist/modules/devices/dto/create-device.dto.d.ts +19 -0
  610. package/dist/modules/devices/dto/create-device.dto.js +182 -0
  611. package/dist/modules/devices/dto/create-device.dto.js.map +1 -0
  612. package/dist/modules/devices/dto/property-command.dto.d.ts +19 -0
  613. package/dist/modules/devices/dto/property-command.dto.js +151 -0
  614. package/dist/modules/devices/dto/property-command.dto.js.map +1 -0
  615. package/dist/modules/devices/dto/query-property-timeseries.dto.d.ts +10 -0
  616. package/dist/modules/devices/dto/query-property-timeseries.dto.js +79 -0
  617. package/dist/modules/devices/dto/query-property-timeseries.dto.js.map +1 -0
  618. package/dist/modules/devices/dto/update-channel-property.dto.d.ts +6 -0
  619. package/dist/modules/devices/dto/update-channel-property.dto.js +36 -0
  620. package/dist/modules/devices/dto/update-channel-property.dto.js.map +1 -0
  621. package/dist/modules/devices/dto/update-channel.dto.d.ts +6 -0
  622. package/dist/modules/devices/dto/update-channel.dto.js +36 -0
  623. package/dist/modules/devices/dto/update-channel.dto.js.map +1 -0
  624. package/dist/modules/devices/dto/update-config.dto.d.ts +5 -0
  625. package/dist/modules/devices/dto/update-config.dto.js +39 -0
  626. package/dist/modules/devices/dto/update-config.dto.js.map +1 -0
  627. package/dist/modules/devices/dto/update-device-channel-property.dto.d.ts +15 -0
  628. package/dist/modules/devices/dto/update-device-channel-property.dto.js +176 -0
  629. package/dist/modules/devices/dto/update-device-channel-property.dto.js.map +1 -0
  630. package/dist/modules/devices/dto/update-device-channel.dto.d.ts +11 -0
  631. package/dist/modules/devices/dto/update-device-channel.dto.js +110 -0
  632. package/dist/modules/devices/dto/update-device-channel.dto.js.map +1 -0
  633. package/dist/modules/devices/dto/update-device.dto.d.ts +14 -0
  634. package/dist/modules/devices/dto/update-device.dto.js +143 -0
  635. package/dist/modules/devices/dto/update-device.dto.js.map +1 -0
  636. package/dist/modules/devices/entities/device-zone.entity.d.ts +9 -0
  637. package/dist/modules/devices/entities/device-zone.entity.js +90 -0
  638. package/dist/modules/devices/entities/device-zone.entity.js.map +1 -0
  639. package/dist/modules/devices/entities/devices.entity.d.ts +59 -0
  640. package/dist/modules/devices/entities/devices.entity.js +575 -0
  641. package/dist/modules/devices/entities/devices.entity.js.map +1 -0
  642. package/dist/modules/devices/listeners/websocket-exchange.listener.d.ts +18 -0
  643. package/dist/modules/devices/listeners/websocket-exchange.listener.js +73 -0
  644. package/dist/modules/devices/listeners/websocket-exchange.listener.js.map +1 -0
  645. package/dist/modules/devices/models/config.model.d.ts +5 -0
  646. package/dist/modules/devices/models/config.model.js +49 -0
  647. package/dist/modules/devices/models/config.model.js.map +1 -0
  648. package/dist/modules/devices/models/device-validation.model.d.ts +56 -0
  649. package/dist/modules/devices/models/device-validation.model.js +345 -0
  650. package/dist/modules/devices/models/device-validation.model.js.map +1 -0
  651. package/dist/modules/devices/models/devices-enums.model.d.ts +10 -0
  652. package/dist/modules/devices/models/devices-enums.model.js +57 -0
  653. package/dist/modules/devices/models/devices-enums.model.js.map +1 -0
  654. package/dist/modules/devices/models/devices-response.model.d.ts +42 -0
  655. package/dist/modules/devices/models/devices-response.model.js +206 -0
  656. package/dist/modules/devices/models/devices-response.model.js.map +1 -0
  657. package/dist/modules/devices/models/devices.model.d.ts +73 -0
  658. package/dist/modules/devices/models/devices.model.js +665 -0
  659. package/dist/modules/devices/models/devices.model.js.map +1 -0
  660. package/dist/modules/devices/models/property-value-state.model.d.ts +7 -0
  661. package/dist/modules/devices/models/property-value-state.model.js +59 -0
  662. package/dist/modules/devices/models/property-value-state.model.js.map +1 -0
  663. package/dist/modules/devices/platforms/device.platform.d.ts +12 -0
  664. package/dist/modules/devices/platforms/device.platform.js +3 -0
  665. package/dist/modules/devices/platforms/device.platform.js.map +1 -0
  666. package/dist/modules/devices/platforms/http-device.platform.d.ts +9 -0
  667. package/dist/modules/devices/platforms/http-device.platform.js +70 -0
  668. package/dist/modules/devices/platforms/http-device.platform.js.map +1 -0
  669. package/dist/modules/devices/providers/devices-stats.provider.d.ts +14 -0
  670. package/dist/modules/devices/providers/devices-stats.provider.js +62 -0
  671. package/dist/modules/devices/providers/devices-stats.provider.js.map +1 -0
  672. package/dist/modules/devices/services/channels-type-mapper.service.d.ts +17 -0
  673. package/dist/modules/devices/services/channels-type-mapper.service.js +38 -0
  674. package/dist/modules/devices/services/channels-type-mapper.service.js.map +1 -0
  675. package/dist/modules/devices/services/channels.controls.service.d.ts +18 -0
  676. package/dist/modules/devices/services/channels.controls.service.js +133 -0
  677. package/dist/modules/devices/services/channels.controls.service.js.map +1 -0
  678. package/dist/modules/devices/services/channels.properties-type-mapper.service.d.ts +17 -0
  679. package/dist/modules/devices/services/channels.properties-type-mapper.service.js +38 -0
  680. package/dist/modules/devices/services/channels.properties-type-mapper.service.js.map +1 -0
  681. package/dist/modules/devices/services/channels.properties.service.d.ts +24 -0
  682. package/dist/modules/devices/services/channels.properties.service.js +273 -0
  683. package/dist/modules/devices/services/channels.properties.service.js.map +1 -0
  684. package/dist/modules/devices/services/channels.service.d.ts +27 -0
  685. package/dist/modules/devices/services/channels.service.js +379 -0
  686. package/dist/modules/devices/services/channels.service.js.map +1 -0
  687. package/dist/modules/devices/services/device-connection-state.service.d.ts +19 -0
  688. package/dist/modules/devices/services/device-connection-state.service.js +201 -0
  689. package/dist/modules/devices/services/device-connection-state.service.js.map +1 -0
  690. package/dist/modules/devices/services/device-connectivity.service.d.ts +22 -0
  691. package/dist/modules/devices/services/device-connectivity.service.js +142 -0
  692. package/dist/modules/devices/services/device-connectivity.service.js.map +1 -0
  693. package/dist/modules/devices/services/device-control-tool.service.d.ts +21 -0
  694. package/dist/modules/devices/services/device-control-tool.service.js +164 -0
  695. package/dist/modules/devices/services/device-control-tool.service.js.map +1 -0
  696. package/dist/modules/devices/services/device-provision-queue.service.d.ts +6 -0
  697. package/dist/modules/devices/services/device-provision-queue.service.js +36 -0
  698. package/dist/modules/devices/services/device-provision-queue.service.js.map +1 -0
  699. package/dist/modules/devices/services/device-validation.service.d.ts +96 -0
  700. package/dist/modules/devices/services/device-validation.service.js +794 -0
  701. package/dist/modules/devices/services/device-validation.service.js.map +1 -0
  702. package/dist/modules/devices/services/device-zones.service.d.ts +19 -0
  703. package/dist/modules/devices/services/device-zones.service.js +158 -0
  704. package/dist/modules/devices/services/device-zones.service.js.map +1 -0
  705. package/dist/modules/devices/services/devices-seeder.service.d.ts +27 -0
  706. package/dist/modules/devices/services/devices-seeder.service.js +199 -0
  707. package/dist/modules/devices/services/devices-seeder.service.js.map +1 -0
  708. package/dist/modules/devices/services/devices-type-mapper.service.d.ts +17 -0
  709. package/dist/modules/devices/services/devices-type-mapper.service.js +38 -0
  710. package/dist/modules/devices/services/devices-type-mapper.service.js.map +1 -0
  711. package/dist/modules/devices/services/devices.controls.service.d.ts +18 -0
  712. package/dist/modules/devices/services/devices.controls.service.js +133 -0
  713. package/dist/modules/devices/services/devices.controls.service.js.map +1 -0
  714. package/dist/modules/devices/services/devices.service.d.ts +33 -0
  715. package/dist/modules/devices/services/devices.service.js +312 -0
  716. package/dist/modules/devices/services/devices.service.js.map +1 -0
  717. package/dist/modules/devices/services/module-reset.service.d.ts +19 -0
  718. package/dist/modules/devices/services/module-reset.service.js +76 -0
  719. package/dist/modules/devices/services/module-reset.service.js.map +1 -0
  720. package/dist/modules/devices/services/platform.registry.service.d.ts +9 -0
  721. package/dist/modules/devices/services/platform.registry.service.js +44 -0
  722. package/dist/modules/devices/services/platform.registry.service.js.map +1 -0
  723. package/dist/modules/devices/services/property-command.service.d.ts +26 -0
  724. package/dist/modules/devices/services/property-command.service.js +209 -0
  725. package/dist/modules/devices/services/property-command.service.js.map +1 -0
  726. package/dist/modules/devices/services/property-timeseries.service.d.ts +14 -0
  727. package/dist/modules/devices/services/property-timeseries.service.js +124 -0
  728. package/dist/modules/devices/services/property-timeseries.service.js.map +1 -0
  729. package/dist/modules/devices/services/property-value.service.d.ts +17 -0
  730. package/dist/modules/devices/services/property-value.service.js +294 -0
  731. package/dist/modules/devices/services/property-value.service.js.map +1 -0
  732. package/dist/modules/devices/services/stats.service.d.ts +13 -0
  733. package/dist/modules/devices/services/stats.service.js +51 -0
  734. package/dist/modules/devices/services/stats.service.js.map +1 -0
  735. package/dist/modules/devices/subscribers/channel-control-entity.subscriber.d.ts +8 -0
  736. package/dist/modules/devices/subscribers/channel-control-entity.subscriber.js +35 -0
  737. package/dist/modules/devices/subscribers/channel-control-entity.subscriber.js.map +1 -0
  738. package/dist/modules/devices/subscribers/channel-entity.subscriber.d.ts +8 -0
  739. package/dist/modules/devices/subscribers/channel-entity.subscriber.js +35 -0
  740. package/dist/modules/devices/subscribers/channel-entity.subscriber.js.map +1 -0
  741. package/dist/modules/devices/subscribers/channel-property-entity.subscriber.d.ts +17 -0
  742. package/dist/modules/devices/subscribers/channel-property-entity.subscriber.js +109 -0
  743. package/dist/modules/devices/subscribers/channel-property-entity.subscriber.js.map +1 -0
  744. package/dist/modules/devices/subscribers/device-control-entity.subscriber.d.ts +8 -0
  745. package/dist/modules/devices/subscribers/device-control-entity.subscriber.js +35 -0
  746. package/dist/modules/devices/subscribers/device-control-entity.subscriber.js.map +1 -0
  747. package/dist/modules/devices/subscribers/device-entity.subscriber.d.ts +13 -0
  748. package/dist/modules/devices/subscribers/device-entity.subscriber.js +80 -0
  749. package/dist/modules/devices/subscribers/device-entity.subscriber.js.map +1 -0
  750. package/dist/modules/devices/utils/schema.utils.d.ts +61 -0
  751. package/dist/modules/devices/utils/schema.utils.js +483 -0
  752. package/dist/modules/devices/utils/schema.utils.js.map +1 -0
  753. package/dist/modules/devices/validators/channel-exists-constraint.validator.d.ts +11 -0
  754. package/dist/modules/devices/validators/channel-exists-constraint.validator.js +61 -0
  755. package/dist/modules/devices/validators/channel-exists-constraint.validator.js.map +1 -0
  756. package/dist/modules/devices/validators/channel-property-exists-constraint.validator.d.ts +11 -0
  757. package/dist/modules/devices/validators/channel-property-exists-constraint.validator.js +61 -0
  758. package/dist/modules/devices/validators/channel-property-exists-constraint.validator.js.map +1 -0
  759. package/dist/modules/devices/validators/device-exists-constraint.validator.d.ts +9 -0
  760. package/dist/modules/devices/validators/device-exists-constraint.validator.js +49 -0
  761. package/dist/modules/devices/validators/device-exists-constraint.validator.js.map +1 -0
  762. package/dist/modules/devices/validators/unique-control-names-constraint.validator.d.ts +6 -0
  763. package/dist/modules/devices/validators/unique-control-names-constraint.validator.js +39 -0
  764. package/dist/modules/devices/validators/unique-control-names-constraint.validator.js.map +1 -0
  765. package/dist/modules/displays/controllers/displays.controller.d.ts +32 -0
  766. package/dist/modules/displays/controllers/displays.controller.js +398 -0
  767. package/dist/modules/displays/controllers/displays.controller.js.map +1 -0
  768. package/dist/modules/displays/controllers/registration.controller.d.ts +13 -0
  769. package/dist/modules/displays/controllers/registration.controller.js +104 -0
  770. package/dist/modules/displays/controllers/registration.controller.js.map +1 -0
  771. package/dist/modules/displays/displays.constants.d.ts +37 -0
  772. package/dist/modules/displays/displays.constants.js +52 -0
  773. package/dist/modules/displays/displays.constants.js.map +1 -0
  774. package/dist/modules/displays/displays.exceptions.d.ts +13 -0
  775. package/dist/modules/displays/displays.exceptions.js +45 -0
  776. package/dist/modules/displays/displays.exceptions.js.map +1 -0
  777. package/dist/modules/displays/displays.module.d.ts +17 -0
  778. package/dist/modules/displays/displays.module.js +152 -0
  779. package/dist/modules/displays/displays.module.js.map +1 -0
  780. package/dist/modules/displays/displays.openapi.d.ts +5 -0
  781. package/dist/modules/displays/displays.openapi.js +28 -0
  782. package/dist/modules/displays/displays.openapi.js.map +1 -0
  783. package/dist/modules/displays/dto/register-display.dto.d.ts +16 -0
  784. package/dist/modules/displays/dto/register-display.dto.js +175 -0
  785. package/dist/modules/displays/dto/register-display.dto.js.map +1 -0
  786. package/dist/modules/displays/dto/update-config.dto.d.ts +8 -0
  787. package/dist/modules/displays/dto/update-config.dto.js +71 -0
  788. package/dist/modules/displays/dto/update-config.dto.js.map +1 -0
  789. package/dist/modules/displays/dto/update-display.dto.d.ts +37 -0
  790. package/dist/modules/displays/dto/update-display.dto.js +473 -0
  791. package/dist/modules/displays/dto/update-display.dto.js.map +1 -0
  792. package/dist/modules/displays/entities/displays.entity.d.ts +46 -0
  793. package/dist/modules/displays/entities/displays.entity.js +577 -0
  794. package/dist/modules/displays/entities/displays.entity.js.map +1 -0
  795. package/dist/modules/displays/guards/registration.guard.d.ts +15 -0
  796. package/dist/modules/displays/guards/registration.guard.js +70 -0
  797. package/dist/modules/displays/guards/registration.guard.js.map +1 -0
  798. package/dist/modules/displays/listeners/websocket-exchange.listener.d.ts +16 -0
  799. package/dist/modules/displays/listeners/websocket-exchange.listener.js +133 -0
  800. package/dist/modules/displays/listeners/websocket-exchange.listener.js.map +1 -0
  801. package/dist/modules/displays/models/config.model.d.ts +8 -0
  802. package/dist/modules/displays/models/config.model.js +75 -0
  803. package/dist/modules/displays/models/config.model.js.map +1 -0
  804. package/dist/modules/displays/models/displays-response.model.d.ts +51 -0
  805. package/dist/modules/displays/models/displays-response.model.js +311 -0
  806. package/dist/modules/displays/models/displays-response.model.js.map +1 -0
  807. package/dist/modules/displays/services/display-connection-state.service.d.ts +15 -0
  808. package/dist/modules/displays/services/display-connection-state.service.js +114 -0
  809. package/dist/modules/displays/services/display-connection-state.service.js.map +1 -0
  810. package/dist/modules/displays/services/displays.service.d.ts +28 -0
  811. package/dist/modules/displays/services/displays.service.js +212 -0
  812. package/dist/modules/displays/services/displays.service.js.map +1 -0
  813. package/dist/modules/displays/services/home-resolution.service.d.ts +20 -0
  814. package/dist/modules/displays/services/home-resolution.service.js +114 -0
  815. package/dist/modules/displays/services/home-resolution.service.js.map +1 -0
  816. package/dist/modules/displays/services/module-reset.service.d.ts +12 -0
  817. package/dist/modules/displays/services/module-reset.service.js +55 -0
  818. package/dist/modules/displays/services/module-reset.service.js.map +1 -0
  819. package/dist/modules/displays/services/permit-join.service.d.ts +16 -0
  820. package/dist/modules/displays/services/permit-join.service.js +85 -0
  821. package/dist/modules/displays/services/permit-join.service.js.map +1 -0
  822. package/dist/modules/displays/services/registration.service.d.ts +26 -0
  823. package/dist/modules/displays/services/registration.service.js +146 -0
  824. package/dist/modules/displays/services/registration.service.js.map +1 -0
  825. package/dist/modules/displays/subscribers/display-entity.subscriber.d.ts +12 -0
  826. package/dist/modules/displays/subscribers/display-entity.subscriber.js +63 -0
  827. package/dist/modules/displays/subscribers/display-entity.subscriber.js.map +1 -0
  828. package/dist/modules/displays/utils/ip.utils.d.ts +3 -0
  829. package/dist/modules/displays/utils/ip.utils.js +45 -0
  830. package/dist/modules/displays/utils/ip.utils.js.map +1 -0
  831. package/dist/modules/displays/validators/display-exists-constraint.validator.d.ts +9 -0
  832. package/dist/modules/displays/validators/display-exists-constraint.validator.js +64 -0
  833. package/dist/modules/displays/validators/display-exists-constraint.validator.js.map +1 -0
  834. package/dist/modules/energy/controllers/energy-home.controller.d.ts +11 -0
  835. package/dist/modules/energy/controllers/energy-home.controller.js +206 -0
  836. package/dist/modules/energy/controllers/energy-home.controller.js.map +1 -0
  837. package/dist/modules/energy/controllers/energy-spaces.controller.d.ts +11 -0
  838. package/dist/modules/energy/controllers/energy-spaces.controller.js +249 -0
  839. package/dist/modules/energy/controllers/energy-spaces.controller.js.map +1 -0
  840. package/dist/modules/energy/controllers/energy.controller.d.ts +8 -0
  841. package/dist/modules/energy/controllers/energy.controller.js +137 -0
  842. package/dist/modules/energy/controllers/energy.controller.js.map +1 -0
  843. package/dist/modules/energy/dto/update-config.dto.d.ts +7 -0
  844. package/dist/modules/energy/dto/update-config.dto.js +71 -0
  845. package/dist/modules/energy/dto/update-config.dto.js.map +1 -0
  846. package/dist/modules/energy/energy.constants.d.ts +17 -0
  847. package/dist/modules/energy/energy.constants.js +22 -0
  848. package/dist/modules/energy/energy.constants.js.map +1 -0
  849. package/dist/modules/energy/energy.module.d.ts +16 -0
  850. package/dist/modules/energy/energy.module.js +129 -0
  851. package/dist/modules/energy/energy.module.js.map +1 -0
  852. package/dist/modules/energy/energy.openapi.d.ts +7 -0
  853. package/dist/modules/energy/energy.openapi.js +29 -0
  854. package/dist/modules/energy/energy.openapi.js.map +1 -0
  855. package/dist/modules/energy/entities/energy-delta.entity.d.ts +11 -0
  856. package/dist/modules/energy/entities/energy-delta.entity.js +169 -0
  857. package/dist/modules/energy/entities/energy-delta.entity.js.map +1 -0
  858. package/dist/modules/energy/helpers/energy-range.helper.d.ts +11 -0
  859. package/dist/modules/energy/helpers/energy-range.helper.js +117 -0
  860. package/dist/modules/energy/helpers/energy-range.helper.js.map +1 -0
  861. package/dist/modules/energy/listeners/energy-ingestion.listener.d.ts +18 -0
  862. package/dist/modules/energy/listeners/energy-ingestion.listener.js +155 -0
  863. package/dist/modules/energy/listeners/energy-ingestion.listener.js.map +1 -0
  864. package/dist/modules/energy/models/config.model.d.ts +7 -0
  865. package/dist/modules/energy/models/config.model.js +79 -0
  866. package/dist/modules/energy/models/config.model.js.map +1 -0
  867. package/dist/modules/energy/models/energy-breakdown-item.model.d.ts +7 -0
  868. package/dist/modules/energy/models/energy-breakdown-item.model.js +84 -0
  869. package/dist/modules/energy/models/energy-breakdown-item.model.js.map +1 -0
  870. package/dist/modules/energy/models/energy-delta.model.d.ts +8 -0
  871. package/dist/modules/energy/models/energy-delta.model.js +94 -0
  872. package/dist/modules/energy/models/energy-delta.model.js.map +1 -0
  873. package/dist/modules/energy/models/energy-home-response.model.d.ts +13 -0
  874. package/dist/modules/energy/models/energy-home-response.model.js +70 -0
  875. package/dist/modules/energy/models/energy-home-response.model.js.map +1 -0
  876. package/dist/modules/energy/models/energy-response.model.d.ts +9 -0
  877. package/dist/modules/energy/models/energy-response.model.js +52 -0
  878. package/dist/modules/energy/models/energy-response.model.js.map +1 -0
  879. package/dist/modules/energy/models/energy-space-response.model.d.ts +13 -0
  880. package/dist/modules/energy/models/energy-space-response.model.js +70 -0
  881. package/dist/modules/energy/models/energy-space-response.model.js.map +1 -0
  882. package/dist/modules/energy/models/energy-space-summary.model.d.ts +15 -0
  883. package/dist/modules/energy/models/energy-space-summary.model.js +186 -0
  884. package/dist/modules/energy/models/energy-space-summary.model.js.map +1 -0
  885. package/dist/modules/energy/models/energy-summary.model.d.ts +8 -0
  886. package/dist/modules/energy/models/energy-summary.model.js +95 -0
  887. package/dist/modules/energy/models/energy-summary.model.js.map +1 -0
  888. package/dist/modules/energy/models/energy-timeseries-point.model.d.ts +8 -0
  889. package/dist/modules/energy/models/energy-timeseries-point.model.js +94 -0
  890. package/dist/modules/energy/models/energy-timeseries-point.model.js.map +1 -0
  891. package/dist/modules/energy/services/delta-computation.service.d.ts +21 -0
  892. package/dist/modules/energy/services/delta-computation.service.js +94 -0
  893. package/dist/modules/energy/services/delta-computation.service.js.map +1 -0
  894. package/dist/modules/energy/services/energy-cache.service.d.ts +11 -0
  895. package/dist/modules/energy/services/energy-cache.service.js +72 -0
  896. package/dist/modules/energy/services/energy-cache.service.js.map +1 -0
  897. package/dist/modules/energy/services/energy-cleanup.service.d.ts +13 -0
  898. package/dist/modules/energy/services/energy-cleanup.service.js +95 -0
  899. package/dist/modules/energy/services/energy-cleanup.service.js.map +1 -0
  900. package/dist/modules/energy/services/energy-data.service.d.ts +63 -0
  901. package/dist/modules/energy/services/energy-data.service.js +353 -0
  902. package/dist/modules/energy/services/energy-data.service.js.map +1 -0
  903. package/dist/modules/energy/services/energy-metrics.service.d.ts +22 -0
  904. package/dist/modules/energy/services/energy-metrics.service.js +58 -0
  905. package/dist/modules/energy/services/energy-metrics.service.js.map +1 -0
  906. package/dist/modules/energy/services/module-reset.service.d.ts +11 -0
  907. package/dist/modules/energy/services/module-reset.service.js +47 -0
  908. package/dist/modules/energy/services/module-reset.service.js.map +1 -0
  909. package/dist/modules/extension-registry/extension-registry.module.d.ts +2 -0
  910. package/dist/modules/extension-registry/extension-registry.module.js +25 -0
  911. package/dist/modules/extension-registry/extension-registry.module.js.map +1 -0
  912. package/dist/modules/extensions/commands/services.command.d.ts +26 -0
  913. package/dist/modules/extensions/commands/services.command.js +218 -0
  914. package/dist/modules/extensions/commands/services.command.js.map +1 -0
  915. package/dist/modules/extensions/controllers/actions.controller.d.ts +10 -0
  916. package/dist/modules/extensions/controllers/actions.controller.js +89 -0
  917. package/dist/modules/extensions/controllers/actions.controller.js.map +1 -0
  918. package/dist/modules/extensions/controllers/discovered-extensions.controller.d.ts +17 -0
  919. package/dist/modules/extensions/controllers/discovered-extensions.controller.js +299 -0
  920. package/dist/modules/extensions/controllers/discovered-extensions.controller.js.map +1 -0
  921. package/dist/modules/extensions/controllers/extensions.controller.d.ts +13 -0
  922. package/dist/modules/extensions/controllers/extensions.controller.js +141 -0
  923. package/dist/modules/extensions/controllers/extensions.controller.js.map +1 -0
  924. package/dist/modules/extensions/controllers/services.controller.d.ts +13 -0
  925. package/dist/modules/extensions/controllers/services.controller.js +184 -0
  926. package/dist/modules/extensions/controllers/services.controller.js.map +1 -0
  927. package/dist/modules/extensions/dto/execute-action.dto.d.ts +6 -0
  928. package/dist/modules/extensions/dto/execute-action.dto.js +52 -0
  929. package/dist/modules/extensions/dto/execute-action.dto.js.map +1 -0
  930. package/dist/modules/extensions/dto/update-config.dto.d.ts +4 -0
  931. package/dist/modules/extensions/dto/update-config.dto.js +34 -0
  932. package/dist/modules/extensions/dto/update-config.dto.js.map +1 -0
  933. package/dist/modules/extensions/dto/update-extension.dto.d.ts +6 -0
  934. package/dist/modules/extensions/dto/update-extension.dto.js +52 -0
  935. package/dist/modules/extensions/dto/update-extension.dto.js.map +1 -0
  936. package/dist/modules/extensions/extensions.constants.d.ts +17 -0
  937. package/dist/modules/extensions/extensions.constants.js +58 -0
  938. package/dist/modules/extensions/extensions.constants.js.map +1 -0
  939. package/dist/modules/extensions/extensions.exceptions.d.ts +7 -0
  940. package/dist/modules/extensions/extensions.exceptions.js +17 -0
  941. package/dist/modules/extensions/extensions.exceptions.js.map +1 -0
  942. package/dist/modules/extensions/extensions.module.d.ts +19 -0
  943. package/dist/modules/extensions/extensions.module.js +135 -0
  944. package/dist/modules/extensions/extensions.module.js.map +1 -0
  945. package/dist/modules/extensions/extensions.openapi.d.ts +10 -0
  946. package/dist/modules/extensions/extensions.openapi.js +37 -0
  947. package/dist/modules/extensions/extensions.openapi.js.map +1 -0
  948. package/dist/modules/extensions/models/action.model.d.ts +36 -0
  949. package/dist/modules/extensions/models/action.model.js +252 -0
  950. package/dist/modules/extensions/models/action.model.js.map +1 -0
  951. package/dist/modules/extensions/models/actions-response.model.d.ts +8 -0
  952. package/dist/modules/extensions/models/actions-response.model.js +50 -0
  953. package/dist/modules/extensions/models/actions-response.model.js.map +1 -0
  954. package/dist/modules/extensions/models/config.model.d.ts +5 -0
  955. package/dist/modules/extensions/models/config.model.js +49 -0
  956. package/dist/modules/extensions/models/config.model.js.map +1 -0
  957. package/dist/modules/extensions/models/discovered-extension.model.d.ts +18 -0
  958. package/dist/modules/extensions/models/discovered-extension.model.js +120 -0
  959. package/dist/modules/extensions/models/discovered-extension.model.js.map +1 -0
  960. package/dist/modules/extensions/models/discovered-extensions-response.model.d.ts +5 -0
  961. package/dist/modules/extensions/models/discovered-extensions-response.model.js +44 -0
  962. package/dist/modules/extensions/models/discovered-extensions-response.model.js.map +1 -0
  963. package/dist/modules/extensions/models/extension.model.d.ts +24 -0
  964. package/dist/modules/extensions/models/extension.model.js +230 -0
  965. package/dist/modules/extensions/models/extension.model.js.map +1 -0
  966. package/dist/modules/extensions/models/extensions-response.model.d.ts +8 -0
  967. package/dist/modules/extensions/models/extensions-response.model.js +50 -0
  968. package/dist/modules/extensions/models/extensions-response.model.js.map +1 -0
  969. package/dist/modules/extensions/models/service-status.model.d.ts +20 -0
  970. package/dist/modules/extensions/models/service-status.model.js +136 -0
  971. package/dist/modules/extensions/models/service-status.model.js.map +1 -0
  972. package/dist/modules/extensions/providers/extensions-stats.provider.d.ts +9 -0
  973. package/dist/modules/extensions/providers/extensions-stats.provider.js +111 -0
  974. package/dist/modules/extensions/providers/extensions-stats.provider.js.map +1 -0
  975. package/dist/modules/extensions/services/extension-action-registry.service.d.ts +43 -0
  976. package/dist/modules/extensions/services/extension-action-registry.service.js +250 -0
  977. package/dist/modules/extensions/services/extension-action-registry.service.js.map +1 -0
  978. package/dist/modules/extensions/services/extension-action.interface.d.ts +53 -0
  979. package/dist/modules/extensions/services/extension-action.interface.js +20 -0
  980. package/dist/modules/extensions/services/extension-action.interface.js.map +1 -0
  981. package/dist/modules/extensions/services/extensions-bundled.service.d.ts +25 -0
  982. package/dist/modules/extensions/services/extensions-bundled.service.js +93 -0
  983. package/dist/modules/extensions/services/extensions-bundled.service.js.map +1 -0
  984. package/dist/modules/extensions/services/extensions-discovery-cache.d.ts +12 -0
  985. package/dist/modules/extensions/services/extensions-discovery-cache.js +20 -0
  986. package/dist/modules/extensions/services/extensions-discovery-cache.js.map +1 -0
  987. package/dist/modules/extensions/services/extensions-discovery.d.ts +10 -0
  988. package/dist/modules/extensions/services/extensions-discovery.js +311 -0
  989. package/dist/modules/extensions/services/extensions-discovery.js.map +1 -0
  990. package/dist/modules/extensions/services/extensions.service.d.ts +44 -0
  991. package/dist/modules/extensions/services/extensions.service.js +207 -0
  992. package/dist/modules/extensions/services/extensions.service.js.map +1 -0
  993. package/dist/modules/extensions/services/managed-plugin-service.interface.d.ts +41 -0
  994. package/dist/modules/extensions/services/managed-plugin-service.interface.js +3 -0
  995. package/dist/modules/extensions/services/managed-plugin-service.interface.js.map +1 -0
  996. package/dist/modules/extensions/services/module-reset.service.d.ts +10 -0
  997. package/dist/modules/extensions/services/module-reset.service.js +42 -0
  998. package/dist/modules/extensions/services/module-reset.service.js.map +1 -0
  999. package/dist/modules/extensions/services/plugin-service-manager.service.d.ts +43 -0
  1000. package/dist/modules/extensions/services/plugin-service-manager.service.js +517 -0
  1001. package/dist/modules/extensions/services/plugin-service-manager.service.js.map +1 -0
  1002. package/dist/modules/factory-reset/factory-reset.module.d.ts +2 -0
  1003. package/dist/modules/factory-reset/factory-reset.module.js +22 -0
  1004. package/dist/modules/factory-reset/factory-reset.module.js.map +1 -0
  1005. package/dist/modules/intents/controllers/intents.controller.d.ts +10 -0
  1006. package/dist/modules/intents/controllers/intents.controller.js +144 -0
  1007. package/dist/modules/intents/controllers/intents.controller.js.map +1 -0
  1008. package/dist/modules/intents/dto/update-config.dto.d.ts +5 -0
  1009. package/dist/modules/intents/dto/update-config.dto.js +39 -0
  1010. package/dist/modules/intents/dto/update-config.dto.js.map +1 -0
  1011. package/dist/modules/intents/intents.constants.d.ts +60 -0
  1012. package/dist/modules/intents/intents.constants.js +78 -0
  1013. package/dist/modules/intents/intents.constants.js.map +1 -0
  1014. package/dist/modules/intents/intents.module.d.ts +8 -0
  1015. package/dist/modules/intents/intents.module.js +99 -0
  1016. package/dist/modules/intents/intents.module.js.map +1 -0
  1017. package/dist/modules/intents/models/config.model.d.ts +5 -0
  1018. package/dist/modules/intents/models/config.model.js +49 -0
  1019. package/dist/modules/intents/models/config.model.js.map +1 -0
  1020. package/dist/modules/intents/models/intent.model.d.ts +58 -0
  1021. package/dist/modules/intents/models/intent.model.js +293 -0
  1022. package/dist/modules/intents/models/intent.model.js.map +1 -0
  1023. package/dist/modules/intents/models/intents-response.model.d.ts +15 -0
  1024. package/dist/modules/intents/models/intents-response.model.js +67 -0
  1025. package/dist/modules/intents/models/intents-response.model.js.map +1 -0
  1026. package/dist/modules/intents/services/intent-timeseries.service.d.ts +52 -0
  1027. package/dist/modules/intents/services/intent-timeseries.service.js +472 -0
  1028. package/dist/modules/intents/services/intent-timeseries.service.js.map +1 -0
  1029. package/dist/modules/intents/services/intents.service.d.ts +25 -0
  1030. package/dist/modules/intents/services/intents.service.js +205 -0
  1031. package/dist/modules/intents/services/intents.service.js.map +1 -0
  1032. package/dist/modules/intents/validators/intent-target.validator.d.ts +5 -0
  1033. package/dist/modules/intents/validators/intent-target.validator.js +27 -0
  1034. package/dist/modules/intents/validators/intent-target.validator.js.map +1 -0
  1035. package/dist/modules/mdns/dto/update-config.dto.d.ts +7 -0
  1036. package/dist/modules/mdns/dto/update-config.dto.js +63 -0
  1037. package/dist/modules/mdns/dto/update-config.dto.js.map +1 -0
  1038. package/dist/modules/mdns/mdns.constants.d.ts +4 -0
  1039. package/dist/modules/mdns/mdns.constants.js +8 -0
  1040. package/dist/modules/mdns/mdns.constants.js.map +1 -0
  1041. package/dist/modules/mdns/mdns.module.d.ts +11 -0
  1042. package/dist/modules/mdns/mdns.module.js +102 -0
  1043. package/dist/modules/mdns/mdns.module.js.map +1 -0
  1044. package/dist/modules/mdns/mdns.openapi.d.ts +3 -0
  1045. package/dist/modules/mdns/mdns.openapi.js +10 -0
  1046. package/dist/modules/mdns/mdns.openapi.js.map +1 -0
  1047. package/dist/modules/mdns/models/config.model.d.ts +7 -0
  1048. package/dist/modules/mdns/models/config.model.js +73 -0
  1049. package/dist/modules/mdns/models/config.model.js.map +1 -0
  1050. package/dist/modules/mdns/services/mdns.service.d.ts +27 -0
  1051. package/dist/modules/mdns/services/mdns.service.js +162 -0
  1052. package/dist/modules/mdns/services/mdns.service.js.map +1 -0
  1053. package/dist/modules/module-registry/module-registry.module.d.ts +2 -0
  1054. package/dist/modules/module-registry/module-registry.module.js +23 -0
  1055. package/dist/modules/module-registry/module-registry.module.js.map +1 -0
  1056. package/dist/modules/platform/dto/network-stats.dto.d.ts +5 -0
  1057. package/dist/modules/platform/dto/network-stats.dto.js +33 -0
  1058. package/dist/modules/platform/dto/network-stats.dto.js.map +1 -0
  1059. package/dist/modules/platform/dto/system-info.dto.d.ts +51 -0
  1060. package/dist/modules/platform/dto/system-info.dto.js +223 -0
  1061. package/dist/modules/platform/dto/system-info.dto.js.map +1 -0
  1062. package/dist/modules/platform/dto/temperature.dto.d.ts +4 -0
  1063. package/dist/modules/platform/dto/temperature.dto.js +34 -0
  1064. package/dist/modules/platform/dto/temperature.dto.js.map +1 -0
  1065. package/dist/modules/platform/dto/throttle-status.dto.d.ts +6 -0
  1066. package/dist/modules/platform/dto/throttle-status.dto.js +38 -0
  1067. package/dist/modules/platform/dto/throttle-status.dto.js.map +1 -0
  1068. package/dist/modules/platform/dto/update-config.dto.d.ts +5 -0
  1069. package/dist/modules/platform/dto/update-config.dto.js +36 -0
  1070. package/dist/modules/platform/dto/update-config.dto.js.map +1 -0
  1071. package/dist/modules/platform/dto/wifi-networks.dto.d.ts +12 -0
  1072. package/dist/modules/platform/dto/wifi-networks.dto.js +68 -0
  1073. package/dist/modules/platform/dto/wifi-networks.dto.js.map +1 -0
  1074. package/dist/modules/platform/models/config.model.d.ts +5 -0
  1075. package/dist/modules/platform/models/config.model.js +49 -0
  1076. package/dist/modules/platform/models/config.model.js.map +1 -0
  1077. package/dist/modules/platform/platform.constants.d.ts +9 -0
  1078. package/dist/modules/platform/platform.constants.js +14 -0
  1079. package/dist/modules/platform/platform.constants.js.map +1 -0
  1080. package/dist/modules/platform/platform.exceptions.d.ts +9 -0
  1081. package/dist/modules/platform/platform.exceptions.js +25 -0
  1082. package/dist/modules/platform/platform.exceptions.js.map +1 -0
  1083. package/dist/modules/platform/platform.module.d.ts +9 -0
  1084. package/dist/modules/platform/platform.module.js +77 -0
  1085. package/dist/modules/platform/platform.module.js.map +1 -0
  1086. package/dist/modules/platform/platforms/abstract.platform.d.ts +25 -0
  1087. package/dist/modules/platform/platforms/abstract.platform.js +27 -0
  1088. package/dist/modules/platform/platforms/abstract.platform.js.map +1 -0
  1089. package/dist/modules/platform/platforms/development.platform.d.ts +5 -0
  1090. package/dist/modules/platform/platforms/development.platform.js +20 -0
  1091. package/dist/modules/platform/platforms/development.platform.js.map +1 -0
  1092. package/dist/modules/platform/platforms/docker.platform.d.ts +6 -0
  1093. package/dist/modules/platform/platforms/docker.platform.js +88 -0
  1094. package/dist/modules/platform/platforms/docker.platform.js.map +1 -0
  1095. package/dist/modules/platform/platforms/generic.platform.d.ts +25 -0
  1096. package/dist/modules/platform/platforms/generic.platform.js +203 -0
  1097. package/dist/modules/platform/platforms/generic.platform.js.map +1 -0
  1098. package/dist/modules/platform/platforms/home-assistant.platform.d.ts +9 -0
  1099. package/dist/modules/platform/platforms/home-assistant.platform.js +46 -0
  1100. package/dist/modules/platform/platforms/home-assistant.platform.js.map +1 -0
  1101. package/dist/modules/platform/platforms/raspberry.platform.d.ts +29 -0
  1102. package/dist/modules/platform/platforms/raspberry.platform.js +340 -0
  1103. package/dist/modules/platform/platforms/raspberry.platform.js.map +1 -0
  1104. package/dist/modules/platform/services/platform.service.d.ts +21 -0
  1105. package/dist/modules/platform/services/platform.service.js +147 -0
  1106. package/dist/modules/platform/services/platform.service.js.map +1 -0
  1107. package/dist/modules/scenes/controllers/scene-actions.controller.d.ts +25 -0
  1108. package/dist/modules/scenes/controllers/scene-actions.controller.js +261 -0
  1109. package/dist/modules/scenes/controllers/scene-actions.controller.js.map +1 -0
  1110. package/dist/modules/scenes/controllers/scenes.controller.d.ts +24 -0
  1111. package/dist/modules/scenes/controllers/scenes.controller.js +277 -0
  1112. package/dist/modules/scenes/controllers/scenes.controller.js.map +1 -0
  1113. package/dist/modules/scenes/dto/create-scene-action.dto.d.ts +11 -0
  1114. package/dist/modules/scenes/dto/create-scene-action.dto.js +96 -0
  1115. package/dist/modules/scenes/dto/create-scene-action.dto.js.map +1 -0
  1116. package/dist/modules/scenes/dto/create-scene.dto.d.ts +16 -0
  1117. package/dist/modules/scenes/dto/create-scene.dto.js +145 -0
  1118. package/dist/modules/scenes/dto/create-scene.dto.js.map +1 -0
  1119. package/dist/modules/scenes/dto/trigger-scene.dto.d.ts +7 -0
  1120. package/dist/modules/scenes/dto/trigger-scene.dto.js +58 -0
  1121. package/dist/modules/scenes/dto/trigger-scene.dto.js.map +1 -0
  1122. package/dist/modules/scenes/dto/update-config.dto.d.ts +7 -0
  1123. package/dist/modules/scenes/dto/update-config.dto.js +94 -0
  1124. package/dist/modules/scenes/dto/update-config.dto.js.map +1 -0
  1125. package/dist/modules/scenes/dto/update-scene-action.dto.d.ts +9 -0
  1126. package/dist/modules/scenes/dto/update-scene-action.dto.js +73 -0
  1127. package/dist/modules/scenes/dto/update-scene-action.dto.js.map +1 -0
  1128. package/dist/modules/scenes/dto/update-scene.dto.d.ts +13 -0
  1129. package/dist/modules/scenes/dto/update-scene.dto.js +119 -0
  1130. package/dist/modules/scenes/dto/update-scene.dto.js.map +1 -0
  1131. package/dist/modules/scenes/entities/scenes.entity.d.ts +21 -0
  1132. package/dist/modules/scenes/entities/scenes.entity.js +229 -0
  1133. package/dist/modules/scenes/entities/scenes.entity.js.map +1 -0
  1134. package/dist/modules/scenes/listeners/websocket-exchange.listener.d.ts +18 -0
  1135. package/dist/modules/scenes/listeners/websocket-exchange.listener.js +83 -0
  1136. package/dist/modules/scenes/listeners/websocket-exchange.listener.js.map +1 -0
  1137. package/dist/modules/scenes/models/config.model.d.ts +8 -0
  1138. package/dist/modules/scenes/models/config.model.js +93 -0
  1139. package/dist/modules/scenes/models/config.model.js.map +1 -0
  1140. package/dist/modules/scenes/models/scenes-response.model.d.ts +18 -0
  1141. package/dist/modules/scenes/models/scenes-response.model.js +90 -0
  1142. package/dist/modules/scenes/models/scenes-response.model.js.map +1 -0
  1143. package/dist/modules/scenes/models/scenes.model.d.ts +19 -0
  1144. package/dist/modules/scenes/models/scenes.model.js +183 -0
  1145. package/dist/modules/scenes/models/scenes.model.js.map +1 -0
  1146. package/dist/modules/scenes/scenes.constants.d.ts +43 -0
  1147. package/dist/modules/scenes/scenes.constants.js +50 -0
  1148. package/dist/modules/scenes/scenes.constants.js.map +1 -0
  1149. package/dist/modules/scenes/scenes.exceptions.d.ts +40 -0
  1150. package/dist/modules/scenes/scenes.exceptions.js +84 -0
  1151. package/dist/modules/scenes/scenes.exceptions.js.map +1 -0
  1152. package/dist/modules/scenes/scenes.module.d.ts +23 -0
  1153. package/dist/modules/scenes/scenes.module.js +157 -0
  1154. package/dist/modules/scenes/scenes.module.js.map +1 -0
  1155. package/dist/modules/scenes/scenes.openapi.d.ts +4 -0
  1156. package/dist/modules/scenes/scenes.openapi.js +18 -0
  1157. package/dist/modules/scenes/scenes.openapi.js.map +1 -0
  1158. package/dist/modules/scenes/services/module-reset.service.d.ts +14 -0
  1159. package/dist/modules/scenes/services/module-reset.service.js +63 -0
  1160. package/dist/modules/scenes/services/module-reset.service.js.map +1 -0
  1161. package/dist/modules/scenes/services/scene-actions-type-mapper.service.d.ts +18 -0
  1162. package/dist/modules/scenes/services/scene-actions-type-mapper.service.js +60 -0
  1163. package/dist/modules/scenes/services/scene-actions-type-mapper.service.js.map +1 -0
  1164. package/dist/modules/scenes/services/scene-actions.service.d.ts +25 -0
  1165. package/dist/modules/scenes/services/scene-actions.service.js +177 -0
  1166. package/dist/modules/scenes/services/scene-actions.service.js.map +1 -0
  1167. package/dist/modules/scenes/services/scene-executor.service.d.ts +26 -0
  1168. package/dist/modules/scenes/services/scene-executor.service.js +251 -0
  1169. package/dist/modules/scenes/services/scene-executor.service.js.map +1 -0
  1170. package/dist/modules/scenes/services/scene-tool.service.d.ts +16 -0
  1171. package/dist/modules/scenes/services/scene-tool.service.js +90 -0
  1172. package/dist/modules/scenes/services/scene-tool.service.js.map +1 -0
  1173. package/dist/modules/scenes/services/scenes-seeder.service.d.ts +9 -0
  1174. package/dist/modules/scenes/services/scenes-seeder.service.js +90 -0
  1175. package/dist/modules/scenes/services/scenes-seeder.service.js.map +1 -0
  1176. package/dist/modules/scenes/services/scenes.service.d.ts +28 -0
  1177. package/dist/modules/scenes/services/scenes.service.js +240 -0
  1178. package/dist/modules/scenes/services/scenes.service.js.map +1 -0
  1179. package/dist/modules/scenes/validators/scene-exists-constraint.validator.d.ts +9 -0
  1180. package/dist/modules/scenes/validators/scene-exists-constraint.validator.js +49 -0
  1181. package/dist/modules/scenes/validators/scene-exists-constraint.validator.js.map +1 -0
  1182. package/dist/modules/security/contracts/security-aggregation-context.type.d.ts +6 -0
  1183. package/dist/modules/security/contracts/security-aggregation-context.type.js +3 -0
  1184. package/dist/modules/security/contracts/security-aggregation-context.type.js.map +1 -0
  1185. package/dist/modules/security/contracts/security-aggregator.interface.d.ts +9 -0
  1186. package/dist/modules/security/contracts/security-aggregator.interface.js +3 -0
  1187. package/dist/modules/security/contracts/security-aggregator.interface.js.map +1 -0
  1188. package/dist/modules/security/contracts/security-signal.type.d.ts +27 -0
  1189. package/dist/modules/security/contracts/security-signal.type.js +3 -0
  1190. package/dist/modules/security/contracts/security-signal.type.js.map +1 -0
  1191. package/dist/modules/security/contracts/security-state-provider.interface.d.ts +6 -0
  1192. package/dist/modules/security/contracts/security-state-provider.interface.js +3 -0
  1193. package/dist/modules/security/contracts/security-state-provider.interface.js.map +1 -0
  1194. package/dist/modules/security/controllers/security-alerts.controller.d.ts +10 -0
  1195. package/dist/modules/security/controllers/security-alerts.controller.js +103 -0
  1196. package/dist/modules/security/controllers/security-alerts.controller.js.map +1 -0
  1197. package/dist/modules/security/controllers/security-events.controller.d.ts +7 -0
  1198. package/dist/modules/security/controllers/security-events.controller.js +116 -0
  1199. package/dist/modules/security/controllers/security-events.controller.js.map +1 -0
  1200. package/dist/modules/security/controllers/security.controller.d.ts +7 -0
  1201. package/dist/modules/security/controllers/security.controller.js +51 -0
  1202. package/dist/modules/security/controllers/security.controller.js.map +1 -0
  1203. package/dist/modules/security/dto/update-config.dto.d.ts +5 -0
  1204. package/dist/modules/security/dto/update-config.dto.js +39 -0
  1205. package/dist/modules/security/dto/update-config.dto.js.map +1 -0
  1206. package/dist/modules/security/entities/security-alert-ack.entity.d.ts +8 -0
  1207. package/dist/modules/security/entities/security-alert-ack.entity.js +44 -0
  1208. package/dist/modules/security/entities/security-alert-ack.entity.js.map +1 -0
  1209. package/dist/modules/security/listeners/security-state.listener.d.ts +31 -0
  1210. package/dist/modules/security/listeners/security-state.listener.js +248 -0
  1211. package/dist/modules/security/listeners/security-state.listener.js.map +1 -0
  1212. package/dist/modules/security/models/config.model.d.ts +5 -0
  1213. package/dist/modules/security/models/config.model.js +49 -0
  1214. package/dist/modules/security/models/config.model.js.map +1 -0
  1215. package/dist/modules/security/models/security-alert-ack-response.model.d.ts +11 -0
  1216. package/dist/modules/security/models/security-alert-ack-response.model.js +68 -0
  1217. package/dist/modules/security/models/security-alert-ack-response.model.js.map +1 -0
  1218. package/dist/modules/security/models/security-event-response.model.d.ts +15 -0
  1219. package/dist/modules/security/models/security-event-response.model.js +109 -0
  1220. package/dist/modules/security/models/security-event-response.model.js.map +1 -0
  1221. package/dist/modules/security/models/security-response.model.d.ts +5 -0
  1222. package/dist/modules/security/models/security-response.model.js +31 -0
  1223. package/dist/modules/security/models/security-response.model.js.map +1 -0
  1224. package/dist/modules/security/models/security-status.model.d.ts +27 -0
  1225. package/dist/modules/security/models/security-status.model.js +224 -0
  1226. package/dist/modules/security/models/security-status.model.js.map +1 -0
  1227. package/dist/modules/security/providers/alarm-security.provider.d.ts +20 -0
  1228. package/dist/modules/security/providers/alarm-security.provider.js +267 -0
  1229. package/dist/modules/security/providers/alarm-security.provider.js.map +1 -0
  1230. package/dist/modules/security/providers/default-security.provider.d.ts +6 -0
  1231. package/dist/modules/security/providers/default-security.provider.js +28 -0
  1232. package/dist/modules/security/providers/default-security.provider.js.map +1 -0
  1233. package/dist/modules/security/providers/security-sensors.provider.d.ts +18 -0
  1234. package/dist/modules/security/providers/security-sensors.provider.js +179 -0
  1235. package/dist/modules/security/providers/security-sensors.provider.js.map +1 -0
  1236. package/dist/modules/security/security.constants.d.ts +47 -0
  1237. package/dist/modules/security/security.constants.js +61 -0
  1238. package/dist/modules/security/security.constants.js.map +1 -0
  1239. package/dist/modules/security/security.module.d.ts +15 -0
  1240. package/dist/modules/security/security.module.js +138 -0
  1241. package/dist/modules/security/security.module.js.map +1 -0
  1242. package/dist/modules/security/security.openapi.d.ts +5 -0
  1243. package/dist/modules/security/security.openapi.js +19 -0
  1244. package/dist/modules/security/security.openapi.js.map +1 -0
  1245. package/dist/modules/security/security.utils.d.ts +2 -0
  1246. package/dist/modules/security/security.utils.js +18 -0
  1247. package/dist/modules/security/security.utils.js.map +1 -0
  1248. package/dist/modules/security/services/module-reset.service.d.ts +11 -0
  1249. package/dist/modules/security/services/module-reset.service.js +47 -0
  1250. package/dist/modules/security/services/module-reset.service.js.map +1 -0
  1251. package/dist/modules/security/services/security-aggregator.service.d.ts +15 -0
  1252. package/dist/modules/security/services/security-aggregator.service.js +252 -0
  1253. package/dist/modules/security/services/security-aggregator.service.js.map +1 -0
  1254. package/dist/modules/security/services/security-alert-ack.service.d.ts +16 -0
  1255. package/dist/modules/security/services/security-alert-ack.service.js +112 -0
  1256. package/dist/modules/security/services/security-alert-ack.service.js.map +1 -0
  1257. package/dist/modules/security/services/security-events.service.d.ts +41 -0
  1258. package/dist/modules/security/services/security-events.service.js +205 -0
  1259. package/dist/modules/security/services/security-events.service.js.map +1 -0
  1260. package/dist/modules/security/services/security.service.d.ts +20 -0
  1261. package/dist/modules/security/services/security.service.js +122 -0
  1262. package/dist/modules/security/services/security.service.js.map +1 -0
  1263. package/dist/modules/security/spec/definitions/detection-rules.yaml +62 -0
  1264. package/dist/modules/security/spec/detection-rules-loader.service.d.ts +15 -0
  1265. package/dist/modules/security/spec/detection-rules-loader.service.js +135 -0
  1266. package/dist/modules/security/spec/detection-rules-loader.service.js.map +1 -0
  1267. package/dist/modules/security/spec/detection-rules.types.d.ts +27 -0
  1268. package/dist/modules/security/spec/detection-rules.types.js +3 -0
  1269. package/dist/modules/security/spec/detection-rules.types.js.map +1 -0
  1270. package/dist/modules/security/spec/index.d.ts +2 -0
  1271. package/dist/modules/security/spec/index.js +19 -0
  1272. package/dist/modules/security/spec/index.js.map +1 -0
  1273. package/dist/modules/seed/commands/seeding.command.d.ts +7 -0
  1274. package/dist/modules/seed/commands/seeding.command.js +48 -0
  1275. package/dist/modules/seed/commands/seeding.command.js.map +1 -0
  1276. package/dist/modules/seed/seed.constants.d.ts +1 -0
  1277. package/dist/modules/seed/seed.constants.js +5 -0
  1278. package/dist/modules/seed/seed.constants.js.map +1 -0
  1279. package/dist/modules/seed/seeding.module.d.ts +2 -0
  1280. package/dist/modules/seed/seeding.module.js +25 -0
  1281. package/dist/modules/seed/seeding.module.js.map +1 -0
  1282. package/dist/modules/seed/services/seed-registry.service.d.ts +12 -0
  1283. package/dist/modules/seed/services/seed-registry.service.js +36 -0
  1284. package/dist/modules/seed/services/seed-registry.service.js.map +1 -0
  1285. package/dist/modules/seed/services/seed.service.d.ts +21 -0
  1286. package/dist/modules/seed/services/seed.service.js +165 -0
  1287. package/dist/modules/seed/services/seed.service.js.map +1 -0
  1288. package/dist/modules/spaces/controllers/spaces.controller.d.ts +129 -0
  1289. package/dist/modules/spaces/controllers/spaces.controller.js +2142 -0
  1290. package/dist/modules/spaces/controllers/spaces.controller.js.map +1 -0
  1291. package/dist/modules/spaces/dto/bulk-assign.dto.d.ts +7 -0
  1292. package/dist/modules/spaces/dto/bulk-assign.dto.js +70 -0
  1293. package/dist/modules/spaces/dto/bulk-assign.dto.js.map +1 -0
  1294. package/dist/modules/spaces/dto/climate-intent.dto.d.ts +12 -0
  1295. package/dist/modules/spaces/dto/climate-intent.dto.js +141 -0
  1296. package/dist/modules/spaces/dto/climate-intent.dto.js.map +1 -0
  1297. package/dist/modules/spaces/dto/climate-role.dto.d.ts +16 -0
  1298. package/dist/modules/spaces/dto/climate-role.dto.js +127 -0
  1299. package/dist/modules/spaces/dto/climate-role.dto.js.map +1 -0
  1300. package/dist/modules/spaces/dto/covers-intent.dto.d.ts +12 -0
  1301. package/dist/modules/spaces/dto/covers-intent.dto.js +120 -0
  1302. package/dist/modules/spaces/dto/covers-intent.dto.js.map +1 -0
  1303. package/dist/modules/spaces/dto/covers-role.dto.d.ts +16 -0
  1304. package/dist/modules/spaces/dto/covers-role.dto.js +125 -0
  1305. package/dist/modules/spaces/dto/covers-role.dto.js.map +1 -0
  1306. package/dist/modules/spaces/dto/create-space.dto.d.ts +17 -0
  1307. package/dist/modules/spaces/dto/create-space.dto.js +190 -0
  1308. package/dist/modules/spaces/dto/create-space.dto.js.map +1 -0
  1309. package/dist/modules/spaces/dto/lighting-intent.dto.d.ts +16 -0
  1310. package/dist/modules/spaces/dto/lighting-intent.dto.js +197 -0
  1311. package/dist/modules/spaces/dto/lighting-intent.dto.js.map +1 -0
  1312. package/dist/modules/spaces/dto/lighting-role.dto.d.ts +16 -0
  1313. package/dist/modules/spaces/dto/lighting-role.dto.js +125 -0
  1314. package/dist/modules/spaces/dto/lighting-role.dto.js.map +1 -0
  1315. package/dist/modules/spaces/dto/media-activity-binding.dto.d.ts +28 -0
  1316. package/dist/modules/spaces/dto/media-activity-binding.dto.js +379 -0
  1317. package/dist/modules/spaces/dto/media-activity-binding.dto.js.map +1 -0
  1318. package/dist/modules/spaces/dto/sensor-role.dto.d.ts +16 -0
  1319. package/dist/modules/spaces/dto/sensor-role.dto.js +127 -0
  1320. package/dist/modules/spaces/dto/sensor-role.dto.js.map +1 -0
  1321. package/dist/modules/spaces/dto/status-widget.dto.d.ts +5 -0
  1322. package/dist/modules/spaces/dto/status-widget.dto.js +52 -0
  1323. package/dist/modules/spaces/dto/status-widget.dto.js.map +1 -0
  1324. package/dist/modules/spaces/dto/suggestion.dto.d.ts +8 -0
  1325. package/dist/modules/spaces/dto/suggestion.dto.js +61 -0
  1326. package/dist/modules/spaces/dto/suggestion.dto.js.map +1 -0
  1327. package/dist/modules/spaces/dto/update-config.dto.d.ts +5 -0
  1328. package/dist/modules/spaces/dto/update-config.dto.js +34 -0
  1329. package/dist/modules/spaces/dto/update-config.dto.js.map +1 -0
  1330. package/dist/modules/spaces/dto/update-space.dto.d.ts +16 -0
  1331. package/dist/modules/spaces/dto/update-space.dto.js +179 -0
  1332. package/dist/modules/spaces/dto/update-space.dto.js.map +1 -0
  1333. package/dist/modules/spaces/entities/space-active-media-activity.entity.d.ts +12 -0
  1334. package/dist/modules/spaces/entities/space-active-media-activity.entity.js +132 -0
  1335. package/dist/modules/spaces/entities/space-active-media-activity.entity.js.map +1 -0
  1336. package/dist/modules/spaces/entities/space-climate-role.entity.d.ts +14 -0
  1337. package/dist/modules/spaces/entities/space-climate-role.entity.js +120 -0
  1338. package/dist/modules/spaces/entities/space-climate-role.entity.js.map +1 -0
  1339. package/dist/modules/spaces/entities/space-covers-role.entity.d.ts +14 -0
  1340. package/dist/modules/spaces/entities/space-covers-role.entity.js +119 -0
  1341. package/dist/modules/spaces/entities/space-covers-role.entity.js.map +1 -0
  1342. package/dist/modules/spaces/entities/space-lighting-role.entity.d.ts +14 -0
  1343. package/dist/modules/spaces/entities/space-lighting-role.entity.js +119 -0
  1344. package/dist/modules/spaces/entities/space-lighting-role.entity.js.map +1 -0
  1345. package/dist/modules/spaces/entities/space-media-activity-binding.entity.d.ts +16 -0
  1346. package/dist/modules/spaces/entities/space-media-activity-binding.entity.js +192 -0
  1347. package/dist/modules/spaces/entities/space-media-activity-binding.entity.js.map +1 -0
  1348. package/dist/modules/spaces/entities/space-sensor-role.entity.d.ts +14 -0
  1349. package/dist/modules/spaces/entities/space-sensor-role.entity.js +119 -0
  1350. package/dist/modules/spaces/entities/space-sensor-role.entity.js.map +1 -0
  1351. package/dist/modules/spaces/entities/space.entity.d.ts +16 -0
  1352. package/dist/modules/spaces/entities/space.entity.js +213 -0
  1353. package/dist/modules/spaces/entities/space.entity.js.map +1 -0
  1354. package/dist/modules/spaces/listeners/space-activity.listener.d.ts +13 -0
  1355. package/dist/modules/spaces/listeners/space-activity.listener.js +89 -0
  1356. package/dist/modules/spaces/listeners/space-activity.listener.js.map +1 -0
  1357. package/dist/modules/spaces/listeners/space-climate-state.listener.d.ts +19 -0
  1358. package/dist/modules/spaces/listeners/space-climate-state.listener.js +142 -0
  1359. package/dist/modules/spaces/listeners/space-climate-state.listener.js.map +1 -0
  1360. package/dist/modules/spaces/listeners/space-lighting-state.listener.d.ts +19 -0
  1361. package/dist/modules/spaces/listeners/space-lighting-state.listener.js +141 -0
  1362. package/dist/modules/spaces/listeners/space-lighting-state.listener.js.map +1 -0
  1363. package/dist/modules/spaces/listeners/space-sensor-state.listener.d.ts +22 -0
  1364. package/dist/modules/spaces/listeners/space-sensor-state.listener.js +154 -0
  1365. package/dist/modules/spaces/listeners/space-sensor-state.listener.js.map +1 -0
  1366. package/dist/modules/spaces/listeners/websocket-exchange.listener.d.ts +31 -0
  1367. package/dist/modules/spaces/listeners/websocket-exchange.listener.js +224 -0
  1368. package/dist/modules/spaces/listeners/websocket-exchange.listener.js.map +1 -0
  1369. package/dist/modules/spaces/models/config.model.d.ts +5 -0
  1370. package/dist/modules/spaces/models/config.model.js +49 -0
  1371. package/dist/modules/spaces/models/config.model.js.map +1 -0
  1372. package/dist/modules/spaces/models/derived-media-endpoint.model.d.ts +49 -0
  1373. package/dist/modules/spaces/models/derived-media-endpoint.model.js +341 -0
  1374. package/dist/modules/spaces/models/derived-media-endpoint.model.js.map +1 -0
  1375. package/dist/modules/spaces/models/media-activity-binding.model.d.ts +22 -0
  1376. package/dist/modules/spaces/models/media-activity-binding.model.js +139 -0
  1377. package/dist/modules/spaces/models/media-activity-binding.model.js.map +1 -0
  1378. package/dist/modules/spaces/models/media-activity.model.d.ts +82 -0
  1379. package/dist/modules/spaces/models/media-activity.model.js +542 -0
  1380. package/dist/modules/spaces/models/media-activity.model.js.map +1 -0
  1381. package/dist/modules/spaces/models/media-routing.model.d.ts +31 -0
  1382. package/dist/modules/spaces/models/media-routing.model.js +249 -0
  1383. package/dist/modules/spaces/models/media-routing.model.js.map +1 -0
  1384. package/dist/modules/spaces/models/spaces-response.model.d.ts +550 -0
  1385. package/dist/modules/spaces/models/spaces-response.model.js +4301 -0
  1386. package/dist/modules/spaces/models/spaces-response.model.js.map +1 -0
  1387. package/dist/modules/spaces/services/__fixtures__/media-scenario-templates.d.ts +45 -0
  1388. package/dist/modules/spaces/services/__fixtures__/media-scenario-templates.js +201 -0
  1389. package/dist/modules/spaces/services/__fixtures__/media-scenario-templates.js.map +1 -0
  1390. package/dist/modules/spaces/services/__fixtures__/media-test-harness.d.ts +73 -0
  1391. package/dist/modules/spaces/services/__fixtures__/media-test-harness.js +116 -0
  1392. package/dist/modules/spaces/services/__fixtures__/media-test-harness.js.map +1 -0
  1393. package/dist/modules/spaces/services/climate-intent.service.d.ts +47 -0
  1394. package/dist/modules/spaces/services/climate-intent.service.js +652 -0
  1395. package/dist/modules/spaces/services/climate-intent.service.js.map +1 -0
  1396. package/dist/modules/spaces/services/covers-intent.service.d.ts +53 -0
  1397. package/dist/modules/spaces/services/covers-intent.service.js +621 -0
  1398. package/dist/modules/spaces/services/covers-intent.service.js.map +1 -0
  1399. package/dist/modules/spaces/services/derived-media-endpoint.service.d.ts +16 -0
  1400. package/dist/modules/spaces/services/derived-media-endpoint.service.js +234 -0
  1401. package/dist/modules/spaces/services/derived-media-endpoint.service.js.map +1 -0
  1402. package/dist/modules/spaces/services/lighting-intent.service.d.ts +70 -0
  1403. package/dist/modules/spaces/services/lighting-intent.service.js +969 -0
  1404. package/dist/modules/spaces/services/lighting-intent.service.js.map +1 -0
  1405. package/dist/modules/spaces/services/media-capability.service.d.ts +12 -0
  1406. package/dist/modules/spaces/services/media-capability.service.js +221 -0
  1407. package/dist/modules/spaces/services/media-capability.service.js.map +1 -0
  1408. package/dist/modules/spaces/services/module-reset.service.d.ts +11 -0
  1409. package/dist/modules/spaces/services/module-reset.service.js +47 -0
  1410. package/dist/modules/spaces/services/module-reset.service.js.map +1 -0
  1411. package/dist/modules/spaces/services/space-climate-role.service.d.ts +78 -0
  1412. package/dist/modules/spaces/services/space-climate-role.service.js +468 -0
  1413. package/dist/modules/spaces/services/space-climate-role.service.js.map +1 -0
  1414. package/dist/modules/spaces/services/space-climate-state.service.d.ts +72 -0
  1415. package/dist/modules/spaces/services/space-climate-state.service.js +428 -0
  1416. package/dist/modules/spaces/services/space-climate-state.service.js.map +1 -0
  1417. package/dist/modules/spaces/services/space-context-snapshot.service.d.ts +74 -0
  1418. package/dist/modules/spaces/services/space-context-snapshot.service.js +300 -0
  1419. package/dist/modules/spaces/services/space-context-snapshot.service.js.map +1 -0
  1420. package/dist/modules/spaces/services/space-covers-role.service.d.ts +64 -0
  1421. package/dist/modules/spaces/services/space-covers-role.service.js +297 -0
  1422. package/dist/modules/spaces/services/space-covers-role.service.js.map +1 -0
  1423. package/dist/modules/spaces/services/space-covers-state.service.d.ts +68 -0
  1424. package/dist/modules/spaces/services/space-covers-state.service.js +306 -0
  1425. package/dist/modules/spaces/services/space-covers-state.service.js.map +1 -0
  1426. package/dist/modules/spaces/services/space-intent-base.service.d.ts +18 -0
  1427. package/dist/modules/spaces/services/space-intent-base.service.js +71 -0
  1428. package/dist/modules/spaces/services/space-intent-base.service.js.map +1 -0
  1429. package/dist/modules/spaces/services/space-intent.service.d.ts +23 -0
  1430. package/dist/modules/spaces/services/space-intent.service.js +50 -0
  1431. package/dist/modules/spaces/services/space-intent.service.js.map +1 -0
  1432. package/dist/modules/spaces/services/space-lighting-role.service.d.ts +62 -0
  1433. package/dist/modules/spaces/services/space-lighting-role.service.js +278 -0
  1434. package/dist/modules/spaces/services/space-lighting-role.service.js.map +1 -0
  1435. package/dist/modules/spaces/services/space-lighting-state.service.d.ts +88 -0
  1436. package/dist/modules/spaces/services/space-lighting-state.service.js +668 -0
  1437. package/dist/modules/spaces/services/space-lighting-state.service.js.map +1 -0
  1438. package/dist/modules/spaces/services/space-lighting-tool.service.d.ts +19 -0
  1439. package/dist/modules/spaces/services/space-lighting-tool.service.js +167 -0
  1440. package/dist/modules/spaces/services/space-lighting-tool.service.js.map +1 -0
  1441. package/dist/modules/spaces/services/space-media-activity-binding.service.d.ts +46 -0
  1442. package/dist/modules/spaces/services/space-media-activity-binding.service.js +563 -0
  1443. package/dist/modules/spaces/services/space-media-activity-binding.service.js.map +1 -0
  1444. package/dist/modules/spaces/services/space-media-activity.service.d.ts +34 -0
  1445. package/dist/modules/spaces/services/space-media-activity.service.js +739 -0
  1446. package/dist/modules/spaces/services/space-media-activity.service.js.map +1 -0
  1447. package/dist/modules/spaces/services/space-sensor-role.service.d.ts +64 -0
  1448. package/dist/modules/spaces/services/space-sensor-role.service.js +302 -0
  1449. package/dist/modules/spaces/services/space-sensor-role.service.js.map +1 -0
  1450. package/dist/modules/spaces/services/space-sensor-state.service.d.ts +72 -0
  1451. package/dist/modules/spaces/services/space-sensor-state.service.js +327 -0
  1452. package/dist/modules/spaces/services/space-sensor-state.service.js.map +1 -0
  1453. package/dist/modules/spaces/services/space-suggestion-heartbeat.service.d.ts +29 -0
  1454. package/dist/modules/spaces/services/space-suggestion-heartbeat.service.js +128 -0
  1455. package/dist/modules/spaces/services/space-suggestion-heartbeat.service.js.map +1 -0
  1456. package/dist/modules/spaces/services/space-suggestion.service.d.ts +46 -0
  1457. package/dist/modules/spaces/services/space-suggestion.service.js +202 -0
  1458. package/dist/modules/spaces/services/space-suggestion.service.js.map +1 -0
  1459. package/dist/modules/spaces/services/space-undo-history.service.d.ts +45 -0
  1460. package/dist/modules/spaces/services/space-undo-history.service.js +342 -0
  1461. package/dist/modules/spaces/services/space-undo-history.service.js.map +1 -0
  1462. package/dist/modules/spaces/services/spaces-seeder.service.d.ts +16 -0
  1463. package/dist/modules/spaces/services/spaces-seeder.service.js +180 -0
  1464. package/dist/modules/spaces/services/spaces-seeder.service.js.map +1 -0
  1465. package/dist/modules/spaces/services/spaces.service.d.ts +49 -0
  1466. package/dist/modules/spaces/services/spaces.service.js +506 -0
  1467. package/dist/modules/spaces/services/spaces.service.js.map +1 -0
  1468. package/dist/modules/spaces/spaces.constants.d.ts +358 -0
  1469. package/dist/modules/spaces/spaces.constants.js +1545 -0
  1470. package/dist/modules/spaces/spaces.constants.js.map +1 -0
  1471. package/dist/modules/spaces/spaces.exceptions.d.ts +10 -0
  1472. package/dist/modules/spaces/spaces.exceptions.js +23 -0
  1473. package/dist/modules/spaces/spaces.exceptions.js.map +1 -0
  1474. package/dist/modules/spaces/spaces.module.d.ts +23 -0
  1475. package/dist/modules/spaces/spaces.module.js +219 -0
  1476. package/dist/modules/spaces/spaces.module.js.map +1 -0
  1477. package/dist/modules/spaces/spaces.openapi.d.ts +18 -0
  1478. package/dist/modules/spaces/spaces.openapi.js +161 -0
  1479. package/dist/modules/spaces/spaces.openapi.js.map +1 -0
  1480. package/dist/modules/spaces/spaces.utils.d.ts +2 -0
  1481. package/dist/modules/spaces/spaces.utils.js +17 -0
  1482. package/dist/modules/spaces/spaces.utils.js.map +1 -0
  1483. package/dist/modules/spaces/spec/definitions/climate-intents.yaml +94 -0
  1484. package/dist/modules/spaces/spec/definitions/covers-modes.yaml +83 -0
  1485. package/dist/modules/spaces/spec/definitions/enums.yaml +119 -0
  1486. package/dist/modules/spaces/spec/definitions/lighting-intents.yaml +181 -0
  1487. package/dist/modules/spaces/spec/definitions/lighting-modes.yaml +119 -0
  1488. package/dist/modules/spaces/spec/definitions/suggestions.yaml +47 -0
  1489. package/dist/modules/spaces/spec/index.d.ts +2 -0
  1490. package/dist/modules/spaces/spec/index.js +19 -0
  1491. package/dist/modules/spaces/spec/index.js.map +1 -0
  1492. package/dist/modules/spaces/spec/intent-spec-loader.service.d.ts +59 -0
  1493. package/dist/modules/spaces/spec/intent-spec-loader.service.js +510 -0
  1494. package/dist/modules/spaces/spec/intent-spec-loader.service.js.map +1 -0
  1495. package/dist/modules/spaces/spec/intent-spec.types.d.ts +172 -0
  1496. package/dist/modules/spaces/spec/intent-spec.types.js +3 -0
  1497. package/dist/modules/spaces/spec/intent-spec.types.js.map +1 -0
  1498. package/dist/modules/spaces/validators/at-least-one-setpoint.validator.d.ts +6 -0
  1499. package/dist/modules/spaces/validators/at-least-one-setpoint.validator.js +41 -0
  1500. package/dist/modules/spaces/validators/at-least-one-setpoint.validator.js.map +1 -0
  1501. package/dist/modules/spaces/validators/setpoint-order-constraint.validator.d.ts +6 -0
  1502. package/dist/modules/spaces/validators/setpoint-order-constraint.validator.js +46 -0
  1503. package/dist/modules/spaces/validators/setpoint-order-constraint.validator.js.map +1 -0
  1504. package/dist/modules/spaces/validators/space-category-constraint.validator.d.ts +6 -0
  1505. package/dist/modules/spaces/validators/space-category-constraint.validator.js +60 -0
  1506. package/dist/modules/spaces/validators/space-category-constraint.validator.js.map +1 -0
  1507. package/dist/modules/stats/controllers/prometheus.controller.d.ts +6 -0
  1508. package/dist/modules/stats/controllers/prometheus.controller.js +61 -0
  1509. package/dist/modules/stats/controllers/prometheus.controller.js.map +1 -0
  1510. package/dist/modules/stats/controllers/stats.controller.d.ts +9 -0
  1511. package/dist/modules/stats/controllers/stats.controller.js +98 -0
  1512. package/dist/modules/stats/controllers/stats.controller.js.map +1 -0
  1513. package/dist/modules/stats/models/stats-response.model.d.ts +11 -0
  1514. package/dist/modules/stats/models/stats-response.model.js +62 -0
  1515. package/dist/modules/stats/models/stats-response.model.js.map +1 -0
  1516. package/dist/modules/stats/models/stats.model.d.ts +19 -0
  1517. package/dist/modules/stats/models/stats.model.js +136 -0
  1518. package/dist/modules/stats/models/stats.model.js.map +1 -0
  1519. package/dist/modules/stats/services/stats-aggregator.service.d.ts +14 -0
  1520. package/dist/modules/stats/services/stats-aggregator.service.js +87 -0
  1521. package/dist/modules/stats/services/stats-aggregator.service.js.map +1 -0
  1522. package/dist/modules/stats/services/stats-registry.service.d.ts +10 -0
  1523. package/dist/modules/stats/services/stats-registry.service.js +35 -0
  1524. package/dist/modules/stats/services/stats-registry.service.js.map +1 -0
  1525. package/dist/modules/stats/services/stats.prometheus.service.d.ts +12 -0
  1526. package/dist/modules/stats/services/stats.prometheus.service.js +109 -0
  1527. package/dist/modules/stats/services/stats.prometheus.service.js.map +1 -0
  1528. package/dist/modules/stats/stats.constants.d.ts +7 -0
  1529. package/dist/modules/stats/stats.constants.js +12 -0
  1530. package/dist/modules/stats/stats.constants.js.map +1 -0
  1531. package/dist/modules/stats/stats.exceptions.d.ts +12 -0
  1532. package/dist/modules/stats/stats.exceptions.js +32 -0
  1533. package/dist/modules/stats/stats.exceptions.js.map +1 -0
  1534. package/dist/modules/stats/stats.interfaces.d.ts +3 -0
  1535. package/dist/modules/stats/stats.interfaces.js +3 -0
  1536. package/dist/modules/stats/stats.interfaces.js.map +1 -0
  1537. package/dist/modules/stats/stats.module.d.ts +6 -0
  1538. package/dist/modules/stats/stats.module.js +47 -0
  1539. package/dist/modules/stats/stats.module.js.map +1 -0
  1540. package/dist/modules/stats/stats.openapi.d.ts +3 -0
  1541. package/dist/modules/stats/stats.openapi.js +15 -0
  1542. package/dist/modules/stats/stats.openapi.js.map +1 -0
  1543. package/dist/modules/storage/dto/update-config.dto.d.ts +7 -0
  1544. package/dist/modules/storage/dto/update-config.dto.js +61 -0
  1545. package/dist/modules/storage/dto/update-config.dto.js.map +1 -0
  1546. package/dist/modules/storage/interfaces/storage-plugin.interface.d.ts +38 -0
  1547. package/dist/modules/storage/interfaces/storage-plugin.interface.js +3 -0
  1548. package/dist/modules/storage/interfaces/storage-plugin.interface.js.map +1 -0
  1549. package/dist/modules/storage/models/config.model.d.ts +7 -0
  1550. package/dist/modules/storage/models/config.model.js +73 -0
  1551. package/dist/modules/storage/models/config.model.js.map +1 -0
  1552. package/dist/modules/storage/plugins/influx-v1/influx-v1.config.model.d.ts +9 -0
  1553. package/dist/modules/storage/plugins/influx-v1/influx-v1.config.model.js +93 -0
  1554. package/dist/modules/storage/plugins/influx-v1/influx-v1.config.model.js.map +1 -0
  1555. package/dist/modules/storage/plugins/influx-v1/influx-v1.constants.d.ts +3 -0
  1556. package/dist/modules/storage/plugins/influx-v1/influx-v1.constants.js +7 -0
  1557. package/dist/modules/storage/plugins/influx-v1/influx-v1.constants.js.map +1 -0
  1558. package/dist/modules/storage/plugins/influx-v1/influx-v1.module.d.ts +17 -0
  1559. package/dist/modules/storage/plugins/influx-v1/influx-v1.module.js +94 -0
  1560. package/dist/modules/storage/plugins/influx-v1/influx-v1.module.js.map +1 -0
  1561. package/dist/modules/storage/plugins/influx-v1/influx-v1.openapi.d.ts +2 -0
  1562. package/dist/modules/storage/plugins/influx-v1/influx-v1.openapi.js +7 -0
  1563. package/dist/modules/storage/plugins/influx-v1/influx-v1.openapi.js.map +1 -0
  1564. package/dist/modules/storage/plugins/influx-v1/influx-v1.plugin.d.ts +68 -0
  1565. package/dist/modules/storage/plugins/influx-v1/influx-v1.plugin.js +335 -0
  1566. package/dist/modules/storage/plugins/influx-v1/influx-v1.plugin.js.map +1 -0
  1567. package/dist/modules/storage/plugins/influx-v1/influx-v1.update-config.dto.d.ts +8 -0
  1568. package/dist/modules/storage/plugins/influx-v1/influx-v1.update-config.dto.js +82 -0
  1569. package/dist/modules/storage/plugins/influx-v1/influx-v1.update-config.dto.js.map +1 -0
  1570. package/dist/modules/storage/plugins/memory/in-memory-timeseries.store.d.ts +44 -0
  1571. package/dist/modules/storage/plugins/memory/in-memory-timeseries.store.js +341 -0
  1572. package/dist/modules/storage/plugins/memory/in-memory-timeseries.store.js.map +1 -0
  1573. package/dist/modules/storage/plugins/memory/influxql-parser.d.ts +26 -0
  1574. package/dist/modules/storage/plugins/memory/influxql-parser.js +427 -0
  1575. package/dist/modules/storage/plugins/memory/influxql-parser.js.map +1 -0
  1576. package/dist/modules/storage/plugins/memory/memory.config.model.d.ts +5 -0
  1577. package/dist/modules/storage/plugins/memory/memory.config.model.js +49 -0
  1578. package/dist/modules/storage/plugins/memory/memory.config.model.js.map +1 -0
  1579. package/dist/modules/storage/plugins/memory/memory.constants.d.ts +1 -0
  1580. package/dist/modules/storage/plugins/memory/memory.constants.js +5 -0
  1581. package/dist/modules/storage/plugins/memory/memory.constants.js.map +1 -0
  1582. package/dist/modules/storage/plugins/memory/memory.module.d.ts +13 -0
  1583. package/dist/modules/storage/plugins/memory/memory.module.js +75 -0
  1584. package/dist/modules/storage/plugins/memory/memory.module.js.map +1 -0
  1585. package/dist/modules/storage/plugins/memory/memory.openapi.d.ts +2 -0
  1586. package/dist/modules/storage/plugins/memory/memory.openapi.js +7 -0
  1587. package/dist/modules/storage/plugins/memory/memory.openapi.js.map +1 -0
  1588. package/dist/modules/storage/plugins/memory/memory.plugin.d.ts +19 -0
  1589. package/dist/modules/storage/plugins/memory/memory.plugin.js +73 -0
  1590. package/dist/modules/storage/plugins/memory/memory.plugin.js.map +1 -0
  1591. package/dist/modules/storage/plugins/memory/memory.update-config.dto.d.ts +4 -0
  1592. package/dist/modules/storage/plugins/memory/memory.update-config.dto.js +38 -0
  1593. package/dist/modules/storage/plugins/memory/memory.update-config.dto.js.map +1 -0
  1594. package/dist/modules/storage/services/storage.service.d.ts +63 -0
  1595. package/dist/modules/storage/services/storage.service.js +307 -0
  1596. package/dist/modules/storage/services/storage.service.js.map +1 -0
  1597. package/dist/modules/storage/storage.constants.d.ts +1 -0
  1598. package/dist/modules/storage/storage.constants.js +5 -0
  1599. package/dist/modules/storage/storage.constants.js.map +1 -0
  1600. package/dist/modules/storage/storage.module.d.ts +11 -0
  1601. package/dist/modules/storage/storage.module.js +78 -0
  1602. package/dist/modules/storage/storage.module.js.map +1 -0
  1603. package/dist/modules/storage/storage.openapi.d.ts +2 -0
  1604. package/dist/modules/storage/storage.openapi.js +7 -0
  1605. package/dist/modules/storage/storage.openapi.js.map +1 -0
  1606. package/dist/modules/storage/storage.types.d.ts +22 -0
  1607. package/dist/modules/storage/storage.types.js +11 -0
  1608. package/dist/modules/storage/storage.types.js.map +1 -0
  1609. package/dist/modules/swagger/commands/generate-openapi.command.d.ts +10 -0
  1610. package/dist/modules/swagger/commands/generate-openapi.command.js +117 -0
  1611. package/dist/modules/swagger/commands/generate-openapi.command.js.map +1 -0
  1612. package/dist/modules/swagger/decorators/api-documentation.decorator.d.ts +16 -0
  1613. package/dist/modules/swagger/decorators/api-documentation.decorator.js +132 -0
  1614. package/dist/modules/swagger/decorators/api-documentation.decorator.js.map +1 -0
  1615. package/dist/modules/swagger/decorators/api-tag.decorator.d.ts +19 -0
  1616. package/dist/modules/swagger/decorators/api-tag.decorator.js +42 -0
  1617. package/dist/modules/swagger/decorators/api-tag.decorator.js.map +1 -0
  1618. package/dist/modules/swagger/services/extended-discriminator.service.d.ts +12 -0
  1619. package/dist/modules/swagger/services/extended-discriminator.service.js +26 -0
  1620. package/dist/modules/swagger/services/extended-discriminator.service.js.map +1 -0
  1621. package/dist/modules/swagger/services/swagger-document.service.d.ts +16 -0
  1622. package/dist/modules/swagger/services/swagger-document.service.js +293 -0
  1623. package/dist/modules/swagger/services/swagger-document.service.js.map +1 -0
  1624. package/dist/modules/swagger/services/swagger-models-registry.service.d.ts +6 -0
  1625. package/dist/modules/swagger/services/swagger-models-registry.service.js +26 -0
  1626. package/dist/modules/swagger/services/swagger-models-registry.service.js.map +1 -0
  1627. package/dist/modules/swagger/swagger.constants.d.ts +1 -0
  1628. package/dist/modules/swagger/swagger.constants.js +5 -0
  1629. package/dist/modules/swagger/swagger.constants.js.map +1 -0
  1630. package/dist/modules/swagger/swagger.module.d.ts +2 -0
  1631. package/dist/modules/swagger/swagger.module.js +32 -0
  1632. package/dist/modules/swagger/swagger.module.js.map +1 -0
  1633. package/dist/modules/swagger/utils/openapi-tags.utils.d.ts +6 -0
  1634. package/dist/modules/swagger/utils/openapi-tags.utils.js +12 -0
  1635. package/dist/modules/swagger/utils/openapi-tags.utils.js.map +1 -0
  1636. package/dist/modules/system/commands/command.utils.d.ts +4 -0
  1637. package/dist/modules/system/commands/command.utils.js +19 -0
  1638. package/dist/modules/system/commands/command.utils.js.map +1 -0
  1639. package/dist/modules/system/commands/update-check.command.d.ts +17 -0
  1640. package/dist/modules/system/commands/update-check.command.js +135 -0
  1641. package/dist/modules/system/commands/update-check.command.js.map +1 -0
  1642. package/dist/modules/system/commands/update-panel.command.d.ts +26 -0
  1643. package/dist/modules/system/commands/update-panel.command.js +342 -0
  1644. package/dist/modules/system/commands/update-panel.command.js.map +1 -0
  1645. package/dist/modules/system/commands/update-server.command.d.ts +26 -0
  1646. package/dist/modules/system/commands/update-server.command.js +482 -0
  1647. package/dist/modules/system/commands/update-server.command.js.map +1 -0
  1648. package/dist/modules/system/controllers/logs.controller.d.ts +10 -0
  1649. package/dist/modules/system/controllers/logs.controller.js +169 -0
  1650. package/dist/modules/system/controllers/logs.controller.js.map +1 -0
  1651. package/dist/modules/system/controllers/system.controller.d.ts +15 -0
  1652. package/dist/modules/system/controllers/system.controller.js +200 -0
  1653. package/dist/modules/system/controllers/system.controller.js.map +1 -0
  1654. package/dist/modules/system/controllers/update.controller.d.ts +13 -0
  1655. package/dist/modules/system/controllers/update.controller.js +181 -0
  1656. package/dist/modules/system/controllers/update.controller.js.map +1 -0
  1657. package/dist/modules/system/dto/create-log-entry.dto.d.ts +24 -0
  1658. package/dist/modules/system/dto/create-log-entry.dto.js +239 -0
  1659. package/dist/modules/system/dto/create-log-entry.dto.js.map +1 -0
  1660. package/dist/modules/system/dto/install-update.dto.d.ts +4 -0
  1661. package/dist/modules/system/dto/install-update.dto.js +43 -0
  1662. package/dist/modules/system/dto/install-update.dto.js.map +1 -0
  1663. package/dist/modules/system/dto/update-config.dto.d.ts +18 -0
  1664. package/dist/modules/system/dto/update-config.dto.js +209 -0
  1665. package/dist/modules/system/dto/update-config.dto.js.map +1 -0
  1666. package/dist/modules/system/entities/system.entity.d.ts +0 -0
  1667. package/dist/modules/system/entities/system.entity.js +1 -0
  1668. package/dist/modules/system/entities/system.entity.js.map +1 -0
  1669. package/dist/modules/system/logger/logger.d.ts +3 -0
  1670. package/dist/modules/system/logger/logger.js +3 -0
  1671. package/dist/modules/system/logger/logger.js.map +1 -0
  1672. package/dist/modules/system/logger/ring-buffer.d.ts +9 -0
  1673. package/dist/modules/system/logger/ring-buffer.js +30 -0
  1674. package/dist/modules/system/logger/ring-buffer.js.map +1 -0
  1675. package/dist/modules/system/models/config.model.d.ts +18 -0
  1676. package/dist/modules/system/models/config.model.js +199 -0
  1677. package/dist/modules/system/models/config.model.js.map +1 -0
  1678. package/dist/modules/system/models/onboarding.model.d.ts +7 -0
  1679. package/dist/modules/system/models/onboarding.model.js +71 -0
  1680. package/dist/modules/system/models/onboarding.model.js.map +1 -0
  1681. package/dist/modules/system/models/system-response.model.d.ts +31 -0
  1682. package/dist/modules/system/models/system-response.model.js +160 -0
  1683. package/dist/modules/system/models/system-response.model.js.map +1 -0
  1684. package/dist/modules/system/models/system.model.d.ts +143 -0
  1685. package/dist/modules/system/models/system.model.js +855 -0
  1686. package/dist/modules/system/models/system.model.js.map +1 -0
  1687. package/dist/modules/system/models/update-response.model.d.ts +8 -0
  1688. package/dist/modules/system/models/update-response.model.js +45 -0
  1689. package/dist/modules/system/models/update-response.model.js.map +1 -0
  1690. package/dist/modules/system/models/update.model.d.ts +20 -0
  1691. package/dist/modules/system/models/update.model.js +124 -0
  1692. package/dist/modules/system/models/update.model.js.map +1 -0
  1693. package/dist/modules/system/providers/system-stats.provider.d.ts +8 -0
  1694. package/dist/modules/system/providers/system-stats.provider.js +66 -0
  1695. package/dist/modules/system/providers/system-stats.provider.js.map +1 -0
  1696. package/dist/modules/system/services/display-command.service.d.ts +27 -0
  1697. package/dist/modules/system/services/display-command.service.js +155 -0
  1698. package/dist/modules/system/services/display-command.service.js.map +1 -0
  1699. package/dist/modules/system/services/factory-reset-registry.service.d.ts +15 -0
  1700. package/dist/modules/system/services/factory-reset-registry.service.js +36 -0
  1701. package/dist/modules/system/services/factory-reset-registry.service.js.map +1 -0
  1702. package/dist/modules/system/services/house-mode-actions.service.d.ts +20 -0
  1703. package/dist/modules/system/services/house-mode-actions.service.js +152 -0
  1704. package/dist/modules/system/services/house-mode-actions.service.js.map +1 -0
  1705. package/dist/modules/system/services/onboarding.service.d.ts +17 -0
  1706. package/dist/modules/system/services/onboarding.service.js +66 -0
  1707. package/dist/modules/system/services/onboarding.service.js.map +1 -0
  1708. package/dist/modules/system/services/system-command.service.d.ts +34 -0
  1709. package/dist/modules/system/services/system-command.service.js +199 -0
  1710. package/dist/modules/system/services/system-command.service.js.map +1 -0
  1711. package/dist/modules/system/services/system-logger.service.d.ts +26 -0
  1712. package/dist/modules/system/services/system-logger.service.js +276 -0
  1713. package/dist/modules/system/services/system-logger.service.js.map +1 -0
  1714. package/dist/modules/system/services/system.service.d.ts +14 -0
  1715. package/dist/modules/system/services/system.service.js +67 -0
  1716. package/dist/modules/system/services/system.service.js.map +1 -0
  1717. package/dist/modules/system/services/update-executor.service.d.ts +20 -0
  1718. package/dist/modules/system/services/update-executor.service.js +220 -0
  1719. package/dist/modules/system/services/update-executor.service.js.map +1 -0
  1720. package/dist/modules/system/services/update.service.d.ts +74 -0
  1721. package/dist/modules/system/services/update.service.js +411 -0
  1722. package/dist/modules/system/services/update.service.js.map +1 -0
  1723. package/dist/modules/system/system.constants.d.ts +129 -0
  1724. package/dist/modules/system/system.constants.js +149 -0
  1725. package/dist/modules/system/system.constants.js.map +1 -0
  1726. package/dist/modules/system/system.exceptions.d.ts +9 -0
  1727. package/dist/modules/system/system.exceptions.js +25 -0
  1728. package/dist/modules/system/system.exceptions.js.map +1 -0
  1729. package/dist/modules/system/system.module.d.ts +26 -0
  1730. package/dist/modules/system/system.module.js +180 -0
  1731. package/dist/modules/system/system.module.js.map +1 -0
  1732. package/dist/modules/system/system.openapi.d.ts +9 -0
  1733. package/dist/modules/system/system.openapi.js +45 -0
  1734. package/dist/modules/system/system.openapi.js.map +1 -0
  1735. package/dist/modules/tools/platforms/tool-provider.platform.d.ts +19 -0
  1736. package/dist/modules/tools/platforms/tool-provider.platform.js +3 -0
  1737. package/dist/modules/tools/platforms/tool-provider.platform.js.map +1 -0
  1738. package/dist/modules/tools/services/base-tool-provider.service.d.ts +11 -0
  1739. package/dist/modules/tools/services/base-tool-provider.service.js +42 -0
  1740. package/dist/modules/tools/services/base-tool-provider.service.js.map +1 -0
  1741. package/dist/modules/tools/services/short-id-mapping.service.d.ts +9 -0
  1742. package/dist/modules/tools/services/short-id-mapping.service.js +86 -0
  1743. package/dist/modules/tools/services/short-id-mapping.service.js.map +1 -0
  1744. package/dist/modules/tools/services/tool-provider-registry.service.d.ts +9 -0
  1745. package/dist/modules/tools/services/tool-provider-registry.service.js +56 -0
  1746. package/dist/modules/tools/services/tool-provider-registry.service.js.map +1 -0
  1747. package/dist/modules/tools/tools.constants.d.ts +1 -0
  1748. package/dist/modules/tools/tools.constants.js +5 -0
  1749. package/dist/modules/tools/tools.constants.js.map +1 -0
  1750. package/dist/modules/tools/tools.module.d.ts +2 -0
  1751. package/dist/modules/tools/tools.module.js +22 -0
  1752. package/dist/modules/tools/tools.module.js.map +1 -0
  1753. package/dist/modules/users/commands/list-users.command.d.ts +8 -0
  1754. package/dist/modules/users/commands/list-users.command.js +47 -0
  1755. package/dist/modules/users/commands/list-users.command.js.map +1 -0
  1756. package/dist/modules/users/controllers/users.controller.d.ts +17 -0
  1757. package/dist/modules/users/controllers/users.controller.js +233 -0
  1758. package/dist/modules/users/controllers/users.controller.js.map +1 -0
  1759. package/dist/modules/users/dto/create-user.dto.d.ts +14 -0
  1760. package/dist/modules/users/dto/create-user.dto.js +142 -0
  1761. package/dist/modules/users/dto/create-user.dto.js.map +1 -0
  1762. package/dist/modules/users/dto/update-config.dto.d.ts +5 -0
  1763. package/dist/modules/users/dto/update-config.dto.js +39 -0
  1764. package/dist/modules/users/dto/update-config.dto.js.map +1 -0
  1765. package/dist/modules/users/dto/update-user.dto.d.ts +13 -0
  1766. package/dist/modules/users/dto/update-user.dto.js +135 -0
  1767. package/dist/modules/users/dto/update-user.dto.js.map +1 -0
  1768. package/dist/modules/users/entities/users.entity.d.ts +12 -0
  1769. package/dist/modules/users/entities/users.entity.js +136 -0
  1770. package/dist/modules/users/entities/users.entity.js.map +1 -0
  1771. package/dist/modules/users/guards/roles.guard.d.ts +10 -0
  1772. package/dist/modules/users/guards/roles.guard.js +39 -0
  1773. package/dist/modules/users/guards/roles.guard.js.map +1 -0
  1774. package/dist/modules/users/models/config.model.d.ts +5 -0
  1775. package/dist/modules/users/models/config.model.js +49 -0
  1776. package/dist/modules/users/models/config.model.js.map +1 -0
  1777. package/dist/modules/users/models/users-response.model.d.ts +8 -0
  1778. package/dist/modules/users/models/users-response.model.js +46 -0
  1779. package/dist/modules/users/models/users-response.model.js.map +1 -0
  1780. package/dist/modules/users/services/module-reset.service.d.ts +13 -0
  1781. package/dist/modules/users/services/module-reset.service.js +51 -0
  1782. package/dist/modules/users/services/module-reset.service.js.map +1 -0
  1783. package/dist/modules/users/services/users-seeder.service.d.ts +9 -0
  1784. package/dist/modules/users/services/users-seeder.service.js +86 -0
  1785. package/dist/modules/users/services/users-seeder.service.js.map +1 -0
  1786. package/dist/modules/users/services/users.service.d.ts +24 -0
  1787. package/dist/modules/users/services/users.service.js +161 -0
  1788. package/dist/modules/users/services/users.service.js.map +1 -0
  1789. package/dist/modules/users/users.constants.d.ts +24 -0
  1790. package/dist/modules/users/users.constants.js +31 -0
  1791. package/dist/modules/users/users.constants.js.map +1 -0
  1792. package/dist/modules/users/users.exceptions.d.ts +9 -0
  1793. package/dist/modules/users/users.exceptions.js +25 -0
  1794. package/dist/modules/users/users.exceptions.js.map +1 -0
  1795. package/dist/modules/users/users.module.d.ts +19 -0
  1796. package/dist/modules/users/users.module.js +126 -0
  1797. package/dist/modules/users/users.module.js.map +1 -0
  1798. package/dist/modules/users/users.openapi.d.ts +3 -0
  1799. package/dist/modules/users/users.openapi.js +11 -0
  1800. package/dist/modules/users/users.openapi.js.map +1 -0
  1801. package/dist/modules/users/validators/user-exists-constraint.validator.d.ts +9 -0
  1802. package/dist/modules/users/validators/user-exists-constraint.validator.js +49 -0
  1803. package/dist/modules/users/validators/user-exists-constraint.validator.js.map +1 -0
  1804. package/dist/modules/weather/controllers/history.controller.d.ts +11 -0
  1805. package/dist/modules/weather/controllers/history.controller.js +174 -0
  1806. package/dist/modules/weather/controllers/history.controller.js.map +1 -0
  1807. package/dist/modules/weather/controllers/locations.controller.d.ts +20 -0
  1808. package/dist/modules/weather/controllers/locations.controller.js +265 -0
  1809. package/dist/modules/weather/controllers/locations.controller.js.map +1 -0
  1810. package/dist/modules/weather/controllers/weather.controller.d.ts +15 -0
  1811. package/dist/modules/weather/controllers/weather.controller.js +299 -0
  1812. package/dist/modules/weather/controllers/weather.controller.js.map +1 -0
  1813. package/dist/modules/weather/dto/create-location.dto.d.ts +8 -0
  1814. package/dist/modules/weather/dto/create-location.dto.js +73 -0
  1815. package/dist/modules/weather/dto/create-location.dto.js.map +1 -0
  1816. package/dist/modules/weather/dto/update-config.dto.d.ts +6 -0
  1817. package/dist/modules/weather/dto/update-config.dto.js +54 -0
  1818. package/dist/modules/weather/dto/update-config.dto.js.map +1 -0
  1819. package/dist/modules/weather/dto/update-location.dto.d.ts +7 -0
  1820. package/dist/modules/weather/dto/update-location.dto.js +59 -0
  1821. package/dist/modules/weather/dto/update-location.dto.js.map +1 -0
  1822. package/dist/modules/weather/entities/locations.entity.d.ts +5 -0
  1823. package/dist/modules/weather/entities/locations.entity.js +51 -0
  1824. package/dist/modules/weather/entities/locations.entity.js.map +1 -0
  1825. package/dist/modules/weather/models/alert.model.d.ts +12 -0
  1826. package/dist/modules/weather/models/alert.model.js +132 -0
  1827. package/dist/modules/weather/models/alert.model.js.map +1 -0
  1828. package/dist/modules/weather/models/config.model.d.ts +6 -0
  1829. package/dist/modules/weather/models/config.model.js +64 -0
  1830. package/dist/modules/weather/models/config.model.js.map +1 -0
  1831. package/dist/modules/weather/models/history.model.d.ts +35 -0
  1832. package/dist/modules/weather/models/history.model.js +403 -0
  1833. package/dist/modules/weather/models/history.model.js.map +1 -0
  1834. package/dist/modules/weather/models/locations-response.model.d.ts +8 -0
  1835. package/dist/modules/weather/models/locations-response.model.js +46 -0
  1836. package/dist/modules/weather/models/locations-response.model.js.map +1 -0
  1837. package/dist/modules/weather/models/weather-response.model.d.ts +17 -0
  1838. package/dist/modules/weather/models/weather-response.model.js +91 -0
  1839. package/dist/modules/weather/models/weather-response.model.js.map +1 -0
  1840. package/dist/modules/weather/models/weather.model.d.ts +80 -0
  1841. package/dist/modules/weather/models/weather.model.js +673 -0
  1842. package/dist/modules/weather/models/weather.model.js.map +1 -0
  1843. package/dist/modules/weather/platforms/weather-provider.platform.d.ts +14 -0
  1844. package/dist/modules/weather/platforms/weather-provider.platform.js +3 -0
  1845. package/dist/modules/weather/platforms/weather-provider.platform.js.map +1 -0
  1846. package/dist/modules/weather/services/locations-type-mapper.service.d.ts +18 -0
  1847. package/dist/modules/weather/services/locations-type-mapper.service.js +41 -0
  1848. package/dist/modules/weather/services/locations-type-mapper.service.js.map +1 -0
  1849. package/dist/modules/weather/services/locations.service.d.ts +23 -0
  1850. package/dist/modules/weather/services/locations.service.js +186 -0
  1851. package/dist/modules/weather/services/locations.service.js.map +1 -0
  1852. package/dist/modules/weather/services/module-reset.service.d.ts +11 -0
  1853. package/dist/modules/weather/services/module-reset.service.js +47 -0
  1854. package/dist/modules/weather/services/module-reset.service.js.map +1 -0
  1855. package/dist/modules/weather/services/weather-history.service.d.ts +48 -0
  1856. package/dist/modules/weather/services/weather-history.service.js +221 -0
  1857. package/dist/modules/weather/services/weather-history.service.js.map +1 -0
  1858. package/dist/modules/weather/services/weather-provider-registry.service.d.ts +15 -0
  1859. package/dist/modules/weather/services/weather-provider-registry.service.js +52 -0
  1860. package/dist/modules/weather/services/weather-provider-registry.service.js.map +1 -0
  1861. package/dist/modules/weather/services/weather-seeder.service.d.ts +11 -0
  1862. package/dist/modules/weather/services/weather-seeder.service.js +86 -0
  1863. package/dist/modules/weather/services/weather-seeder.service.js.map +1 -0
  1864. package/dist/modules/weather/services/weather.service.d.ts +52 -0
  1865. package/dist/modules/weather/services/weather.service.js +366 -0
  1866. package/dist/modules/weather/services/weather.service.js.map +1 -0
  1867. package/dist/modules/weather/weather.constants.d.ts +10 -0
  1868. package/dist/modules/weather/weather.constants.js +15 -0
  1869. package/dist/modules/weather/weather.constants.js.map +1 -0
  1870. package/dist/modules/weather/weather.exceptions.d.ts +12 -0
  1871. package/dist/modules/weather/weather.exceptions.js +32 -0
  1872. package/dist/modules/weather/weather.exceptions.js.map +1 -0
  1873. package/dist/modules/weather/weather.module.d.ts +19 -0
  1874. package/dist/modules/weather/weather.module.js +137 -0
  1875. package/dist/modules/weather/weather.module.js.map +1 -0
  1876. package/dist/modules/weather/weather.openapi.d.ts +7 -0
  1877. package/dist/modules/weather/weather.openapi.js +35 -0
  1878. package/dist/modules/weather/weather.openapi.js.map +1 -0
  1879. package/dist/modules/websocket/dto/client-user.dto.d.ts +10 -0
  1880. package/dist/modules/websocket/dto/client-user.dto.js +49 -0
  1881. package/dist/modules/websocket/dto/client-user.dto.js.map +1 -0
  1882. package/dist/modules/websocket/dto/command-message.dto.d.ts +4 -0
  1883. package/dist/modules/websocket/dto/command-message.dto.js +25 -0
  1884. package/dist/modules/websocket/dto/command-message.dto.js.map +1 -0
  1885. package/dist/modules/websocket/dto/command-result.dto.d.ts +11 -0
  1886. package/dist/modules/websocket/dto/command-result.dto.js +62 -0
  1887. package/dist/modules/websocket/dto/command-result.dto.js.map +1 -0
  1888. package/dist/modules/websocket/dto/ws-client.dto.d.ts +13 -0
  1889. package/dist/modules/websocket/dto/ws-client.dto.js +52 -0
  1890. package/dist/modules/websocket/dto/ws-client.dto.js.map +1 -0
  1891. package/dist/modules/websocket/gateway/websocket.gateway.d.ts +31 -0
  1892. package/dist/modules/websocket/gateway/websocket.gateway.js +278 -0
  1893. package/dist/modules/websocket/gateway/websocket.gateway.js.map +1 -0
  1894. package/dist/modules/websocket/models/ws.model.d.ts +12 -0
  1895. package/dist/modules/websocket/models/ws.model.js +108 -0
  1896. package/dist/modules/websocket/models/ws.model.js.map +1 -0
  1897. package/dist/modules/websocket/providers/ws-stats.provider.d.ts +8 -0
  1898. package/dist/modules/websocket/providers/ws-stats.provider.js +56 -0
  1899. package/dist/modules/websocket/providers/ws-stats.provider.js.map +1 -0
  1900. package/dist/modules/websocket/services/command-event-registry.service.d.ts +15 -0
  1901. package/dist/modules/websocket/services/command-event-registry.service.js +42 -0
  1902. package/dist/modules/websocket/services/command-event-registry.service.js.map +1 -0
  1903. package/dist/modules/websocket/services/ws-auth.service.d.ts +16 -0
  1904. package/dist/modules/websocket/services/ws-auth.service.js +168 -0
  1905. package/dist/modules/websocket/services/ws-auth.service.js.map +1 -0
  1906. package/dist/modules/websocket/services/ws-metrics.service.d.ts +14 -0
  1907. package/dist/modules/websocket/services/ws-metrics.service.js +74 -0
  1908. package/dist/modules/websocket/services/ws-metrics.service.js.map +1 -0
  1909. package/dist/modules/websocket/utils/ip.utils.d.ts +2 -0
  1910. package/dist/modules/websocket/utils/ip.utils.js +35 -0
  1911. package/dist/modules/websocket/utils/ip.utils.js.map +1 -0
  1912. package/dist/modules/websocket/websocket.constants.d.ts +13 -0
  1913. package/dist/modules/websocket/websocket.constants.js +26 -0
  1914. package/dist/modules/websocket/websocket.constants.js.map +1 -0
  1915. package/dist/modules/websocket/websocket.exceptions.d.ts +6 -0
  1916. package/dist/modules/websocket/websocket.exceptions.js +18 -0
  1917. package/dist/modules/websocket/websocket.exceptions.js.map +1 -0
  1918. package/dist/modules/websocket/websocket.module.d.ts +12 -0
  1919. package/dist/modules/websocket/websocket.module.js +75 -0
  1920. package/dist/modules/websocket/websocket.module.js.map +1 -0
  1921. package/dist/modules/websocket/websocket.openapi.d.ts +2 -0
  1922. package/dist/modules/websocket/websocket.openapi.js +10 -0
  1923. package/dist/modules/websocket/websocket.openapi.js.map +1 -0
  1924. package/dist/plugins/buddy-claude/buddy-claude.constants.d.ts +5 -0
  1925. package/dist/plugins/buddy-claude/buddy-claude.constants.js +9 -0
  1926. package/dist/plugins/buddy-claude/buddy-claude.constants.js.map +1 -0
  1927. package/dist/plugins/buddy-claude/buddy-claude.openapi.d.ts +3 -0
  1928. package/dist/plugins/buddy-claude/buddy-claude.openapi.js +7 -0
  1929. package/dist/plugins/buddy-claude/buddy-claude.openapi.js.map +1 -0
  1930. package/dist/plugins/buddy-claude/buddy-claude.plugin.d.ts +15 -0
  1931. package/dist/plugins/buddy-claude/buddy-claude.plugin.js +97 -0
  1932. package/dist/plugins/buddy-claude/buddy-claude.plugin.js.map +1 -0
  1933. package/dist/plugins/buddy-claude/dto/update-config.dto.d.ts +8 -0
  1934. package/dist/plugins/buddy-claude/dto/update-config.dto.js +73 -0
  1935. package/dist/plugins/buddy-claude/dto/update-config.dto.js.map +1 -0
  1936. package/dist/plugins/buddy-claude/models/config.model.d.ts +7 -0
  1937. package/dist/plugins/buddy-claude/models/config.model.js +75 -0
  1938. package/dist/plugins/buddy-claude/models/config.model.js.map +1 -0
  1939. package/dist/plugins/buddy-claude/platforms/claude.provider.d.ts +14 -0
  1940. package/dist/plugins/buddy-claude/platforms/claude.provider.js +81 -0
  1941. package/dist/plugins/buddy-claude/platforms/claude.provider.js.map +1 -0
  1942. package/dist/plugins/buddy-claude/services/claude-config-validator.service.d.ts +10 -0
  1943. package/dist/plugins/buddy-claude/services/claude-config-validator.service.js +37 -0
  1944. package/dist/plugins/buddy-claude/services/claude-config-validator.service.js.map +1 -0
  1945. package/dist/plugins/buddy-claude-setup-token/buddy-claude-setup-token.constants.d.ts +5 -0
  1946. package/dist/plugins/buddy-claude-setup-token/buddy-claude-setup-token.constants.js +9 -0
  1947. package/dist/plugins/buddy-claude-setup-token/buddy-claude-setup-token.constants.js.map +1 -0
  1948. package/dist/plugins/buddy-claude-setup-token/buddy-claude-setup-token.openapi.d.ts +3 -0
  1949. package/dist/plugins/buddy-claude-setup-token/buddy-claude-setup-token.openapi.js +10 -0
  1950. package/dist/plugins/buddy-claude-setup-token/buddy-claude-setup-token.openapi.js.map +1 -0
  1951. package/dist/plugins/buddy-claude-setup-token/buddy-claude-setup-token.plugin.d.ts +15 -0
  1952. package/dist/plugins/buddy-claude-setup-token/buddy-claude-setup-token.plugin.js +99 -0
  1953. package/dist/plugins/buddy-claude-setup-token/buddy-claude-setup-token.plugin.js.map +1 -0
  1954. package/dist/plugins/buddy-claude-setup-token/dto/update-config.dto.d.ts +8 -0
  1955. package/dist/plugins/buddy-claude-setup-token/dto/update-config.dto.js +74 -0
  1956. package/dist/plugins/buddy-claude-setup-token/dto/update-config.dto.js.map +1 -0
  1957. package/dist/plugins/buddy-claude-setup-token/models/config.model.d.ts +7 -0
  1958. package/dist/plugins/buddy-claude-setup-token/models/config.model.js +76 -0
  1959. package/dist/plugins/buddy-claude-setup-token/models/config.model.js.map +1 -0
  1960. package/dist/plugins/buddy-claude-setup-token/platforms/claude-setup-token.provider.d.ts +14 -0
  1961. package/dist/plugins/buddy-claude-setup-token/platforms/claude-setup-token.provider.js +81 -0
  1962. package/dist/plugins/buddy-claude-setup-token/platforms/claude-setup-token.provider.js.map +1 -0
  1963. package/dist/plugins/buddy-claude-setup-token/services/claude-setup-token-config-validator.service.d.ts +10 -0
  1964. package/dist/plugins/buddy-claude-setup-token/services/claude-setup-token-config-validator.service.js +37 -0
  1965. package/dist/plugins/buddy-claude-setup-token/services/claude-setup-token-config-validator.service.js.map +1 -0
  1966. package/dist/plugins/buddy-discord/buddy-discord.constants.d.ts +6 -0
  1967. package/dist/plugins/buddy-discord/buddy-discord.constants.js +10 -0
  1968. package/dist/plugins/buddy-discord/buddy-discord.constants.js.map +1 -0
  1969. package/dist/plugins/buddy-discord/buddy-discord.openapi.d.ts +3 -0
  1970. package/dist/plugins/buddy-discord/buddy-discord.openapi.js +7 -0
  1971. package/dist/plugins/buddy-discord/buddy-discord.openapi.js.map +1 -0
  1972. package/dist/plugins/buddy-discord/buddy-discord.plugin.d.ts +15 -0
  1973. package/dist/plugins/buddy-discord/buddy-discord.plugin.js +105 -0
  1974. package/dist/plugins/buddy-discord/buddy-discord.plugin.js.map +1 -0
  1975. package/dist/plugins/buddy-discord/dto/update-config.dto.d.ts +11 -0
  1976. package/dist/plugins/buddy-discord/dto/update-config.dto.js +113 -0
  1977. package/dist/plugins/buddy-discord/dto/update-config.dto.js.map +1 -0
  1978. package/dist/plugins/buddy-discord/models/config.model.d.ts +10 -0
  1979. package/dist/plugins/buddy-discord/models/config.model.js +119 -0
  1980. package/dist/plugins/buddy-discord/models/config.model.js.map +1 -0
  1981. package/dist/plugins/buddy-discord/platforms/discord-bot.provider.d.ts +37 -0
  1982. package/dist/plugins/buddy-discord/platforms/discord-bot.provider.js +406 -0
  1983. package/dist/plugins/buddy-discord/platforms/discord-bot.provider.js.map +1 -0
  1984. package/dist/plugins/buddy-discord/services/discord-config-validator.service.d.ts +10 -0
  1985. package/dist/plugins/buddy-discord/services/discord-config-validator.service.js +37 -0
  1986. package/dist/plugins/buddy-discord/services/discord-config-validator.service.js.map +1 -0
  1987. package/dist/plugins/buddy-elevenlabs/buddy-elevenlabs.constants.d.ts +5 -0
  1988. package/dist/plugins/buddy-elevenlabs/buddy-elevenlabs.constants.js +9 -0
  1989. package/dist/plugins/buddy-elevenlabs/buddy-elevenlabs.constants.js.map +1 -0
  1990. package/dist/plugins/buddy-elevenlabs/buddy-elevenlabs.openapi.d.ts +3 -0
  1991. package/dist/plugins/buddy-elevenlabs/buddy-elevenlabs.openapi.js +10 -0
  1992. package/dist/plugins/buddy-elevenlabs/buddy-elevenlabs.openapi.js.map +1 -0
  1993. package/dist/plugins/buddy-elevenlabs/buddy-elevenlabs.plugin.d.ts +19 -0
  1994. package/dist/plugins/buddy-elevenlabs/buddy-elevenlabs.plugin.js +107 -0
  1995. package/dist/plugins/buddy-elevenlabs/buddy-elevenlabs.plugin.js.map +1 -0
  1996. package/dist/plugins/buddy-elevenlabs/dto/update-config.dto.d.ts +8 -0
  1997. package/dist/plugins/buddy-elevenlabs/dto/update-config.dto.js +76 -0
  1998. package/dist/plugins/buddy-elevenlabs/dto/update-config.dto.js.map +1 -0
  1999. package/dist/plugins/buddy-elevenlabs/models/config.model.d.ts +7 -0
  2000. package/dist/plugins/buddy-elevenlabs/models/config.model.js +79 -0
  2001. package/dist/plugins/buddy-elevenlabs/models/config.model.js.map +1 -0
  2002. package/dist/plugins/buddy-elevenlabs/platforms/elevenlabs-stt.provider.d.ts +14 -0
  2003. package/dist/plugins/buddy-elevenlabs/platforms/elevenlabs-stt.provider.js +104 -0
  2004. package/dist/plugins/buddy-elevenlabs/platforms/elevenlabs-stt.provider.js.map +1 -0
  2005. package/dist/plugins/buddy-elevenlabs/platforms/elevenlabs-tts.provider.d.ts +15 -0
  2006. package/dist/plugins/buddy-elevenlabs/platforms/elevenlabs-tts.provider.js +120 -0
  2007. package/dist/plugins/buddy-elevenlabs/platforms/elevenlabs-tts.provider.js.map +1 -0
  2008. package/dist/plugins/buddy-elevenlabs/services/elevenlabs-config-validator.service.d.ts +10 -0
  2009. package/dist/plugins/buddy-elevenlabs/services/elevenlabs-config-validator.service.js +37 -0
  2010. package/dist/plugins/buddy-elevenlabs/services/elevenlabs-config-validator.service.js.map +1 -0
  2011. package/dist/plugins/buddy-ollama/buddy-ollama.constants.d.ts +6 -0
  2012. package/dist/plugins/buddy-ollama/buddy-ollama.constants.js +10 -0
  2013. package/dist/plugins/buddy-ollama/buddy-ollama.constants.js.map +1 -0
  2014. package/dist/plugins/buddy-ollama/buddy-ollama.openapi.d.ts +3 -0
  2015. package/dist/plugins/buddy-ollama/buddy-ollama.openapi.js +7 -0
  2016. package/dist/plugins/buddy-ollama/buddy-ollama.openapi.js.map +1 -0
  2017. package/dist/plugins/buddy-ollama/buddy-ollama.plugin.d.ts +15 -0
  2018. package/dist/plugins/buddy-ollama/buddy-ollama.plugin.js +98 -0
  2019. package/dist/plugins/buddy-ollama/buddy-ollama.plugin.js.map +1 -0
  2020. package/dist/plugins/buddy-ollama/dto/update-config.dto.d.ts +8 -0
  2021. package/dist/plugins/buddy-ollama/dto/update-config.dto.js +74 -0
  2022. package/dist/plugins/buddy-ollama/dto/update-config.dto.js.map +1 -0
  2023. package/dist/plugins/buddy-ollama/models/config.model.d.ts +7 -0
  2024. package/dist/plugins/buddy-ollama/models/config.model.js +76 -0
  2025. package/dist/plugins/buddy-ollama/models/config.model.js.map +1 -0
  2026. package/dist/plugins/buddy-ollama/platforms/ollama.provider.d.ts +15 -0
  2027. package/dist/plugins/buddy-ollama/platforms/ollama.provider.js +127 -0
  2028. package/dist/plugins/buddy-ollama/platforms/ollama.provider.js.map +1 -0
  2029. package/dist/plugins/buddy-ollama/services/ollama-config-validator.service.d.ts +10 -0
  2030. package/dist/plugins/buddy-ollama/services/ollama-config-validator.service.js +37 -0
  2031. package/dist/plugins/buddy-ollama/services/ollama-config-validator.service.js.map +1 -0
  2032. package/dist/plugins/buddy-openai/buddy-openai.constants.d.ts +5 -0
  2033. package/dist/plugins/buddy-openai/buddy-openai.constants.js +9 -0
  2034. package/dist/plugins/buddy-openai/buddy-openai.constants.js.map +1 -0
  2035. package/dist/plugins/buddy-openai/buddy-openai.openapi.d.ts +3 -0
  2036. package/dist/plugins/buddy-openai/buddy-openai.openapi.js +7 -0
  2037. package/dist/plugins/buddy-openai/buddy-openai.openapi.js.map +1 -0
  2038. package/dist/plugins/buddy-openai/buddy-openai.plugin.d.ts +23 -0
  2039. package/dist/plugins/buddy-openai/buddy-openai.plugin.js +117 -0
  2040. package/dist/plugins/buddy-openai/buddy-openai.plugin.js.map +1 -0
  2041. package/dist/plugins/buddy-openai/dto/update-config.dto.d.ts +8 -0
  2042. package/dist/plugins/buddy-openai/dto/update-config.dto.js +73 -0
  2043. package/dist/plugins/buddy-openai/dto/update-config.dto.js.map +1 -0
  2044. package/dist/plugins/buddy-openai/models/config.model.d.ts +7 -0
  2045. package/dist/plugins/buddy-openai/models/config.model.js +75 -0
  2046. package/dist/plugins/buddy-openai/models/config.model.js.map +1 -0
  2047. package/dist/plugins/buddy-openai/platforms/openai-stt.provider.d.ts +14 -0
  2048. package/dist/plugins/buddy-openai/platforms/openai-stt.provider.js +129 -0
  2049. package/dist/plugins/buddy-openai/platforms/openai-stt.provider.js.map +1 -0
  2050. package/dist/plugins/buddy-openai/platforms/openai-tts.provider.d.ts +13 -0
  2051. package/dist/plugins/buddy-openai/platforms/openai-tts.provider.js +114 -0
  2052. package/dist/plugins/buddy-openai/platforms/openai-tts.provider.js.map +1 -0
  2053. package/dist/plugins/buddy-openai/platforms/openai.provider.d.ts +14 -0
  2054. package/dist/plugins/buddy-openai/platforms/openai.provider.js +81 -0
  2055. package/dist/plugins/buddy-openai/platforms/openai.provider.js.map +1 -0
  2056. package/dist/plugins/buddy-openai/services/openai-config-validator.service.d.ts +10 -0
  2057. package/dist/plugins/buddy-openai/services/openai-config-validator.service.js +37 -0
  2058. package/dist/plugins/buddy-openai/services/openai-config-validator.service.js.map +1 -0
  2059. package/dist/plugins/buddy-openai-codex/buddy-openai-codex.constants.d.ts +11 -0
  2060. package/dist/plugins/buddy-openai-codex/buddy-openai-codex.constants.js +15 -0
  2061. package/dist/plugins/buddy-openai-codex/buddy-openai-codex.constants.js.map +1 -0
  2062. package/dist/plugins/buddy-openai-codex/buddy-openai-codex.openapi.d.ts +3 -0
  2063. package/dist/plugins/buddy-openai-codex/buddy-openai-codex.openapi.js +10 -0
  2064. package/dist/plugins/buddy-openai-codex/buddy-openai-codex.openapi.js.map +1 -0
  2065. package/dist/plugins/buddy-openai-codex/buddy-openai-codex.plugin.d.ts +15 -0
  2066. package/dist/plugins/buddy-openai-codex/buddy-openai-codex.plugin.js +104 -0
  2067. package/dist/plugins/buddy-openai-codex/buddy-openai-codex.plugin.js.map +1 -0
  2068. package/dist/plugins/buddy-openai-codex/controllers/oauth.controller.d.ts +20 -0
  2069. package/dist/plugins/buddy-openai-codex/controllers/oauth.controller.js +105 -0
  2070. package/dist/plugins/buddy-openai-codex/controllers/oauth.controller.js.map +1 -0
  2071. package/dist/plugins/buddy-openai-codex/dto/update-config.dto.d.ts +11 -0
  2072. package/dist/plugins/buddy-openai-codex/dto/update-config.dto.js +110 -0
  2073. package/dist/plugins/buddy-openai-codex/dto/update-config.dto.js.map +1 -0
  2074. package/dist/plugins/buddy-openai-codex/models/config.model.d.ts +10 -0
  2075. package/dist/plugins/buddy-openai-codex/models/config.model.js +115 -0
  2076. package/dist/plugins/buddy-openai-codex/models/config.model.js.map +1 -0
  2077. package/dist/plugins/buddy-openai-codex/platforms/openai-codex.provider.d.ts +17 -0
  2078. package/dist/plugins/buddy-openai-codex/platforms/openai-codex.provider.js +195 -0
  2079. package/dist/plugins/buddy-openai-codex/platforms/openai-codex.provider.js.map +1 -0
  2080. package/dist/plugins/buddy-openai-codex/services/openai-codex-config-validator.service.d.ts +10 -0
  2081. package/dist/plugins/buddy-openai-codex/services/openai-codex-config-validator.service.js +44 -0
  2082. package/dist/plugins/buddy-openai-codex/services/openai-codex-config-validator.service.js.map +1 -0
  2083. package/dist/plugins/buddy-stt-whisper-local/buddy-stt-whisper-local.constants.d.ts +5 -0
  2084. package/dist/plugins/buddy-stt-whisper-local/buddy-stt-whisper-local.constants.js +9 -0
  2085. package/dist/plugins/buddy-stt-whisper-local/buddy-stt-whisper-local.constants.js.map +1 -0
  2086. package/dist/plugins/buddy-stt-whisper-local/buddy-stt-whisper-local.openapi.d.ts +3 -0
  2087. package/dist/plugins/buddy-stt-whisper-local/buddy-stt-whisper-local.openapi.js +10 -0
  2088. package/dist/plugins/buddy-stt-whisper-local/buddy-stt-whisper-local.openapi.js.map +1 -0
  2089. package/dist/plugins/buddy-stt-whisper-local/buddy-stt-whisper-local.plugin.d.ts +15 -0
  2090. package/dist/plugins/buddy-stt-whisper-local/buddy-stt-whisper-local.plugin.js +96 -0
  2091. package/dist/plugins/buddy-stt-whisper-local/buddy-stt-whisper-local.plugin.js.map +1 -0
  2092. package/dist/plugins/buddy-stt-whisper-local/dto/update-config.dto.d.ts +8 -0
  2093. package/dist/plugins/buddy-stt-whisper-local/dto/update-config.dto.js +68 -0
  2094. package/dist/plugins/buddy-stt-whisper-local/dto/update-config.dto.js.map +1 -0
  2095. package/dist/plugins/buddy-stt-whisper-local/models/config.model.d.ts +7 -0
  2096. package/dist/plugins/buddy-stt-whisper-local/models/config.model.js +76 -0
  2097. package/dist/plugins/buddy-stt-whisper-local/models/config.model.js.map +1 -0
  2098. package/dist/plugins/buddy-stt-whisper-local/platforms/whisper-local-stt.provider.d.ts +14 -0
  2099. package/dist/plugins/buddy-stt-whisper-local/platforms/whisper-local-stt.provider.js +126 -0
  2100. package/dist/plugins/buddy-stt-whisper-local/platforms/whisper-local-stt.provider.js.map +1 -0
  2101. package/dist/plugins/buddy-system-tts/buddy-system-tts.constants.d.ts +4 -0
  2102. package/dist/plugins/buddy-system-tts/buddy-system-tts.constants.js +8 -0
  2103. package/dist/plugins/buddy-system-tts/buddy-system-tts.constants.js.map +1 -0
  2104. package/dist/plugins/buddy-system-tts/buddy-system-tts.openapi.d.ts +3 -0
  2105. package/dist/plugins/buddy-system-tts/buddy-system-tts.openapi.js +7 -0
  2106. package/dist/plugins/buddy-system-tts/buddy-system-tts.openapi.js.map +1 -0
  2107. package/dist/plugins/buddy-system-tts/buddy-system-tts.plugin.d.ts +15 -0
  2108. package/dist/plugins/buddy-system-tts/buddy-system-tts.plugin.js +98 -0
  2109. package/dist/plugins/buddy-system-tts/buddy-system-tts.plugin.js.map +1 -0
  2110. package/dist/plugins/buddy-system-tts/dto/update-config.dto.d.ts +8 -0
  2111. package/dist/plugins/buddy-system-tts/dto/update-config.dto.js +70 -0
  2112. package/dist/plugins/buddy-system-tts/dto/update-config.dto.js.map +1 -0
  2113. package/dist/plugins/buddy-system-tts/models/config.model.d.ts +7 -0
  2114. package/dist/plugins/buddy-system-tts/models/config.model.js +71 -0
  2115. package/dist/plugins/buddy-system-tts/models/config.model.js.map +1 -0
  2116. package/dist/plugins/buddy-system-tts/platforms/system-tts.provider.d.ts +15 -0
  2117. package/dist/plugins/buddy-system-tts/platforms/system-tts.provider.js +139 -0
  2118. package/dist/plugins/buddy-system-tts/platforms/system-tts.provider.js.map +1 -0
  2119. package/dist/plugins/buddy-telegram/buddy-telegram.constants.d.ts +6 -0
  2120. package/dist/plugins/buddy-telegram/buddy-telegram.constants.js +10 -0
  2121. package/dist/plugins/buddy-telegram/buddy-telegram.constants.js.map +1 -0
  2122. package/dist/plugins/buddy-telegram/buddy-telegram.openapi.d.ts +3 -0
  2123. package/dist/plugins/buddy-telegram/buddy-telegram.openapi.js +7 -0
  2124. package/dist/plugins/buddy-telegram/buddy-telegram.openapi.js.map +1 -0
  2125. package/dist/plugins/buddy-telegram/buddy-telegram.plugin.d.ts +15 -0
  2126. package/dist/plugins/buddy-telegram/buddy-telegram.plugin.js +100 -0
  2127. package/dist/plugins/buddy-telegram/buddy-telegram.plugin.js.map +1 -0
  2128. package/dist/plugins/buddy-telegram/dto/update-config.dto.d.ts +8 -0
  2129. package/dist/plugins/buddy-telegram/dto/update-config.dto.js +72 -0
  2130. package/dist/plugins/buddy-telegram/dto/update-config.dto.js.map +1 -0
  2131. package/dist/plugins/buddy-telegram/models/config.model.d.ts +7 -0
  2132. package/dist/plugins/buddy-telegram/models/config.model.js +75 -0
  2133. package/dist/plugins/buddy-telegram/models/config.model.js.map +1 -0
  2134. package/dist/plugins/buddy-telegram/platforms/telegram-bot.provider.d.ts +33 -0
  2135. package/dist/plugins/buddy-telegram/platforms/telegram-bot.provider.js +304 -0
  2136. package/dist/plugins/buddy-telegram/platforms/telegram-bot.provider.js.map +1 -0
  2137. package/dist/plugins/buddy-telegram/services/telegram-config-validator.service.d.ts +10 -0
  2138. package/dist/plugins/buddy-telegram/services/telegram-config-validator.service.js +37 -0
  2139. package/dist/plugins/buddy-telegram/services/telegram-config-validator.service.js.map +1 -0
  2140. package/dist/plugins/buddy-voiceai/buddy-voiceai.constants.d.ts +5 -0
  2141. package/dist/plugins/buddy-voiceai/buddy-voiceai.constants.js +9 -0
  2142. package/dist/plugins/buddy-voiceai/buddy-voiceai.constants.js.map +1 -0
  2143. package/dist/plugins/buddy-voiceai/buddy-voiceai.openapi.d.ts +3 -0
  2144. package/dist/plugins/buddy-voiceai/buddy-voiceai.openapi.js +7 -0
  2145. package/dist/plugins/buddy-voiceai/buddy-voiceai.openapi.js.map +1 -0
  2146. package/dist/plugins/buddy-voiceai/buddy-voiceai.plugin.d.ts +15 -0
  2147. package/dist/plugins/buddy-voiceai/buddy-voiceai.plugin.js +101 -0
  2148. package/dist/plugins/buddy-voiceai/buddy-voiceai.plugin.js.map +1 -0
  2149. package/dist/plugins/buddy-voiceai/dto/update-config.dto.d.ts +8 -0
  2150. package/dist/plugins/buddy-voiceai/dto/update-config.dto.js +76 -0
  2151. package/dist/plugins/buddy-voiceai/dto/update-config.dto.js.map +1 -0
  2152. package/dist/plugins/buddy-voiceai/models/config.model.d.ts +7 -0
  2153. package/dist/plugins/buddy-voiceai/models/config.model.js +79 -0
  2154. package/dist/plugins/buddy-voiceai/models/config.model.js.map +1 -0
  2155. package/dist/plugins/buddy-voiceai/platforms/voiceai-tts.provider.d.ts +13 -0
  2156. package/dist/plugins/buddy-voiceai/platforms/voiceai-tts.provider.js +91 -0
  2157. package/dist/plugins/buddy-voiceai/platforms/voiceai-tts.provider.js.map +1 -0
  2158. package/dist/plugins/buddy-voiceai/services/voiceai-config-validator.service.d.ts +10 -0
  2159. package/dist/plugins/buddy-voiceai/services/voiceai-config-validator.service.js +37 -0
  2160. package/dist/plugins/buddy-voiceai/services/voiceai-config-validator.service.js.map +1 -0
  2161. package/dist/plugins/buddy-whatsapp/buddy-whatsapp.constants.d.ts +13 -0
  2162. package/dist/plugins/buddy-whatsapp/buddy-whatsapp.constants.js +18 -0
  2163. package/dist/plugins/buddy-whatsapp/buddy-whatsapp.constants.js.map +1 -0
  2164. package/dist/plugins/buddy-whatsapp/buddy-whatsapp.openapi.d.ts +3 -0
  2165. package/dist/plugins/buddy-whatsapp/buddy-whatsapp.openapi.js +7 -0
  2166. package/dist/plugins/buddy-whatsapp/buddy-whatsapp.openapi.js.map +1 -0
  2167. package/dist/plugins/buddy-whatsapp/buddy-whatsapp.plugin.d.ts +15 -0
  2168. package/dist/plugins/buddy-whatsapp/buddy-whatsapp.plugin.js +102 -0
  2169. package/dist/plugins/buddy-whatsapp/buddy-whatsapp.plugin.js.map +1 -0
  2170. package/dist/plugins/buddy-whatsapp/controllers/whatsapp-webhook.controller.d.ts +14 -0
  2171. package/dist/plugins/buddy-whatsapp/controllers/whatsapp-webhook.controller.js +66 -0
  2172. package/dist/plugins/buddy-whatsapp/controllers/whatsapp-webhook.controller.js.map +1 -0
  2173. package/dist/plugins/buddy-whatsapp/dto/update-config.dto.d.ts +7 -0
  2174. package/dist/plugins/buddy-whatsapp/dto/update-config.dto.js +59 -0
  2175. package/dist/plugins/buddy-whatsapp/dto/update-config.dto.js.map +1 -0
  2176. package/dist/plugins/buddy-whatsapp/models/config.model.d.ts +6 -0
  2177. package/dist/plugins/buddy-whatsapp/models/config.model.js +61 -0
  2178. package/dist/plugins/buddy-whatsapp/models/config.model.js.map +1 -0
  2179. package/dist/plugins/buddy-whatsapp/platforms/whatsapp-bot.provider.d.ts +41 -0
  2180. package/dist/plugins/buddy-whatsapp/platforms/whatsapp-bot.provider.js +366 -0
  2181. package/dist/plugins/buddy-whatsapp/platforms/whatsapp-bot.provider.js.map +1 -0
  2182. package/dist/plugins/data-sources-device-channel/data-sources-device-channel.constants.d.ts +2 -0
  2183. package/dist/plugins/data-sources-device-channel/data-sources-device-channel.constants.js +6 -0
  2184. package/dist/plugins/data-sources-device-channel/data-sources-device-channel.constants.js.map +1 -0
  2185. package/dist/plugins/data-sources-device-channel/data-sources-device-channel.openapi.d.ts +5 -0
  2186. package/dist/plugins/data-sources-device-channel/data-sources-device-channel.openapi.js +16 -0
  2187. package/dist/plugins/data-sources-device-channel/data-sources-device-channel.openapi.js.map +1 -0
  2188. package/dist/plugins/data-sources-device-channel/data-sources-device-channel.plugin.d.ts +18 -0
  2189. package/dist/plugins/data-sources-device-channel/data-sources-device-channel.plugin.js +161 -0
  2190. package/dist/plugins/data-sources-device-channel/data-sources-device-channel.plugin.js.map +1 -0
  2191. package/dist/plugins/data-sources-device-channel/dto/create-data-source.dto.d.ts +9 -0
  2192. package/dist/plugins/data-sources-device-channel/dto/create-data-source.dto.js +88 -0
  2193. package/dist/plugins/data-sources-device-channel/dto/create-data-source.dto.js.map +1 -0
  2194. package/dist/plugins/data-sources-device-channel/dto/update-config.dto.d.ts +5 -0
  2195. package/dist/plugins/data-sources-device-channel/dto/update-config.dto.js +34 -0
  2196. package/dist/plugins/data-sources-device-channel/dto/update-config.dto.js.map +1 -0
  2197. package/dist/plugins/data-sources-device-channel/dto/update-data-source.dto.d.ts +9 -0
  2198. package/dist/plugins/data-sources-device-channel/dto/update-data-source.dto.js +94 -0
  2199. package/dist/plugins/data-sources-device-channel/dto/update-data-source.dto.js.map +1 -0
  2200. package/dist/plugins/data-sources-device-channel/entities/data-sources-device-channel.entity.d.ts +12 -0
  2201. package/dist/plugins/data-sources-device-channel/entities/data-sources-device-channel.entity.js +128 -0
  2202. package/dist/plugins/data-sources-device-channel/entities/data-sources-device-channel.entity.js.map +1 -0
  2203. package/dist/plugins/data-sources-device-channel/models/config.model.d.ts +5 -0
  2204. package/dist/plugins/data-sources-device-channel/models/config.model.js +49 -0
  2205. package/dist/plugins/data-sources-device-channel/models/config.model.js.map +1 -0
  2206. package/dist/plugins/data-sources-device-channel/services/data-source-relations-loader.service.d.ts +14 -0
  2207. package/dist/plugins/data-sources-device-channel/services/data-source-relations-loader.service.js +47 -0
  2208. package/dist/plugins/data-sources-device-channel/services/data-source-relations-loader.service.js.map +1 -0
  2209. package/dist/plugins/data-sources-device-channel/validators/channel-property-exists-constraint.validator.d.ts +11 -0
  2210. package/dist/plugins/data-sources-device-channel/validators/channel-property-exists-constraint.validator.js +61 -0
  2211. package/dist/plugins/data-sources-device-channel/validators/channel-property-exists-constraint.validator.js.map +1 -0
  2212. package/dist/plugins/data-sources-device-channel/validators/device-channel-exists-constraint.validator.d.ts +11 -0
  2213. package/dist/plugins/data-sources-device-channel/validators/device-channel-exists-constraint.validator.js +61 -0
  2214. package/dist/plugins/data-sources-device-channel/validators/device-channel-exists-constraint.validator.js.map +1 -0
  2215. package/dist/plugins/data-sources-device-channel/validators/device-exists-constraint.validator.d.ts +9 -0
  2216. package/dist/plugins/data-sources-device-channel/validators/device-exists-constraint.validator.js +49 -0
  2217. package/dist/plugins/data-sources-device-channel/validators/device-exists-constraint.validator.js.map +1 -0
  2218. package/dist/plugins/data-sources-weather/data-sources-weather.constants.d.ts +18 -0
  2219. package/dist/plugins/data-sources-weather/data-sources-weather.constants.js +23 -0
  2220. package/dist/plugins/data-sources-weather/data-sources-weather.constants.js.map +1 -0
  2221. package/dist/plugins/data-sources-weather/data-sources-weather.openapi.d.ts +5 -0
  2222. package/dist/plugins/data-sources-weather/data-sources-weather.openapi.js +19 -0
  2223. package/dist/plugins/data-sources-weather/data-sources-weather.openapi.js.map +1 -0
  2224. package/dist/plugins/data-sources-weather/data-sources-weather.plugin.d.ts +18 -0
  2225. package/dist/plugins/data-sources-weather/data-sources-weather.plugin.js +177 -0
  2226. package/dist/plugins/data-sources-weather/data-sources-weather.plugin.js.map +1 -0
  2227. package/dist/plugins/data-sources-weather/dto/create-data-source.dto.d.ts +17 -0
  2228. package/dist/plugins/data-sources-weather/dto/create-data-source.dto.js +174 -0
  2229. package/dist/plugins/data-sources-weather/dto/create-data-source.dto.js.map +1 -0
  2230. package/dist/plugins/data-sources-weather/dto/update-config.dto.d.ts +6 -0
  2231. package/dist/plugins/data-sources-weather/dto/update-config.dto.js +45 -0
  2232. package/dist/plugins/data-sources-weather/dto/update-config.dto.js.map +1 -0
  2233. package/dist/plugins/data-sources-weather/dto/update-data-source.dto.d.ts +17 -0
  2234. package/dist/plugins/data-sources-weather/dto/update-data-source.dto.js +180 -0
  2235. package/dist/plugins/data-sources-weather/dto/update-data-source.dto.js.map +1 -0
  2236. package/dist/plugins/data-sources-weather/entities/data-sources-weather.entity.d.ts +20 -0
  2237. package/dist/plugins/data-sources-weather/entities/data-sources-weather.entity.js +195 -0
  2238. package/dist/plugins/data-sources-weather/entities/data-sources-weather.entity.js.map +1 -0
  2239. package/dist/plugins/data-sources-weather/models/config.model.d.ts +5 -0
  2240. package/dist/plugins/data-sources-weather/models/config.model.js +47 -0
  2241. package/dist/plugins/data-sources-weather/models/config.model.js.map +1 -0
  2242. package/dist/plugins/data-sources-weather/services/data-source-relations-loader.service.d.ts +10 -0
  2243. package/dist/plugins/data-sources-weather/services/data-source-relations-loader.service.js +35 -0
  2244. package/dist/plugins/data-sources-weather/services/data-source-relations-loader.service.js.map +1 -0
  2245. package/dist/plugins/devices-home-assistant/controllers/home-assistant-discovered-devices.controller.d.ts +18 -0
  2246. package/dist/plugins/devices-home-assistant/controllers/home-assistant-discovered-devices.controller.js +245 -0
  2247. package/dist/plugins/devices-home-assistant/controllers/home-assistant-discovered-devices.controller.js.map +1 -0
  2248. package/dist/plugins/devices-home-assistant/controllers/home-assistant-discovered-helpers.controller.d.ts +18 -0
  2249. package/dist/plugins/devices-home-assistant/controllers/home-assistant-discovered-helpers.controller.js +245 -0
  2250. package/dist/plugins/devices-home-assistant/controllers/home-assistant-discovered-helpers.controller.js.map +1 -0
  2251. package/dist/plugins/devices-home-assistant/controllers/home-assistant-discovery.controller.d.ts +9 -0
  2252. package/dist/plugins/devices-home-assistant/controllers/home-assistant-discovery.controller.js +79 -0
  2253. package/dist/plugins/devices-home-assistant/controllers/home-assistant-discovery.controller.js.map +1 -0
  2254. package/dist/plugins/devices-home-assistant/controllers/home-assistant-registry.controller.d.ts +9 -0
  2255. package/dist/plugins/devices-home-assistant/controllers/home-assistant-registry.controller.js +121 -0
  2256. package/dist/plugins/devices-home-assistant/controllers/home-assistant-registry.controller.js.map +1 -0
  2257. package/dist/plugins/devices-home-assistant/controllers/home-assistant-states.controller.d.ts +9 -0
  2258. package/dist/plugins/devices-home-assistant/controllers/home-assistant-states.controller.js +128 -0
  2259. package/dist/plugins/devices-home-assistant/controllers/home-assistant-states.controller.js.map +1 -0
  2260. package/dist/plugins/devices-home-assistant/devices-home-assistant.constants.d.ts +171 -0
  2261. package/dist/plugins/devices-home-assistant/devices-home-assistant.constants.js +191 -0
  2262. package/dist/plugins/devices-home-assistant/devices-home-assistant.constants.js.map +1 -0
  2263. package/dist/plugins/devices-home-assistant/devices-home-assistant.exceptions.d.ts +12 -0
  2264. package/dist/plugins/devices-home-assistant/devices-home-assistant.exceptions.js +32 -0
  2265. package/dist/plugins/devices-home-assistant/devices-home-assistant.exceptions.js.map +1 -0
  2266. package/dist/plugins/devices-home-assistant/devices-home-assistant.openapi.d.ts +20 -0
  2267. package/dist/plugins/devices-home-assistant/devices-home-assistant.openapi.js +82 -0
  2268. package/dist/plugins/devices-home-assistant/devices-home-assistant.openapi.js.map +1 -0
  2269. package/dist/plugins/devices-home-assistant/devices-home-assistant.plugin.d.ts +44 -0
  2270. package/dist/plugins/devices-home-assistant/devices-home-assistant.plugin.js +469 -0
  2271. package/dist/plugins/devices-home-assistant/devices-home-assistant.plugin.js.map +1 -0
  2272. package/dist/plugins/devices-home-assistant/dto/create-channel-property.dto.d.ts +8 -0
  2273. package/dist/plugins/devices-home-assistant/dto/create-channel-property.dto.js +76 -0
  2274. package/dist/plugins/devices-home-assistant/dto/create-channel-property.dto.js.map +1 -0
  2275. package/dist/plugins/devices-home-assistant/dto/create-channel.dto.d.ts +7 -0
  2276. package/dist/plugins/devices-home-assistant/dto/create-channel.dto.js +49 -0
  2277. package/dist/plugins/devices-home-assistant/dto/create-channel.dto.js.map +1 -0
  2278. package/dist/plugins/devices-home-assistant/dto/create-device.dto.d.ts +6 -0
  2279. package/dist/plugins/devices-home-assistant/dto/create-device.dto.js +45 -0
  2280. package/dist/plugins/devices-home-assistant/dto/create-device.dto.js.map +1 -0
  2281. package/dist/plugins/devices-home-assistant/dto/helper-mapping-preview.dto.d.ts +25 -0
  2282. package/dist/plugins/devices-home-assistant/dto/helper-mapping-preview.dto.js +203 -0
  2283. package/dist/plugins/devices-home-assistant/dto/helper-mapping-preview.dto.js.map +1 -0
  2284. package/dist/plugins/devices-home-assistant/dto/home-assistant-discovered-device.dto.d.ts +5 -0
  2285. package/dist/plugins/devices-home-assistant/dto/home-assistant-discovered-device.dto.js +35 -0
  2286. package/dist/plugins/devices-home-assistant/dto/home-assistant-discovered-device.dto.js.map +1 -0
  2287. package/dist/plugins/devices-home-assistant/dto/home-assistant-discovered-helper.dto.d.ts +5 -0
  2288. package/dist/plugins/devices-home-assistant/dto/home-assistant-discovered-helper.dto.js +33 -0
  2289. package/dist/plugins/devices-home-assistant/dto/home-assistant-discovered-helper.dto.js.map +1 -0
  2290. package/dist/plugins/devices-home-assistant/dto/home-assistant-service-request.dto.d.ts +4 -0
  2291. package/dist/plugins/devices-home-assistant/dto/home-assistant-service-request.dto.js +23 -0
  2292. package/dist/plugins/devices-home-assistant/dto/home-assistant-service-request.dto.js.map +1 -0
  2293. package/dist/plugins/devices-home-assistant/dto/home-assistant-state.dto.d.ts +26 -0
  2294. package/dist/plugins/devices-home-assistant/dto/home-assistant-state.dto.js +142 -0
  2295. package/dist/plugins/devices-home-assistant/dto/home-assistant-state.dto.js.map +1 -0
  2296. package/dist/plugins/devices-home-assistant/dto/mapping-preview.dto.d.ts +33 -0
  2297. package/dist/plugins/devices-home-assistant/dto/mapping-preview.dto.js +278 -0
  2298. package/dist/plugins/devices-home-assistant/dto/mapping-preview.dto.js.map +1 -0
  2299. package/dist/plugins/devices-home-assistant/dto/update-channel-property.dto.d.ts +8 -0
  2300. package/dist/plugins/devices-home-assistant/dto/update-channel-property.dto.js +76 -0
  2301. package/dist/plugins/devices-home-assistant/dto/update-channel-property.dto.js.map +1 -0
  2302. package/dist/plugins/devices-home-assistant/dto/update-channel.dto.d.ts +5 -0
  2303. package/dist/plugins/devices-home-assistant/dto/update-channel.dto.js +33 -0
  2304. package/dist/plugins/devices-home-assistant/dto/update-channel.dto.js.map +1 -0
  2305. package/dist/plugins/devices-home-assistant/dto/update-config.dto.d.ts +7 -0
  2306. package/dist/plugins/devices-home-assistant/dto/update-config.dto.js +60 -0
  2307. package/dist/plugins/devices-home-assistant/dto/update-config.dto.js.map +1 -0
  2308. package/dist/plugins/devices-home-assistant/dto/update-device.dto.d.ts +5 -0
  2309. package/dist/plugins/devices-home-assistant/dto/update-device.dto.js +33 -0
  2310. package/dist/plugins/devices-home-assistant/dto/update-device.dto.js.map +1 -0
  2311. package/dist/plugins/devices-home-assistant/entities/devices-home-assistant.entity.d.ts +19 -0
  2312. package/dist/plugins/devices-home-assistant/entities/devices-home-assistant.entity.js +166 -0
  2313. package/dist/plugins/devices-home-assistant/entities/devices-home-assistant.entity.js.map +1 -0
  2314. package/dist/plugins/devices-home-assistant/mappers/binary-sensor.entity.mapper.service.d.ts +10 -0
  2315. package/dist/plugins/devices-home-assistant/mappers/binary-sensor.entity.mapper.service.js +207 -0
  2316. package/dist/plugins/devices-home-assistant/mappers/binary-sensor.entity.mapper.service.js.map +1 -0
  2317. package/dist/plugins/devices-home-assistant/mappers/climate.entity.mapper.service.d.ts +14 -0
  2318. package/dist/plugins/devices-home-assistant/mappers/climate.entity.mapper.service.js +187 -0
  2319. package/dist/plugins/devices-home-assistant/mappers/climate.entity.mapper.service.js.map +1 -0
  2320. package/dist/plugins/devices-home-assistant/mappers/cover.entity.mapper.service.d.ts +15 -0
  2321. package/dist/plugins/devices-home-assistant/mappers/cover.entity.mapper.service.js +110 -0
  2322. package/dist/plugins/devices-home-assistant/mappers/cover.entity.mapper.service.js.map +1 -0
  2323. package/dist/plugins/devices-home-assistant/mappers/entity.mapper.d.ts +26 -0
  2324. package/dist/plugins/devices-home-assistant/mappers/entity.mapper.js +29 -0
  2325. package/dist/plugins/devices-home-assistant/mappers/entity.mapper.js.map +1 -0
  2326. package/dist/plugins/devices-home-assistant/mappers/light.entity.mapper.service.d.ts +15 -0
  2327. package/dist/plugins/devices-home-assistant/mappers/light.entity.mapper.service.js +250 -0
  2328. package/dist/plugins/devices-home-assistant/mappers/light.entity.mapper.service.js.map +1 -0
  2329. package/dist/plugins/devices-home-assistant/mappers/mapper.service.d.ts +45 -0
  2330. package/dist/plugins/devices-home-assistant/mappers/mapper.service.js +311 -0
  2331. package/dist/plugins/devices-home-assistant/mappers/mapper.service.js.map +1 -0
  2332. package/dist/plugins/devices-home-assistant/mappers/sensor.entity.mapper.service.d.ts +11 -0
  2333. package/dist/plugins/devices-home-assistant/mappers/sensor.entity.mapper.service.js +690 -0
  2334. package/dist/plugins/devices-home-assistant/mappers/sensor.entity.mapper.service.js.map +1 -0
  2335. package/dist/plugins/devices-home-assistant/mappers/switch.entity.mapper.service.d.ts +14 -0
  2336. package/dist/plugins/devices-home-assistant/mappers/switch.entity.mapper.service.js +74 -0
  2337. package/dist/plugins/devices-home-assistant/mappers/switch.entity.mapper.service.js.map +1 -0
  2338. package/dist/plugins/devices-home-assistant/mappers/universal.entity.mapper.service.d.ts +9 -0
  2339. package/dist/plugins/devices-home-assistant/mappers/universal.entity.mapper.service.js +50 -0
  2340. package/dist/plugins/devices-home-assistant/mappers/universal.entity.mapper.service.js.map +1 -0
  2341. package/dist/plugins/devices-home-assistant/mappings/definitions/entity-mappings.yaml +1161 -0
  2342. package/dist/plugins/devices-home-assistant/mappings/definitions/virtual-properties.yaml +159 -0
  2343. package/dist/plugins/devices-home-assistant/mappings/index.d.ts +5 -0
  2344. package/dist/plugins/devices-home-assistant/mappings/index.js +28 -0
  2345. package/dist/plugins/devices-home-assistant/mappings/index.js.map +1 -0
  2346. package/dist/plugins/devices-home-assistant/mappings/mapping-loader.service.d.ts +52 -0
  2347. package/dist/plugins/devices-home-assistant/mappings/mapping-loader.service.js +472 -0
  2348. package/dist/plugins/devices-home-assistant/mappings/mapping-loader.service.js.map +1 -0
  2349. package/dist/plugins/devices-home-assistant/mappings/mapping.types.d.ts +188 -0
  2350. package/dist/plugins/devices-home-assistant/mappings/mapping.types.js +10 -0
  2351. package/dist/plugins/devices-home-assistant/mappings/mapping.types.js.map +1 -0
  2352. package/dist/plugins/devices-home-assistant/mappings/schema/mapping-schema.json +306 -0
  2353. package/dist/plugins/devices-home-assistant/mappings/schema/virtual-properties-schema.json +232 -0
  2354. package/dist/plugins/devices-home-assistant/mappings/transformers/index.d.ts +3 -0
  2355. package/dist/plugins/devices-home-assistant/mappings/transformers/index.js +20 -0
  2356. package/dist/plugins/devices-home-assistant/mappings/transformers/index.js.map +1 -0
  2357. package/dist/plugins/devices-home-assistant/mappings/transformers/transformer.registry.d.ts +43 -0
  2358. package/dist/plugins/devices-home-assistant/mappings/transformers/transformer.registry.js +284 -0
  2359. package/dist/plugins/devices-home-assistant/mappings/transformers/transformer.registry.js.map +1 -0
  2360. package/dist/plugins/devices-home-assistant/mappings/transformers/transformer.types.d.ts +62 -0
  2361. package/dist/plugins/devices-home-assistant/mappings/transformers/transformer.types.js +3 -0
  2362. package/dist/plugins/devices-home-assistant/mappings/transformers/transformer.types.js.map +1 -0
  2363. package/dist/plugins/devices-home-assistant/mappings/transformers/transformers.d.ts +72 -0
  2364. package/dist/plugins/devices-home-assistant/mappings/transformers/transformers.js +378 -0
  2365. package/dist/plugins/devices-home-assistant/mappings/transformers/transformers.js.map +1 -0
  2366. package/dist/plugins/devices-home-assistant/models/config.model.d.ts +6 -0
  2367. package/dist/plugins/devices-home-assistant/models/config.model.js +63 -0
  2368. package/dist/plugins/devices-home-assistant/models/config.model.js.map +1 -0
  2369. package/dist/plugins/devices-home-assistant/models/discovered-instance.model.d.ts +11 -0
  2370. package/dist/plugins/devices-home-assistant/models/discovered-instance.model.js +92 -0
  2371. package/dist/plugins/devices-home-assistant/models/discovered-instance.model.js.map +1 -0
  2372. package/dist/plugins/devices-home-assistant/models/helper-mapping-preview.model.d.ts +45 -0
  2373. package/dist/plugins/devices-home-assistant/models/helper-mapping-preview.model.js +346 -0
  2374. package/dist/plugins/devices-home-assistant/models/helper-mapping-preview.model.js.map +1 -0
  2375. package/dist/plugins/devices-home-assistant/models/home-assistant-response.model.d.ts +26 -0
  2376. package/dist/plugins/devices-home-assistant/models/home-assistant-response.model.js +134 -0
  2377. package/dist/plugins/devices-home-assistant/models/home-assistant-response.model.js.map +1 -0
  2378. package/dist/plugins/devices-home-assistant/models/home-assistant.model.d.ts +63 -0
  2379. package/dist/plugins/devices-home-assistant/models/home-assistant.model.js +730 -0
  2380. package/dist/plugins/devices-home-assistant/models/home-assistant.model.js.map +1 -0
  2381. package/dist/plugins/devices-home-assistant/models/mapping-preview.model.d.ts +76 -0
  2382. package/dist/plugins/devices-home-assistant/models/mapping-preview.model.js +650 -0
  2383. package/dist/plugins/devices-home-assistant/models/mapping-preview.model.js.map +1 -0
  2384. package/dist/plugins/devices-home-assistant/platforms/home-assistant.device.platform.d.ts +24 -0
  2385. package/dist/plugins/devices-home-assistant/platforms/home-assistant.device.platform.js +147 -0
  2386. package/dist/plugins/devices-home-assistant/platforms/home-assistant.device.platform.js.map +1 -0
  2387. package/dist/plugins/devices-home-assistant/services/device-adoption.service.d.ts +26 -0
  2388. package/dist/plugins/devices-home-assistant/services/device-adoption.service.js +733 -0
  2389. package/dist/plugins/devices-home-assistant/services/device-adoption.service.js.map +1 -0
  2390. package/dist/plugins/devices-home-assistant/services/ha-mdns-discoverer.service.d.ts +31 -0
  2391. package/dist/plugins/devices-home-assistant/services/ha-mdns-discoverer.service.js +158 -0
  2392. package/dist/plugins/devices-home-assistant/services/ha-mdns-discoverer.service.js.map +1 -0
  2393. package/dist/plugins/devices-home-assistant/services/helper-adoption.service.d.ts +21 -0
  2394. package/dist/plugins/devices-home-assistant/services/helper-adoption.service.js +284 -0
  2395. package/dist/plugins/devices-home-assistant/services/helper-adoption.service.js.map +1 -0
  2396. package/dist/plugins/devices-home-assistant/services/helper-mapping-preview.service.d.ts +15 -0
  2397. package/dist/plugins/devices-home-assistant/services/helper-mapping-preview.service.js +256 -0
  2398. package/dist/plugins/devices-home-assistant/services/helper-mapping-preview.service.js.map +1 -0
  2399. package/dist/plugins/devices-home-assistant/services/home-assistant-config-validator.service.d.ts +12 -0
  2400. package/dist/plugins/devices-home-assistant/services/home-assistant-config-validator.service.js +102 -0
  2401. package/dist/plugins/devices-home-assistant/services/home-assistant-config-validator.service.js.map +1 -0
  2402. package/dist/plugins/devices-home-assistant/services/home-assistant.http.service.d.ts +44 -0
  2403. package/dist/plugins/devices-home-assistant/services/home-assistant.http.service.js +732 -0
  2404. package/dist/plugins/devices-home-assistant/services/home-assistant.http.service.js.map +1 -0
  2405. package/dist/plugins/devices-home-assistant/services/home-assistant.ws.service.d.ts +50 -0
  2406. package/dist/plugins/devices-home-assistant/services/home-assistant.ws.service.js +397 -0
  2407. package/dist/plugins/devices-home-assistant/services/home-assistant.ws.service.js.map +1 -0
  2408. package/dist/plugins/devices-home-assistant/services/light-capability.analyzer.d.ts +21 -0
  2409. package/dist/plugins/devices-home-assistant/services/light-capability.analyzer.js +139 -0
  2410. package/dist/plugins/devices-home-assistant/services/light-capability.analyzer.js.map +1 -0
  2411. package/dist/plugins/devices-home-assistant/services/mapping-preview.service.d.ts +42 -0
  2412. package/dist/plugins/devices-home-assistant/services/mapping-preview.service.js +836 -0
  2413. package/dist/plugins/devices-home-assistant/services/mapping-preview.service.js.map +1 -0
  2414. package/dist/plugins/devices-home-assistant/services/state-changed.event.service.d.ts +31 -0
  2415. package/dist/plugins/devices-home-assistant/services/state-changed.event.service.js +245 -0
  2416. package/dist/plugins/devices-home-assistant/services/state-changed.event.service.js.map +1 -0
  2417. package/dist/plugins/devices-home-assistant/services/virtual-property.service.d.ts +28 -0
  2418. package/dist/plugins/devices-home-assistant/services/virtual-property.service.js +169 -0
  2419. package/dist/plugins/devices-home-assistant/services/virtual-property.service.js.map +1 -0
  2420. package/dist/plugins/devices-home-assistant/services/virtual-property.types.d.ts +21 -0
  2421. package/dist/plugins/devices-home-assistant/services/virtual-property.types.js +3 -0
  2422. package/dist/plugins/devices-home-assistant/services/virtual-property.types.js.map +1 -0
  2423. package/dist/plugins/devices-home-assistant/subscribers/devices-service.subscriber.d.ts +13 -0
  2424. package/dist/plugins/devices-home-assistant/subscribers/devices-service.subscriber.js +125 -0
  2425. package/dist/plugins/devices-home-assistant/subscribers/devices-service.subscriber.js.map +1 -0
  2426. package/dist/plugins/devices-reterminal/devices-reterminal.constants.d.ts +82 -0
  2427. package/dist/plugins/devices-reterminal/devices-reterminal.constants.js +354 -0
  2428. package/dist/plugins/devices-reterminal/devices-reterminal.constants.js.map +1 -0
  2429. package/dist/plugins/devices-reterminal/devices-reterminal.exceptions.d.ts +4 -0
  2430. package/dist/plugins/devices-reterminal/devices-reterminal.exceptions.js +11 -0
  2431. package/dist/plugins/devices-reterminal/devices-reterminal.exceptions.js.map +1 -0
  2432. package/dist/plugins/devices-reterminal/devices-reterminal.openapi.d.ts +8 -0
  2433. package/dist/plugins/devices-reterminal/devices-reterminal.openapi.js +28 -0
  2434. package/dist/plugins/devices-reterminal/devices-reterminal.openapi.js.map +1 -0
  2435. package/dist/plugins/devices-reterminal/devices-reterminal.plugin.d.ts +26 -0
  2436. package/dist/plugins/devices-reterminal/devices-reterminal.plugin.js +221 -0
  2437. package/dist/plugins/devices-reterminal/devices-reterminal.plugin.js.map +1 -0
  2438. package/dist/plugins/devices-reterminal/dto/create-channel-property.dto.d.ts +5 -0
  2439. package/dist/plugins/devices-reterminal/dto/create-channel-property.dto.js +35 -0
  2440. package/dist/plugins/devices-reterminal/dto/create-channel-property.dto.js.map +1 -0
  2441. package/dist/plugins/devices-reterminal/dto/create-channel.dto.d.ts +5 -0
  2442. package/dist/plugins/devices-reterminal/dto/create-channel.dto.js +35 -0
  2443. package/dist/plugins/devices-reterminal/dto/create-channel.dto.js.map +1 -0
  2444. package/dist/plugins/devices-reterminal/dto/create-device.dto.d.ts +6 -0
  2445. package/dist/plugins/devices-reterminal/dto/create-device.dto.js +49 -0
  2446. package/dist/plugins/devices-reterminal/dto/create-device.dto.js.map +1 -0
  2447. package/dist/plugins/devices-reterminal/dto/update-channel-property.dto.d.ts +5 -0
  2448. package/dist/plugins/devices-reterminal/dto/update-channel-property.dto.js +35 -0
  2449. package/dist/plugins/devices-reterminal/dto/update-channel-property.dto.js.map +1 -0
  2450. package/dist/plugins/devices-reterminal/dto/update-channel.dto.d.ts +5 -0
  2451. package/dist/plugins/devices-reterminal/dto/update-channel.dto.js +35 -0
  2452. package/dist/plugins/devices-reterminal/dto/update-channel.dto.js.map +1 -0
  2453. package/dist/plugins/devices-reterminal/dto/update-config.dto.d.ts +9 -0
  2454. package/dist/plugins/devices-reterminal/dto/update-config.dto.js +66 -0
  2455. package/dist/plugins/devices-reterminal/dto/update-config.dto.js.map +1 -0
  2456. package/dist/plugins/devices-reterminal/dto/update-device.dto.d.ts +6 -0
  2457. package/dist/plugins/devices-reterminal/dto/update-device.dto.js +47 -0
  2458. package/dist/plugins/devices-reterminal/dto/update-device.dto.js.map +1 -0
  2459. package/dist/plugins/devices-reterminal/entities/devices-reterminal.entity.d.ts +15 -0
  2460. package/dist/plugins/devices-reterminal/entities/devices-reterminal.entity.js +108 -0
  2461. package/dist/plugins/devices-reterminal/entities/devices-reterminal.entity.js.map +1 -0
  2462. package/dist/plugins/devices-reterminal/index.d.ts +18 -0
  2463. package/dist/plugins/devices-reterminal/index.js +35 -0
  2464. package/dist/plugins/devices-reterminal/index.js.map +1 -0
  2465. package/dist/plugins/devices-reterminal/models/config.model.d.ts +8 -0
  2466. package/dist/plugins/devices-reterminal/models/config.model.js +68 -0
  2467. package/dist/plugins/devices-reterminal/models/config.model.js.map +1 -0
  2468. package/dist/plugins/devices-reterminal/platforms/reterminal.device.platform.d.ts +16 -0
  2469. package/dist/plugins/devices-reterminal/platforms/reterminal.device.platform.js +148 -0
  2470. package/dist/plugins/devices-reterminal/platforms/reterminal.device.platform.js.map +1 -0
  2471. package/dist/plugins/devices-reterminal/services/device-mapper.service.d.ts +29 -0
  2472. package/dist/plugins/devices-reterminal/services/device-mapper.service.js +221 -0
  2473. package/dist/plugins/devices-reterminal/services/device-mapper.service.js.map +1 -0
  2474. package/dist/plugins/devices-reterminal/services/reterminal-button.service.d.ts +19 -0
  2475. package/dist/plugins/devices-reterminal/services/reterminal-button.service.js +242 -0
  2476. package/dist/plugins/devices-reterminal/services/reterminal-button.service.js.map +1 -0
  2477. package/dist/plugins/devices-reterminal/services/reterminal-sysfs.service.d.ts +13 -0
  2478. package/dist/plugins/devices-reterminal/services/reterminal-sysfs.service.js +162 -0
  2479. package/dist/plugins/devices-reterminal/services/reterminal-sysfs.service.js.map +1 -0
  2480. package/dist/plugins/devices-reterminal/services/reterminal.service.d.ts +24 -0
  2481. package/dist/plugins/devices-reterminal/services/reterminal.service.js +110 -0
  2482. package/dist/plugins/devices-reterminal/services/reterminal.service.js.map +1 -0
  2483. package/dist/plugins/devices-shelly-ng/controllers/shelly-ng-devices.controller.d.ts +13 -0
  2484. package/dist/plugins/devices-shelly-ng/controllers/shelly-ng-devices.controller.js +206 -0
  2485. package/dist/plugins/devices-shelly-ng/controllers/shelly-ng-devices.controller.js.map +1 -0
  2486. package/dist/plugins/devices-shelly-ng/delegates/delegates-manager.service.d.ts +60 -0
  2487. package/dist/plugins/devices-shelly-ng/delegates/delegates-manager.service.js +1117 -0
  2488. package/dist/plugins/devices-shelly-ng/delegates/delegates-manager.service.js.map +1 -0
  2489. package/dist/plugins/devices-shelly-ng/delegates/shelly-device.delegate.d.ts +30 -0
  2490. package/dist/plugins/devices-shelly-ng/delegates/shelly-device.delegate.js +178 -0
  2491. package/dist/plugins/devices-shelly-ng/delegates/shelly-device.delegate.js.map +1 -0
  2492. package/dist/plugins/devices-shelly-ng/devices-shelly-ng.constants.d.ts +94 -0
  2493. package/dist/plugins/devices-shelly-ng/devices-shelly-ng.constants.js +673 -0
  2494. package/dist/plugins/devices-shelly-ng/devices-shelly-ng.constants.js.map +1 -0
  2495. package/dist/plugins/devices-shelly-ng/devices-shelly-ng.exceptions.d.ts +15 -0
  2496. package/dist/plugins/devices-shelly-ng/devices-shelly-ng.exceptions.js +39 -0
  2497. package/dist/plugins/devices-shelly-ng/devices-shelly-ng.exceptions.js.map +1 -0
  2498. package/dist/plugins/devices-shelly-ng/devices-shelly-ng.openapi.d.ts +9 -0
  2499. package/dist/plugins/devices-shelly-ng/devices-shelly-ng.openapi.js +43 -0
  2500. package/dist/plugins/devices-shelly-ng/devices-shelly-ng.openapi.js.map +1 -0
  2501. package/dist/plugins/devices-shelly-ng/devices-shelly-ng.plugin.d.ts +26 -0
  2502. package/dist/plugins/devices-shelly-ng/devices-shelly-ng.plugin.js +235 -0
  2503. package/dist/plugins/devices-shelly-ng/devices-shelly-ng.plugin.js.map +1 -0
  2504. package/dist/plugins/devices-shelly-ng/dto/create-channel-property.dto.d.ts +5 -0
  2505. package/dist/plugins/devices-shelly-ng/dto/create-channel-property.dto.js +35 -0
  2506. package/dist/plugins/devices-shelly-ng/dto/create-channel-property.dto.js.map +1 -0
  2507. package/dist/plugins/devices-shelly-ng/dto/create-channel.dto.d.ts +5 -0
  2508. package/dist/plugins/devices-shelly-ng/dto/create-channel.dto.js +35 -0
  2509. package/dist/plugins/devices-shelly-ng/dto/create-channel.dto.js.map +1 -0
  2510. package/dist/plugins/devices-shelly-ng/dto/create-device.dto.d.ts +7 -0
  2511. package/dist/plugins/devices-shelly-ng/dto/create-device.dto.js +64 -0
  2512. package/dist/plugins/devices-shelly-ng/dto/create-device.dto.js.map +1 -0
  2513. package/dist/plugins/devices-shelly-ng/dto/shelly-ng-get-info.dto.d.ts +7 -0
  2514. package/dist/plugins/devices-shelly-ng/dto/shelly-ng-get-info.dto.js +63 -0
  2515. package/dist/plugins/devices-shelly-ng/dto/shelly-ng-get-info.dto.js.map +1 -0
  2516. package/dist/plugins/devices-shelly-ng/dto/update-channel-property.dto.d.ts +7 -0
  2517. package/dist/plugins/devices-shelly-ng/dto/update-channel-property.dto.js +53 -0
  2518. package/dist/plugins/devices-shelly-ng/dto/update-channel-property.dto.js.map +1 -0
  2519. package/dist/plugins/devices-shelly-ng/dto/update-channel.dto.d.ts +7 -0
  2520. package/dist/plugins/devices-shelly-ng/dto/update-channel.dto.js +53 -0
  2521. package/dist/plugins/devices-shelly-ng/dto/update-channel.dto.js.map +1 -0
  2522. package/dist/plugins/devices-shelly-ng/dto/update-config.dto.d.ts +16 -0
  2523. package/dist/plugins/devices-shelly-ng/dto/update-config.dto.js +148 -0
  2524. package/dist/plugins/devices-shelly-ng/dto/update-config.dto.js.map +1 -0
  2525. package/dist/plugins/devices-shelly-ng/dto/update-device.dto.d.ts +7 -0
  2526. package/dist/plugins/devices-shelly-ng/dto/update-device.dto.js +59 -0
  2527. package/dist/plugins/devices-shelly-ng/dto/update-device.dto.js.map +1 -0
  2528. package/dist/plugins/devices-shelly-ng/entities/devices-shelly-ng.entity.d.ts +15 -0
  2529. package/dist/plugins/devices-shelly-ng/entities/devices-shelly-ng.entity.js +122 -0
  2530. package/dist/plugins/devices-shelly-ng/entities/devices-shelly-ng.entity.js.map +1 -0
  2531. package/dist/plugins/devices-shelly-ng/mappings/definitions/covers.yaml +70 -0
  2532. package/dist/plugins/devices-shelly-ng/mappings/definitions/derivation-rules.yaml +33 -0
  2533. package/dist/plugins/devices-shelly-ng/mappings/definitions/lights.yaml +42 -0
  2534. package/dist/plugins/devices-shelly-ng/mappings/definitions/power.yaml +70 -0
  2535. package/dist/plugins/devices-shelly-ng/mappings/definitions/rgb.yaml +157 -0
  2536. package/dist/plugins/devices-shelly-ng/mappings/definitions/sensors.yaml +95 -0
  2537. package/dist/plugins/devices-shelly-ng/mappings/definitions/switches.yaml +115 -0
  2538. package/dist/plugins/devices-shelly-ng/mappings/index.d.ts +5 -0
  2539. package/dist/plugins/devices-shelly-ng/mappings/index.js +22 -0
  2540. package/dist/plugins/devices-shelly-ng/mappings/index.js.map +1 -0
  2541. package/dist/plugins/devices-shelly-ng/mappings/mapping-loader.service.d.ts +68 -0
  2542. package/dist/plugins/devices-shelly-ng/mappings/mapping-loader.service.js +592 -0
  2543. package/dist/plugins/devices-shelly-ng/mappings/mapping-loader.service.js.map +1 -0
  2544. package/dist/plugins/devices-shelly-ng/mappings/mapping.constants.d.ts +7 -0
  2545. package/dist/plugins/devices-shelly-ng/mappings/mapping.constants.js +10 -0
  2546. package/dist/plugins/devices-shelly-ng/mappings/mapping.constants.js.map +1 -0
  2547. package/dist/plugins/devices-shelly-ng/mappings/mapping.types.d.ts +179 -0
  2548. package/dist/plugins/devices-shelly-ng/mappings/mapping.types.js +3 -0
  2549. package/dist/plugins/devices-shelly-ng/mappings/mapping.types.js.map +1 -0
  2550. package/dist/plugins/devices-shelly-ng/mappings/property-mapping-storage.service.d.ts +9 -0
  2551. package/dist/plugins/devices-shelly-ng/mappings/property-mapping-storage.service.js +41 -0
  2552. package/dist/plugins/devices-shelly-ng/mappings/property-mapping-storage.service.js.map +1 -0
  2553. package/dist/plugins/devices-shelly-ng/mappings/schema/mapping-schema.json +308 -0
  2554. package/dist/plugins/devices-shelly-ng/mappings/transformers/index.d.ts +3 -0
  2555. package/dist/plugins/devices-shelly-ng/mappings/transformers/index.js +20 -0
  2556. package/dist/plugins/devices-shelly-ng/mappings/transformers/index.js.map +1 -0
  2557. package/dist/plugins/devices-shelly-ng/mappings/transformers/transformer.registry.d.ts +12 -0
  2558. package/dist/plugins/devices-shelly-ng/mappings/transformers/transformer.registry.js +101 -0
  2559. package/dist/plugins/devices-shelly-ng/mappings/transformers/transformer.registry.js.map +1 -0
  2560. package/dist/plugins/devices-shelly-ng/mappings/transformers/transformer.types.d.ts +67 -0
  2561. package/dist/plugins/devices-shelly-ng/mappings/transformers/transformer.types.js +3 -0
  2562. package/dist/plugins/devices-shelly-ng/mappings/transformers/transformer.types.js.map +1 -0
  2563. package/dist/plugins/devices-shelly-ng/mappings/transformers/transformers.d.ts +67 -0
  2564. package/dist/plugins/devices-shelly-ng/mappings/transformers/transformers.js +339 -0
  2565. package/dist/plugins/devices-shelly-ng/mappings/transformers/transformers.js.map +1 -0
  2566. package/dist/plugins/devices-shelly-ng/models/config.model.d.ts +15 -0
  2567. package/dist/plugins/devices-shelly-ng/models/config.model.js +137 -0
  2568. package/dist/plugins/devices-shelly-ng/models/config.model.js.map +1 -0
  2569. package/dist/plugins/devices-shelly-ng/models/shelly-ng-response.model.d.ts +11 -0
  2570. package/dist/plugins/devices-shelly-ng/models/shelly-ng-response.model.js +60 -0
  2571. package/dist/plugins/devices-shelly-ng/models/shelly-ng-response.model.js.map +1 -0
  2572. package/dist/plugins/devices-shelly-ng/models/shelly-ng.model.d.ts +54 -0
  2573. package/dist/plugins/devices-shelly-ng/models/shelly-ng.model.js +432 -0
  2574. package/dist/plugins/devices-shelly-ng/models/shelly-ng.model.js.map +1 -0
  2575. package/dist/plugins/devices-shelly-ng/platforms/shelly-ng.device.platform.d.ts +14 -0
  2576. package/dist/plugins/devices-shelly-ng/platforms/shelly-ng.device.platform.js +113 -0
  2577. package/dist/plugins/devices-shelly-ng/platforms/shelly-ng.device.platform.js.map +1 -0
  2578. package/dist/plugins/devices-shelly-ng/services/database-discoverer.service.d.ts +10 -0
  2579. package/dist/plugins/devices-shelly-ng/services/database-discoverer.service.js +54 -0
  2580. package/dist/plugins/devices-shelly-ng/services/database-discoverer.service.js.map +1 -0
  2581. package/dist/plugins/devices-shelly-ng/services/device-manager.service.d.ts +56 -0
  2582. package/dist/plugins/devices-shelly-ng/services/device-manager.service.js +1117 -0
  2583. package/dist/plugins/devices-shelly-ng/services/device-manager.service.js.map +1 -0
  2584. package/dist/plugins/devices-shelly-ng/services/shelly-ng.service.d.ts +50 -0
  2585. package/dist/plugins/devices-shelly-ng/services/shelly-ng.service.js +357 -0
  2586. package/dist/plugins/devices-shelly-ng/services/shelly-ng.service.js.map +1 -0
  2587. package/dist/plugins/devices-shelly-ng/services/shelly-rpc-client.service.d.ts +670 -0
  2588. package/dist/plugins/devices-shelly-ng/services/shelly-rpc-client.service.js +177 -0
  2589. package/dist/plugins/devices-shelly-ng/services/shelly-rpc-client.service.js.map +1 -0
  2590. package/dist/plugins/devices-shelly-ng/subscribers/device-entity.subscriber.d.ts +17 -0
  2591. package/dist/plugins/devices-shelly-ng/subscribers/device-entity.subscriber.js +84 -0
  2592. package/dist/plugins/devices-shelly-ng/subscribers/device-entity.subscriber.js.map +1 -0
  2593. package/dist/plugins/devices-shelly-ng/utils/transform.utils.d.ts +10 -0
  2594. package/dist/plugins/devices-shelly-ng/utils/transform.utils.js +32 -0
  2595. package/dist/plugins/devices-shelly-ng/utils/transform.utils.js.map +1 -0
  2596. package/dist/plugins/devices-shelly-v1/controllers/shelly-v1-devices.controller.d.ts +10 -0
  2597. package/dist/plugins/devices-shelly-v1/controllers/shelly-v1-devices.controller.js +135 -0
  2598. package/dist/plugins/devices-shelly-v1/controllers/shelly-v1-devices.controller.js.map +1 -0
  2599. package/dist/plugins/devices-shelly-v1/devices-shelly-v1.constants.d.ts +64 -0
  2600. package/dist/plugins/devices-shelly-v1/devices-shelly-v1.constants.js +1787 -0
  2601. package/dist/plugins/devices-shelly-v1/devices-shelly-v1.constants.js.map +1 -0
  2602. package/dist/plugins/devices-shelly-v1/devices-shelly-v1.exceptions.d.ts +16 -0
  2603. package/dist/plugins/devices-shelly-v1/devices-shelly-v1.exceptions.js +35 -0
  2604. package/dist/plugins/devices-shelly-v1/devices-shelly-v1.exceptions.js.map +1 -0
  2605. package/dist/plugins/devices-shelly-v1/devices-shelly-v1.openapi.d.ts +10 -0
  2606. package/dist/plugins/devices-shelly-v1/devices-shelly-v1.openapi.js +36 -0
  2607. package/dist/plugins/devices-shelly-v1/devices-shelly-v1.openapi.js.map +1 -0
  2608. package/dist/plugins/devices-shelly-v1/devices-shelly-v1.plugin.d.ts +26 -0
  2609. package/dist/plugins/devices-shelly-v1/devices-shelly-v1.plugin.js +235 -0
  2610. package/dist/plugins/devices-shelly-v1/devices-shelly-v1.plugin.js.map +1 -0
  2611. package/dist/plugins/devices-shelly-v1/dto/create-channel-property.dto.d.ts +5 -0
  2612. package/dist/plugins/devices-shelly-v1/dto/create-channel-property.dto.js +35 -0
  2613. package/dist/plugins/devices-shelly-v1/dto/create-channel-property.dto.js.map +1 -0
  2614. package/dist/plugins/devices-shelly-v1/dto/create-channel.dto.d.ts +5 -0
  2615. package/dist/plugins/devices-shelly-v1/dto/create-channel.dto.js +35 -0
  2616. package/dist/plugins/devices-shelly-v1/dto/create-channel.dto.js.map +1 -0
  2617. package/dist/plugins/devices-shelly-v1/dto/create-device.dto.d.ts +7 -0
  2618. package/dist/plugins/devices-shelly-v1/dto/create-device.dto.js +61 -0
  2619. package/dist/plugins/devices-shelly-v1/dto/create-device.dto.js.map +1 -0
  2620. package/dist/plugins/devices-shelly-v1/dto/shelly-v1-probe.dto.d.ts +7 -0
  2621. package/dist/plugins/devices-shelly-v1/dto/shelly-v1-probe.dto.js +63 -0
  2622. package/dist/plugins/devices-shelly-v1/dto/shelly-v1-probe.dto.js.map +1 -0
  2623. package/dist/plugins/devices-shelly-v1/dto/update-channel-property.dto.d.ts +7 -0
  2624. package/dist/plugins/devices-shelly-v1/dto/update-channel-property.dto.js +53 -0
  2625. package/dist/plugins/devices-shelly-v1/dto/update-channel-property.dto.js.map +1 -0
  2626. package/dist/plugins/devices-shelly-v1/dto/update-channel.dto.d.ts +7 -0
  2627. package/dist/plugins/devices-shelly-v1/dto/update-channel.dto.js +53 -0
  2628. package/dist/plugins/devices-shelly-v1/dto/update-channel.dto.js.map +1 -0
  2629. package/dist/plugins/devices-shelly-v1/dto/update-config.dto.d.ts +15 -0
  2630. package/dist/plugins/devices-shelly-v1/dto/update-config.dto.js +124 -0
  2631. package/dist/plugins/devices-shelly-v1/dto/update-config.dto.js.map +1 -0
  2632. package/dist/plugins/devices-shelly-v1/dto/update-device.dto.d.ts +7 -0
  2633. package/dist/plugins/devices-shelly-v1/dto/update-device.dto.js +59 -0
  2634. package/dist/plugins/devices-shelly-v1/dto/update-device.dto.js.map +1 -0
  2635. package/dist/plugins/devices-shelly-v1/entities/devices-shelly-v1.entity.d.ts +15 -0
  2636. package/dist/plugins/devices-shelly-v1/entities/devices-shelly-v1.entity.js +122 -0
  2637. package/dist/plugins/devices-shelly-v1/entities/devices-shelly-v1.entity.js.map +1 -0
  2638. package/dist/plugins/devices-shelly-v1/interfaces/shellies.interface.d.ts +66 -0
  2639. package/dist/plugins/devices-shelly-v1/interfaces/shellies.interface.js +12 -0
  2640. package/dist/plugins/devices-shelly-v1/interfaces/shellies.interface.js.map +1 -0
  2641. package/dist/plugins/devices-shelly-v1/interfaces/shelly-http.interface.d.ts +81 -0
  2642. package/dist/plugins/devices-shelly-v1/interfaces/shelly-http.interface.js +3 -0
  2643. package/dist/plugins/devices-shelly-v1/interfaces/shelly-http.interface.js.map +1 -0
  2644. package/dist/plugins/devices-shelly-v1/lib/shellies.d.ts +3 -0
  2645. package/dist/plugins/devices-shelly-v1/lib/shellies.js +5 -0
  2646. package/dist/plugins/devices-shelly-v1/lib/shellies.js.map +1 -0
  2647. package/dist/plugins/devices-shelly-v1/models/config.model.d.ts +14 -0
  2648. package/dist/plugins/devices-shelly-v1/models/config.model.js +124 -0
  2649. package/dist/plugins/devices-shelly-v1/models/config.model.js.map +1 -0
  2650. package/dist/plugins/devices-shelly-v1/models/shelly-v1-response.model.d.ts +8 -0
  2651. package/dist/plugins/devices-shelly-v1/models/shelly-v1-response.model.js +46 -0
  2652. package/dist/plugins/devices-shelly-v1/models/shelly-v1-response.model.js.map +1 -0
  2653. package/dist/plugins/devices-shelly-v1/models/shelly-v1.model.d.ts +18 -0
  2654. package/dist/plugins/devices-shelly-v1/models/shelly-v1.model.js +170 -0
  2655. package/dist/plugins/devices-shelly-v1/models/shelly-v1.model.js.map +1 -0
  2656. package/dist/plugins/devices-shelly-v1/platforms/shelly-v1.device.platform.d.ts +22 -0
  2657. package/dist/plugins/devices-shelly-v1/platforms/shelly-v1.device.platform.js +314 -0
  2658. package/dist/plugins/devices-shelly-v1/platforms/shelly-v1.device.platform.js.map +1 -0
  2659. package/dist/plugins/devices-shelly-v1/services/device-mapper.service.d.ts +35 -0
  2660. package/dist/plugins/devices-shelly-v1/services/device-mapper.service.js +543 -0
  2661. package/dist/plugins/devices-shelly-v1/services/device-mapper.service.js.map +1 -0
  2662. package/dist/plugins/devices-shelly-v1/services/shellies-adapter.service.d.ts +28 -0
  2663. package/dist/plugins/devices-shelly-v1/services/shellies-adapter.service.js +237 -0
  2664. package/dist/plugins/devices-shelly-v1/services/shellies-adapter.service.js.map +1 -0
  2665. package/dist/plugins/devices-shelly-v1/services/shelly-v1-http-client.service.d.ts +10 -0
  2666. package/dist/plugins/devices-shelly-v1/services/shelly-v1-http-client.service.js +74 -0
  2667. package/dist/plugins/devices-shelly-v1/services/shelly-v1-http-client.service.js.map +1 -0
  2668. package/dist/plugins/devices-shelly-v1/services/shelly-v1-probe.service.d.ts +10 -0
  2669. package/dist/plugins/devices-shelly-v1/services/shelly-v1-probe.service.js +104 -0
  2670. package/dist/plugins/devices-shelly-v1/services/shelly-v1-probe.service.js.map +1 -0
  2671. package/dist/plugins/devices-shelly-v1/services/shelly-v1.service.d.ts +43 -0
  2672. package/dist/plugins/devices-shelly-v1/services/shelly-v1.service.js +488 -0
  2673. package/dist/plugins/devices-shelly-v1/services/shelly-v1.service.js.map +1 -0
  2674. package/dist/plugins/devices-shelly-v1/subscribers/device-entity.subscriber.d.ts +19 -0
  2675. package/dist/plugins/devices-shelly-v1/subscribers/device-entity.subscriber.js +130 -0
  2676. package/dist/plugins/devices-shelly-v1/subscribers/device-entity.subscriber.js.map +1 -0
  2677. package/dist/plugins/devices-shelly-v1/utils/synthetic-properties.utils.d.ts +10 -0
  2678. package/dist/plugins/devices-shelly-v1/utils/synthetic-properties.utils.js +117 -0
  2679. package/dist/plugins/devices-shelly-v1/utils/synthetic-properties.utils.js.map +1 -0
  2680. package/dist/plugins/devices-shelly-v1/utils/value-mapping.utils.d.ts +14 -0
  2681. package/dist/plugins/devices-shelly-v1/utils/value-mapping.utils.js +96 -0
  2682. package/dist/plugins/devices-shelly-v1/utils/value-mapping.utils.js.map +1 -0
  2683. package/dist/plugins/devices-third-party/controllers/third-party-demo.controller.d.ts +10 -0
  2684. package/dist/plugins/devices-third-party/controllers/third-party-demo.controller.js +138 -0
  2685. package/dist/plugins/devices-third-party/controllers/third-party-demo.controller.js.map +1 -0
  2686. package/dist/plugins/devices-third-party/devices-third-party.constants.d.ts +19 -0
  2687. package/dist/plugins/devices-third-party/devices-third-party.constants.js +24 -0
  2688. package/dist/plugins/devices-third-party/devices-third-party.constants.js.map +1 -0
  2689. package/dist/plugins/devices-third-party/devices-third-party.openapi.d.ts +13 -0
  2690. package/dist/plugins/devices-third-party/devices-third-party.openapi.js +37 -0
  2691. package/dist/plugins/devices-third-party/devices-third-party.openapi.js.map +1 -0
  2692. package/dist/plugins/devices-third-party/devices-third-party.plugin.d.ts +22 -0
  2693. package/dist/plugins/devices-third-party/devices-third-party.plugin.js +213 -0
  2694. package/dist/plugins/devices-third-party/devices-third-party.plugin.js.map +1 -0
  2695. package/dist/plugins/devices-third-party/dto/create-channel-property.dto.d.ts +5 -0
  2696. package/dist/plugins/devices-third-party/dto/create-channel-property.dto.js +35 -0
  2697. package/dist/plugins/devices-third-party/dto/create-channel-property.dto.js.map +1 -0
  2698. package/dist/plugins/devices-third-party/dto/create-channel.dto.d.ts +5 -0
  2699. package/dist/plugins/devices-third-party/dto/create-channel.dto.js +35 -0
  2700. package/dist/plugins/devices-third-party/dto/create-channel.dto.js.map +1 -0
  2701. package/dist/plugins/devices-third-party/dto/create-device.dto.d.ts +6 -0
  2702. package/dist/plugins/devices-third-party/dto/create-device.dto.js +46 -0
  2703. package/dist/plugins/devices-third-party/dto/create-device.dto.js.map +1 -0
  2704. package/dist/plugins/devices-third-party/dto/third-party-property-update-request.dto.d.ts +9 -0
  2705. package/dist/plugins/devices-third-party/dto/third-party-property-update-request.dto.js +86 -0
  2706. package/dist/plugins/devices-third-party/dto/third-party-property-update-request.dto.js.map +1 -0
  2707. package/dist/plugins/devices-third-party/dto/third-party-property-update-response.dto.d.ts +10 -0
  2708. package/dist/plugins/devices-third-party/dto/third-party-property-update-response.dto.js +84 -0
  2709. package/dist/plugins/devices-third-party/dto/third-party-property-update-response.dto.js.map +1 -0
  2710. package/dist/plugins/devices-third-party/dto/update-channel-property.dto.d.ts +5 -0
  2711. package/dist/plugins/devices-third-party/dto/update-channel-property.dto.js +35 -0
  2712. package/dist/plugins/devices-third-party/dto/update-channel-property.dto.js.map +1 -0
  2713. package/dist/plugins/devices-third-party/dto/update-channel.dto.d.ts +5 -0
  2714. package/dist/plugins/devices-third-party/dto/update-channel.dto.js +35 -0
  2715. package/dist/plugins/devices-third-party/dto/update-channel.dto.js.map +1 -0
  2716. package/dist/plugins/devices-third-party/dto/update-config.dto.d.ts +5 -0
  2717. package/dist/plugins/devices-third-party/dto/update-config.dto.js +33 -0
  2718. package/dist/plugins/devices-third-party/dto/update-config.dto.js.map +1 -0
  2719. package/dist/plugins/devices-third-party/dto/update-device.dto.d.ts +6 -0
  2720. package/dist/plugins/devices-third-party/dto/update-device.dto.js +48 -0
  2721. package/dist/plugins/devices-third-party/dto/update-device.dto.js.map +1 -0
  2722. package/dist/plugins/devices-third-party/entities/devices-third-party.entity.d.ts +11 -0
  2723. package/dist/plugins/devices-third-party/entities/devices-third-party.entity.js +95 -0
  2724. package/dist/plugins/devices-third-party/entities/devices-third-party.entity.js.map +1 -0
  2725. package/dist/plugins/devices-third-party/models/config.model.d.ts +5 -0
  2726. package/dist/plugins/devices-third-party/models/config.model.js +47 -0
  2727. package/dist/plugins/devices-third-party/models/config.model.js.map +1 -0
  2728. package/dist/plugins/devices-third-party/models/demo-control-response.model.d.ts +4 -0
  2729. package/dist/plugins/devices-third-party/models/demo-control-response.model.js +32 -0
  2730. package/dist/plugins/devices-third-party/models/demo-control-response.model.js.map +1 -0
  2731. package/dist/plugins/devices-third-party/models/demo-control.model.d.ts +13 -0
  2732. package/dist/plugins/devices-third-party/models/demo-control.model.js +95 -0
  2733. package/dist/plugins/devices-third-party/models/demo-control.model.js.map +1 -0
  2734. package/dist/plugins/devices-third-party/platforms/third-party-device.platform.d.ts +13 -0
  2735. package/dist/plugins/devices-third-party/platforms/third-party-device.platform.js +103 -0
  2736. package/dist/plugins/devices-third-party/platforms/third-party-device.platform.js.map +1 -0
  2737. package/dist/plugins/devices-wled/controllers/wled-discovery.controller.d.ts +8 -0
  2738. package/dist/plugins/devices-wled/controllers/wled-discovery.controller.js +61 -0
  2739. package/dist/plugins/devices-wled/controllers/wled-discovery.controller.js.map +1 -0
  2740. package/dist/plugins/devices-wled/devices-wled.constants.d.ts +77 -0
  2741. package/dist/plugins/devices-wled/devices-wled.constants.js +277 -0
  2742. package/dist/plugins/devices-wled/devices-wled.constants.js.map +1 -0
  2743. package/dist/plugins/devices-wled/devices-wled.exceptions.d.ts +13 -0
  2744. package/dist/plugins/devices-wled/devices-wled.exceptions.js +29 -0
  2745. package/dist/plugins/devices-wled/devices-wled.exceptions.js.map +1 -0
  2746. package/dist/plugins/devices-wled/devices-wled.openapi.d.ts +9 -0
  2747. package/dist/plugins/devices-wled/devices-wled.openapi.js +33 -0
  2748. package/dist/plugins/devices-wled/devices-wled.openapi.js.map +1 -0
  2749. package/dist/plugins/devices-wled/devices-wled.plugin.d.ts +26 -0
  2750. package/dist/plugins/devices-wled/devices-wled.plugin.js +228 -0
  2751. package/dist/plugins/devices-wled/devices-wled.plugin.js.map +1 -0
  2752. package/dist/plugins/devices-wled/dto/create-channel-property.dto.d.ts +5 -0
  2753. package/dist/plugins/devices-wled/dto/create-channel-property.dto.js +35 -0
  2754. package/dist/plugins/devices-wled/dto/create-channel-property.dto.js.map +1 -0
  2755. package/dist/plugins/devices-wled/dto/create-channel.dto.d.ts +5 -0
  2756. package/dist/plugins/devices-wled/dto/create-channel.dto.js +35 -0
  2757. package/dist/plugins/devices-wled/dto/create-channel.dto.js.map +1 -0
  2758. package/dist/plugins/devices-wled/dto/create-device.dto.d.ts +6 -0
  2759. package/dist/plugins/devices-wled/dto/create-device.dto.js +49 -0
  2760. package/dist/plugins/devices-wled/dto/create-device.dto.js.map +1 -0
  2761. package/dist/plugins/devices-wled/dto/update-channel-property.dto.d.ts +5 -0
  2762. package/dist/plugins/devices-wled/dto/update-channel-property.dto.js +35 -0
  2763. package/dist/plugins/devices-wled/dto/update-channel-property.dto.js.map +1 -0
  2764. package/dist/plugins/devices-wled/dto/update-channel.dto.d.ts +5 -0
  2765. package/dist/plugins/devices-wled/dto/update-channel.dto.js +35 -0
  2766. package/dist/plugins/devices-wled/dto/update-channel.dto.js.map +1 -0
  2767. package/dist/plugins/devices-wled/dto/update-config.dto.d.ts +25 -0
  2768. package/dist/plugins/devices-wled/dto/update-config.dto.js +213 -0
  2769. package/dist/plugins/devices-wled/dto/update-config.dto.js.map +1 -0
  2770. package/dist/plugins/devices-wled/dto/update-device.dto.d.ts +6 -0
  2771. package/dist/plugins/devices-wled/dto/update-device.dto.js +47 -0
  2772. package/dist/plugins/devices-wled/dto/update-device.dto.js.map +1 -0
  2773. package/dist/plugins/devices-wled/entities/devices-wled.entity.d.ts +14 -0
  2774. package/dist/plugins/devices-wled/entities/devices-wled.entity.js +108 -0
  2775. package/dist/plugins/devices-wled/entities/devices-wled.entity.js.map +1 -0
  2776. package/dist/plugins/devices-wled/index.d.ts +19 -0
  2777. package/dist/plugins/devices-wled/index.js +36 -0
  2778. package/dist/plugins/devices-wled/index.js.map +1 -0
  2779. package/dist/plugins/devices-wled/interfaces/wled.interface.d.ts +179 -0
  2780. package/dist/plugins/devices-wled/interfaces/wled.interface.js +16 -0
  2781. package/dist/plugins/devices-wled/interfaces/wled.interface.js.map +1 -0
  2782. package/dist/plugins/devices-wled/models/config.model.d.ts +24 -0
  2783. package/dist/plugins/devices-wled/models/config.model.js +207 -0
  2784. package/dist/plugins/devices-wled/models/config.model.js.map +1 -0
  2785. package/dist/plugins/devices-wled/models/wled-discovery.model.d.ts +10 -0
  2786. package/dist/plugins/devices-wled/models/wled-discovery.model.js +76 -0
  2787. package/dist/plugins/devices-wled/models/wled-discovery.model.js.map +1 -0
  2788. package/dist/plugins/devices-wled/platforms/wled.device.platform.d.ts +22 -0
  2789. package/dist/plugins/devices-wled/platforms/wled.device.platform.js +243 -0
  2790. package/dist/plugins/devices-wled/platforms/wled.device.platform.js.map +1 -0
  2791. package/dist/plugins/devices-wled/services/device-mapper.service.d.ts +31 -0
  2792. package/dist/plugins/devices-wled/services/device-mapper.service.js +290 -0
  2793. package/dist/plugins/devices-wled/services/device-mapper.service.js.map +1 -0
  2794. package/dist/plugins/devices-wled/services/wled-client-adapter.service.d.ts +59 -0
  2795. package/dist/plugins/devices-wled/services/wled-client-adapter.service.js +637 -0
  2796. package/dist/plugins/devices-wled/services/wled-client-adapter.service.js.map +1 -0
  2797. package/dist/plugins/devices-wled/services/wled-mdns-discoverer.service.d.ts +20 -0
  2798. package/dist/plugins/devices-wled/services/wled-mdns-discoverer.service.js +131 -0
  2799. package/dist/plugins/devices-wled/services/wled-mdns-discoverer.service.js.map +1 -0
  2800. package/dist/plugins/devices-wled/services/wled.service.d.ts +52 -0
  2801. package/dist/plugins/devices-wled/services/wled.service.js +379 -0
  2802. package/dist/plugins/devices-wled/services/wled.service.js.map +1 -0
  2803. package/dist/plugins/devices-zigbee2mqtt/controllers/zigbee2mqtt-discovered-devices.controller.d.ts +20 -0
  2804. package/dist/plugins/devices-zigbee2mqtt/controllers/zigbee2mqtt-discovered-devices.controller.js +295 -0
  2805. package/dist/plugins/devices-zigbee2mqtt/controllers/zigbee2mqtt-discovered-devices.controller.js.map +1 -0
  2806. package/dist/plugins/devices-zigbee2mqtt/converters/base.converter.d.ts +55 -0
  2807. package/dist/plugins/devices-zigbee2mqtt/converters/base.converter.js +185 -0
  2808. package/dist/plugins/devices-zigbee2mqtt/converters/base.converter.js.map +1 -0
  2809. package/dist/plugins/devices-zigbee2mqtt/converters/converter.interface.d.ts +57 -0
  2810. package/dist/plugins/devices-zigbee2mqtt/converters/converter.interface.js +11 -0
  2811. package/dist/plugins/devices-zigbee2mqtt/converters/converter.interface.js.map +1 -0
  2812. package/dist/plugins/devices-zigbee2mqtt/converters/converter.registry.d.ts +23 -0
  2813. package/dist/plugins/devices-zigbee2mqtt/converters/converter.registry.js +121 -0
  2814. package/dist/plugins/devices-zigbee2mqtt/converters/converter.registry.js.map +1 -0
  2815. package/dist/plugins/devices-zigbee2mqtt/converters/index.d.ts +3 -0
  2816. package/dist/plugins/devices-zigbee2mqtt/converters/index.js +20 -0
  2817. package/dist/plugins/devices-zigbee2mqtt/converters/index.js.map +1 -0
  2818. package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.constants.d.ts +64 -0
  2819. package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.constants.js +498 -0
  2820. package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.constants.js.map +1 -0
  2821. package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.exceptions.d.ts +22 -0
  2822. package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.exceptions.js +75 -0
  2823. package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.exceptions.js.map +1 -0
  2824. package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.openapi.d.ts +10 -0
  2825. package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.openapi.js +51 -0
  2826. package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.openapi.js.map +1 -0
  2827. package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.plugin.d.ts +26 -0
  2828. package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.plugin.js +326 -0
  2829. package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.plugin.js.map +1 -0
  2830. package/dist/plugins/devices-zigbee2mqtt/dto/create-channel-property.dto.d.ts +5 -0
  2831. package/dist/plugins/devices-zigbee2mqtt/dto/create-channel-property.dto.js +35 -0
  2832. package/dist/plugins/devices-zigbee2mqtt/dto/create-channel-property.dto.js.map +1 -0
  2833. package/dist/plugins/devices-zigbee2mqtt/dto/create-channel.dto.d.ts +5 -0
  2834. package/dist/plugins/devices-zigbee2mqtt/dto/create-channel.dto.js +35 -0
  2835. package/dist/plugins/devices-zigbee2mqtt/dto/create-channel.dto.js.map +1 -0
  2836. package/dist/plugins/devices-zigbee2mqtt/dto/create-device.dto.d.ts +5 -0
  2837. package/dist/plugins/devices-zigbee2mqtt/dto/create-device.dto.js +35 -0
  2838. package/dist/plugins/devices-zigbee2mqtt/dto/create-device.dto.js.map +1 -0
  2839. package/dist/plugins/devices-zigbee2mqtt/dto/mapping-preview.dto.d.ts +38 -0
  2840. package/dist/plugins/devices-zigbee2mqtt/dto/mapping-preview.dto.js +297 -0
  2841. package/dist/plugins/devices-zigbee2mqtt/dto/mapping-preview.dto.js.map +1 -0
  2842. package/dist/plugins/devices-zigbee2mqtt/dto/update-channel-property.dto.d.ts +5 -0
  2843. package/dist/plugins/devices-zigbee2mqtt/dto/update-channel-property.dto.js +35 -0
  2844. package/dist/plugins/devices-zigbee2mqtt/dto/update-channel-property.dto.js.map +1 -0
  2845. package/dist/plugins/devices-zigbee2mqtt/dto/update-channel.dto.d.ts +5 -0
  2846. package/dist/plugins/devices-zigbee2mqtt/dto/update-channel.dto.js +35 -0
  2847. package/dist/plugins/devices-zigbee2mqtt/dto/update-channel.dto.js.map +1 -0
  2848. package/dist/plugins/devices-zigbee2mqtt/dto/update-config.dto.d.ts +31 -0
  2849. package/dist/plugins/devices-zigbee2mqtt/dto/update-config.dto.js +294 -0
  2850. package/dist/plugins/devices-zigbee2mqtt/dto/update-config.dto.js.map +1 -0
  2851. package/dist/plugins/devices-zigbee2mqtt/dto/update-device.dto.d.ts +5 -0
  2852. package/dist/plugins/devices-zigbee2mqtt/dto/update-device.dto.js +35 -0
  2853. package/dist/plugins/devices-zigbee2mqtt/dto/update-device.dto.js.map +1 -0
  2854. package/dist/plugins/devices-zigbee2mqtt/entities/devices-zigbee2mqtt.entity.d.ts +13 -0
  2855. package/dist/plugins/devices-zigbee2mqtt/entities/devices-zigbee2mqtt.entity.js +90 -0
  2856. package/dist/plugins/devices-zigbee2mqtt/entities/devices-zigbee2mqtt.entity.js.map +1 -0
  2857. package/dist/plugins/devices-zigbee2mqtt/index.d.ts +13 -0
  2858. package/dist/plugins/devices-zigbee2mqtt/index.js +30 -0
  2859. package/dist/plugins/devices-zigbee2mqtt/index.js.map +1 -0
  2860. package/dist/plugins/devices-zigbee2mqtt/interfaces/zigbee2mqtt.interface.d.ts +157 -0
  2861. package/dist/plugins/devices-zigbee2mqtt/interfaces/zigbee2mqtt.interface.js +3 -0
  2862. package/dist/plugins/devices-zigbee2mqtt/interfaces/zigbee2mqtt.interface.js.map +1 -0
  2863. package/dist/plugins/devices-zigbee2mqtt/mappings/config-driven.converter.d.ts +71 -0
  2864. package/dist/plugins/devices-zigbee2mqtt/mappings/config-driven.converter.js +670 -0
  2865. package/dist/plugins/devices-zigbee2mqtt/mappings/config-driven.converter.js.map +1 -0
  2866. package/dist/plugins/devices-zigbee2mqtt/mappings/definitions/climate.yaml +212 -0
  2867. package/dist/plugins/devices-zigbee2mqtt/mappings/definitions/covers.yaml +108 -0
  2868. package/dist/plugins/devices-zigbee2mqtt/mappings/definitions/derivation-rules.yaml +165 -0
  2869. package/dist/plugins/devices-zigbee2mqtt/mappings/definitions/devices/ikea/starkvind-air-purifier.yaml +190 -0
  2870. package/dist/plugins/devices-zigbee2mqtt/mappings/definitions/fans.yaml +188 -0
  2871. package/dist/plugins/devices-zigbee2mqtt/mappings/definitions/lights.yaml +106 -0
  2872. package/dist/plugins/devices-zigbee2mqtt/mappings/definitions/locks.yaml +75 -0
  2873. package/dist/plugins/devices-zigbee2mqtt/mappings/definitions/remotes.yaml +83 -0
  2874. package/dist/plugins/devices-zigbee2mqtt/mappings/definitions/sensors.yaml +869 -0
  2875. package/dist/plugins/devices-zigbee2mqtt/mappings/definitions/switches.yaml +101 -0
  2876. package/dist/plugins/devices-zigbee2mqtt/mappings/index.d.ts +4 -0
  2877. package/dist/plugins/devices-zigbee2mqtt/mappings/index.js +21 -0
  2878. package/dist/plugins/devices-zigbee2mqtt/mappings/index.js.map +1 -0
  2879. package/dist/plugins/devices-zigbee2mqtt/mappings/mapping-loader.service.d.ts +54 -0
  2880. package/dist/plugins/devices-zigbee2mqtt/mappings/mapping-loader.service.js +448 -0
  2881. package/dist/plugins/devices-zigbee2mqtt/mappings/mapping-loader.service.js.map +1 -0
  2882. package/dist/plugins/devices-zigbee2mqtt/mappings/mapping.types.d.ts +186 -0
  2883. package/dist/plugins/devices-zigbee2mqtt/mappings/mapping.types.js +3 -0
  2884. package/dist/plugins/devices-zigbee2mqtt/mappings/mapping.types.js.map +1 -0
  2885. package/dist/plugins/devices-zigbee2mqtt/mappings/schema/mapping-schema.json +713 -0
  2886. package/dist/plugins/devices-zigbee2mqtt/mappings/transformers/index.d.ts +3 -0
  2887. package/dist/plugins/devices-zigbee2mqtt/mappings/transformers/index.js +20 -0
  2888. package/dist/plugins/devices-zigbee2mqtt/mappings/transformers/index.js.map +1 -0
  2889. package/dist/plugins/devices-zigbee2mqtt/mappings/transformers/transformer.registry.d.ts +16 -0
  2890. package/dist/plugins/devices-zigbee2mqtt/mappings/transformers/transformer.registry.js +162 -0
  2891. package/dist/plugins/devices-zigbee2mqtt/mappings/transformers/transformer.registry.js.map +1 -0
  2892. package/dist/plugins/devices-zigbee2mqtt/mappings/transformers/transformer.types.d.ts +72 -0
  2893. package/dist/plugins/devices-zigbee2mqtt/mappings/transformers/transformer.types.js +3 -0
  2894. package/dist/plugins/devices-zigbee2mqtt/mappings/transformers/transformer.types.js.map +1 -0
  2895. package/dist/plugins/devices-zigbee2mqtt/mappings/transformers/transformers.d.ts +81 -0
  2896. package/dist/plugins/devices-zigbee2mqtt/mappings/transformers/transformers.js +520 -0
  2897. package/dist/plugins/devices-zigbee2mqtt/mappings/transformers/transformers.js.map +1 -0
  2898. package/dist/plugins/devices-zigbee2mqtt/models/config.model.d.ts +30 -0
  2899. package/dist/plugins/devices-zigbee2mqtt/models/config.model.js +292 -0
  2900. package/dist/plugins/devices-zigbee2mqtt/models/config.model.js.map +1 -0
  2901. package/dist/plugins/devices-zigbee2mqtt/models/zigbee2mqtt-response.model.d.ts +84 -0
  2902. package/dist/plugins/devices-zigbee2mqtt/models/zigbee2mqtt-response.model.js +693 -0
  2903. package/dist/plugins/devices-zigbee2mqtt/models/zigbee2mqtt-response.model.js.map +1 -0
  2904. package/dist/plugins/devices-zigbee2mqtt/platforms/zigbee2mqtt.device.platform.d.ts +25 -0
  2905. package/dist/plugins/devices-zigbee2mqtt/platforms/zigbee2mqtt.device.platform.js +206 -0
  2906. package/dist/plugins/devices-zigbee2mqtt/platforms/zigbee2mqtt.device.platform.js.map +1 -0
  2907. package/dist/plugins/devices-zigbee2mqtt/services/device-adoption.service.d.ts +32 -0
  2908. package/dist/plugins/devices-zigbee2mqtt/services/device-adoption.service.js +469 -0
  2909. package/dist/plugins/devices-zigbee2mqtt/services/device-adoption.service.js.map +1 -0
  2910. package/dist/plugins/devices-zigbee2mqtt/services/device-mapper.service.d.ts +52 -0
  2911. package/dist/plugins/devices-zigbee2mqtt/services/device-mapper.service.js +626 -0
  2912. package/dist/plugins/devices-zigbee2mqtt/services/device-mapper.service.js.map +1 -0
  2913. package/dist/plugins/devices-zigbee2mqtt/services/exposes-mapper.service.d.ts +44 -0
  2914. package/dist/plugins/devices-zigbee2mqtt/services/exposes-mapper.service.js +70 -0
  2915. package/dist/plugins/devices-zigbee2mqtt/services/exposes-mapper.service.js.map +1 -0
  2916. package/dist/plugins/devices-zigbee2mqtt/services/mapping-preview.service.d.ts +26 -0
  2917. package/dist/plugins/devices-zigbee2mqtt/services/mapping-preview.service.js +404 -0
  2918. package/dist/plugins/devices-zigbee2mqtt/services/mapping-preview.service.js.map +1 -0
  2919. package/dist/plugins/devices-zigbee2mqtt/services/mqtt-client-adapter.service.d.ts +36 -0
  2920. package/dist/plugins/devices-zigbee2mqtt/services/mqtt-client-adapter.service.js +477 -0
  2921. package/dist/plugins/devices-zigbee2mqtt/services/mqtt-client-adapter.service.js.map +1 -0
  2922. package/dist/plugins/devices-zigbee2mqtt/services/virtual-property.service.d.ts +18 -0
  2923. package/dist/plugins/devices-zigbee2mqtt/services/virtual-property.service.js +181 -0
  2924. package/dist/plugins/devices-zigbee2mqtt/services/virtual-property.service.js.map +1 -0
  2925. package/dist/plugins/devices-zigbee2mqtt/services/virtual-property.types.d.ts +61 -0
  2926. package/dist/plugins/devices-zigbee2mqtt/services/virtual-property.types.js +114 -0
  2927. package/dist/plugins/devices-zigbee2mqtt/services/virtual-property.types.js.map +1 -0
  2928. package/dist/plugins/devices-zigbee2mqtt/services/zigbee2mqtt-config-validator.service.d.ts +11 -0
  2929. package/dist/plugins/devices-zigbee2mqtt/services/zigbee2mqtt-config-validator.service.js +102 -0
  2930. package/dist/plugins/devices-zigbee2mqtt/services/zigbee2mqtt-config-validator.service.js.map +1 -0
  2931. package/dist/plugins/devices-zigbee2mqtt/services/zigbee2mqtt.service.d.ts +51 -0
  2932. package/dist/plugins/devices-zigbee2mqtt/services/zigbee2mqtt.service.js +377 -0
  2933. package/dist/plugins/devices-zigbee2mqtt/services/zigbee2mqtt.service.js.map +1 -0
  2934. package/dist/plugins/logger-rotating-file/dto/update-config.dto.d.ts +10 -0
  2935. package/dist/plugins/logger-rotating-file/dto/update-config.dto.js +139 -0
  2936. package/dist/plugins/logger-rotating-file/dto/update-config.dto.js.map +1 -0
  2937. package/dist/plugins/logger-rotating-file/logger-rotating-file.constants.d.ts +3 -0
  2938. package/dist/plugins/logger-rotating-file/logger-rotating-file.constants.js +7 -0
  2939. package/dist/plugins/logger-rotating-file/logger-rotating-file.constants.js.map +1 -0
  2940. package/dist/plugins/logger-rotating-file/logger-rotating-file.exceptions.d.ts +12 -0
  2941. package/dist/plugins/logger-rotating-file/logger-rotating-file.exceptions.js +32 -0
  2942. package/dist/plugins/logger-rotating-file/logger-rotating-file.exceptions.js.map +1 -0
  2943. package/dist/plugins/logger-rotating-file/logger-rotating-file.openapi.d.ts +3 -0
  2944. package/dist/plugins/logger-rotating-file/logger-rotating-file.openapi.js +10 -0
  2945. package/dist/plugins/logger-rotating-file/logger-rotating-file.openapi.js.map +1 -0
  2946. package/dist/plugins/logger-rotating-file/logger-rotating-file.plugin.d.ts +16 -0
  2947. package/dist/plugins/logger-rotating-file/logger-rotating-file.plugin.js +108 -0
  2948. package/dist/plugins/logger-rotating-file/logger-rotating-file.plugin.js.map +1 -0
  2949. package/dist/plugins/logger-rotating-file/models/config.model.d.ts +9 -0
  2950. package/dist/plugins/logger-rotating-file/models/config.model.js +105 -0
  2951. package/dist/plugins/logger-rotating-file/models/config.model.js.map +1 -0
  2952. package/dist/plugins/logger-rotating-file/services/file-logger.service.d.ts +30 -0
  2953. package/dist/plugins/logger-rotating-file/services/file-logger.service.js +276 -0
  2954. package/dist/plugins/logger-rotating-file/services/file-logger.service.js.map +1 -0
  2955. package/dist/plugins/pages-cards/controllers/cards.controller.d.ts +19 -0
  2956. package/dist/plugins/pages-cards/controllers/cards.controller.js +213 -0
  2957. package/dist/plugins/pages-cards/controllers/cards.controller.js.map +1 -0
  2958. package/dist/plugins/pages-cards/dto/create-card.dto.d.ts +18 -0
  2959. package/dist/plugins/pages-cards/dto/create-card.dto.js +170 -0
  2960. package/dist/plugins/pages-cards/dto/create-card.dto.js.map +1 -0
  2961. package/dist/plugins/pages-cards/dto/create-page.dto.d.ts +7 -0
  2962. package/dist/plugins/pages-cards/dto/create-page.dto.js +48 -0
  2963. package/dist/plugins/pages-cards/dto/create-page.dto.js.map +1 -0
  2964. package/dist/plugins/pages-cards/dto/update-card.dto.d.ts +10 -0
  2965. package/dist/plugins/pages-cards/dto/update-card.dto.js +105 -0
  2966. package/dist/plugins/pages-cards/dto/update-card.dto.js.map +1 -0
  2967. package/dist/plugins/pages-cards/dto/update-config.dto.d.ts +5 -0
  2968. package/dist/plugins/pages-cards/dto/update-config.dto.js +34 -0
  2969. package/dist/plugins/pages-cards/dto/update-config.dto.js.map +1 -0
  2970. package/dist/plugins/pages-cards/dto/update-page.dto.d.ts +5 -0
  2971. package/dist/plugins/pages-cards/dto/update-page.dto.js +31 -0
  2972. package/dist/plugins/pages-cards/dto/update-page.dto.js.map +1 -0
  2973. package/dist/plugins/pages-cards/entities/pages-cards.entity.d.ts +16 -0
  2974. package/dist/plugins/pages-cards/entities/pages-cards.entity.js +176 -0
  2975. package/dist/plugins/pages-cards/entities/pages-cards.entity.js.map +1 -0
  2976. package/dist/plugins/pages-cards/models/config.model.d.ts +5 -0
  2977. package/dist/plugins/pages-cards/models/config.model.js +49 -0
  2978. package/dist/plugins/pages-cards/models/config.model.js.map +1 -0
  2979. package/dist/plugins/pages-cards/models/pages-cards-response.model.d.ts +8 -0
  2980. package/dist/plugins/pages-cards/models/pages-cards-response.model.js +46 -0
  2981. package/dist/plugins/pages-cards/models/pages-cards-response.model.js.map +1 -0
  2982. package/dist/plugins/pages-cards/pages-cards.constants.d.ts +12 -0
  2983. package/dist/plugins/pages-cards/pages-cards.constants.js +17 -0
  2984. package/dist/plugins/pages-cards/pages-cards.constants.js.map +1 -0
  2985. package/dist/plugins/pages-cards/pages-cards.exceptions.d.ts +9 -0
  2986. package/dist/plugins/pages-cards/pages-cards.exceptions.js +25 -0
  2987. package/dist/plugins/pages-cards/pages-cards.exceptions.js.map +1 -0
  2988. package/dist/plugins/pages-cards/pages-cards.openapi.d.ts +7 -0
  2989. package/dist/plugins/pages-cards/pages-cards.openapi.js +24 -0
  2990. package/dist/plugins/pages-cards/pages-cards.openapi.js.map +1 -0
  2991. package/dist/plugins/pages-cards/pages-cards.plugin.d.ts +22 -0
  2992. package/dist/plugins/pages-cards/pages-cards.plugin.js +156 -0
  2993. package/dist/plugins/pages-cards/pages-cards.plugin.js.map +1 -0
  2994. package/dist/plugins/pages-cards/services/cards.service.d.ts +25 -0
  2995. package/dist/plugins/pages-cards/services/cards.service.js +201 -0
  2996. package/dist/plugins/pages-cards/services/cards.service.js.map +1 -0
  2997. package/dist/plugins/pages-cards/services/page-create-nested-builder.service.d.ts +17 -0
  2998. package/dist/plugins/pages-cards/services/page-create-nested-builder.service.js +81 -0
  2999. package/dist/plugins/pages-cards/services/page-create-nested-builder.service.js.map +1 -0
  3000. package/dist/plugins/pages-cards/services/plugin-reset.service.d.ts +13 -0
  3001. package/dist/plugins/pages-cards/services/plugin-reset.service.js +54 -0
  3002. package/dist/plugins/pages-cards/services/plugin-reset.service.js.map +1 -0
  3003. package/dist/plugins/pages-device-detail/dto/create-page.dto.d.ts +6 -0
  3004. package/dist/plugins/pages-device-detail/dto/create-page.dto.js +46 -0
  3005. package/dist/plugins/pages-device-detail/dto/create-page.dto.js.map +1 -0
  3006. package/dist/plugins/pages-device-detail/dto/update-config.dto.d.ts +5 -0
  3007. package/dist/plugins/pages-device-detail/dto/update-config.dto.js +34 -0
  3008. package/dist/plugins/pages-device-detail/dto/update-config.dto.js.map +1 -0
  3009. package/dist/plugins/pages-device-detail/dto/update-page.dto.d.ts +6 -0
  3010. package/dist/plugins/pages-device-detail/dto/update-page.dto.js +48 -0
  3011. package/dist/plugins/pages-device-detail/dto/update-page.dto.js.map +1 -0
  3012. package/dist/plugins/pages-device-detail/entities/pages-device-detail.entity.d.ts +7 -0
  3013. package/dist/plugins/pages-device-detail/entities/pages-device-detail.entity.js +67 -0
  3014. package/dist/plugins/pages-device-detail/entities/pages-device-detail.entity.js.map +1 -0
  3015. package/dist/plugins/pages-device-detail/models/config.model.d.ts +5 -0
  3016. package/dist/plugins/pages-device-detail/models/config.model.js +49 -0
  3017. package/dist/plugins/pages-device-detail/models/config.model.js.map +1 -0
  3018. package/dist/plugins/pages-device-detail/pages-device-detail.constants.d.ts +2 -0
  3019. package/dist/plugins/pages-device-detail/pages-device-detail.constants.js +6 -0
  3020. package/dist/plugins/pages-device-detail/pages-device-detail.constants.js.map +1 -0
  3021. package/dist/plugins/pages-device-detail/pages-device-detail.openapi.d.ts +5 -0
  3022. package/dist/plugins/pages-device-detail/pages-device-detail.openapi.js +16 -0
  3023. package/dist/plugins/pages-device-detail/pages-device-detail.openapi.js.map +1 -0
  3024. package/dist/plugins/pages-device-detail/pages-device-detail.plugin.d.ts +18 -0
  3025. package/dist/plugins/pages-device-detail/pages-device-detail.plugin.js +146 -0
  3026. package/dist/plugins/pages-device-detail/pages-device-detail.plugin.js.map +1 -0
  3027. package/dist/plugins/pages-device-detail/services/page-relations-loader.service.d.ts +10 -0
  3028. package/dist/plugins/pages-device-detail/services/page-relations-loader.service.js +35 -0
  3029. package/dist/plugins/pages-device-detail/services/page-relations-loader.service.js.map +1 -0
  3030. package/dist/plugins/pages-tiles/dto/create-page.dto.d.ts +10 -0
  3031. package/dist/plugins/pages-tiles/dto/create-page.dto.js +96 -0
  3032. package/dist/plugins/pages-tiles/dto/create-page.dto.js.map +1 -0
  3033. package/dist/plugins/pages-tiles/dto/update-config.dto.d.ts +5 -0
  3034. package/dist/plugins/pages-tiles/dto/update-config.dto.js +34 -0
  3035. package/dist/plugins/pages-tiles/dto/update-config.dto.js.map +1 -0
  3036. package/dist/plugins/pages-tiles/dto/update-page.dto.d.ts +8 -0
  3037. package/dist/plugins/pages-tiles/dto/update-page.dto.js +77 -0
  3038. package/dist/plugins/pages-tiles/dto/update-page.dto.js.map +1 -0
  3039. package/dist/plugins/pages-tiles/entities/pages-tiles.entity.d.ts +8 -0
  3040. package/dist/plugins/pages-tiles/entities/pages-tiles.entity.js +91 -0
  3041. package/dist/plugins/pages-tiles/entities/pages-tiles.entity.js.map +1 -0
  3042. package/dist/plugins/pages-tiles/models/config.model.d.ts +5 -0
  3043. package/dist/plugins/pages-tiles/models/config.model.js +49 -0
  3044. package/dist/plugins/pages-tiles/models/config.model.js.map +1 -0
  3045. package/dist/plugins/pages-tiles/pages-tiles.constants.d.ts +2 -0
  3046. package/dist/plugins/pages-tiles/pages-tiles.constants.js +6 -0
  3047. package/dist/plugins/pages-tiles/pages-tiles.constants.js.map +1 -0
  3048. package/dist/plugins/pages-tiles/pages-tiles.exceptions.d.ts +9 -0
  3049. package/dist/plugins/pages-tiles/pages-tiles.exceptions.js +25 -0
  3050. package/dist/plugins/pages-tiles/pages-tiles.exceptions.js.map +1 -0
  3051. package/dist/plugins/pages-tiles/pages-tiles.openapi.d.ts +5 -0
  3052. package/dist/plugins/pages-tiles/pages-tiles.openapi.js +16 -0
  3053. package/dist/plugins/pages-tiles/pages-tiles.openapi.js.map +1 -0
  3054. package/dist/plugins/pages-tiles/pages-tiles.plugin.d.ts +22 -0
  3055. package/dist/plugins/pages-tiles/pages-tiles.plugin.js +152 -0
  3056. package/dist/plugins/pages-tiles/pages-tiles.plugin.js.map +1 -0
  3057. package/dist/plugins/pages-tiles/services/page-create-nested-builder.service.d.ts +17 -0
  3058. package/dist/plugins/pages-tiles/services/page-create-nested-builder.service.js +70 -0
  3059. package/dist/plugins/pages-tiles/services/page-create-nested-builder.service.js.map +1 -0
  3060. package/dist/plugins/pages-tiles/services/page-relations-loader.service.d.ts +10 -0
  3061. package/dist/plugins/pages-tiles/services/page-relations-loader.service.js +35 -0
  3062. package/dist/plugins/pages-tiles/services/page-relations-loader.service.js.map +1 -0
  3063. package/dist/plugins/scenes-local/dto/create-local-scene-action.dto.d.ts +8 -0
  3064. package/dist/plugins/scenes-local/dto/create-local-scene-action.dto.js +104 -0
  3065. package/dist/plugins/scenes-local/dto/create-local-scene-action.dto.js.map +1 -0
  3066. package/dist/plugins/scenes-local/dto/update-config.dto.d.ts +5 -0
  3067. package/dist/plugins/scenes-local/dto/update-config.dto.js +34 -0
  3068. package/dist/plugins/scenes-local/dto/update-config.dto.js.map +1 -0
  3069. package/dist/plugins/scenes-local/dto/update-local-scene-action.dto.d.ts +8 -0
  3070. package/dist/plugins/scenes-local/dto/update-local-scene-action.dto.js +108 -0
  3071. package/dist/plugins/scenes-local/dto/update-local-scene-action.dto.js.map +1 -0
  3072. package/dist/plugins/scenes-local/entities/scenes-local.entity.d.ts +7 -0
  3073. package/dist/plugins/scenes-local/entities/scenes-local.entity.js +101 -0
  3074. package/dist/plugins/scenes-local/entities/scenes-local.entity.js.map +1 -0
  3075. package/dist/plugins/scenes-local/models/config.model.d.ts +5 -0
  3076. package/dist/plugins/scenes-local/models/config.model.js +49 -0
  3077. package/dist/plugins/scenes-local/models/config.model.js.map +1 -0
  3078. package/dist/plugins/scenes-local/platforms/local-scene.platform.d.ts +32 -0
  3079. package/dist/plugins/scenes-local/platforms/local-scene.platform.js +228 -0
  3080. package/dist/plugins/scenes-local/platforms/local-scene.platform.js.map +1 -0
  3081. package/dist/plugins/scenes-local/scenes-local.constants.d.ts +2 -0
  3082. package/dist/plugins/scenes-local/scenes-local.constants.js +6 -0
  3083. package/dist/plugins/scenes-local/scenes-local.constants.js.map +1 -0
  3084. package/dist/plugins/scenes-local/scenes-local.openapi.d.ts +4 -0
  3085. package/dist/plugins/scenes-local/scenes-local.openapi.js +16 -0
  3086. package/dist/plugins/scenes-local/scenes-local.openapi.js.map +1 -0
  3087. package/dist/plugins/scenes-local/scenes-local.plugin.d.ts +19 -0
  3088. package/dist/plugins/scenes-local/scenes-local.plugin.js +141 -0
  3089. package/dist/plugins/scenes-local/scenes-local.plugin.js.map +1 -0
  3090. package/dist/plugins/simulator/behaviors/air-conditioner.behavior.d.ts +15 -0
  3091. package/dist/plugins/simulator/behaviors/air-conditioner.behavior.js +137 -0
  3092. package/dist/plugins/simulator/behaviors/air-conditioner.behavior.js.map +1 -0
  3093. package/dist/plugins/simulator/behaviors/device-behavior.interface.d.ts +54 -0
  3094. package/dist/plugins/simulator/behaviors/device-behavior.interface.js +90 -0
  3095. package/dist/plugins/simulator/behaviors/device-behavior.interface.js.map +1 -0
  3096. package/dist/plugins/simulator/behaviors/door.behavior.d.ts +9 -0
  3097. package/dist/plugins/simulator/behaviors/door.behavior.js +53 -0
  3098. package/dist/plugins/simulator/behaviors/door.behavior.js.map +1 -0
  3099. package/dist/plugins/simulator/behaviors/humidifier.behavior.d.ts +13 -0
  3100. package/dist/plugins/simulator/behaviors/humidifier.behavior.js +138 -0
  3101. package/dist/plugins/simulator/behaviors/humidifier.behavior.js.map +1 -0
  3102. package/dist/plugins/simulator/behaviors/index.d.ts +12 -0
  3103. package/dist/plugins/simulator/behaviors/index.js +29 -0
  3104. package/dist/plugins/simulator/behaviors/index.js.map +1 -0
  3105. package/dist/plugins/simulator/behaviors/lock.behavior.d.ts +10 -0
  3106. package/dist/plugins/simulator/behaviors/lock.behavior.js +47 -0
  3107. package/dist/plugins/simulator/behaviors/lock.behavior.js.map +1 -0
  3108. package/dist/plugins/simulator/behaviors/projector.behavior.d.ts +10 -0
  3109. package/dist/plugins/simulator/behaviors/projector.behavior.js +37 -0
  3110. package/dist/plugins/simulator/behaviors/projector.behavior.js.map +1 -0
  3111. package/dist/plugins/simulator/behaviors/speaker.behavior.d.ts +9 -0
  3112. package/dist/plugins/simulator/behaviors/speaker.behavior.js +32 -0
  3113. package/dist/plugins/simulator/behaviors/speaker.behavior.js.map +1 -0
  3114. package/dist/plugins/simulator/behaviors/television.behavior.d.ts +10 -0
  3115. package/dist/plugins/simulator/behaviors/television.behavior.js +37 -0
  3116. package/dist/plugins/simulator/behaviors/television.behavior.js.map +1 -0
  3117. package/dist/plugins/simulator/behaviors/thermostat.behavior.d.ts +13 -0
  3118. package/dist/plugins/simulator/behaviors/thermostat.behavior.js +161 -0
  3119. package/dist/plugins/simulator/behaviors/thermostat.behavior.js.map +1 -0
  3120. package/dist/plugins/simulator/behaviors/valve.behavior.d.ts +10 -0
  3121. package/dist/plugins/simulator/behaviors/valve.behavior.js +70 -0
  3122. package/dist/plugins/simulator/behaviors/valve.behavior.js.map +1 -0
  3123. package/dist/plugins/simulator/behaviors/water-heater.behavior.d.ts +14 -0
  3124. package/dist/plugins/simulator/behaviors/water-heater.behavior.js +138 -0
  3125. package/dist/plugins/simulator/behaviors/water-heater.behavior.js.map +1 -0
  3126. package/dist/plugins/simulator/behaviors/window-covering.behavior.d.ts +11 -0
  3127. package/dist/plugins/simulator/behaviors/window-covering.behavior.js +90 -0
  3128. package/dist/plugins/simulator/behaviors/window-covering.behavior.js.map +1 -0
  3129. package/dist/plugins/simulator/commands/generate-device.command.d.ts +31 -0
  3130. package/dist/plugins/simulator/commands/generate-device.command.js +241 -0
  3131. package/dist/plugins/simulator/commands/generate-device.command.js.map +1 -0
  3132. package/dist/plugins/simulator/commands/populate-values.command.d.ts +26 -0
  3133. package/dist/plugins/simulator/commands/populate-values.command.js +208 -0
  3134. package/dist/plugins/simulator/commands/populate-values.command.js.map +1 -0
  3135. package/dist/plugins/simulator/commands/scenario.command.d.ts +35 -0
  3136. package/dist/plugins/simulator/commands/scenario.command.js +391 -0
  3137. package/dist/plugins/simulator/commands/scenario.command.js.map +1 -0
  3138. package/dist/plugins/simulator/commands/set-connection-state.command.d.ts +24 -0
  3139. package/dist/plugins/simulator/commands/set-connection-state.command.js +216 -0
  3140. package/dist/plugins/simulator/commands/set-connection-state.command.js.map +1 -0
  3141. package/dist/plugins/simulator/commands/simulate.command.d.ts +38 -0
  3142. package/dist/plugins/simulator/commands/simulate.command.js +361 -0
  3143. package/dist/plugins/simulator/commands/simulate.command.js.map +1 -0
  3144. package/dist/plugins/simulator/controllers/simulator.controller.d.ts +27 -0
  3145. package/dist/plugins/simulator/controllers/simulator.controller.js +295 -0
  3146. package/dist/plugins/simulator/controllers/simulator.controller.js.map +1 -0
  3147. package/dist/plugins/simulator/dto/create-channel-property.dto.d.ts +5 -0
  3148. package/dist/plugins/simulator/dto/create-channel-property.dto.js +35 -0
  3149. package/dist/plugins/simulator/dto/create-channel-property.dto.js.map +1 -0
  3150. package/dist/plugins/simulator/dto/create-channel.dto.d.ts +5 -0
  3151. package/dist/plugins/simulator/dto/create-channel.dto.js +35 -0
  3152. package/dist/plugins/simulator/dto/create-channel.dto.js.map +1 -0
  3153. package/dist/plugins/simulator/dto/create-device.dto.d.ts +8 -0
  3154. package/dist/plugins/simulator/dto/create-device.dto.js +84 -0
  3155. package/dist/plugins/simulator/dto/create-device.dto.js.map +1 -0
  3156. package/dist/plugins/simulator/dto/generate-device.dto.d.ts +15 -0
  3157. package/dist/plugins/simulator/dto/generate-device.dto.js +162 -0
  3158. package/dist/plugins/simulator/dto/generate-device.dto.js.map +1 -0
  3159. package/dist/plugins/simulator/dto/simulate-value.dto.d.ts +7 -0
  3160. package/dist/plugins/simulator/dto/simulate-value.dto.js +58 -0
  3161. package/dist/plugins/simulator/dto/simulate-value.dto.js.map +1 -0
  3162. package/dist/plugins/simulator/dto/update-channel-property.dto.d.ts +5 -0
  3163. package/dist/plugins/simulator/dto/update-channel-property.dto.js +35 -0
  3164. package/dist/plugins/simulator/dto/update-channel-property.dto.js.map +1 -0
  3165. package/dist/plugins/simulator/dto/update-channel.dto.d.ts +5 -0
  3166. package/dist/plugins/simulator/dto/update-channel.dto.js +35 -0
  3167. package/dist/plugins/simulator/dto/update-channel.dto.js.map +1 -0
  3168. package/dist/plugins/simulator/dto/update-config.dto.d.ts +11 -0
  3169. package/dist/plugins/simulator/dto/update-config.dto.js +104 -0
  3170. package/dist/plugins/simulator/dto/update-config.dto.js.map +1 -0
  3171. package/dist/plugins/simulator/dto/update-device.dto.d.ts +8 -0
  3172. package/dist/plugins/simulator/dto/update-device.dto.js +81 -0
  3173. package/dist/plugins/simulator/dto/update-device.dto.js.map +1 -0
  3174. package/dist/plugins/simulator/entities/simulator.entity.d.ts +13 -0
  3175. package/dist/plugins/simulator/entities/simulator.entity.js +119 -0
  3176. package/dist/plugins/simulator/entities/simulator.entity.js.map +1 -0
  3177. package/dist/plugins/simulator/models/config.model.d.ts +11 -0
  3178. package/dist/plugins/simulator/models/config.model.js +118 -0
  3179. package/dist/plugins/simulator/models/config.model.js.map +1 -0
  3180. package/dist/plugins/simulator/models/simulator-response.model.d.ts +29 -0
  3181. package/dist/plugins/simulator/models/simulator-response.model.js +171 -0
  3182. package/dist/plugins/simulator/models/simulator-response.model.js.map +1 -0
  3183. package/dist/plugins/simulator/platforms/simulator-device.platform.d.ts +16 -0
  3184. package/dist/plugins/simulator/platforms/simulator-device.platform.js +85 -0
  3185. package/dist/plugins/simulator/platforms/simulator-device.platform.js.map +1 -0
  3186. package/dist/plugins/simulator/scenarios/definitions/large-house.yaml +2293 -0
  3187. package/dist/plugins/simulator/scenarios/definitions/luxury-apartment.yaml +1171 -0
  3188. package/dist/plugins/simulator/scenarios/definitions/office.yaml +278 -0
  3189. package/dist/plugins/simulator/scenarios/definitions/penthouse.yaml +608 -0
  3190. package/dist/plugins/simulator/scenarios/definitions/small-apartment.yaml +231 -0
  3191. package/dist/plugins/simulator/scenarios/definitions/small-house.yaml +454 -0
  3192. package/dist/plugins/simulator/scenarios/definitions/smart-house-max-plus.yaml +2291 -0
  3193. package/dist/plugins/simulator/scenarios/definitions/smart-house-max.yaml +2601 -0
  3194. package/dist/plugins/simulator/scenarios/definitions/smart-house-stress.yaml +8616 -0
  3195. package/dist/plugins/simulator/scenarios/definitions/smart-house.yaml +1795 -0
  3196. package/dist/plugins/simulator/scenarios/scenario.types.d.ts +85 -0
  3197. package/dist/plugins/simulator/scenarios/scenario.types.js +3 -0
  3198. package/dist/plugins/simulator/scenarios/scenario.types.js.map +1 -0
  3199. package/dist/plugins/simulator/scenarios/schema/scenario-schema.json +293 -0
  3200. package/dist/plugins/simulator/services/device-behavior-manager.service.d.ts +43 -0
  3201. package/dist/plugins/simulator/services/device-behavior-manager.service.js +254 -0
  3202. package/dist/plugins/simulator/services/device-behavior-manager.service.js.map +1 -0
  3203. package/dist/plugins/simulator/services/device-generator.service.d.ts +30 -0
  3204. package/dist/plugins/simulator/services/device-generator.service.js +261 -0
  3205. package/dist/plugins/simulator/services/device-generator.service.js.map +1 -0
  3206. package/dist/plugins/simulator/services/scenario-executor.service.d.ts +55 -0
  3207. package/dist/plugins/simulator/services/scenario-executor.service.js +568 -0
  3208. package/dist/plugins/simulator/services/scenario-executor.service.js.map +1 -0
  3209. package/dist/plugins/simulator/services/scenario-loader.service.d.ts +34 -0
  3210. package/dist/plugins/simulator/services/scenario-loader.service.js +295 -0
  3211. package/dist/plugins/simulator/services/scenario-loader.service.js.map +1 -0
  3212. package/dist/plugins/simulator/services/simulation.service.d.ts +65 -0
  3213. package/dist/plugins/simulator/services/simulation.service.js +432 -0
  3214. package/dist/plugins/simulator/services/simulation.service.js.map +1 -0
  3215. package/dist/plugins/simulator/services/simulator-actions.service.d.ts +27 -0
  3216. package/dist/plugins/simulator/services/simulator-actions.service.js +331 -0
  3217. package/dist/plugins/simulator/services/simulator-actions.service.js.map +1 -0
  3218. package/dist/plugins/simulator/simulator.constants.d.ts +5 -0
  3219. package/dist/plugins/simulator/simulator.constants.js +9 -0
  3220. package/dist/plugins/simulator/simulator.constants.js.map +1 -0
  3221. package/dist/plugins/simulator/simulator.openapi.d.ts +10 -0
  3222. package/dist/plugins/simulator/simulator.openapi.js +36 -0
  3223. package/dist/plugins/simulator/simulator.openapi.js.map +1 -0
  3224. package/dist/plugins/simulator/simulator.plugin.d.ts +28 -0
  3225. package/dist/plugins/simulator/simulator.plugin.js +315 -0
  3226. package/dist/plugins/simulator/simulator.plugin.js.map +1 -0
  3227. package/dist/plugins/simulator/simulators/air-conditioner.simulator.d.ts +16 -0
  3228. package/dist/plugins/simulator/simulators/air-conditioner.simulator.js +206 -0
  3229. package/dist/plugins/simulator/simulators/air-conditioner.simulator.js.map +1 -0
  3230. package/dist/plugins/simulator/simulators/device-simulator.interface.d.ts +25 -0
  3231. package/dist/plugins/simulator/simulators/device-simulator.interface.js +39 -0
  3232. package/dist/plugins/simulator/simulators/device-simulator.interface.js.map +1 -0
  3233. package/dist/plugins/simulator/simulators/fan.simulator.d.ts +10 -0
  3234. package/dist/plugins/simulator/simulators/fan.simulator.js +75 -0
  3235. package/dist/plugins/simulator/simulators/fan.simulator.js.map +1 -0
  3236. package/dist/plugins/simulator/simulators/heating-unit.simulator.d.ts +14 -0
  3237. package/dist/plugins/simulator/simulators/heating-unit.simulator.js +135 -0
  3238. package/dist/plugins/simulator/simulators/heating-unit.simulator.js.map +1 -0
  3239. package/dist/plugins/simulator/simulators/index.d.ts +11 -0
  3240. package/dist/plugins/simulator/simulators/index.js +28 -0
  3241. package/dist/plugins/simulator/simulators/index.js.map +1 -0
  3242. package/dist/plugins/simulator/simulators/lighting.simulator.d.ts +14 -0
  3243. package/dist/plugins/simulator/simulators/lighting.simulator.js +190 -0
  3244. package/dist/plugins/simulator/simulators/lighting.simulator.js.map +1 -0
  3245. package/dist/plugins/simulator/simulators/lock.simulator.d.ts +11 -0
  3246. package/dist/plugins/simulator/simulators/lock.simulator.js +78 -0
  3247. package/dist/plugins/simulator/simulators/lock.simulator.js.map +1 -0
  3248. package/dist/plugins/simulator/simulators/outlet.simulator.d.ts +13 -0
  3249. package/dist/plugins/simulator/simulators/outlet.simulator.js +126 -0
  3250. package/dist/plugins/simulator/simulators/outlet.simulator.js.map +1 -0
  3251. package/dist/plugins/simulator/simulators/sensor.simulator.d.ts +22 -0
  3252. package/dist/plugins/simulator/simulators/sensor.simulator.js +271 -0
  3253. package/dist/plugins/simulator/simulators/sensor.simulator.js.map +1 -0
  3254. package/dist/plugins/simulator/simulators/simulation-context.d.ts +15 -0
  3255. package/dist/plugins/simulator/simulators/simulation-context.js +86 -0
  3256. package/dist/plugins/simulator/simulators/simulation-context.js.map +1 -0
  3257. package/dist/plugins/simulator/simulators/thermostat.simulator.d.ts +16 -0
  3258. package/dist/plugins/simulator/simulators/thermostat.simulator.js +177 -0
  3259. package/dist/plugins/simulator/simulators/thermostat.simulator.js.map +1 -0
  3260. package/dist/plugins/simulator/simulators/window-covering.simulator.d.ts +11 -0
  3261. package/dist/plugins/simulator/simulators/window-covering.simulator.js +86 -0
  3262. package/dist/plugins/simulator/simulators/window-covering.simulator.js.map +1 -0
  3263. package/dist/plugins/tiles-device-preview/dto/create-tile.dto.d.ts +10 -0
  3264. package/dist/plugins/tiles-device-preview/dto/create-tile.dto.js +76 -0
  3265. package/dist/plugins/tiles-device-preview/dto/create-tile.dto.js.map +1 -0
  3266. package/dist/plugins/tiles-device-preview/dto/update-config.dto.d.ts +5 -0
  3267. package/dist/plugins/tiles-device-preview/dto/update-config.dto.js +34 -0
  3268. package/dist/plugins/tiles-device-preview/dto/update-config.dto.js.map +1 -0
  3269. package/dist/plugins/tiles-device-preview/dto/update-tile.dto.d.ts +10 -0
  3270. package/dist/plugins/tiles-device-preview/dto/update-tile.dto.js +78 -0
  3271. package/dist/plugins/tiles-device-preview/dto/update-tile.dto.js.map +1 -0
  3272. package/dist/plugins/tiles-device-preview/entities/tiles-device-preview.entity.d.ts +8 -0
  3273. package/dist/plugins/tiles-device-preview/entities/tiles-device-preview.entity.js +80 -0
  3274. package/dist/plugins/tiles-device-preview/entities/tiles-device-preview.entity.js.map +1 -0
  3275. package/dist/plugins/tiles-device-preview/models/config.model.d.ts +5 -0
  3276. package/dist/plugins/tiles-device-preview/models/config.model.js +49 -0
  3277. package/dist/plugins/tiles-device-preview/models/config.model.js.map +1 -0
  3278. package/dist/plugins/tiles-device-preview/services/tile-relations-loader.service.d.ts +10 -0
  3279. package/dist/plugins/tiles-device-preview/services/tile-relations-loader.service.js +35 -0
  3280. package/dist/plugins/tiles-device-preview/services/tile-relations-loader.service.js.map +1 -0
  3281. package/dist/plugins/tiles-device-preview/tiles-device-preview.constants.d.ts +2 -0
  3282. package/dist/plugins/tiles-device-preview/tiles-device-preview.constants.js +6 -0
  3283. package/dist/plugins/tiles-device-preview/tiles-device-preview.constants.js.map +1 -0
  3284. package/dist/plugins/tiles-device-preview/tiles-device-preview.openapi.d.ts +5 -0
  3285. package/dist/plugins/tiles-device-preview/tiles-device-preview.openapi.js +18 -0
  3286. package/dist/plugins/tiles-device-preview/tiles-device-preview.openapi.js.map +1 -0
  3287. package/dist/plugins/tiles-device-preview/tiles-device-preview.plugin.d.ts +18 -0
  3288. package/dist/plugins/tiles-device-preview/tiles-device-preview.plugin.js +143 -0
  3289. package/dist/plugins/tiles-device-preview/tiles-device-preview.plugin.js.map +1 -0
  3290. package/dist/plugins/tiles-scene/dto/create-tile.dto.d.ts +10 -0
  3291. package/dist/plugins/tiles-scene/dto/create-tile.dto.js +76 -0
  3292. package/dist/plugins/tiles-scene/dto/create-tile.dto.js.map +1 -0
  3293. package/dist/plugins/tiles-scene/dto/update-config.dto.d.ts +5 -0
  3294. package/dist/plugins/tiles-scene/dto/update-config.dto.js +34 -0
  3295. package/dist/plugins/tiles-scene/dto/update-config.dto.js.map +1 -0
  3296. package/dist/plugins/tiles-scene/dto/update-tile.dto.d.ts +10 -0
  3297. package/dist/plugins/tiles-scene/dto/update-tile.dto.js +78 -0
  3298. package/dist/plugins/tiles-scene/dto/update-tile.dto.js.map +1 -0
  3299. package/dist/plugins/tiles-scene/entities/tiles-scene.entity.d.ts +8 -0
  3300. package/dist/plugins/tiles-scene/entities/tiles-scene.entity.js +80 -0
  3301. package/dist/plugins/tiles-scene/entities/tiles-scene.entity.js.map +1 -0
  3302. package/dist/plugins/tiles-scene/index.d.ts +2 -0
  3303. package/dist/plugins/tiles-scene/index.js +19 -0
  3304. package/dist/plugins/tiles-scene/index.js.map +1 -0
  3305. package/dist/plugins/tiles-scene/models/config.model.d.ts +5 -0
  3306. package/dist/plugins/tiles-scene/models/config.model.js +49 -0
  3307. package/dist/plugins/tiles-scene/models/config.model.js.map +1 -0
  3308. package/dist/plugins/tiles-scene/services/tile-relations-loader.service.d.ts +10 -0
  3309. package/dist/plugins/tiles-scene/services/tile-relations-loader.service.js +35 -0
  3310. package/dist/plugins/tiles-scene/services/tile-relations-loader.service.js.map +1 -0
  3311. package/dist/plugins/tiles-scene/tiles-scene.constants.d.ts +2 -0
  3312. package/dist/plugins/tiles-scene/tiles-scene.constants.js +6 -0
  3313. package/dist/plugins/tiles-scene/tiles-scene.constants.js.map +1 -0
  3314. package/dist/plugins/tiles-scene/tiles-scene.openapi.d.ts +5 -0
  3315. package/dist/plugins/tiles-scene/tiles-scene.openapi.js +18 -0
  3316. package/dist/plugins/tiles-scene/tiles-scene.openapi.js.map +1 -0
  3317. package/dist/plugins/tiles-scene/tiles-scene.plugin.d.ts +18 -0
  3318. package/dist/plugins/tiles-scene/tiles-scene.plugin.js +143 -0
  3319. package/dist/plugins/tiles-scene/tiles-scene.plugin.js.map +1 -0
  3320. package/dist/plugins/tiles-time/dto/create-tile.dto.d.ts +8 -0
  3321. package/dist/plugins/tiles-time/dto/create-tile.dto.js +49 -0
  3322. package/dist/plugins/tiles-time/dto/create-tile.dto.js.map +1 -0
  3323. package/dist/plugins/tiles-time/dto/update-config.dto.d.ts +5 -0
  3324. package/dist/plugins/tiles-time/dto/update-config.dto.js +34 -0
  3325. package/dist/plugins/tiles-time/dto/update-config.dto.js.map +1 -0
  3326. package/dist/plugins/tiles-time/dto/update-tile.dto.d.ts +8 -0
  3327. package/dist/plugins/tiles-time/dto/update-tile.dto.js +49 -0
  3328. package/dist/plugins/tiles-time/dto/update-tile.dto.js.map +1 -0
  3329. package/dist/plugins/tiles-time/entities/tiles-time.entity.d.ts +4 -0
  3330. package/dist/plugins/tiles-time/entities/tiles-time.entity.js +39 -0
  3331. package/dist/plugins/tiles-time/entities/tiles-time.entity.js.map +1 -0
  3332. package/dist/plugins/tiles-time/models/config.model.d.ts +5 -0
  3333. package/dist/plugins/tiles-time/models/config.model.js +49 -0
  3334. package/dist/plugins/tiles-time/models/config.model.js.map +1 -0
  3335. package/dist/plugins/tiles-time/tiles-time.constants.d.ts +3 -0
  3336. package/dist/plugins/tiles-time/tiles-time.constants.js +7 -0
  3337. package/dist/plugins/tiles-time/tiles-time.constants.js.map +1 -0
  3338. package/dist/plugins/tiles-time/tiles-time.openapi.d.ts +5 -0
  3339. package/dist/plugins/tiles-time/tiles-time.openapi.js +18 -0
  3340. package/dist/plugins/tiles-time/tiles-time.openapi.js.map +1 -0
  3341. package/dist/plugins/tiles-time/tiles-time.plugin.d.ts +14 -0
  3342. package/dist/plugins/tiles-time/tiles-time.plugin.js +124 -0
  3343. package/dist/plugins/tiles-time/tiles-time.plugin.js.map +1 -0
  3344. package/dist/plugins/tiles-weather/dto/create-tile.dto.d.ts +16 -0
  3345. package/dist/plugins/tiles-weather/dto/create-tile.dto.js +108 -0
  3346. package/dist/plugins/tiles-weather/dto/create-tile.dto.js.map +1 -0
  3347. package/dist/plugins/tiles-weather/dto/update-config.dto.d.ts +5 -0
  3348. package/dist/plugins/tiles-weather/dto/update-config.dto.js +34 -0
  3349. package/dist/plugins/tiles-weather/dto/update-config.dto.js.map +1 -0
  3350. package/dist/plugins/tiles-weather/dto/update-tile.dto.d.ts +16 -0
  3351. package/dist/plugins/tiles-weather/dto/update-tile.dto.js +108 -0
  3352. package/dist/plugins/tiles-weather/dto/update-tile.dto.js.map +1 -0
  3353. package/dist/plugins/tiles-weather/entities/tiles-weather.entity.d.ts +9 -0
  3354. package/dist/plugins/tiles-weather/entities/tiles-weather.entity.js +95 -0
  3355. package/dist/plugins/tiles-weather/entities/tiles-weather.entity.js.map +1 -0
  3356. package/dist/plugins/tiles-weather/models/config.model.d.ts +5 -0
  3357. package/dist/plugins/tiles-weather/models/config.model.js +49 -0
  3358. package/dist/plugins/tiles-weather/models/config.model.js.map +1 -0
  3359. package/dist/plugins/tiles-weather/tiles-weather.constants.d.ts +3 -0
  3360. package/dist/plugins/tiles-weather/tiles-weather.constants.js +7 -0
  3361. package/dist/plugins/tiles-weather/tiles-weather.constants.js.map +1 -0
  3362. package/dist/plugins/tiles-weather/tiles-weather.openapi.d.ts +5 -0
  3363. package/dist/plugins/tiles-weather/tiles-weather.openapi.js +23 -0
  3364. package/dist/plugins/tiles-weather/tiles-weather.openapi.js.map +1 -0
  3365. package/dist/plugins/tiles-weather/tiles-weather.plugin.d.ts +14 -0
  3366. package/dist/plugins/tiles-weather/tiles-weather.plugin.js +157 -0
  3367. package/dist/plugins/tiles-weather/tiles-weather.plugin.js.map +1 -0
  3368. package/dist/plugins/weather-open-meteo/controllers/geolocation.controller.d.ts +7 -0
  3369. package/dist/plugins/weather-open-meteo/controllers/geolocation.controller.js +59 -0
  3370. package/dist/plugins/weather-open-meteo/controllers/geolocation.controller.js.map +1 -0
  3371. package/dist/plugins/weather-open-meteo/dto/create-location.dto.d.ts +8 -0
  3372. package/dist/plugins/weather-open-meteo/dto/create-location.dto.js +77 -0
  3373. package/dist/plugins/weather-open-meteo/dto/create-location.dto.js.map +1 -0
  3374. package/dist/plugins/weather-open-meteo/dto/open-meteo-response.dto.d.ts +55 -0
  3375. package/dist/plugins/weather-open-meteo/dto/open-meteo-response.dto.js +306 -0
  3376. package/dist/plugins/weather-open-meteo/dto/open-meteo-response.dto.js.map +1 -0
  3377. package/dist/plugins/weather-open-meteo/dto/update-config.dto.d.ts +8 -0
  3378. package/dist/plugins/weather-open-meteo/dto/update-config.dto.js +59 -0
  3379. package/dist/plugins/weather-open-meteo/dto/update-config.dto.js.map +1 -0
  3380. package/dist/plugins/weather-open-meteo/dto/update-location.dto.d.ts +6 -0
  3381. package/dist/plugins/weather-open-meteo/dto/update-location.dto.js +67 -0
  3382. package/dist/plugins/weather-open-meteo/dto/update-location.dto.js.map +1 -0
  3383. package/dist/plugins/weather-open-meteo/entities/locations-open-meteo.entity.d.ts +7 -0
  3384. package/dist/plugins/weather-open-meteo/entities/locations-open-meteo.entity.js +80 -0
  3385. package/dist/plugins/weather-open-meteo/entities/locations-open-meteo.entity.js.map +1 -0
  3386. package/dist/plugins/weather-open-meteo/models/config.model.d.ts +7 -0
  3387. package/dist/plugins/weather-open-meteo/models/config.model.js +59 -0
  3388. package/dist/plugins/weather-open-meteo/models/config.model.js.map +1 -0
  3389. package/dist/plugins/weather-open-meteo/models/geolocation.model.d.ts +12 -0
  3390. package/dist/plugins/weather-open-meteo/models/geolocation.model.js +91 -0
  3391. package/dist/plugins/weather-open-meteo/models/geolocation.model.js.map +1 -0
  3392. package/dist/plugins/weather-open-meteo/platforms/open-meteo.provider.d.ts +24 -0
  3393. package/dist/plugins/weather-open-meteo/platforms/open-meteo.provider.js +126 -0
  3394. package/dist/plugins/weather-open-meteo/platforms/open-meteo.provider.js.map +1 -0
  3395. package/dist/plugins/weather-open-meteo/services/open-meteo-geolocation.service.d.ts +7 -0
  3396. package/dist/plugins/weather-open-meteo/services/open-meteo-geolocation.service.js +49 -0
  3397. package/dist/plugins/weather-open-meteo/services/open-meteo-geolocation.service.js.map +1 -0
  3398. package/dist/plugins/weather-open-meteo/services/open-meteo-http.service.d.ts +23 -0
  3399. package/dist/plugins/weather-open-meteo/services/open-meteo-http.service.js +409 -0
  3400. package/dist/plugins/weather-open-meteo/services/open-meteo-http.service.js.map +1 -0
  3401. package/dist/plugins/weather-open-meteo/weather-open-meteo.constants.d.ts +5 -0
  3402. package/dist/plugins/weather-open-meteo/weather-open-meteo.constants.js +9 -0
  3403. package/dist/plugins/weather-open-meteo/weather-open-meteo.constants.js.map +1 -0
  3404. package/dist/plugins/weather-open-meteo/weather-open-meteo.openapi.d.ts +7 -0
  3405. package/dist/plugins/weather-open-meteo/weather-open-meteo.openapi.js +19 -0
  3406. package/dist/plugins/weather-open-meteo/weather-open-meteo.openapi.js.map +1 -0
  3407. package/dist/plugins/weather-open-meteo/weather-open-meteo.plugin.d.ts +19 -0
  3408. package/dist/plugins/weather-open-meteo/weather-open-meteo.plugin.js +155 -0
  3409. package/dist/plugins/weather-open-meteo/weather-open-meteo.plugin.js.map +1 -0
  3410. package/dist/plugins/weather-openweathermap/dto/create-location.dto.d.ts +12 -0
  3411. package/dist/plugins/weather-openweathermap/dto/create-location.dto.js +146 -0
  3412. package/dist/plugins/weather-openweathermap/dto/create-location.dto.js.map +1 -0
  3413. package/dist/plugins/weather-openweathermap/dto/forecast-response.dto.d.ts +68 -0
  3414. package/dist/plugins/weather-openweathermap/dto/forecast-response.dto.js +294 -0
  3415. package/dist/plugins/weather-openweathermap/dto/forecast-response.dto.js.map +1 -0
  3416. package/dist/plugins/weather-openweathermap/dto/update-config.dto.d.ts +9 -0
  3417. package/dist/plugins/weather-openweathermap/dto/update-config.dto.js +75 -0
  3418. package/dist/plugins/weather-openweathermap/dto/update-config.dto.js.map +1 -0
  3419. package/dist/plugins/weather-openweathermap/dto/update-location.dto.d.ts +11 -0
  3420. package/dist/plugins/weather-openweathermap/dto/update-location.dto.js +135 -0
  3421. package/dist/plugins/weather-openweathermap/dto/update-location.dto.js.map +1 -0
  3422. package/dist/plugins/weather-openweathermap/dto/weather-response.dto.d.ts +59 -0
  3423. package/dist/plugins/weather-openweathermap/dto/weather-response.dto.js +248 -0
  3424. package/dist/plugins/weather-openweathermap/dto/weather-response.dto.js.map +1 -0
  3425. package/dist/plugins/weather-openweathermap/entities/locations-openweathermap.entity.d.ts +12 -0
  3426. package/dist/plugins/weather-openweathermap/entities/locations-openweathermap.entity.js +143 -0
  3427. package/dist/plugins/weather-openweathermap/entities/locations-openweathermap.entity.js.map +1 -0
  3428. package/dist/plugins/weather-openweathermap/models/config.model.d.ts +8 -0
  3429. package/dist/plugins/weather-openweathermap/models/config.model.js +76 -0
  3430. package/dist/plugins/weather-openweathermap/models/config.model.js.map +1 -0
  3431. package/dist/plugins/weather-openweathermap/platforms/openweathermap.provider.d.ts +16 -0
  3432. package/dist/plugins/weather-openweathermap/platforms/openweathermap.provider.js +70 -0
  3433. package/dist/plugins/weather-openweathermap/platforms/openweathermap.provider.js.map +1 -0
  3434. package/dist/plugins/weather-openweathermap/services/openweathermap-config-validator.service.d.ts +10 -0
  3435. package/dist/plugins/weather-openweathermap/services/openweathermap-config-validator.service.js +37 -0
  3436. package/dist/plugins/weather-openweathermap/services/openweathermap-config-validator.service.js.map +1 -0
  3437. package/dist/plugins/weather-openweathermap/services/openweathermap-http.service.d.ts +21 -0
  3438. package/dist/plugins/weather-openweathermap/services/openweathermap-http.service.js +271 -0
  3439. package/dist/plugins/weather-openweathermap/services/openweathermap-http.service.js.map +1 -0
  3440. package/dist/plugins/weather-openweathermap/weather-openweathermap.constants.d.ts +11 -0
  3441. package/dist/plugins/weather-openweathermap/weather-openweathermap.constants.js +16 -0
  3442. package/dist/plugins/weather-openweathermap/weather-openweathermap.constants.js.map +1 -0
  3443. package/dist/plugins/weather-openweathermap/weather-openweathermap.openapi.d.ts +6 -0
  3444. package/dist/plugins/weather-openweathermap/weather-openweathermap.openapi.js +16 -0
  3445. package/dist/plugins/weather-openweathermap/weather-openweathermap.openapi.js.map +1 -0
  3446. package/dist/plugins/weather-openweathermap/weather-openweathermap.plugin.d.ts +19 -0
  3447. package/dist/plugins/weather-openweathermap/weather-openweathermap.plugin.js +157 -0
  3448. package/dist/plugins/weather-openweathermap/weather-openweathermap.plugin.js.map +1 -0
  3449. package/dist/plugins/weather-openweathermap-onecall/controllers/geolocation.controller.d.ts +10 -0
  3450. package/dist/plugins/weather-openweathermap-onecall/controllers/geolocation.controller.js +124 -0
  3451. package/dist/plugins/weather-openweathermap-onecall/controllers/geolocation.controller.js.map +1 -0
  3452. package/dist/plugins/weather-openweathermap-onecall/dto/create-location.dto.d.ts +8 -0
  3453. package/dist/plugins/weather-openweathermap-onecall/dto/create-location.dto.js +77 -0
  3454. package/dist/plugins/weather-openweathermap-onecall/dto/create-location.dto.js.map +1 -0
  3455. package/dist/plugins/weather-openweathermap-onecall/dto/onecall-response.dto.d.ts +93 -0
  3456. package/dist/plugins/weather-openweathermap-onecall/dto/onecall-response.dto.js +434 -0
  3457. package/dist/plugins/weather-openweathermap-onecall/dto/onecall-response.dto.js.map +1 -0
  3458. package/dist/plugins/weather-openweathermap-onecall/dto/update-config.dto.d.ts +9 -0
  3459. package/dist/plugins/weather-openweathermap-onecall/dto/update-config.dto.js +75 -0
  3460. package/dist/plugins/weather-openweathermap-onecall/dto/update-config.dto.js.map +1 -0
  3461. package/dist/plugins/weather-openweathermap-onecall/dto/update-location.dto.d.ts +6 -0
  3462. package/dist/plugins/weather-openweathermap-onecall/dto/update-location.dto.js +67 -0
  3463. package/dist/plugins/weather-openweathermap-onecall/dto/update-location.dto.js.map +1 -0
  3464. package/dist/plugins/weather-openweathermap-onecall/entities/locations-openweathermap-onecall.entity.d.ts +7 -0
  3465. package/dist/plugins/weather-openweathermap-onecall/entities/locations-openweathermap-onecall.entity.js +80 -0
  3466. package/dist/plugins/weather-openweathermap-onecall/entities/locations-openweathermap-onecall.entity.js.map +1 -0
  3467. package/dist/plugins/weather-openweathermap-onecall/models/config.model.d.ts +8 -0
  3468. package/dist/plugins/weather-openweathermap-onecall/models/config.model.js +76 -0
  3469. package/dist/plugins/weather-openweathermap-onecall/models/config.model.js.map +1 -0
  3470. package/dist/plugins/weather-openweathermap-onecall/models/geolocation.model.d.ts +25 -0
  3471. package/dist/plugins/weather-openweathermap-onecall/models/geolocation.model.js +171 -0
  3472. package/dist/plugins/weather-openweathermap-onecall/models/geolocation.model.js.map +1 -0
  3473. package/dist/plugins/weather-openweathermap-onecall/platforms/openweathermap-onecall.provider.d.ts +24 -0
  3474. package/dist/plugins/weather-openweathermap-onecall/platforms/openweathermap-onecall.provider.js +118 -0
  3475. package/dist/plugins/weather-openweathermap-onecall/platforms/openweathermap-onecall.provider.js.map +1 -0
  3476. package/dist/plugins/weather-openweathermap-onecall/services/openweathermap-onecall-config-validator.service.d.ts +10 -0
  3477. package/dist/plugins/weather-openweathermap-onecall/services/openweathermap-onecall-config-validator.service.js +37 -0
  3478. package/dist/plugins/weather-openweathermap-onecall/services/openweathermap-onecall-config-validator.service.js.map +1 -0
  3479. package/dist/plugins/weather-openweathermap-onecall/services/openweathermap-onecall-geolocation.service.d.ts +13 -0
  3480. package/dist/plugins/weather-openweathermap-onecall/services/openweathermap-onecall-geolocation.service.js +132 -0
  3481. package/dist/plugins/weather-openweathermap-onecall/services/openweathermap-onecall-geolocation.service.js.map +1 -0
  3482. package/dist/plugins/weather-openweathermap-onecall/services/openweathermap-onecall-http.service.d.ts +24 -0
  3483. package/dist/plugins/weather-openweathermap-onecall/services/openweathermap-onecall-http.service.js +207 -0
  3484. package/dist/plugins/weather-openweathermap-onecall/services/openweathermap-onecall-http.service.js.map +1 -0
  3485. package/dist/plugins/weather-openweathermap-onecall/weather-openweathermap-onecall.constants.d.ts +5 -0
  3486. package/dist/plugins/weather-openweathermap-onecall/weather-openweathermap-onecall.constants.js +9 -0
  3487. package/dist/plugins/weather-openweathermap-onecall/weather-openweathermap-onecall.constants.js.map +1 -0
  3488. package/dist/plugins/weather-openweathermap-onecall/weather-openweathermap-onecall.openapi.d.ts +7 -0
  3489. package/dist/plugins/weather-openweathermap-onecall/weather-openweathermap-onecall.openapi.js +22 -0
  3490. package/dist/plugins/weather-openweathermap-onecall/weather-openweathermap-onecall.openapi.js.map +1 -0
  3491. package/dist/plugins/weather-openweathermap-onecall/weather-openweathermap-onecall.plugin.d.ts +19 -0
  3492. package/dist/plugins/weather-openweathermap-onecall/weather-openweathermap-onecall.plugin.js +164 -0
  3493. package/dist/plugins/weather-openweathermap-onecall/weather-openweathermap-onecall.plugin.js.map +1 -0
  3494. package/dist/spec/channels.d.ts +2732 -0
  3495. package/dist/spec/channels.js +4101 -0
  3496. package/dist/spec/channels.js.map +1 -0
  3497. package/dist/spec/devices.d.ts +1293 -0
  3498. package/dist/spec/devices.js +1309 -0
  3499. package/dist/spec/devices.js.map +1 -0
  3500. package/dist/tsconfig.build.tsbuildinfo +1 -0
  3501. package/package.json +179 -0
  3502. package/static/index.html +50 -0
@@ -0,0 +1,2142 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ var __param = (this && this.__param) || function (paramIndex, decorator) {
12
+ return function (target, key) { decorator(target, key, paramIndex); }
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.SpacesController = void 0;
16
+ const uuid_1 = require("uuid");
17
+ const common_1 = require("@nestjs/common");
18
+ const event_emitter_1 = require("@nestjs/event-emitter");
19
+ const swagger_1 = require("@nestjs/swagger");
20
+ const logger_1 = require("../../../common/logger");
21
+ const devices_response_model_1 = require("../../devices/models/devices-response.model");
22
+ const displays_response_model_1 = require("../../displays/models/displays-response.model");
23
+ const api_documentation_decorator_1 = require("../../swagger/decorators/api-documentation.decorator");
24
+ const roles_guard_1 = require("../../users/guards/roles.guard");
25
+ const users_constants_1 = require("../../users/users.constants");
26
+ const bulk_assign_dto_1 = require("../dto/bulk-assign.dto");
27
+ const climate_intent_dto_1 = require("../dto/climate-intent.dto");
28
+ const climate_role_dto_1 = require("../dto/climate-role.dto");
29
+ const covers_intent_dto_1 = require("../dto/covers-intent.dto");
30
+ const covers_role_dto_1 = require("../dto/covers-role.dto");
31
+ const create_space_dto_1 = require("../dto/create-space.dto");
32
+ const lighting_intent_dto_1 = require("../dto/lighting-intent.dto");
33
+ const lighting_role_dto_1 = require("../dto/lighting-role.dto");
34
+ const media_activity_binding_dto_1 = require("../dto/media-activity-binding.dto");
35
+ const sensor_role_dto_1 = require("../dto/sensor-role.dto");
36
+ const suggestion_dto_1 = require("../dto/suggestion.dto");
37
+ const update_space_dto_1 = require("../dto/update-space.dto");
38
+ const derived_media_endpoint_model_1 = require("../models/derived-media-endpoint.model");
39
+ const media_activity_binding_model_1 = require("../models/media-activity-binding.model");
40
+ const media_activity_model_1 = require("../models/media-activity.model");
41
+ const spaces_response_model_1 = require("../models/spaces-response.model");
42
+ const derived_media_endpoint_service_1 = require("../services/derived-media-endpoint.service");
43
+ const space_climate_role_service_1 = require("../services/space-climate-role.service");
44
+ const space_context_snapshot_service_1 = require("../services/space-context-snapshot.service");
45
+ const space_covers_role_service_1 = require("../services/space-covers-role.service");
46
+ const space_intent_service_1 = require("../services/space-intent.service");
47
+ const space_lighting_role_service_1 = require("../services/space-lighting-role.service");
48
+ const space_lighting_state_service_1 = require("../services/space-lighting-state.service");
49
+ const space_media_activity_binding_service_1 = require("../services/space-media-activity-binding.service");
50
+ const space_media_activity_service_1 = require("../services/space-media-activity.service");
51
+ const space_sensor_role_service_1 = require("../services/space-sensor-role.service");
52
+ const space_sensor_state_service_1 = require("../services/space-sensor-state.service");
53
+ const space_suggestion_heartbeat_service_1 = require("../services/space-suggestion-heartbeat.service");
54
+ const space_suggestion_service_1 = require("../services/space-suggestion.service");
55
+ const space_undo_history_service_1 = require("../services/space-undo-history.service");
56
+ const spaces_service_1 = require("../services/spaces.service");
57
+ const spaces_constants_1 = require("../spaces.constants");
58
+ const spaces_exceptions_1 = require("../spaces.exceptions");
59
+ const spec_1 = require("../spec");
60
+ let SpacesController = class SpacesController {
61
+ constructor(spacesService, spaceIntentService, spaceLightingRoleService, spaceLightingStateService, spaceClimateRoleService, spaceCoversRoleService, spaceSensorRoleService, spaceSensorStateService, spaceSuggestionService, spaceSuggestionHeartbeatService, spaceContextSnapshotService, spaceUndoHistoryService, intentSpecLoaderService, derivedMediaEndpointService, spaceMediaActivityBindingService, spaceMediaActivityService, eventEmitter) {
62
+ this.spacesService = spacesService;
63
+ this.spaceIntentService = spaceIntentService;
64
+ this.spaceLightingRoleService = spaceLightingRoleService;
65
+ this.spaceLightingStateService = spaceLightingStateService;
66
+ this.spaceClimateRoleService = spaceClimateRoleService;
67
+ this.spaceCoversRoleService = spaceCoversRoleService;
68
+ this.spaceSensorRoleService = spaceSensorRoleService;
69
+ this.spaceSensorStateService = spaceSensorStateService;
70
+ this.spaceSuggestionService = spaceSuggestionService;
71
+ this.spaceSuggestionHeartbeatService = spaceSuggestionHeartbeatService;
72
+ this.spaceContextSnapshotService = spaceContextSnapshotService;
73
+ this.spaceUndoHistoryService = spaceUndoHistoryService;
74
+ this.intentSpecLoaderService = intentSpecLoaderService;
75
+ this.derivedMediaEndpointService = derivedMediaEndpointService;
76
+ this.spaceMediaActivityBindingService = spaceMediaActivityBindingService;
77
+ this.spaceMediaActivityService = spaceMediaActivityService;
78
+ this.eventEmitter = eventEmitter;
79
+ this.logger = (0, logger_1.createExtensionLogger)(spaces_constants_1.SPACES_MODULE_NAME, 'SpacesController');
80
+ }
81
+ async findAll() {
82
+ this.logger.debug('Fetching all spaces');
83
+ const spaces = await this.spacesService.findAll();
84
+ const response = new spaces_response_model_1.SpacesResponseModel();
85
+ response.data = spaces;
86
+ return response;
87
+ }
88
+ async proposeSpaces() {
89
+ this.logger.debug('Proposing spaces from device names');
90
+ const proposals = await this.spacesService.proposeSpaces();
91
+ const response = new spaces_response_model_1.ProposedSpacesResponseModel();
92
+ response.data = proposals.map((p) => {
93
+ const model = new spaces_response_model_1.ProposedSpaceDataModel();
94
+ model.name = p.name;
95
+ model.type = p.type;
96
+ model.category = p.category;
97
+ model.deviceIds = p.deviceIds;
98
+ model.deviceCount = p.deviceCount;
99
+ return model;
100
+ });
101
+ return response;
102
+ }
103
+ getCategoryTemplates() {
104
+ this.logger.debug('Fetching category templates');
105
+ const templates = Object.entries(spaces_constants_1.SPACE_CATEGORY_TEMPLATES).map(([category, template]) => {
106
+ const model = new spaces_response_model_1.CategoryTemplateDataModel();
107
+ model.category = category;
108
+ model.icon = template.icon;
109
+ model.description = template.description;
110
+ return model;
111
+ });
112
+ const response = new spaces_response_model_1.CategoryTemplatesResponseModel();
113
+ response.data = templates;
114
+ return response;
115
+ }
116
+ getIntentCatalog() {
117
+ this.logger.debug('Fetching intent catalog');
118
+ const intentCatalog = this.intentSpecLoaderService.getIntentCatalog();
119
+ const categories = intentCatalog.map((cat) => {
120
+ const categoryData = new spaces_response_model_1.IntentCategoryDataModel();
121
+ categoryData.category = cat.category;
122
+ categoryData.label = cat.label;
123
+ categoryData.description = cat.description;
124
+ categoryData.icon = cat.icon;
125
+ categoryData.intents = cat.intents.map((intent) => {
126
+ const intentData = new spaces_response_model_1.IntentTypeDataModel();
127
+ intentData.type = intent.type;
128
+ intentData.label = intent.label;
129
+ intentData.description = intent.description;
130
+ intentData.icon = intent.icon;
131
+ intentData.params = intent.params.map((param) => {
132
+ const paramData = new spaces_response_model_1.IntentParamDataModel();
133
+ paramData.name = param.name;
134
+ paramData.type = param.type;
135
+ paramData.required = param.required;
136
+ paramData.description = param.description;
137
+ paramData.minValue = param.minValue;
138
+ paramData.maxValue = param.maxValue;
139
+ if (param.enumValues) {
140
+ paramData.enumValues = param.enumValues.map((ev) => {
141
+ const enumData = new spaces_response_model_1.IntentEnumValueDataModel();
142
+ enumData.value = ev.value;
143
+ enumData.label = ev.label;
144
+ enumData.description = ev.description;
145
+ enumData.icon = ev.icon;
146
+ return enumData;
147
+ });
148
+ }
149
+ return paramData;
150
+ });
151
+ return intentData;
152
+ });
153
+ return categoryData;
154
+ });
155
+ const quickActions = spaces_constants_1.QUICK_ACTION_CATALOG.map((qa) => {
156
+ const actionData = new spaces_response_model_1.QuickActionDataModel();
157
+ actionData.type = qa.type;
158
+ actionData.label = qa.label;
159
+ actionData.description = qa.description;
160
+ actionData.icon = qa.icon;
161
+ actionData.category = qa.category;
162
+ return actionData;
163
+ });
164
+ const lightingRolesFromSpec = this.intentSpecLoaderService
165
+ .getIntentCatalog()
166
+ .find((c) => c.category === 'lighting');
167
+ const roleParam = lightingRolesFromSpec?.intents
168
+ .find((i) => i.type === 'role_on')
169
+ ?.params.find((p) => p.name === 'role');
170
+ const lightingRoles = (roleParam?.enumValues ?? []).map((role) => {
171
+ const roleData = new spaces_response_model_1.LightingRoleMetaDataModel();
172
+ roleData.value = role.value;
173
+ roleData.label = role.label;
174
+ roleData.description = role.description;
175
+ roleData.icon = role.icon;
176
+ return roleData;
177
+ });
178
+ const lightingModesMap = this.intentSpecLoaderService.getAllLightingModeOrchestrations();
179
+ const lightingModes = [];
180
+ for (const [modeKey, modeConfig] of lightingModesMap) {
181
+ const modeData = new spaces_response_model_1.LightingModeOrchestrationDataModel();
182
+ modeData.mode = modeKey;
183
+ modeData.label = modeConfig.label;
184
+ modeData.description = modeConfig.description;
185
+ modeData.icon = modeConfig.icon;
186
+ modeData.mvpBrightness = modeConfig.mvpBrightness;
187
+ modeData.fallbackRoles = modeConfig.fallbackRoles;
188
+ modeData.fallbackBrightness = modeConfig.fallbackBrightness;
189
+ const roles = {};
190
+ for (const [roleKey, roleRule] of Object.entries(modeConfig.roles)) {
191
+ const ruleData = new spaces_response_model_1.LightingRoleBrightnessRuleDataModel();
192
+ ruleData.on = roleRule.on;
193
+ ruleData.brightness = roleRule.brightness;
194
+ roles[roleKey] = ruleData;
195
+ }
196
+ modeData.roles = roles;
197
+ lightingModes.push(modeData);
198
+ }
199
+ const coversModesMap = this.intentSpecLoaderService.getAllCoversModeOrchestrations();
200
+ const coversModes = [];
201
+ for (const [modeKey, modeConfig] of coversModesMap) {
202
+ const modeData = new spaces_response_model_1.CoversModeOrchestrationDataModel();
203
+ modeData.mode = modeKey;
204
+ modeData.label = modeConfig.label;
205
+ modeData.description = modeConfig.description;
206
+ modeData.icon = modeConfig.icon;
207
+ modeData.mvpPosition = modeConfig.mvpPosition;
208
+ const roles = {};
209
+ for (const [roleKey, roleRule] of Object.entries(modeConfig.roles)) {
210
+ const ruleData = new spaces_response_model_1.CoversRolePositionRuleDataModel();
211
+ ruleData.position = roleRule.position;
212
+ ruleData.tilt = roleRule.tilt;
213
+ roles[roleKey] = ruleData;
214
+ }
215
+ modeData.roles = roles;
216
+ coversModes.push(modeData);
217
+ }
218
+ const catalogData = new spaces_response_model_1.IntentCatalogDataModel();
219
+ catalogData.categories = categories;
220
+ catalogData.quickActions = quickActions;
221
+ catalogData.lightingRoles = lightingRoles;
222
+ catalogData.lightingModes = lightingModes;
223
+ catalogData.coversModes = coversModes;
224
+ const response = new spaces_response_model_1.IntentCatalogResponseModel();
225
+ response.data = catalogData;
226
+ return response;
227
+ }
228
+ async findOne(id) {
229
+ this.logger.debug(`Fetching space with id=${id}`);
230
+ const space = await this.spacesService.getOneOrThrow(id);
231
+ const response = new spaces_response_model_1.SpaceResponseModel();
232
+ response.data = space;
233
+ return response;
234
+ }
235
+ async create(body) {
236
+ this.logger.debug('Creating new space');
237
+ const space = await this.spacesService.create(body.data);
238
+ const response = new spaces_response_model_1.SpaceResponseModel();
239
+ response.data = space;
240
+ return response;
241
+ }
242
+ async update(id, body) {
243
+ this.logger.debug(`Updating space with id=${id}`);
244
+ const space = await this.spacesService.update(id, body.data);
245
+ const response = new spaces_response_model_1.SpaceResponseModel();
246
+ response.data = space;
247
+ return response;
248
+ }
249
+ async remove(id) {
250
+ this.logger.debug(`Removing space with id=${id}`);
251
+ await this.spacesService.remove(id);
252
+ this.logger.debug(`Successfully removed space with id=${id}`);
253
+ }
254
+ async findDevices(id) {
255
+ this.logger.debug(`Fetching devices for space with id=${id}`);
256
+ const devices = await this.spacesService.findDevicesBySpace(id);
257
+ const response = new devices_response_model_1.DevicesResponseModel();
258
+ response.data = devices;
259
+ return response;
260
+ }
261
+ async findDisplays(id) {
262
+ this.logger.debug(`Fetching displays for space with id=${id}`);
263
+ const displays = await this.spacesService.findDisplaysBySpace(id);
264
+ const response = new displays_response_model_1.DisplaysResponseModel();
265
+ response.data = displays;
266
+ return response;
267
+ }
268
+ async findChildren(id) {
269
+ this.logger.debug(`Fetching child rooms for zone with id=${id}`);
270
+ const children = await this.spacesService.getChildRooms(id);
271
+ const response = new spaces_response_model_1.SpacesResponseModel();
272
+ response.data = children;
273
+ return response;
274
+ }
275
+ async findParent(id) {
276
+ this.logger.debug(`Fetching parent zone for room with id=${id}`);
277
+ const parent = await this.spacesService.getParentZone(id);
278
+ const response = new spaces_response_model_1.SpaceResponseModel();
279
+ response.data = parent;
280
+ return response;
281
+ }
282
+ async findAllZones() {
283
+ this.logger.debug('Fetching all zones');
284
+ const zones = await this.spacesService.findAllZones();
285
+ const response = new spaces_response_model_1.SpacesResponseModel();
286
+ response.data = zones;
287
+ return response;
288
+ }
289
+ async bulkAssign(id, body) {
290
+ this.logger.debug(`Bulk assigning to space with id=${id}`);
291
+ const result = await this.spacesService.bulkAssign(id, body.data);
292
+ const resultData = new spaces_response_model_1.BulkAssignmentResultDataModel();
293
+ resultData.success = true;
294
+ resultData.devicesAssigned = result.devicesAssigned;
295
+ resultData.displaysAssigned = result.displaysAssigned;
296
+ const response = new spaces_response_model_1.BulkAssignmentResponseModel();
297
+ response.data = resultData;
298
+ return response;
299
+ }
300
+ async executeLightingIntent(id, body) {
301
+ this.logger.debug(`Executing lighting intent for space with id=${id}`);
302
+ const result = await this.spaceIntentService.executeLightingIntent(id, body.data);
303
+ if (!result) {
304
+ throw new spaces_exceptions_1.SpacesNotFoundException('Space not found');
305
+ }
306
+ const resultData = new spaces_response_model_1.LightingIntentResultDataModel();
307
+ resultData.success = result.success;
308
+ resultData.affectedDevices = result.affectedDevices;
309
+ resultData.failedDevices = result.failedDevices;
310
+ resultData.skippedOfflineDevices = result.skippedOfflineDevices;
311
+ resultData.offlineDeviceIds = result.offlineDeviceIds;
312
+ resultData.failedTargets = result.failedTargets ?? null;
313
+ const response = new spaces_response_model_1.LightingIntentResponseModel();
314
+ response.data = resultData;
315
+ return response;
316
+ }
317
+ async getClimateState(id) {
318
+ this.logger.debug(`Fetching climate state for space with id=${id}`);
319
+ const state = await this.spaceIntentService.getClimateState(id);
320
+ if (!state) {
321
+ throw new spaces_exceptions_1.SpacesNotFoundException('Space not found');
322
+ }
323
+ const stateData = new spaces_response_model_1.ClimateStateDataModel();
324
+ stateData.hasClimate = state.hasClimate;
325
+ stateData.mode = state.mode;
326
+ stateData.currentTemperature = state.currentTemperature;
327
+ stateData.currentHumidity = state.currentHumidity;
328
+ stateData.heatingSetpoint = state.heatingSetpoint;
329
+ stateData.coolingSetpoint = state.coolingSetpoint;
330
+ stateData.minSetpoint = state.minSetpoint;
331
+ stateData.maxSetpoint = state.maxSetpoint;
332
+ stateData.supportsHeating = state.supportsHeating;
333
+ stateData.supportsCooling = state.supportsCooling;
334
+ stateData.isHeating = state.isHeating;
335
+ stateData.isCooling = state.isCooling;
336
+ stateData.isMixed = state.isMixed;
337
+ stateData.devicesCount = state.devicesCount;
338
+ const response = new spaces_response_model_1.ClimateStateResponseModel();
339
+ response.data = stateData;
340
+ return response;
341
+ }
342
+ async executeClimateIntent(id, body) {
343
+ this.logger.debug(`Executing climate intent for space with id=${id}, ` +
344
+ `type=${body.data.type}, mode=${body.data.mode}, ` +
345
+ `heatingSetpoint=${body.data.heatingSetpoint}, coolingSetpoint=${body.data.coolingSetpoint}`);
346
+ const result = await this.spaceIntentService.executeClimateIntent(id, body.data);
347
+ if (!result) {
348
+ throw new spaces_exceptions_1.SpacesNotFoundException('Space not found');
349
+ }
350
+ const resultData = new spaces_response_model_1.ClimateIntentResultDataModel();
351
+ resultData.success = result.success;
352
+ resultData.affectedDevices = result.affectedDevices;
353
+ resultData.failedDevices = result.failedDevices;
354
+ resultData.skippedOfflineDevices = result.skippedOfflineDevices;
355
+ resultData.offlineDeviceIds = result.offlineDeviceIds;
356
+ resultData.failedTargets = result.failedTargets ?? null;
357
+ resultData.mode = result.mode;
358
+ resultData.heatingSetpoint = result.heatingSetpoint;
359
+ resultData.coolingSetpoint = result.coolingSetpoint;
360
+ const response = new spaces_response_model_1.ClimateIntentResponseModel();
361
+ response.data = resultData;
362
+ return response;
363
+ }
364
+ async getLightingState(id) {
365
+ this.logger.debug(`Fetching lighting state for space with id=${id}`);
366
+ const state = await this.spaceLightingStateService.getLightingState(id);
367
+ if (!state) {
368
+ throw new spaces_exceptions_1.SpacesNotFoundException('Space not found');
369
+ }
370
+ const stateData = new spaces_response_model_1.LightingStateDataModel();
371
+ stateData.hasLights = state.hasLights;
372
+ stateData.detectedMode = state.detectedMode;
373
+ stateData.modeConfidence = state.modeConfidence;
374
+ stateData.modeMatchPercentage = state.modeMatchPercentage;
375
+ stateData.isModeFromIntent = state.isModeFromIntent;
376
+ stateData.lastAppliedMode = state.lastAppliedMode;
377
+ stateData.lastAppliedAt = state.lastAppliedAt;
378
+ stateData.totalLights = state.totalLights;
379
+ stateData.lightsOn = state.lightsOn;
380
+ stateData.averageBrightness = state.averageBrightness;
381
+ stateData.lightsByRole = state.lightsByRole;
382
+ const rolesMap = new spaces_response_model_1.RolesStateMapDataModel();
383
+ for (const [roleKey, roleState] of Object.entries(state.roles)) {
384
+ const roleData = new spaces_response_model_1.RoleAggregatedStateDataModel();
385
+ roleData.role = roleState.role;
386
+ roleData.isOn = roleState.isOn;
387
+ roleData.isOnMixed = roleState.isOnMixed;
388
+ roleData.brightness = roleState.brightness;
389
+ roleData.colorTemperature = roleState.colorTemperature;
390
+ roleData.color = roleState.color;
391
+ roleData.white = roleState.white;
392
+ roleData.isBrightnessMixed = roleState.isBrightnessMixed;
393
+ roleData.isColorTemperatureMixed = roleState.isColorTemperatureMixed;
394
+ roleData.isColorMixed = roleState.isColorMixed;
395
+ roleData.isWhiteMixed = roleState.isWhiteMixed;
396
+ roleData.lastIntent = roleState.lastIntent;
397
+ roleData.devicesCount = roleState.devicesCount;
398
+ roleData.devicesOn = roleState.devicesOn;
399
+ rolesMap[roleKey] = roleData;
400
+ }
401
+ stateData.roles = rolesMap;
402
+ const otherData = new spaces_response_model_1.OtherLightsStateDataModel();
403
+ otherData.isOn = state.other.isOn;
404
+ otherData.isOnMixed = state.other.isOnMixed;
405
+ otherData.brightness = state.other.brightness;
406
+ otherData.colorTemperature = state.other.colorTemperature;
407
+ otherData.color = state.other.color;
408
+ otherData.white = state.other.white;
409
+ otherData.isBrightnessMixed = state.other.isBrightnessMixed;
410
+ otherData.isColorTemperatureMixed = state.other.isColorTemperatureMixed;
411
+ otherData.isColorMixed = state.other.isColorMixed;
412
+ otherData.isWhiteMixed = state.other.isWhiteMixed;
413
+ otherData.devicesCount = state.other.devicesCount;
414
+ otherData.devicesOn = state.other.devicesOn;
415
+ stateData.other = otherData;
416
+ const response = new spaces_response_model_1.LightingStateResponseModel();
417
+ response.data = stateData;
418
+ return response;
419
+ }
420
+ async getLightTargets(id) {
421
+ this.logger.debug(`Fetching light targets for space with id=${id}`);
422
+ const targets = await this.spaceLightingRoleService.getLightTargetsInSpace(id);
423
+ const response = new spaces_response_model_1.LightTargetsResponseModel();
424
+ response.data = targets.map((t) => {
425
+ const model = new spaces_response_model_1.LightTargetDataModel();
426
+ model.deviceId = t.deviceId;
427
+ model.deviceName = t.deviceName;
428
+ model.channelId = t.channelId;
429
+ model.channelName = t.channelName;
430
+ model.role = t.role;
431
+ model.priority = t.priority;
432
+ model.hasBrightness = t.hasBrightness;
433
+ model.hasColorTemp = t.hasColorTemp;
434
+ model.hasColor = t.hasColor;
435
+ return model;
436
+ });
437
+ return response;
438
+ }
439
+ async setLightingRole(id, body) {
440
+ this.logger.debug(`Setting lighting role for space with id=${id}`);
441
+ const role = await this.spaceLightingRoleService.setRole(id, body.data);
442
+ const response = new spaces_response_model_1.LightingRoleResponseModel();
443
+ response.data = role;
444
+ return response;
445
+ }
446
+ async bulkSetLightingRoles(id, body) {
447
+ this.logger.debug(`Bulk setting lighting roles for space with id=${id}`);
448
+ const result = await this.spaceLightingRoleService.bulkSetRoles(id, body.data.roles);
449
+ const resultData = new spaces_response_model_1.BulkLightingRolesResultDataModel();
450
+ resultData.success = result.success;
451
+ resultData.totalCount = result.totalCount;
452
+ resultData.successCount = result.successCount;
453
+ resultData.failureCount = result.failureCount;
454
+ resultData.results = result.results.map((item) => {
455
+ const resultItem = new spaces_response_model_1.BulkLightingRoleResultItemModel();
456
+ resultItem.deviceId = item.deviceId;
457
+ resultItem.channelId = item.channelId;
458
+ resultItem.success = item.success;
459
+ resultItem.role = item.role;
460
+ resultItem.error = item.error;
461
+ return resultItem;
462
+ });
463
+ const response = new spaces_response_model_1.BulkLightingRolesResponseModel();
464
+ response.data = resultData;
465
+ return response;
466
+ }
467
+ async applyDefaultLightingRoles(id) {
468
+ this.logger.debug(`Applying default lighting roles for space with id=${id}`);
469
+ const defaultRoles = await this.spaceLightingRoleService.inferDefaultLightingRoles(id);
470
+ const result = await this.spaceLightingRoleService.bulkSetRoles(id, defaultRoles);
471
+ const resultData = new spaces_response_model_1.BulkLightingRolesResultDataModel();
472
+ resultData.success = result.success;
473
+ resultData.totalCount = result.totalCount;
474
+ resultData.successCount = result.successCount;
475
+ resultData.failureCount = result.failureCount;
476
+ resultData.results = result.results.map((item) => {
477
+ const resultItem = new spaces_response_model_1.BulkLightingRoleResultItemModel();
478
+ resultItem.deviceId = item.deviceId;
479
+ resultItem.channelId = item.channelId;
480
+ resultItem.success = item.success;
481
+ resultItem.role = item.role;
482
+ resultItem.error = item.error;
483
+ return resultItem;
484
+ });
485
+ const response = new spaces_response_model_1.BulkLightingRolesResponseModel();
486
+ response.data = resultData;
487
+ return response;
488
+ }
489
+ async deleteLightingRole(id, deviceId, channelId) {
490
+ this.logger.debug(`Deleting lighting role for space=${id} device=${deviceId} channel=${channelId}`);
491
+ await this.spaceLightingRoleService.deleteRole(id, deviceId, channelId);
492
+ this.logger.debug(`Successfully deleted lighting role for device=${deviceId} channel=${channelId}`);
493
+ }
494
+ async getClimateTargets(id) {
495
+ this.logger.debug(`Fetching climate targets for space with id=${id}`);
496
+ const targets = await this.spaceClimateRoleService.getClimateTargetsInSpace(id);
497
+ const response = new spaces_response_model_1.ClimateTargetsResponseModel();
498
+ response.data = targets.map((t) => {
499
+ const model = new spaces_response_model_1.ClimateTargetDataModel();
500
+ model.deviceId = t.deviceId;
501
+ model.deviceName = t.deviceName;
502
+ model.deviceCategory = t.deviceCategory;
503
+ model.channelId = t.channelId;
504
+ model.channelName = t.channelName;
505
+ model.channelCategory = t.channelCategory;
506
+ model.role = t.role;
507
+ model.priority = t.priority;
508
+ model.hasTemperature = t.hasTemperature;
509
+ model.hasHumidity = t.hasHumidity;
510
+ model.hasAirQuality = t.hasAirQuality;
511
+ model.hasAirParticulate = t.hasAirParticulate;
512
+ model.hasCarbonDioxide = t.hasCarbonDioxide;
513
+ model.hasVolatileOrganicCompounds = t.hasVolatileOrganicCompounds;
514
+ model.hasPressure = t.hasPressure;
515
+ model.hasMode = t.hasMode;
516
+ return model;
517
+ });
518
+ return response;
519
+ }
520
+ async setClimateRole(id, body) {
521
+ this.logger.debug(`Setting climate role for space with id=${id}`);
522
+ const role = await this.spaceClimateRoleService.setRole(id, body.data);
523
+ const response = new spaces_response_model_1.ClimateRoleResponseModel();
524
+ response.data = role;
525
+ return response;
526
+ }
527
+ async bulkSetClimateRoles(id, body) {
528
+ this.logger.debug(`Bulk setting climate roles for space with id=${id}`);
529
+ const result = await this.spaceClimateRoleService.bulkSetRoles(id, body.data.roles);
530
+ const resultData = new spaces_response_model_1.BulkClimateRolesResultDataModel();
531
+ resultData.success = result.success;
532
+ resultData.totalCount = result.totalCount;
533
+ resultData.successCount = result.successCount;
534
+ resultData.failureCount = result.failureCount;
535
+ resultData.results = result.results.map((item) => {
536
+ const resultItem = new spaces_response_model_1.BulkClimateRoleResultItemModel();
537
+ resultItem.deviceId = item.deviceId;
538
+ resultItem.channelId = item.channelId;
539
+ resultItem.success = item.success;
540
+ resultItem.role = item.role;
541
+ resultItem.error = item.error;
542
+ return resultItem;
543
+ });
544
+ const response = new spaces_response_model_1.BulkClimateRolesResponseModel();
545
+ response.data = resultData;
546
+ return response;
547
+ }
548
+ async applyDefaultClimateRoles(id) {
549
+ this.logger.debug(`Applying default climate roles for space with id=${id}`);
550
+ const defaultRoles = await this.spaceClimateRoleService.inferDefaultClimateRoles(id);
551
+ const result = await this.spaceClimateRoleService.bulkSetRoles(id, defaultRoles);
552
+ const resultData = new spaces_response_model_1.BulkClimateRolesResultDataModel();
553
+ resultData.success = result.success;
554
+ resultData.totalCount = result.totalCount;
555
+ resultData.successCount = result.successCount;
556
+ resultData.failureCount = result.failureCount;
557
+ resultData.results = result.results.map((item) => {
558
+ const resultItem = new spaces_response_model_1.BulkClimateRoleResultItemModel();
559
+ resultItem.deviceId = item.deviceId;
560
+ resultItem.channelId = item.channelId;
561
+ resultItem.success = item.success;
562
+ resultItem.role = item.role;
563
+ resultItem.error = item.error;
564
+ return resultItem;
565
+ });
566
+ const response = new spaces_response_model_1.BulkClimateRolesResponseModel();
567
+ response.data = resultData;
568
+ return response;
569
+ }
570
+ async deleteClimateRole(id, deviceId, channelId) {
571
+ this.logger.debug(`Deleting climate role for space=${id} device=${deviceId} channel=${channelId ?? 'null'}`);
572
+ await this.spaceClimateRoleService.deleteRole(id, deviceId, channelId);
573
+ this.logger.debug(`Successfully deleted climate role for device=${deviceId} channel=${channelId ?? 'null'}`);
574
+ }
575
+ async getCoversState(id) {
576
+ this.logger.debug(`Fetching covers state for space with id=${id}`);
577
+ const state = await this.spaceIntentService.getCoversState(id);
578
+ if (!state) {
579
+ throw new spaces_exceptions_1.SpacesNotFoundException('Space not found');
580
+ }
581
+ const response = new spaces_response_model_1.CoversStateResponseModel();
582
+ response.data = spaces_response_model_1.CoversStateDataModel.fromState(state);
583
+ return response;
584
+ }
585
+ async executeCoversIntent(id, body) {
586
+ this.logger.debug(`Executing covers intent for space with id=${id}`);
587
+ const result = await this.spaceIntentService.executeCoversIntent(id, body.data);
588
+ if (!result) {
589
+ throw new spaces_exceptions_1.SpacesNotFoundException('Space not found');
590
+ }
591
+ const resultData = new spaces_response_model_1.CoversIntentResultDataModel();
592
+ resultData.success = result.success;
593
+ resultData.affectedDevices = result.affectedDevices;
594
+ resultData.failedDevices = result.failedDevices;
595
+ resultData.skippedOfflineDevices = result.skippedOfflineDevices;
596
+ resultData.offlineDeviceIds = result.offlineDeviceIds;
597
+ resultData.failedTargets = result.failedTargets ?? null;
598
+ resultData.newPosition = result.newPosition;
599
+ const response = new spaces_response_model_1.CoversIntentResponseModel();
600
+ response.data = resultData;
601
+ return response;
602
+ }
603
+ async getCoversTargets(id) {
604
+ this.logger.debug(`Fetching covers targets for space with id=${id}`);
605
+ const targets = await this.spaceCoversRoleService.getCoversTargetsInSpace(id);
606
+ const response = new spaces_response_model_1.CoversTargetsResponseModel();
607
+ response.data = targets.map((t) => {
608
+ const model = new spaces_response_model_1.CoversTargetDataModel();
609
+ model.deviceId = t.deviceId;
610
+ model.deviceName = t.deviceName;
611
+ model.channelId = t.channelId;
612
+ model.channelName = t.channelName;
613
+ model.role = t.role;
614
+ model.priority = t.priority;
615
+ model.hasPosition = t.hasPosition;
616
+ model.hasCommand = t.hasCommand;
617
+ model.hasTilt = t.hasTilt;
618
+ model.coverType = t.coverType;
619
+ return model;
620
+ });
621
+ return response;
622
+ }
623
+ async setCoversRole(id, body) {
624
+ this.logger.debug(`Setting covers role for space with id=${id}`);
625
+ const role = await this.spaceCoversRoleService.setRole(id, body.data);
626
+ const response = new spaces_response_model_1.CoversRoleResponseModel();
627
+ response.data = role;
628
+ return response;
629
+ }
630
+ async bulkSetCoversRoles(id, body) {
631
+ this.logger.debug(`Bulk setting covers roles for space with id=${id}`);
632
+ const result = await this.spaceCoversRoleService.bulkSetRoles(id, body.data.roles);
633
+ const resultData = new spaces_response_model_1.BulkCoversRolesResultDataModel();
634
+ resultData.success = result.success;
635
+ resultData.totalCount = result.totalCount;
636
+ resultData.successCount = result.successCount;
637
+ resultData.failureCount = result.failureCount;
638
+ resultData.results = result.results.map((item) => {
639
+ const resultItem = new spaces_response_model_1.BulkCoversRoleResultItemModel();
640
+ resultItem.deviceId = item.deviceId;
641
+ resultItem.channelId = item.channelId;
642
+ resultItem.success = item.success;
643
+ resultItem.role = item.role;
644
+ resultItem.error = item.error;
645
+ return resultItem;
646
+ });
647
+ const response = new spaces_response_model_1.BulkCoversRolesResponseModel();
648
+ response.data = resultData;
649
+ return response;
650
+ }
651
+ async applyDefaultCoversRoles(id) {
652
+ this.logger.debug(`Applying default covers roles for space with id=${id}`);
653
+ const defaultRoles = await this.spaceCoversRoleService.inferDefaultCoversRoles(id);
654
+ const result = await this.spaceCoversRoleService.bulkSetRoles(id, defaultRoles);
655
+ const resultData = new spaces_response_model_1.BulkCoversRolesResultDataModel();
656
+ resultData.success = result.success;
657
+ resultData.totalCount = result.totalCount;
658
+ resultData.successCount = result.successCount;
659
+ resultData.failureCount = result.failureCount;
660
+ resultData.results = result.results.map((item) => {
661
+ const resultItem = new spaces_response_model_1.BulkCoversRoleResultItemModel();
662
+ resultItem.deviceId = item.deviceId;
663
+ resultItem.channelId = item.channelId;
664
+ resultItem.success = item.success;
665
+ resultItem.role = item.role;
666
+ resultItem.error = item.error;
667
+ return resultItem;
668
+ });
669
+ const response = new spaces_response_model_1.BulkCoversRolesResponseModel();
670
+ response.data = resultData;
671
+ return response;
672
+ }
673
+ async deleteCoversRole(id, deviceId, channelId) {
674
+ this.logger.debug(`Deleting covers role for space=${id} device=${deviceId} channel=${channelId}`);
675
+ await this.spaceCoversRoleService.deleteRole(id, deviceId, channelId);
676
+ this.logger.debug(`Successfully deleted covers role for device=${deviceId} channel=${channelId}`);
677
+ }
678
+ async getSensorState(id) {
679
+ this.logger.debug(`Fetching sensor state for space with id=${id}`);
680
+ const state = await this.spaceSensorStateService.getSensorState(id);
681
+ if (!state) {
682
+ throw new spaces_exceptions_1.SpacesNotFoundException('Space not found');
683
+ }
684
+ const stateData = new spaces_response_model_1.SensorStateDataModel();
685
+ stateData.hasSensors = state.hasSensors;
686
+ stateData.totalSensors = state.totalSensors;
687
+ stateData.sensorsByRole = state.sensorsByRole;
688
+ if (state.environment) {
689
+ const envData = new spaces_response_model_1.EnvironmentSummaryDataModel();
690
+ envData.averageTemperature = state.environment.averageTemperature;
691
+ envData.averageHumidity = state.environment.averageHumidity;
692
+ envData.averagePressure = state.environment.averagePressure;
693
+ envData.averageIlluminance = state.environment.averageIlluminance;
694
+ stateData.environment = envData;
695
+ }
696
+ else {
697
+ stateData.environment = null;
698
+ }
699
+ stateData.safetyAlerts = state.safetyAlerts.map((alert) => {
700
+ const alertData = new spaces_response_model_1.SafetyAlertDataModel();
701
+ alertData.channelCategory = alert.channelCategory;
702
+ alertData.deviceId = alert.deviceId;
703
+ alertData.deviceName = alert.deviceName;
704
+ alertData.channelId = alert.channelId;
705
+ alertData.triggered = alert.triggered;
706
+ return alertData;
707
+ });
708
+ stateData.hasSafetyAlert = state.hasSafetyAlert;
709
+ stateData.motionDetected = state.motionDetected;
710
+ stateData.occupancyDetected = state.occupancyDetected;
711
+ stateData.readings = state.readings.map((roleReadings) => {
712
+ const roleData = new spaces_response_model_1.SensorRoleReadingsDataModel();
713
+ roleData.role = roleReadings.role;
714
+ roleData.sensorsCount = roleReadings.sensorsCount;
715
+ roleData.readings = roleReadings.readings.map((reading) => {
716
+ const readingData = new spaces_response_model_1.SensorReadingDataModel();
717
+ readingData.deviceId = reading.deviceId;
718
+ readingData.deviceName = reading.deviceName;
719
+ readingData.channelId = reading.channelId;
720
+ readingData.channelName = reading.channelName;
721
+ readingData.channelCategory = reading.channelCategory;
722
+ readingData.propertyId = reading.propertyId;
723
+ readingData.value = reading.value;
724
+ readingData.unit = reading.unit;
725
+ readingData.role = reading.role;
726
+ readingData.updatedAt = reading.updatedAt;
727
+ readingData.trend = reading.trend;
728
+ readingData.additionalReadings = reading.additionalReadings.map((ar) => {
729
+ const arData = new spaces_response_model_1.SensorAdditionalReadingDataModel();
730
+ arData.propertyId = ar.propertyId;
731
+ arData.propertyCategory = ar.propertyCategory;
732
+ arData.value = ar.value;
733
+ arData.unit = ar.unit;
734
+ arData.updatedAt = ar.updatedAt;
735
+ arData.trend = ar.trend;
736
+ return arData;
737
+ });
738
+ return readingData;
739
+ });
740
+ return roleData;
741
+ });
742
+ const response = new spaces_response_model_1.SensorStateResponseModel();
743
+ response.data = stateData;
744
+ return response;
745
+ }
746
+ async getSensorTargets(id) {
747
+ this.logger.debug(`Fetching sensor targets for space with id=${id}`);
748
+ const targets = await this.spaceSensorRoleService.getSensorTargetsInSpace(id);
749
+ const response = new spaces_response_model_1.SensorTargetsResponseModel();
750
+ response.data = targets.map((t) => {
751
+ const model = new spaces_response_model_1.SensorTargetDataModel();
752
+ model.deviceId = t.deviceId;
753
+ model.deviceName = t.deviceName;
754
+ model.deviceCategory = t.deviceCategory;
755
+ model.channelId = t.channelId;
756
+ model.channelName = t.channelName;
757
+ model.channelCategory = t.channelCategory;
758
+ model.role = t.role;
759
+ model.priority = t.priority;
760
+ return model;
761
+ });
762
+ return response;
763
+ }
764
+ async setSensorRole(id, body) {
765
+ this.logger.debug(`Setting sensor role for space with id=${id}`);
766
+ const role = await this.spaceSensorRoleService.setRole(id, body.data);
767
+ const response = new spaces_response_model_1.SensorRoleResponseModel();
768
+ response.data = role;
769
+ return response;
770
+ }
771
+ async bulkSetSensorRoles(id, body) {
772
+ this.logger.debug(`Bulk setting sensor roles for space with id=${id}`);
773
+ const result = await this.spaceSensorRoleService.bulkSetRoles(id, body.data.roles);
774
+ const resultData = new spaces_response_model_1.BulkSensorRolesResultDataModel();
775
+ resultData.success = result.success;
776
+ resultData.totalCount = result.totalCount;
777
+ resultData.successCount = result.successCount;
778
+ resultData.failureCount = result.failureCount;
779
+ resultData.results = result.results.map((item) => {
780
+ const resultItem = new spaces_response_model_1.BulkSensorRoleResultItemModel();
781
+ resultItem.deviceId = item.deviceId;
782
+ resultItem.channelId = item.channelId;
783
+ resultItem.success = item.success;
784
+ resultItem.role = item.role;
785
+ resultItem.error = item.error;
786
+ return resultItem;
787
+ });
788
+ const response = new spaces_response_model_1.BulkSensorRolesResponseModel();
789
+ response.data = resultData;
790
+ return response;
791
+ }
792
+ async applyDefaultSensorRoles(id) {
793
+ this.logger.debug(`Applying default sensor roles for space with id=${id}`);
794
+ const defaultRoles = await this.spaceSensorRoleService.inferDefaultSensorRoles(id);
795
+ const result = await this.spaceSensorRoleService.bulkSetRoles(id, defaultRoles);
796
+ const resultData = new spaces_response_model_1.BulkSensorRolesResultDataModel();
797
+ resultData.success = result.success;
798
+ resultData.totalCount = result.totalCount;
799
+ resultData.successCount = result.successCount;
800
+ resultData.failureCount = result.failureCount;
801
+ resultData.results = result.results.map((item) => {
802
+ const resultItem = new spaces_response_model_1.BulkSensorRoleResultItemModel();
803
+ resultItem.deviceId = item.deviceId;
804
+ resultItem.channelId = item.channelId;
805
+ resultItem.success = item.success;
806
+ resultItem.role = item.role;
807
+ resultItem.error = item.error;
808
+ return resultItem;
809
+ });
810
+ const response = new spaces_response_model_1.BulkSensorRolesResponseModel();
811
+ response.data = resultData;
812
+ return response;
813
+ }
814
+ async deleteSensorRole(id, deviceId, channelId) {
815
+ this.logger.debug(`Deleting sensor role for space=${id} device=${deviceId} channel=${channelId}`);
816
+ await this.spaceSensorRoleService.deleteRole(id, deviceId, channelId);
817
+ this.logger.debug(`Successfully deleted sensor role for device=${deviceId} channel=${channelId}`);
818
+ }
819
+ async getDerivedMediaEndpoints(id) {
820
+ this.logger.debug(`Fetching derived media endpoints for space with id=${id}`);
821
+ const result = await this.derivedMediaEndpointService.buildEndpointsForSpace(id);
822
+ const response = new derived_media_endpoint_model_1.DerivedMediaEndpointsResponseModel();
823
+ response.data = result;
824
+ return response;
825
+ }
826
+ async getSuggestion(id) {
827
+ this.logger.debug(`Getting suggestion for space with id=${id}`);
828
+ const suggestion = await this.spaceSuggestionService.getSuggestion(id);
829
+ const response = new spaces_response_model_1.SuggestionResponseModel();
830
+ if (suggestion) {
831
+ const suggestionData = new spaces_response_model_1.SuggestionDataModel();
832
+ suggestionData.type = suggestion.type;
833
+ suggestionData.title = suggestion.title;
834
+ suggestionData.reason = suggestion.reason;
835
+ suggestionData.intentType = suggestion.intentType;
836
+ suggestionData.intentMode = suggestion.intentMode;
837
+ response.data = suggestionData;
838
+ }
839
+ else {
840
+ response.data = null;
841
+ }
842
+ return response;
843
+ }
844
+ async submitSuggestionFeedback(id, body) {
845
+ this.logger.debug(`Submitting suggestion feedback for space with id=${id}`);
846
+ const result = await this.spaceSuggestionService.recordFeedback(id, body.data.suggestionType, body.data.feedback);
847
+ const resultData = new spaces_response_model_1.SuggestionFeedbackResultDataModel();
848
+ resultData.success = result.success;
849
+ resultData.intentExecuted = result.intentExecuted;
850
+ const response = new spaces_response_model_1.SuggestionFeedbackResponseModel();
851
+ response.data = resultData;
852
+ return response;
853
+ }
854
+ async captureContextSnapshot(id) {
855
+ this.logger.debug(`Capturing context snapshot for space with id=${id}`);
856
+ const snapshot = await this.spaceContextSnapshotService.captureSnapshot(id);
857
+ if (!snapshot) {
858
+ throw new spaces_exceptions_1.SpacesNotFoundException('Space not found');
859
+ }
860
+ const lightingSummary = new spaces_response_model_1.LightingSummaryDataModel();
861
+ lightingSummary.totalLights = snapshot.lighting.summary.totalLights;
862
+ lightingSummary.lightsOn = snapshot.lighting.summary.lightsOn;
863
+ lightingSummary.averageBrightness = snapshot.lighting.summary.averageBrightness;
864
+ const lights = snapshot.lighting.lights.map((light) => {
865
+ const lightData = new spaces_response_model_1.LightStateSnapshotDataModel();
866
+ lightData.deviceId = light.deviceId;
867
+ lightData.deviceName = light.deviceName;
868
+ lightData.channelId = light.channelId;
869
+ lightData.channelName = light.channelName;
870
+ lightData.role = light.role;
871
+ lightData.isOn = light.isOn;
872
+ lightData.brightness = light.brightness;
873
+ lightData.colorTemperature = light.colorTemperature;
874
+ lightData.color = light.color;
875
+ return lightData;
876
+ });
877
+ const lightingContext = new spaces_response_model_1.LightingContextDataModel();
878
+ lightingContext.summary = lightingSummary;
879
+ lightingContext.lights = lights;
880
+ const climateState = new spaces_response_model_1.ClimateStateDataModel();
881
+ climateState.hasClimate = snapshot.climate.hasClimate;
882
+ climateState.mode = snapshot.climate.mode;
883
+ climateState.currentTemperature = snapshot.climate.currentTemperature;
884
+ climateState.currentHumidity = snapshot.climate.currentHumidity;
885
+ climateState.heatingSetpoint = snapshot.climate.heatingSetpoint;
886
+ climateState.coolingSetpoint = snapshot.climate.coolingSetpoint;
887
+ climateState.minSetpoint = snapshot.climate.minSetpoint;
888
+ climateState.maxSetpoint = snapshot.climate.maxSetpoint;
889
+ climateState.supportsHeating = snapshot.climate.supportsHeating;
890
+ climateState.supportsCooling = snapshot.climate.supportsCooling;
891
+ climateState.isHeating = snapshot.climate.isHeating;
892
+ climateState.isCooling = snapshot.climate.isCooling;
893
+ climateState.isMixed = snapshot.climate.isMixed;
894
+ climateState.devicesCount = snapshot.climate.devicesCount;
895
+ const snapshotData = new spaces_response_model_1.ContextSnapshotDataModel();
896
+ snapshotData.spaceId = snapshot.spaceId;
897
+ snapshotData.spaceName = snapshot.spaceName;
898
+ snapshotData.capturedAt = snapshot.capturedAt;
899
+ snapshotData.lighting = lightingContext;
900
+ snapshotData.climate = climateState;
901
+ const response = new spaces_response_model_1.ContextSnapshotResponseModel();
902
+ response.data = snapshotData;
903
+ return response;
904
+ }
905
+ async getUndoState(id) {
906
+ this.logger.debug(`Fetching undo state for space with id=${id}`);
907
+ await this.spacesService.getOneOrThrow(id);
908
+ const undoEntry = this.spaceUndoHistoryService.peekUndoEntry(id);
909
+ const stateData = new spaces_response_model_1.UndoStateDataModel();
910
+ if (undoEntry) {
911
+ const ttlMs = this.spaceUndoHistoryService.getEntryTtlMs();
912
+ const expiresAt = new Date(undoEntry.capturedAt.getTime() + ttlMs);
913
+ const expiresInMs = expiresAt.getTime() - Date.now();
914
+ const expiresInSeconds = Math.max(0, Math.floor(expiresInMs / 1000));
915
+ stateData.canUndo = true;
916
+ stateData.actionDescription = undoEntry.actionDescription;
917
+ stateData.intentCategory = undoEntry.intentCategory;
918
+ stateData.capturedAt = undoEntry.capturedAt;
919
+ stateData.expiresInSeconds = expiresInSeconds;
920
+ }
921
+ else {
922
+ stateData.canUndo = false;
923
+ stateData.actionDescription = null;
924
+ stateData.intentCategory = null;
925
+ stateData.capturedAt = null;
926
+ stateData.expiresInSeconds = null;
927
+ }
928
+ const response = new spaces_response_model_1.UndoStateResponseModel();
929
+ response.data = stateData;
930
+ return response;
931
+ }
932
+ async executeUndo(id) {
933
+ this.logger.debug(`Executing undo for space with id=${id}`);
934
+ await this.spacesService.getOneOrThrow(id);
935
+ const result = await this.spaceUndoHistoryService.executeUndo(id);
936
+ const resultData = new spaces_response_model_1.UndoResultDataModel();
937
+ resultData.success = result.success;
938
+ resultData.restoredDevices = result.restoredDevices;
939
+ resultData.failedDevices = result.failedDevices;
940
+ resultData.message = result.message;
941
+ const response = new spaces_response_model_1.UndoResultResponseModel();
942
+ response.data = resultData;
943
+ return response;
944
+ }
945
+ async getMediaActivityBindings(id) {
946
+ this.logger.debug(`Fetching media activity bindings for space with id=${id}`);
947
+ const bindings = await this.spaceMediaActivityBindingService.findBySpace(id);
948
+ const response = new media_activity_binding_model_1.MediaActivityBindingsResponseModel();
949
+ response.data = bindings;
950
+ return response;
951
+ }
952
+ async applyDefaultMediaActivityBindings(id) {
953
+ this.logger.debug(`Applying default media activity bindings for space=${id}`);
954
+ const bindings = await this.spaceMediaActivityBindingService.applyDefaults(id);
955
+ const response = new media_activity_binding_model_1.MediaActivityBindingsResponseModel();
956
+ response.data = bindings;
957
+ return response;
958
+ }
959
+ async validateMediaActivityBindings(id) {
960
+ this.logger.debug(`Validating media activity bindings for space=${id}`);
961
+ const reports = await this.spaceMediaActivityBindingService.validateBindings(id);
962
+ const data = reports.map((r) => {
963
+ const report = new media_activity_binding_model_1.BindingValidationReportModel();
964
+ report.activityKey = r.activityKey;
965
+ report.bindingId = r.bindingId;
966
+ report.valid = r.valid;
967
+ report.issues = r.issues;
968
+ return report;
969
+ });
970
+ const response = new media_activity_binding_model_1.BindingValidationResponseModel();
971
+ response.data = data;
972
+ return response;
973
+ }
974
+ async getMediaActivityBinding(id, bindingId) {
975
+ this.logger.debug(`Fetching media activity binding id=${bindingId} for space=${id}`);
976
+ const binding = await this.spaceMediaActivityBindingService.getOneOrThrowForSpace(id, bindingId);
977
+ const response = new media_activity_binding_model_1.MediaActivityBindingResponseModel();
978
+ response.data = binding;
979
+ return response;
980
+ }
981
+ async createMediaActivityBinding(id, body) {
982
+ this.logger.debug(`Creating media activity binding for space=${id} key=${body.data.activityKey}`);
983
+ const binding = await this.spaceMediaActivityBindingService.create(id, body.data);
984
+ const response = new media_activity_binding_model_1.MediaActivityBindingResponseModel();
985
+ response.data = binding;
986
+ return response;
987
+ }
988
+ async updateMediaActivityBinding(id, bindingId, body) {
989
+ this.logger.debug(`Updating media activity binding id=${bindingId} for space=${id}`);
990
+ const binding = await this.spaceMediaActivityBindingService.updateForSpace(id, bindingId, body.data);
991
+ const response = new media_activity_binding_model_1.MediaActivityBindingResponseModel();
992
+ response.data = binding;
993
+ return response;
994
+ }
995
+ async deleteMediaActivityBinding(id, bindingId) {
996
+ this.logger.debug(`Deleting media activity binding id=${bindingId} for space=${id}`);
997
+ await this.spaceMediaActivityBindingService.deleteForSpace(id, bindingId);
998
+ }
999
+ async getActiveMediaActivity(id) {
1000
+ this.logger.debug(`Fetching active media activity for space=${id}`);
1001
+ const record = await this.spaceMediaActivityService.getActive(id);
1002
+ const response = new media_activity_model_1.ActiveMediaActivityResponseModel();
1003
+ response.data = record;
1004
+ return response;
1005
+ }
1006
+ async previewMediaActivity(id, activityKey) {
1007
+ this.logger.debug(`Dry-run preview media activity=${activityKey} for space=${id}`);
1008
+ const preview = await this.spaceMediaActivityService.preview(id, activityKey);
1009
+ const response = new media_activity_model_1.MediaActivityDryRunPreviewResponseModel();
1010
+ response.data = preview;
1011
+ return response;
1012
+ }
1013
+ async activateMediaActivity(id, activityKey) {
1014
+ this.logger.debug(`Activating media activity=${activityKey} for space=${id}`);
1015
+ const result = await this.spaceMediaActivityService.activate(id, activityKey);
1016
+ const response = new media_activity_model_1.MediaActivityActivationResponseModel();
1017
+ response.data = result;
1018
+ return response;
1019
+ }
1020
+ async deactivateMediaActivity(id) {
1021
+ this.logger.debug(`Deactivating media activity for space=${id}`);
1022
+ const result = await this.spaceMediaActivityService.deactivate(id);
1023
+ const response = new media_activity_model_1.MediaActivityActivationResponseModel();
1024
+ response.data = result;
1025
+ return response;
1026
+ }
1027
+ async triggerSuggestionHeartbeat() {
1028
+ this.logger.debug('Manually triggering suggestion heartbeat cycle');
1029
+ await this.spaceSuggestionHeartbeatService.runCycle();
1030
+ return { data: { triggered: true } };
1031
+ }
1032
+ async emitTestSuggestion(body) {
1033
+ let space;
1034
+ if (body?.data?.space_id) {
1035
+ space = await this.spacesService.findOne(body.data.space_id);
1036
+ }
1037
+ if (!space) {
1038
+ const spaces = await this.spacesService.findAll();
1039
+ space = spaces[0];
1040
+ }
1041
+ if (!space) {
1042
+ return { data: { emitted: false } };
1043
+ }
1044
+ const event = {
1045
+ id: (0, uuid_1.v4)(),
1046
+ type: spaces_constants_1.SuggestionType.LIGHTING_RELAX,
1047
+ title: 'Relax lighting',
1048
+ reason: 'Evening time — switch to a calmer lighting mode',
1049
+ intent_type: 'set_mode',
1050
+ intent_mode: 'relax',
1051
+ space_id: space.id,
1052
+ created_at: new Date().toISOString(),
1053
+ expires_at: new Date(Date.now() + spaces_constants_1.SUGGESTION_EXPIRY_MS).toISOString(),
1054
+ };
1055
+ this.eventEmitter.emit(spaces_constants_1.EventType.SUGGESTION_CREATED, event);
1056
+ this.logger.debug(`Test suggestion emitted for space id=${space.id}`);
1057
+ return { data: { emitted: true, space_id: space.id } };
1058
+ }
1059
+ };
1060
+ exports.SpacesController = SpacesController;
1061
+ __decorate([
1062
+ (0, common_1.Get)(),
1063
+ (0, swagger_1.ApiOperation)({
1064
+ operationId: 'get-spaces-module-spaces',
1065
+ summary: 'List all spaces',
1066
+ description: 'Retrieves a list of all spaces (rooms/zones).',
1067
+ }),
1068
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.SpacesResponseModel, 'Returns a list of spaces'),
1069
+ __metadata("design:type", Function),
1070
+ __metadata("design:paramtypes", []),
1071
+ __metadata("design:returntype", Promise)
1072
+ ], SpacesController.prototype, "findAll", null);
1073
+ __decorate([
1074
+ (0, common_1.Get)('propose'),
1075
+ (0, swagger_1.ApiOperation)({
1076
+ operationId: 'get-spaces-module-propose',
1077
+ summary: 'Propose spaces from device names',
1078
+ description: 'Analyzes device names and proposes space (room) names based on common patterns. ' +
1079
+ 'Returns a list of proposed spaces with matching device IDs. Requires owner or admin role.',
1080
+ }),
1081
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.ProposedSpacesResponseModel, 'Returns proposed spaces'),
1082
+ __metadata("design:type", Function),
1083
+ __metadata("design:paramtypes", []),
1084
+ __metadata("design:returntype", Promise)
1085
+ ], SpacesController.prototype, "proposeSpaces", null);
1086
+ __decorate([
1087
+ (0, common_1.Get)('categories/templates'),
1088
+ (0, swagger_1.ApiOperation)({
1089
+ operationId: 'get-spaces-module-category-templates',
1090
+ summary: 'List space category templates',
1091
+ description: 'Retrieves all available space category templates with their default icons and descriptions. ' +
1092
+ 'Templates provide suggested values when creating spaces of common room types.',
1093
+ }),
1094
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.CategoryTemplatesResponseModel, 'Returns category templates'),
1095
+ __metadata("design:type", Function),
1096
+ __metadata("design:paramtypes", []),
1097
+ __metadata("design:returntype", spaces_response_model_1.CategoryTemplatesResponseModel)
1098
+ ], SpacesController.prototype, "getCategoryTemplates", null);
1099
+ __decorate([
1100
+ (0, common_1.Get)('intents/catalog'),
1101
+ (0, swagger_1.ApiOperation)({
1102
+ operationId: 'get-spaces-module-intent-catalog',
1103
+ summary: 'Get intent catalog',
1104
+ description: 'Retrieves the complete intent catalog with all available intent categories, intent types, ' +
1105
+ 'quick actions, and lighting roles. This provides metadata for building UI controls ' +
1106
+ 'and discovering available space control capabilities.',
1107
+ }),
1108
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.IntentCatalogResponseModel, 'Returns the intent catalog'),
1109
+ __metadata("design:type", Function),
1110
+ __metadata("design:paramtypes", []),
1111
+ __metadata("design:returntype", spaces_response_model_1.IntentCatalogResponseModel)
1112
+ ], SpacesController.prototype, "getIntentCatalog", null);
1113
+ __decorate([
1114
+ (0, common_1.Get)(':id'),
1115
+ (0, swagger_1.ApiOperation)({
1116
+ operationId: 'get-spaces-module-space',
1117
+ summary: 'Get space by ID',
1118
+ description: 'Retrieves a specific space by its unique identifier.',
1119
+ }),
1120
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1121
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.SpaceResponseModel, 'Returns the space'),
1122
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1123
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1124
+ __metadata("design:type", Function),
1125
+ __metadata("design:paramtypes", [String]),
1126
+ __metadata("design:returntype", Promise)
1127
+ ], SpacesController.prototype, "findOne", null);
1128
+ __decorate([
1129
+ (0, common_1.Post)(),
1130
+ (0, roles_guard_1.Roles)(users_constants_1.UserRole.OWNER, users_constants_1.UserRole.ADMIN),
1131
+ (0, swagger_1.ApiOperation)({
1132
+ operationId: 'create-spaces-module-space',
1133
+ summary: 'Create a new space',
1134
+ description: 'Creates a new space (room/zone). Requires owner or admin role.',
1135
+ }),
1136
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.SpaceResponseModel, 'Returns the created space'),
1137
+ (0, api_documentation_decorator_1.ApiBadRequestResponse)('Invalid space data'),
1138
+ (0, api_documentation_decorator_1.ApiUnprocessableEntityResponse)('Space validation failed'),
1139
+ __param(0, (0, common_1.Body)()),
1140
+ __metadata("design:type", Function),
1141
+ __metadata("design:paramtypes", [create_space_dto_1.ReqCreateSpaceDto]),
1142
+ __metadata("design:returntype", Promise)
1143
+ ], SpacesController.prototype, "create", null);
1144
+ __decorate([
1145
+ (0, common_1.Patch)(':id'),
1146
+ (0, roles_guard_1.Roles)(users_constants_1.UserRole.OWNER, users_constants_1.UserRole.ADMIN),
1147
+ (0, swagger_1.ApiOperation)({
1148
+ operationId: 'update-spaces-module-space',
1149
+ summary: 'Update space',
1150
+ description: 'Updates an existing space. Requires owner or admin role.',
1151
+ }),
1152
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1153
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.SpaceResponseModel, 'Returns the updated space'),
1154
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1155
+ (0, api_documentation_decorator_1.ApiUnprocessableEntityResponse)('Invalid space data'),
1156
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1157
+ __param(1, (0, common_1.Body)()),
1158
+ __metadata("design:type", Function),
1159
+ __metadata("design:paramtypes", [String, update_space_dto_1.ReqUpdateSpaceDto]),
1160
+ __metadata("design:returntype", Promise)
1161
+ ], SpacesController.prototype, "update", null);
1162
+ __decorate([
1163
+ (0, common_1.Delete)(':id'),
1164
+ (0, roles_guard_1.Roles)(users_constants_1.UserRole.OWNER, users_constants_1.UserRole.ADMIN),
1165
+ (0, swagger_1.ApiOperation)({
1166
+ operationId: 'delete-spaces-module-space',
1167
+ summary: 'Delete space',
1168
+ description: 'Removes a space from the system. Devices and displays in this space will be unassigned. Requires owner or admin role.',
1169
+ }),
1170
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1171
+ (0, swagger_1.ApiNoContentResponse)({ description: 'Space deleted successfully' }),
1172
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1173
+ (0, common_1.HttpCode)(204),
1174
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1175
+ __metadata("design:type", Function),
1176
+ __metadata("design:paramtypes", [String]),
1177
+ __metadata("design:returntype", Promise)
1178
+ ], SpacesController.prototype, "remove", null);
1179
+ __decorate([
1180
+ (0, common_1.Get)(':id/devices'),
1181
+ (0, swagger_1.ApiOperation)({
1182
+ operationId: 'get-spaces-module-space-devices',
1183
+ summary: 'List devices in space',
1184
+ description: 'Retrieves all devices assigned to a specific space.',
1185
+ }),
1186
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1187
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(devices_response_model_1.DevicesResponseModel, 'Returns the list of devices in the space'),
1188
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1189
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1190
+ __metadata("design:type", Function),
1191
+ __metadata("design:paramtypes", [String]),
1192
+ __metadata("design:returntype", Promise)
1193
+ ], SpacesController.prototype, "findDevices", null);
1194
+ __decorate([
1195
+ (0, common_1.Get)(':id/displays'),
1196
+ (0, swagger_1.ApiOperation)({
1197
+ operationId: 'get-spaces-module-space-displays',
1198
+ summary: 'List displays in space',
1199
+ description: 'Retrieves all displays assigned to a specific space.',
1200
+ }),
1201
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1202
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(displays_response_model_1.DisplaysResponseModel, 'Returns the list of displays in the space'),
1203
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1204
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1205
+ __metadata("design:type", Function),
1206
+ __metadata("design:paramtypes", [String]),
1207
+ __metadata("design:returntype", Promise)
1208
+ ], SpacesController.prototype, "findDisplays", null);
1209
+ __decorate([
1210
+ (0, common_1.Get)(':id/children'),
1211
+ (0, swagger_1.ApiOperation)({
1212
+ operationId: 'get-spaces-module-space-children',
1213
+ summary: 'List child rooms of a zone',
1214
+ description: 'Retrieves all child rooms that belong to a zone. Only applicable for zones; returns empty for rooms.',
1215
+ }),
1216
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Zone ID' }),
1217
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.SpacesResponseModel, 'Returns the list of child rooms'),
1218
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1219
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1220
+ __metadata("design:type", Function),
1221
+ __metadata("design:paramtypes", [String]),
1222
+ __metadata("design:returntype", Promise)
1223
+ ], SpacesController.prototype, "findChildren", null);
1224
+ __decorate([
1225
+ (0, common_1.Get)(':id/parent'),
1226
+ (0, swagger_1.ApiOperation)({
1227
+ operationId: 'get-spaces-module-space-parent',
1228
+ summary: 'Get parent zone of a room',
1229
+ description: 'Retrieves the parent zone for a room. Returns null if the room has no parent zone. ' +
1230
+ 'Zones do not have parents.',
1231
+ }),
1232
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Room ID' }),
1233
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.SpaceResponseModel, 'Returns the parent zone or null'),
1234
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1235
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1236
+ __metadata("design:type", Function),
1237
+ __metadata("design:paramtypes", [String]),
1238
+ __metadata("design:returntype", Promise)
1239
+ ], SpacesController.prototype, "findParent", null);
1240
+ __decorate([
1241
+ (0, common_1.Get)('zones'),
1242
+ (0, swagger_1.ApiOperation)({
1243
+ operationId: 'get-spaces-module-zones',
1244
+ summary: 'List all zones',
1245
+ description: 'Retrieves all spaces of type zone. Useful for parent selection dropdowns.',
1246
+ }),
1247
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.SpacesResponseModel, 'Returns a list of zones'),
1248
+ __metadata("design:type", Function),
1249
+ __metadata("design:paramtypes", []),
1250
+ __metadata("design:returntype", Promise)
1251
+ ], SpacesController.prototype, "findAllZones", null);
1252
+ __decorate([
1253
+ (0, common_1.Post)(':id/assign'),
1254
+ (0, roles_guard_1.Roles)(users_constants_1.UserRole.OWNER, users_constants_1.UserRole.ADMIN),
1255
+ (0, swagger_1.ApiOperation)({
1256
+ operationId: 'create-spaces-module-space-assign',
1257
+ summary: 'Bulk assign devices/displays to space',
1258
+ description: 'Assigns multiple devices and/or displays to a space in a single operation. Requires owner or admin role.',
1259
+ }),
1260
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1261
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.BulkAssignmentResponseModel, 'Returns the assignment result'),
1262
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1263
+ (0, api_documentation_decorator_1.ApiUnprocessableEntityResponse)('Invalid assignment data'),
1264
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1265
+ __param(1, (0, common_1.Body)()),
1266
+ __metadata("design:type", Function),
1267
+ __metadata("design:paramtypes", [String, bulk_assign_dto_1.ReqBulkAssignDto]),
1268
+ __metadata("design:returntype", Promise)
1269
+ ], SpacesController.prototype, "bulkAssign", null);
1270
+ __decorate([
1271
+ (0, common_1.Post)(':id/intents/lighting'),
1272
+ (0, swagger_1.ApiOperation)({
1273
+ operationId: 'create-spaces-module-space-lighting-intent',
1274
+ summary: 'Execute lighting intent for space',
1275
+ description: 'Executes a lighting intent command for all lights in the space. ' +
1276
+ 'Supports off, on, mode (work/relax/night), and brightness delta operations. ' +
1277
+ 'Commands are applied only to lighting devices with supported capabilities.',
1278
+ }),
1279
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1280
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.LightingIntentResponseModel, 'Returns the intent execution result'),
1281
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1282
+ (0, api_documentation_decorator_1.ApiUnprocessableEntityResponse)('Invalid intent data'),
1283
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1284
+ __param(1, (0, common_1.Body)()),
1285
+ __metadata("design:type", Function),
1286
+ __metadata("design:paramtypes", [String, lighting_intent_dto_1.ReqLightingIntentDto]),
1287
+ __metadata("design:returntype", Promise)
1288
+ ], SpacesController.prototype, "executeLightingIntent", null);
1289
+ __decorate([
1290
+ (0, common_1.Get)(':id/climate'),
1291
+ (0, swagger_1.ApiOperation)({
1292
+ operationId: 'get-spaces-module-space-climate',
1293
+ summary: 'Get climate state for space',
1294
+ description: 'Retrieves the current climate state for a space, including temperature readings, ' +
1295
+ 'target setpoint, and information about available climate control capabilities.',
1296
+ }),
1297
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1298
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.ClimateStateResponseModel, 'Returns the climate state'),
1299
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1300
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1301
+ __metadata("design:type", Function),
1302
+ __metadata("design:paramtypes", [String]),
1303
+ __metadata("design:returntype", Promise)
1304
+ ], SpacesController.prototype, "getClimateState", null);
1305
+ __decorate([
1306
+ (0, common_1.Post)(':id/intents/climate'),
1307
+ (0, swagger_1.ApiOperation)({
1308
+ operationId: 'create-spaces-module-space-climate-intent',
1309
+ summary: 'Execute climate intent for space',
1310
+ description: 'Executes a climate intent command for all primary climate devices (thermostats, heating units, air conditioners) in the space. ' +
1311
+ 'Supports setpoint delta (+/- adjustments), direct setpoint set, and mode changes (HEAT/COOL/AUTO/OFF). ' +
1312
+ 'Devices are filtered by their role (HEATING_ONLY, COOLING_ONLY, AUTO) and capability (presence of HEATER/COOLER channels). ' +
1313
+ 'The target setpoint is clamped to the intersection of all device limits (most restrictive range).',
1314
+ }),
1315
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1316
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.ClimateIntentResponseModel, 'Returns the intent execution result'),
1317
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1318
+ (0, api_documentation_decorator_1.ApiUnprocessableEntityResponse)('Invalid intent data'),
1319
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1320
+ __param(1, (0, common_1.Body)()),
1321
+ __metadata("design:type", Function),
1322
+ __metadata("design:paramtypes", [String, climate_intent_dto_1.ReqClimateIntentDto]),
1323
+ __metadata("design:returntype", Promise)
1324
+ ], SpacesController.prototype, "executeClimateIntent", null);
1325
+ __decorate([
1326
+ (0, common_1.Get)(':id/lighting/state'),
1327
+ (0, swagger_1.ApiOperation)({
1328
+ operationId: 'get-spaces-module-space-lighting-state',
1329
+ summary: 'Get aggregated lighting state for space',
1330
+ description: 'Retrieves the aggregated lighting state for a space, including per-role state (on/off, brightness, mixed status), ' +
1331
+ 'mode detection (which lighting mode current state matches), and summary statistics. ' +
1332
+ 'This endpoint provides pre-calculated values for UI display without panel-side calculation.',
1333
+ }),
1334
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1335
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.LightingStateResponseModel, 'Returns the aggregated lighting state'),
1336
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1337
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1338
+ __metadata("design:type", Function),
1339
+ __metadata("design:paramtypes", [String]),
1340
+ __metadata("design:returntype", Promise)
1341
+ ], SpacesController.prototype, "getLightingState", null);
1342
+ __decorate([
1343
+ (0, common_1.Get)(':id/lighting/targets'),
1344
+ (0, swagger_1.ApiOperation)({
1345
+ operationId: 'get-spaces-module-space-lighting-targets',
1346
+ summary: 'List light targets in space',
1347
+ description: 'Retrieves all controllable light targets (device/channel pairs) in a space ' +
1348
+ 'along with their current role assignments and capabilities.',
1349
+ }),
1350
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1351
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.LightTargetsResponseModel, 'Returns the list of light targets with role assignments'),
1352
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1353
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1354
+ __metadata("design:type", Function),
1355
+ __metadata("design:paramtypes", [String]),
1356
+ __metadata("design:returntype", Promise)
1357
+ ], SpacesController.prototype, "getLightTargets", null);
1358
+ __decorate([
1359
+ (0, common_1.Post)(':id/lighting/roles'),
1360
+ (0, roles_guard_1.Roles)(users_constants_1.UserRole.OWNER, users_constants_1.UserRole.ADMIN),
1361
+ (0, swagger_1.ApiOperation)({
1362
+ operationId: 'create-spaces-module-space-lighting-role',
1363
+ summary: 'Set lighting role for a light target',
1364
+ description: 'Sets or updates the lighting role for a specific device/channel in a space. ' + 'Requires owner or admin role.',
1365
+ }),
1366
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1367
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.LightingRoleResponseModel, 'Returns the created/updated lighting role assignment'),
1368
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1369
+ (0, api_documentation_decorator_1.ApiBadRequestResponse)('Invalid role data'),
1370
+ (0, api_documentation_decorator_1.ApiUnprocessableEntityResponse)('Role assignment validation failed'),
1371
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1372
+ __param(1, (0, common_1.Body)()),
1373
+ __metadata("design:type", Function),
1374
+ __metadata("design:paramtypes", [String, lighting_role_dto_1.ReqSetLightingRoleDto]),
1375
+ __metadata("design:returntype", Promise)
1376
+ ], SpacesController.prototype, "setLightingRole", null);
1377
+ __decorate([
1378
+ (0, common_1.Post)(':id/lighting/roles/bulk'),
1379
+ (0, roles_guard_1.Roles)(users_constants_1.UserRole.OWNER, users_constants_1.UserRole.ADMIN),
1380
+ (0, swagger_1.ApiOperation)({
1381
+ operationId: 'create-spaces-module-space-lighting-roles-bulk',
1382
+ summary: 'Bulk set lighting roles for light targets',
1383
+ description: 'Sets or updates lighting roles for multiple device/channels in a space in a single operation. ' +
1384
+ 'Requires owner or admin role.',
1385
+ }),
1386
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1387
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.BulkLightingRolesResponseModel, 'Returns the bulk update result'),
1388
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1389
+ (0, api_documentation_decorator_1.ApiBadRequestResponse)('Invalid role data'),
1390
+ (0, api_documentation_decorator_1.ApiUnprocessableEntityResponse)('Role assignment validation failed'),
1391
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1392
+ __param(1, (0, common_1.Body)()),
1393
+ __metadata("design:type", Function),
1394
+ __metadata("design:paramtypes", [String, lighting_role_dto_1.ReqBulkSetLightingRolesDto]),
1395
+ __metadata("design:returntype", Promise)
1396
+ ], SpacesController.prototype, "bulkSetLightingRoles", null);
1397
+ __decorate([
1398
+ (0, common_1.Post)(':id/lighting/roles/defaults'),
1399
+ (0, roles_guard_1.Roles)(users_constants_1.UserRole.OWNER, users_constants_1.UserRole.ADMIN),
1400
+ (0, swagger_1.ApiOperation)({
1401
+ operationId: 'create-spaces-module-space-lighting-roles-defaults',
1402
+ summary: 'Apply default lighting roles',
1403
+ description: 'Infers and applies default lighting roles for all lights in the space. ' +
1404
+ 'First light becomes MAIN, remaining lights become AMBIENT. Requires owner or admin role.',
1405
+ }),
1406
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1407
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.BulkLightingRolesResponseModel, 'Returns the bulk update result'),
1408
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1409
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1410
+ __metadata("design:type", Function),
1411
+ __metadata("design:paramtypes", [String]),
1412
+ __metadata("design:returntype", Promise)
1413
+ ], SpacesController.prototype, "applyDefaultLightingRoles", null);
1414
+ __decorate([
1415
+ (0, common_1.Delete)(':id/lighting/roles/:deviceId/:channelId'),
1416
+ (0, roles_guard_1.Roles)(users_constants_1.UserRole.OWNER, users_constants_1.UserRole.ADMIN),
1417
+ (0, swagger_1.ApiOperation)({
1418
+ operationId: 'delete-spaces-module-space-lighting-role',
1419
+ summary: 'Delete lighting role assignment',
1420
+ description: 'Removes the lighting role assignment for a specific device/channel in a space. ' +
1421
+ 'Requires owner or admin role.',
1422
+ }),
1423
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1424
+ (0, swagger_1.ApiParam)({ name: 'deviceId', type: 'string', format: 'uuid', description: 'Device ID' }),
1425
+ (0, swagger_1.ApiParam)({ name: 'channelId', type: 'string', format: 'uuid', description: 'Channel ID' }),
1426
+ (0, swagger_1.ApiNoContentResponse)({ description: 'Lighting role deleted successfully' }),
1427
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1428
+ (0, common_1.HttpCode)(204),
1429
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1430
+ __param(1, (0, common_1.Param)('deviceId', new common_1.ParseUUIDPipe({ version: '4' }))),
1431
+ __param(2, (0, common_1.Param)('channelId', new common_1.ParseUUIDPipe({ version: '4' }))),
1432
+ __metadata("design:type", Function),
1433
+ __metadata("design:paramtypes", [String, String, String]),
1434
+ __metadata("design:returntype", Promise)
1435
+ ], SpacesController.prototype, "deleteLightingRole", null);
1436
+ __decorate([
1437
+ (0, common_1.Get)(':id/climate/targets'),
1438
+ (0, swagger_1.ApiOperation)({
1439
+ operationId: 'get-spaces-module-space-climate-targets',
1440
+ summary: 'List climate targets in space',
1441
+ description: 'Retrieves all controllable climate devices in a space ' +
1442
+ 'along with their current role assignments and capabilities.',
1443
+ }),
1444
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1445
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.ClimateTargetsResponseModel, 'Returns the list of climate devices with role assignments'),
1446
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1447
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1448
+ __metadata("design:type", Function),
1449
+ __metadata("design:paramtypes", [String]),
1450
+ __metadata("design:returntype", Promise)
1451
+ ], SpacesController.prototype, "getClimateTargets", null);
1452
+ __decorate([
1453
+ (0, common_1.Post)(':id/climate/roles'),
1454
+ (0, roles_guard_1.Roles)(users_constants_1.UserRole.OWNER, users_constants_1.UserRole.ADMIN),
1455
+ (0, swagger_1.ApiOperation)({
1456
+ operationId: 'create-spaces-module-space-climate-role',
1457
+ summary: 'Set or remove climate role for a climate device',
1458
+ description: 'Sets, updates, or removes the climate role for a specific device in a space. ' +
1459
+ 'Omit the role field or set it to null to remove an existing role assignment. ' +
1460
+ 'Requires owner or admin role.',
1461
+ }),
1462
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1463
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.ClimateRoleResponseModel, 'Returns the created/updated climate role assignment, or null if removed'),
1464
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1465
+ (0, api_documentation_decorator_1.ApiBadRequestResponse)('Invalid role data'),
1466
+ (0, api_documentation_decorator_1.ApiUnprocessableEntityResponse)('Role assignment validation failed'),
1467
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1468
+ __param(1, (0, common_1.Body)()),
1469
+ __metadata("design:type", Function),
1470
+ __metadata("design:paramtypes", [String, climate_role_dto_1.ReqSetClimateRoleDto]),
1471
+ __metadata("design:returntype", Promise)
1472
+ ], SpacesController.prototype, "setClimateRole", null);
1473
+ __decorate([
1474
+ (0, common_1.Post)(':id/climate/roles/bulk'),
1475
+ (0, roles_guard_1.Roles)(users_constants_1.UserRole.OWNER, users_constants_1.UserRole.ADMIN),
1476
+ (0, swagger_1.ApiOperation)({
1477
+ operationId: 'create-spaces-module-space-climate-roles-bulk',
1478
+ summary: 'Bulk set climate roles for climate devices',
1479
+ description: 'Sets or updates climate roles for multiple devices in a space in a single operation. ' +
1480
+ 'Requires owner or admin role.',
1481
+ }),
1482
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1483
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.BulkClimateRolesResponseModel, 'Returns the bulk update result'),
1484
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1485
+ (0, api_documentation_decorator_1.ApiBadRequestResponse)('Invalid role data'),
1486
+ (0, api_documentation_decorator_1.ApiUnprocessableEntityResponse)('Role assignment validation failed'),
1487
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1488
+ __param(1, (0, common_1.Body)()),
1489
+ __metadata("design:type", Function),
1490
+ __metadata("design:paramtypes", [String, climate_role_dto_1.ReqBulkSetClimateRolesDto]),
1491
+ __metadata("design:returntype", Promise)
1492
+ ], SpacesController.prototype, "bulkSetClimateRoles", null);
1493
+ __decorate([
1494
+ (0, common_1.Post)(':id/climate/roles/defaults'),
1495
+ (0, roles_guard_1.Roles)(users_constants_1.UserRole.OWNER, users_constants_1.UserRole.ADMIN),
1496
+ (0, swagger_1.ApiOperation)({
1497
+ operationId: 'create-spaces-module-space-climate-roles-defaults',
1498
+ summary: 'Apply default climate roles',
1499
+ description: 'Infers and applies default climate roles for all climate devices in the space. ' +
1500
+ 'Thermostats become PRIMARY, heaters/AC become AUXILIARY, fans become VENTILATION, ' +
1501
+ 'humidifiers/dehumidifiers become HUMIDITY. Requires owner or admin role.',
1502
+ }),
1503
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1504
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.BulkClimateRolesResponseModel, 'Returns the bulk update result'),
1505
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1506
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1507
+ __metadata("design:type", Function),
1508
+ __metadata("design:paramtypes", [String]),
1509
+ __metadata("design:returntype", Promise)
1510
+ ], SpacesController.prototype, "applyDefaultClimateRoles", null);
1511
+ __decorate([
1512
+ (0, common_1.Delete)(':id/climate/roles/:deviceId'),
1513
+ (0, roles_guard_1.Roles)(users_constants_1.UserRole.OWNER, users_constants_1.UserRole.ADMIN),
1514
+ (0, swagger_1.ApiOperation)({
1515
+ operationId: 'delete-spaces-module-space-climate-role',
1516
+ summary: 'Delete climate role assignment',
1517
+ description: 'Removes the climate role assignment for a specific device in a space. ' +
1518
+ 'For actuator roles (PRIMARY, AUXILIARY, etc.), only deviceId is needed. ' +
1519
+ 'For sensor roles (TEMPERATURE_SENSOR, HUMIDITY_SENSOR), channelId query parameter must be provided. ' +
1520
+ 'Requires owner or admin role.',
1521
+ }),
1522
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1523
+ (0, swagger_1.ApiParam)({ name: 'deviceId', type: 'string', format: 'uuid', description: 'Device ID' }),
1524
+ (0, swagger_1.ApiQuery)({
1525
+ name: 'channelId',
1526
+ type: 'string',
1527
+ format: 'uuid',
1528
+ required: false,
1529
+ description: 'Channel ID (required for sensor roles, omit for actuator roles)',
1530
+ }),
1531
+ (0, swagger_1.ApiNoContentResponse)({ description: 'Climate role deleted successfully' }),
1532
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1533
+ (0, common_1.HttpCode)(204),
1534
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1535
+ __param(1, (0, common_1.Param)('deviceId', new common_1.ParseUUIDPipe({ version: '4' }))),
1536
+ __param(2, (0, common_1.Query)('channelId', new common_1.ParseUUIDPipe({ version: '4', optional: true }))),
1537
+ __metadata("design:type", Function),
1538
+ __metadata("design:paramtypes", [String, String, String]),
1539
+ __metadata("design:returntype", Promise)
1540
+ ], SpacesController.prototype, "deleteClimateRole", null);
1541
+ __decorate([
1542
+ (0, common_1.Get)(':id/covers'),
1543
+ (0, swagger_1.ApiOperation)({
1544
+ operationId: 'get-spaces-module-space-covers',
1545
+ summary: 'Get covers state for space',
1546
+ description: 'Retrieves the current covers state for a space, including average position, ' +
1547
+ 'open/closed status, and device counts by role.',
1548
+ }),
1549
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1550
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.CoversStateResponseModel, 'Returns the covers state'),
1551
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1552
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1553
+ __metadata("design:type", Function),
1554
+ __metadata("design:paramtypes", [String]),
1555
+ __metadata("design:returntype", Promise)
1556
+ ], SpacesController.prototype, "getCoversState", null);
1557
+ __decorate([
1558
+ (0, common_1.Post)(':id/intents/covers'),
1559
+ (0, swagger_1.ApiOperation)({
1560
+ operationId: 'create-spaces-module-space-covers-intent',
1561
+ summary: 'Execute covers intent for space',
1562
+ description: 'Executes a covers intent command for all window coverings in the space. ' +
1563
+ 'Supports open, close, set_position, position_delta, role_position, and set_mode operations. ' +
1564
+ 'Commands are applied based on device capabilities and role assignments.',
1565
+ }),
1566
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1567
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.CoversIntentResponseModel, 'Returns the intent execution result'),
1568
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1569
+ (0, api_documentation_decorator_1.ApiUnprocessableEntityResponse)('Invalid intent data'),
1570
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1571
+ __param(1, (0, common_1.Body)()),
1572
+ __metadata("design:type", Function),
1573
+ __metadata("design:paramtypes", [String, covers_intent_dto_1.ReqCoversIntentDto]),
1574
+ __metadata("design:returntype", Promise)
1575
+ ], SpacesController.prototype, "executeCoversIntent", null);
1576
+ __decorate([
1577
+ (0, common_1.Get)(':id/covers/targets'),
1578
+ (0, swagger_1.ApiOperation)({
1579
+ operationId: 'get-spaces-module-space-covers-targets',
1580
+ summary: 'List covers targets in space',
1581
+ description: 'Retrieves all controllable window covering targets (device/channel pairs) in a space ' +
1582
+ 'along with their current role assignments and capabilities.',
1583
+ }),
1584
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1585
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.CoversTargetsResponseModel, 'Returns the list of covers targets with role assignments'),
1586
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1587
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1588
+ __metadata("design:type", Function),
1589
+ __metadata("design:paramtypes", [String]),
1590
+ __metadata("design:returntype", Promise)
1591
+ ], SpacesController.prototype, "getCoversTargets", null);
1592
+ __decorate([
1593
+ (0, common_1.Post)(':id/covers/roles'),
1594
+ (0, roles_guard_1.Roles)(users_constants_1.UserRole.OWNER, users_constants_1.UserRole.ADMIN),
1595
+ (0, swagger_1.ApiOperation)({
1596
+ operationId: 'create-spaces-module-space-covers-role',
1597
+ summary: 'Set covers role for a covers target',
1598
+ description: 'Sets or updates the covers role for a specific device/channel in a space. ' + 'Requires owner or admin role.',
1599
+ }),
1600
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1601
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.CoversRoleResponseModel, 'Returns the created/updated covers role assignment'),
1602
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1603
+ (0, api_documentation_decorator_1.ApiBadRequestResponse)('Invalid role data'),
1604
+ (0, api_documentation_decorator_1.ApiUnprocessableEntityResponse)('Role assignment validation failed'),
1605
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1606
+ __param(1, (0, common_1.Body)()),
1607
+ __metadata("design:type", Function),
1608
+ __metadata("design:paramtypes", [String, covers_role_dto_1.ReqSetCoversRoleDto]),
1609
+ __metadata("design:returntype", Promise)
1610
+ ], SpacesController.prototype, "setCoversRole", null);
1611
+ __decorate([
1612
+ (0, common_1.Post)(':id/covers/roles/bulk'),
1613
+ (0, roles_guard_1.Roles)(users_constants_1.UserRole.OWNER, users_constants_1.UserRole.ADMIN),
1614
+ (0, swagger_1.ApiOperation)({
1615
+ operationId: 'create-spaces-module-space-covers-roles-bulk',
1616
+ summary: 'Bulk set covers roles for covers targets',
1617
+ description: 'Sets or updates covers roles for multiple device/channels in a space in a single operation. ' +
1618
+ 'Requires owner or admin role.',
1619
+ }),
1620
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1621
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.BulkCoversRolesResponseModel, 'Returns the bulk update result'),
1622
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1623
+ (0, api_documentation_decorator_1.ApiBadRequestResponse)('Invalid role data'),
1624
+ (0, api_documentation_decorator_1.ApiUnprocessableEntityResponse)('Role assignment validation failed'),
1625
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1626
+ __param(1, (0, common_1.Body)()),
1627
+ __metadata("design:type", Function),
1628
+ __metadata("design:paramtypes", [String, covers_role_dto_1.ReqBulkSetCoversRolesDto]),
1629
+ __metadata("design:returntype", Promise)
1630
+ ], SpacesController.prototype, "bulkSetCoversRoles", null);
1631
+ __decorate([
1632
+ (0, common_1.Post)(':id/covers/roles/defaults'),
1633
+ (0, roles_guard_1.Roles)(users_constants_1.UserRole.OWNER, users_constants_1.UserRole.ADMIN),
1634
+ (0, swagger_1.ApiOperation)({
1635
+ operationId: 'create-spaces-module-space-covers-roles-defaults',
1636
+ summary: 'Apply default covers roles',
1637
+ description: 'Infers and applies default covers roles for all window coverings in the space. ' +
1638
+ 'First cover becomes PRIMARY, remaining covers are assigned based on type. Requires owner or admin role.',
1639
+ }),
1640
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1641
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.BulkCoversRolesResponseModel, 'Returns the bulk update result'),
1642
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1643
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1644
+ __metadata("design:type", Function),
1645
+ __metadata("design:paramtypes", [String]),
1646
+ __metadata("design:returntype", Promise)
1647
+ ], SpacesController.prototype, "applyDefaultCoversRoles", null);
1648
+ __decorate([
1649
+ (0, common_1.Delete)(':id/covers/roles/:deviceId/:channelId'),
1650
+ (0, roles_guard_1.Roles)(users_constants_1.UserRole.OWNER, users_constants_1.UserRole.ADMIN),
1651
+ (0, swagger_1.ApiOperation)({
1652
+ operationId: 'delete-spaces-module-space-covers-role',
1653
+ summary: 'Delete covers role assignment',
1654
+ description: 'Removes the covers role assignment for a specific device/channel in a space. Requires owner or admin role.',
1655
+ }),
1656
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1657
+ (0, swagger_1.ApiParam)({ name: 'deviceId', type: 'string', format: 'uuid', description: 'Device ID' }),
1658
+ (0, swagger_1.ApiParam)({ name: 'channelId', type: 'string', format: 'uuid', description: 'Channel ID' }),
1659
+ (0, swagger_1.ApiNoContentResponse)({ description: 'Covers role deleted successfully' }),
1660
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1661
+ (0, common_1.HttpCode)(204),
1662
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1663
+ __param(1, (0, common_1.Param)('deviceId', new common_1.ParseUUIDPipe({ version: '4' }))),
1664
+ __param(2, (0, common_1.Param)('channelId', new common_1.ParseUUIDPipe({ version: '4' }))),
1665
+ __metadata("design:type", Function),
1666
+ __metadata("design:paramtypes", [String, String, String]),
1667
+ __metadata("design:returntype", Promise)
1668
+ ], SpacesController.prototype, "deleteCoversRole", null);
1669
+ __decorate([
1670
+ (0, common_1.Get)(':id/sensors'),
1671
+ (0, swagger_1.ApiOperation)({
1672
+ operationId: 'get-spaces-module-space-sensors',
1673
+ summary: 'Get sensor state for space',
1674
+ description: 'Retrieves the current sensor state for a space, including aggregated readings, ' +
1675
+ 'environment summary, safety alerts, motion/occupancy status, and readings grouped by role.',
1676
+ }),
1677
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1678
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.SensorStateResponseModel, 'Returns the sensor state'),
1679
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1680
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1681
+ __metadata("design:type", Function),
1682
+ __metadata("design:paramtypes", [String]),
1683
+ __metadata("design:returntype", Promise)
1684
+ ], SpacesController.prototype, "getSensorState", null);
1685
+ __decorate([
1686
+ (0, common_1.Get)(':id/sensors/targets'),
1687
+ (0, swagger_1.ApiOperation)({
1688
+ operationId: 'get-spaces-module-space-sensor-targets',
1689
+ summary: 'Get sensor targets in space',
1690
+ description: 'Retrieves all sensor channels in a space that can be assigned roles, ' +
1691
+ 'including their current role assignments.',
1692
+ }),
1693
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1694
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.SensorTargetsResponseModel, 'Returns the list of sensor targets'),
1695
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1696
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1697
+ __metadata("design:type", Function),
1698
+ __metadata("design:paramtypes", [String]),
1699
+ __metadata("design:returntype", Promise)
1700
+ ], SpacesController.prototype, "getSensorTargets", null);
1701
+ __decorate([
1702
+ (0, common_1.Post)(':id/sensors/roles'),
1703
+ (0, roles_guard_1.Roles)(users_constants_1.UserRole.OWNER, users_constants_1.UserRole.ADMIN),
1704
+ (0, swagger_1.ApiOperation)({
1705
+ operationId: 'create-spaces-module-space-sensor-role',
1706
+ summary: 'Set sensor role for a sensor target',
1707
+ description: 'Sets or updates the sensor role for a specific device/channel in a space. ' + 'Requires owner or admin role.',
1708
+ }),
1709
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1710
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.SensorRoleResponseModel, 'Returns the created/updated sensor role assignment'),
1711
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1712
+ (0, api_documentation_decorator_1.ApiBadRequestResponse)('Invalid role data'),
1713
+ (0, api_documentation_decorator_1.ApiUnprocessableEntityResponse)('Role assignment validation failed'),
1714
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1715
+ __param(1, (0, common_1.Body)()),
1716
+ __metadata("design:type", Function),
1717
+ __metadata("design:paramtypes", [String, sensor_role_dto_1.ReqSetSensorRoleDto]),
1718
+ __metadata("design:returntype", Promise)
1719
+ ], SpacesController.prototype, "setSensorRole", null);
1720
+ __decorate([
1721
+ (0, common_1.Post)(':id/sensors/roles/bulk'),
1722
+ (0, roles_guard_1.Roles)(users_constants_1.UserRole.OWNER, users_constants_1.UserRole.ADMIN),
1723
+ (0, swagger_1.ApiOperation)({
1724
+ operationId: 'create-spaces-module-space-sensor-roles-bulk',
1725
+ summary: 'Bulk set sensor roles for sensor targets',
1726
+ description: 'Sets or updates sensor roles for multiple device/channels in a space in a single operation. ' +
1727
+ 'Requires owner or admin role.',
1728
+ }),
1729
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1730
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.BulkSensorRolesResponseModel, 'Returns the bulk update result'),
1731
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1732
+ (0, api_documentation_decorator_1.ApiBadRequestResponse)('Invalid role data'),
1733
+ (0, api_documentation_decorator_1.ApiUnprocessableEntityResponse)('Role assignment validation failed'),
1734
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1735
+ __param(1, (0, common_1.Body)()),
1736
+ __metadata("design:type", Function),
1737
+ __metadata("design:paramtypes", [String, sensor_role_dto_1.ReqBulkSetSensorRolesDto]),
1738
+ __metadata("design:returntype", Promise)
1739
+ ], SpacesController.prototype, "bulkSetSensorRoles", null);
1740
+ __decorate([
1741
+ (0, common_1.Post)(':id/sensors/roles/defaults'),
1742
+ (0, roles_guard_1.Roles)(users_constants_1.UserRole.OWNER, users_constants_1.UserRole.ADMIN),
1743
+ (0, swagger_1.ApiOperation)({
1744
+ operationId: 'create-spaces-module-space-sensor-roles-defaults',
1745
+ summary: 'Apply default sensor roles',
1746
+ description: 'Infers and applies default sensor roles for all sensor channels in the space ' +
1747
+ 'based on channel category (environment, safety, security, air quality, energy). ' +
1748
+ 'Requires owner or admin role.',
1749
+ }),
1750
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1751
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.BulkSensorRolesResponseModel, 'Returns the bulk update result'),
1752
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1753
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1754
+ __metadata("design:type", Function),
1755
+ __metadata("design:paramtypes", [String]),
1756
+ __metadata("design:returntype", Promise)
1757
+ ], SpacesController.prototype, "applyDefaultSensorRoles", null);
1758
+ __decorate([
1759
+ (0, common_1.Delete)(':id/sensors/roles/:deviceId/:channelId'),
1760
+ (0, roles_guard_1.Roles)(users_constants_1.UserRole.OWNER, users_constants_1.UserRole.ADMIN),
1761
+ (0, swagger_1.ApiOperation)({
1762
+ operationId: 'delete-spaces-module-space-sensor-role',
1763
+ summary: 'Delete sensor role assignment',
1764
+ description: 'Removes the sensor role assignment for a specific device/channel in a space. Requires owner or admin role.',
1765
+ }),
1766
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1767
+ (0, swagger_1.ApiParam)({ name: 'deviceId', type: 'string', format: 'uuid', description: 'Device ID' }),
1768
+ (0, swagger_1.ApiParam)({ name: 'channelId', type: 'string', format: 'uuid', description: 'Channel ID' }),
1769
+ (0, swagger_1.ApiNoContentResponse)({ description: 'Sensor role deleted successfully' }),
1770
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1771
+ (0, common_1.HttpCode)(204),
1772
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1773
+ __param(1, (0, common_1.Param)('deviceId', new common_1.ParseUUIDPipe({ version: '4' }))),
1774
+ __param(2, (0, common_1.Param)('channelId', new common_1.ParseUUIDPipe({ version: '4' }))),
1775
+ __metadata("design:type", Function),
1776
+ __metadata("design:paramtypes", [String, String, String]),
1777
+ __metadata("design:returntype", Promise)
1778
+ ], SpacesController.prototype, "deleteSensorRole", null);
1779
+ __decorate([
1780
+ (0, common_1.Get)(':id/media/endpoints'),
1781
+ (0, swagger_1.ApiOperation)({
1782
+ operationId: 'get-spaces-module-space-media-endpoints',
1783
+ summary: 'List derived media endpoints for space',
1784
+ description: 'Returns a derived read model of all media endpoints in a space. ' +
1785
+ 'Endpoints are computed on-the-fly from device capabilities and use deterministic IDs. ' +
1786
+ 'A single device may produce multiple endpoints (e.g., TV as display + audio_output + remote_target).',
1787
+ }),
1788
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1789
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(derived_media_endpoint_model_1.DerivedMediaEndpointsResponseModel, 'Returns derived media endpoints for the space'),
1790
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1791
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1792
+ __metadata("design:type", Function),
1793
+ __metadata("design:paramtypes", [String]),
1794
+ __metadata("design:returntype", Promise)
1795
+ ], SpacesController.prototype, "getDerivedMediaEndpoints", null);
1796
+ __decorate([
1797
+ (0, common_1.Get)(':id/suggestion'),
1798
+ (0, swagger_1.ApiOperation)({
1799
+ operationId: 'get-spaces-module-space-suggestion',
1800
+ summary: 'Get suggestion for space',
1801
+ description: 'Retrieves a single, non-intrusive suggestion for the space based on current time and lighting state. ' +
1802
+ 'Returns null if no suggestion is applicable or suggestions are disabled for this space. ' +
1803
+ 'Suggestions have a cooldown period to avoid repetition.',
1804
+ }),
1805
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1806
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.SuggestionResponseModel, 'Returns the suggestion or null'),
1807
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1808
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1809
+ __metadata("design:type", Function),
1810
+ __metadata("design:paramtypes", [String]),
1811
+ __metadata("design:returntype", Promise)
1812
+ ], SpacesController.prototype, "getSuggestion", null);
1813
+ __decorate([
1814
+ (0, common_1.Post)(':id/suggestion/feedback'),
1815
+ (0, swagger_1.ApiOperation)({
1816
+ operationId: 'create-spaces-module-space-suggestion-feedback',
1817
+ summary: 'Submit suggestion feedback',
1818
+ description: 'Records user feedback for a suggestion (applied or dismissed). ' +
1819
+ 'If applied, the corresponding lighting intent is executed. ' +
1820
+ 'A cooldown is set to prevent the same suggestion from reappearing immediately.',
1821
+ }),
1822
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1823
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.SuggestionFeedbackResponseModel, 'Returns the feedback result'),
1824
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1825
+ (0, api_documentation_decorator_1.ApiBadRequestResponse)('Invalid feedback data'),
1826
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1827
+ __param(1, (0, common_1.Body)()),
1828
+ __metadata("design:type", Function),
1829
+ __metadata("design:paramtypes", [String, suggestion_dto_1.ReqSuggestionFeedbackDto]),
1830
+ __metadata("design:returntype", Promise)
1831
+ ], SpacesController.prototype, "submitSuggestionFeedback", null);
1832
+ __decorate([
1833
+ (0, common_1.Get)(':id/context/snapshot'),
1834
+ (0, swagger_1.ApiOperation)({
1835
+ operationId: 'get-spaces-module-space-context-snapshot',
1836
+ summary: 'Capture context snapshot for space',
1837
+ description: 'Captures a complete context snapshot of the current state of a space, including ' +
1838
+ 'lighting state (on/off, brightness, color) for all lights and climate state ' +
1839
+ '(current temperature, setpoint). Useful for undo functionality, scene saving, ' +
1840
+ 'and providing context for automation decisions.',
1841
+ }),
1842
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1843
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.ContextSnapshotResponseModel, 'Returns the context snapshot'),
1844
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1845
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1846
+ __metadata("design:type", Function),
1847
+ __metadata("design:paramtypes", [String]),
1848
+ __metadata("design:returntype", Promise)
1849
+ ], SpacesController.prototype, "captureContextSnapshot", null);
1850
+ __decorate([
1851
+ (0, common_1.Get)(':id/undo'),
1852
+ (0, swagger_1.ApiOperation)({
1853
+ operationId: 'get-spaces-module-space-undo-state',
1854
+ summary: 'Get undo state for space',
1855
+ description: 'Retrieves the current undo state for a space, indicating whether an undo action is available. ' +
1856
+ 'The undo entry expires after 5 minutes and only the most recent intent can be undone.',
1857
+ }),
1858
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1859
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.UndoStateResponseModel, 'Returns the undo state'),
1860
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1861
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1862
+ __metadata("design:type", Function),
1863
+ __metadata("design:paramtypes", [String]),
1864
+ __metadata("design:returntype", Promise)
1865
+ ], SpacesController.prototype, "getUndoState", null);
1866
+ __decorate([
1867
+ (0, common_1.Post)(':id/intents/undo'),
1868
+ (0, swagger_1.ApiOperation)({
1869
+ operationId: 'create-spaces-module-space-undo',
1870
+ summary: 'Undo the last intent for space',
1871
+ description: 'Reverts the most recent lighting or climate intent by restoring device states to their ' +
1872
+ 'values before the intent was executed. Only the most recent intent can be undone, and ' +
1873
+ 'the undo entry expires after 5 minutes.',
1874
+ }),
1875
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1876
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(spaces_response_model_1.UndoResultResponseModel, 'Returns the undo result'),
1877
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1878
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1879
+ __metadata("design:type", Function),
1880
+ __metadata("design:paramtypes", [String]),
1881
+ __metadata("design:returntype", Promise)
1882
+ ], SpacesController.prototype, "executeUndo", null);
1883
+ __decorate([
1884
+ (0, common_1.Get)(':id/media/bindings'),
1885
+ (0, swagger_1.ApiOperation)({
1886
+ operationId: 'get-spaces-module-space-media-bindings',
1887
+ summary: 'List media activity bindings for space',
1888
+ description: 'Returns all media activity bindings for a space. ' +
1889
+ 'Each binding maps a predefined activity (watch, listen, gaming, background, off) ' +
1890
+ 'to concrete derived endpoint IDs.',
1891
+ }),
1892
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1893
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(media_activity_binding_model_1.MediaActivityBindingsResponseModel, 'Returns media activity bindings for the space'),
1894
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1895
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1896
+ __metadata("design:type", Function),
1897
+ __metadata("design:paramtypes", [String]),
1898
+ __metadata("design:returntype", Promise)
1899
+ ], SpacesController.prototype, "getMediaActivityBindings", null);
1900
+ __decorate([
1901
+ (0, roles_guard_1.Roles)(users_constants_1.UserRole.OWNER, users_constants_1.UserRole.ADMIN),
1902
+ (0, common_1.Post)(':id/media/bindings/apply-defaults'),
1903
+ (0, swagger_1.ApiOperation)({
1904
+ operationId: 'create-spaces-module-space-media-bindings-apply-defaults',
1905
+ summary: 'Apply default activity bindings',
1906
+ description: 'Creates missing activity bindings with heuristic defaults based on available endpoints. ' +
1907
+ 'Does not overwrite existing bindings. Returns the full set of bindings after applying defaults.',
1908
+ }),
1909
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1910
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(media_activity_binding_model_1.MediaActivityBindingsResponseModel, 'Default bindings applied successfully'),
1911
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1912
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1913
+ __metadata("design:type", Function),
1914
+ __metadata("design:paramtypes", [String]),
1915
+ __metadata("design:returntype", Promise)
1916
+ ], SpacesController.prototype, "applyDefaultMediaActivityBindings", null);
1917
+ __decorate([
1918
+ (0, common_1.Get)(':id/media/bindings/validate'),
1919
+ (0, swagger_1.ApiOperation)({
1920
+ operationId: 'get-spaces-module-space-media-bindings-validate',
1921
+ summary: 'Validate media activity bindings',
1922
+ description: 'Returns a diagnostic report for all activity bindings in a space. ' +
1923
+ 'Reports missing slots, invalid endpoints, type mismatches, and override issues.',
1924
+ }),
1925
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1926
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(media_activity_binding_model_1.BindingValidationResponseModel, 'Binding validation report'),
1927
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1928
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1929
+ __metadata("design:type", Function),
1930
+ __metadata("design:paramtypes", [String]),
1931
+ __metadata("design:returntype", Promise)
1932
+ ], SpacesController.prototype, "validateMediaActivityBindings", null);
1933
+ __decorate([
1934
+ (0, common_1.Get)(':id/media/bindings/:bindingId'),
1935
+ (0, swagger_1.ApiOperation)({
1936
+ operationId: 'get-spaces-module-space-media-binding',
1937
+ summary: 'Get a single media activity binding',
1938
+ description: 'Returns a single media activity binding by ID.',
1939
+ }),
1940
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1941
+ (0, swagger_1.ApiParam)({ name: 'bindingId', type: 'string', format: 'uuid', description: 'Binding ID' }),
1942
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(media_activity_binding_model_1.MediaActivityBindingResponseModel, 'Returns the media activity binding'),
1943
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space or binding not found'),
1944
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1945
+ __param(1, (0, common_1.Param)('bindingId', new common_1.ParseUUIDPipe({ version: '4' }))),
1946
+ __metadata("design:type", Function),
1947
+ __metadata("design:paramtypes", [String, String]),
1948
+ __metadata("design:returntype", Promise)
1949
+ ], SpacesController.prototype, "getMediaActivityBinding", null);
1950
+ __decorate([
1951
+ (0, roles_guard_1.Roles)(users_constants_1.UserRole.OWNER, users_constants_1.UserRole.ADMIN),
1952
+ (0, common_1.Post)(':id/media/bindings'),
1953
+ (0, swagger_1.ApiOperation)({
1954
+ operationId: 'create-spaces-module-space-media-binding',
1955
+ summary: 'Create a media activity binding',
1956
+ description: 'Creates a new media activity binding for a space. ' +
1957
+ 'Validates that referenced endpoint IDs exist and match the expected slot types. ' +
1958
+ 'Only one binding per activity key is allowed per space.',
1959
+ }),
1960
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1961
+ (0, api_documentation_decorator_1.ApiCreatedSuccessResponse)(media_activity_binding_model_1.MediaActivityBindingResponseModel, 'Binding created successfully'),
1962
+ (0, api_documentation_decorator_1.ApiBadRequestResponse)('Invalid binding data'),
1963
+ (0, api_documentation_decorator_1.ApiUnprocessableEntityResponse)('Validation failed (endpoint not found, type mismatch, etc.)'),
1964
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
1965
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1966
+ __param(1, (0, common_1.Body)()),
1967
+ __metadata("design:type", Function),
1968
+ __metadata("design:paramtypes", [String, media_activity_binding_dto_1.ReqCreateMediaActivityBindingDto]),
1969
+ __metadata("design:returntype", Promise)
1970
+ ], SpacesController.prototype, "createMediaActivityBinding", null);
1971
+ __decorate([
1972
+ (0, roles_guard_1.Roles)(users_constants_1.UserRole.OWNER, users_constants_1.UserRole.ADMIN),
1973
+ (0, common_1.Patch)(':id/media/bindings/:bindingId'),
1974
+ (0, swagger_1.ApiOperation)({
1975
+ operationId: 'update-spaces-module-space-media-binding',
1976
+ summary: 'Update a media activity binding',
1977
+ description: 'Updates an existing media activity binding. ' +
1978
+ 'Validates endpoint IDs and overrides against current derived endpoints.',
1979
+ }),
1980
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
1981
+ (0, swagger_1.ApiParam)({ name: 'bindingId', type: 'string', format: 'uuid', description: 'Binding ID' }),
1982
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(media_activity_binding_model_1.MediaActivityBindingResponseModel, 'Binding updated successfully'),
1983
+ (0, api_documentation_decorator_1.ApiBadRequestResponse)('Invalid binding data'),
1984
+ (0, api_documentation_decorator_1.ApiUnprocessableEntityResponse)('Validation failed'),
1985
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space or binding not found'),
1986
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
1987
+ __param(1, (0, common_1.Param)('bindingId', new common_1.ParseUUIDPipe({ version: '4' }))),
1988
+ __param(2, (0, common_1.Body)()),
1989
+ __metadata("design:type", Function),
1990
+ __metadata("design:paramtypes", [String, String, media_activity_binding_dto_1.ReqUpdateMediaActivityBindingDto]),
1991
+ __metadata("design:returntype", Promise)
1992
+ ], SpacesController.prototype, "updateMediaActivityBinding", null);
1993
+ __decorate([
1994
+ (0, roles_guard_1.Roles)(users_constants_1.UserRole.OWNER, users_constants_1.UserRole.ADMIN),
1995
+ (0, common_1.Delete)(':id/media/bindings/:bindingId'),
1996
+ (0, common_1.HttpCode)(204),
1997
+ (0, swagger_1.ApiOperation)({
1998
+ operationId: 'delete-spaces-module-space-media-binding',
1999
+ summary: 'Delete a media activity binding',
2000
+ description: 'Deletes a media activity binding.',
2001
+ }),
2002
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
2003
+ (0, swagger_1.ApiParam)({ name: 'bindingId', type: 'string', format: 'uuid', description: 'Binding ID' }),
2004
+ (0, swagger_1.ApiNoContentResponse)({ description: 'Binding deleted successfully' }),
2005
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space or binding not found'),
2006
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
2007
+ __param(1, (0, common_1.Param)('bindingId', new common_1.ParseUUIDPipe({ version: '4' }))),
2008
+ __metadata("design:type", Function),
2009
+ __metadata("design:paramtypes", [String, String]),
2010
+ __metadata("design:returntype", Promise)
2011
+ ], SpacesController.prototype, "deleteMediaActivityBinding", null);
2012
+ __decorate([
2013
+ (0, common_1.Get)(':id/media/activities/active'),
2014
+ (0, swagger_1.ApiOperation)({
2015
+ operationId: 'get-spaces-module-space-active-media-activity',
2016
+ summary: 'Get active media activity',
2017
+ description: 'Returns the currently active media activity for a space, or null if no activity is active.',
2018
+ }),
2019
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
2020
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(media_activity_model_1.ActiveMediaActivityResponseModel, 'Active media activity state'),
2021
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
2022
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
2023
+ __metadata("design:type", Function),
2024
+ __metadata("design:paramtypes", [String]),
2025
+ __metadata("design:returntype", Promise)
2026
+ ], SpacesController.prototype, "getActiveMediaActivity", null);
2027
+ __decorate([
2028
+ (0, common_1.Post)(':id/media/activities/:activityKey/preview'),
2029
+ (0, swagger_1.ApiOperation)({
2030
+ operationId: 'preview-spaces-module-space-media-activity',
2031
+ summary: 'Preview a media activity execution plan (dry-run)',
2032
+ description: 'Returns the resolved execution plan for a media activity without executing any commands, ' +
2033
+ 'changing state, or emitting WebSocket events. Useful for debugging bindings and endpoints.',
2034
+ }),
2035
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
2036
+ (0, swagger_1.ApiParam)({
2037
+ name: 'activityKey',
2038
+ type: 'string',
2039
+ enum: Object.values(spaces_constants_1.MediaActivityKey),
2040
+ description: 'Activity key to preview',
2041
+ }),
2042
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(media_activity_model_1.MediaActivityDryRunPreviewResponseModel, 'Dry-run execution plan preview'),
2043
+ (0, api_documentation_decorator_1.ApiBadRequestResponse)('Invalid activity key'),
2044
+ (0, api_documentation_decorator_1.ApiUnprocessableEntityResponse)('Binding missing or validation failed'),
2045
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
2046
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
2047
+ __param(1, (0, common_1.Param)('activityKey')),
2048
+ __metadata("design:type", Function),
2049
+ __metadata("design:paramtypes", [String, String]),
2050
+ __metadata("design:returntype", Promise)
2051
+ ], SpacesController.prototype, "previewMediaActivity", null);
2052
+ __decorate([
2053
+ (0, common_1.Post)(':id/media/activities/:activityKey/activate'),
2054
+ (0, swagger_1.ApiOperation)({
2055
+ operationId: 'activate-spaces-module-space-media-activity',
2056
+ summary: 'Activate a media activity',
2057
+ description: 'Activates a media activity for a space. Resolves the binding into an execution plan, ' +
2058
+ 'executes device commands (power, input, volume), and persists the active state.',
2059
+ }),
2060
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
2061
+ (0, swagger_1.ApiParam)({
2062
+ name: 'activityKey',
2063
+ type: 'string',
2064
+ enum: Object.values(spaces_constants_1.MediaActivityKey),
2065
+ description: 'Activity key to activate',
2066
+ }),
2067
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(media_activity_model_1.MediaActivityActivationResponseModel, 'Activity activation result'),
2068
+ (0, api_documentation_decorator_1.ApiBadRequestResponse)('Invalid activity key'),
2069
+ (0, api_documentation_decorator_1.ApiUnprocessableEntityResponse)('Binding missing or validation failed'),
2070
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
2071
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
2072
+ __param(1, (0, common_1.Param)('activityKey')),
2073
+ __metadata("design:type", Function),
2074
+ __metadata("design:paramtypes", [String, String]),
2075
+ __metadata("design:returntype", Promise)
2076
+ ], SpacesController.prototype, "activateMediaActivity", null);
2077
+ __decorate([
2078
+ (0, common_1.Post)(':id/media/activities/deactivate'),
2079
+ (0, swagger_1.ApiOperation)({
2080
+ operationId: 'deactivate-spaces-module-space-media-activity',
2081
+ summary: 'Deactivate media activity',
2082
+ description: 'Deactivates the current media activity for a space, resetting the active state.',
2083
+ }),
2084
+ (0, swagger_1.ApiParam)({ name: 'id', type: 'string', format: 'uuid', description: 'Space ID' }),
2085
+ (0, api_documentation_decorator_1.ApiSuccessResponse)(media_activity_model_1.MediaActivityActivationResponseModel, 'Activity deactivated'),
2086
+ (0, api_documentation_decorator_1.ApiNotFoundResponse)('Space not found'),
2087
+ __param(0, (0, common_1.Param)('id', new common_1.ParseUUIDPipe({ version: '4' }))),
2088
+ __metadata("design:type", Function),
2089
+ __metadata("design:paramtypes", [String]),
2090
+ __metadata("design:returntype", Promise)
2091
+ ], SpacesController.prototype, "deactivateMediaActivity", null);
2092
+ __decorate([
2093
+ (0, common_1.Post)('suggestions/heartbeat'),
2094
+ (0, roles_guard_1.Roles)(users_constants_1.UserRole.OWNER, users_constants_1.UserRole.ADMIN),
2095
+ (0, common_1.HttpCode)(200),
2096
+ (0, swagger_1.ApiOperation)({
2097
+ operationId: 'trigger-spaces-module-suggestion-heartbeat',
2098
+ summary: 'Trigger suggestion heartbeat (debug)',
2099
+ description: 'Manually runs the space suggestion heartbeat cycle. Evaluates all enabled spaces and emits suggestion events via WebSocket.',
2100
+ }),
2101
+ __metadata("design:type", Function),
2102
+ __metadata("design:paramtypes", []),
2103
+ __metadata("design:returntype", Promise)
2104
+ ], SpacesController.prototype, "triggerSuggestionHeartbeat", null);
2105
+ __decorate([
2106
+ (0, common_1.Post)('suggestions/test'),
2107
+ (0, roles_guard_1.Roles)(users_constants_1.UserRole.OWNER, users_constants_1.UserRole.ADMIN),
2108
+ (0, common_1.HttpCode)(200),
2109
+ (0, swagger_1.ApiOperation)({
2110
+ operationId: 'trigger-spaces-module-suggestion-test',
2111
+ summary: 'Emit a fake suggestion (debug)',
2112
+ description: 'Emits a fake lighting suggestion via WebSocket, bypassing all rules and cooldowns. ' +
2113
+ 'Optionally specify a space_id in the request body to target a specific space.',
2114
+ }),
2115
+ __param(0, (0, common_1.Body)()),
2116
+ __metadata("design:type", Function),
2117
+ __metadata("design:paramtypes", [Object]),
2118
+ __metadata("design:returntype", Promise)
2119
+ ], SpacesController.prototype, "emitTestSuggestion", null);
2120
+ exports.SpacesController = SpacesController = __decorate([
2121
+ (0, swagger_1.ApiTags)(spaces_constants_1.SPACES_MODULE_API_TAG_NAME),
2122
+ (0, swagger_1.ApiExtraModels)(spaces_response_model_1.LightingStateResponseModel, spaces_response_model_1.LightingStateDataModel, spaces_response_model_1.RolesStateMapDataModel, spaces_response_model_1.RoleAggregatedStateDataModel, spaces_response_model_1.RoleLastIntentDataModel, spaces_response_model_1.OtherLightsStateDataModel, spaces_response_model_1.SensorStateResponseModel, spaces_response_model_1.SensorStateDataModel, spaces_response_model_1.SensorAdditionalReadingDataModel, spaces_response_model_1.SensorReadingDataModel, spaces_response_model_1.SensorRoleReadingsDataModel, spaces_response_model_1.EnvironmentSummaryDataModel, spaces_response_model_1.SafetyAlertDataModel, spaces_response_model_1.SensorTargetsResponseModel, spaces_response_model_1.SensorTargetDataModel, spaces_response_model_1.SensorRoleResponseModel, spaces_response_model_1.BulkSensorRolesResponseModel, spaces_response_model_1.BulkSensorRolesResultDataModel, spaces_response_model_1.BulkSensorRoleResultItemModel, media_activity_binding_model_1.BindingValidationResponseModel, media_activity_binding_model_1.BindingValidationReportModel, media_activity_binding_model_1.BindingValidationIssueModel, media_activity_model_1.MediaActivityDryRunPreviewResponseModel, media_activity_model_1.MediaActivityDryRunPreviewModel, media_activity_model_1.MediaActivityDryRunWarningModel),
2123
+ (0, common_1.Controller)('spaces'),
2124
+ __metadata("design:paramtypes", [spaces_service_1.SpacesService,
2125
+ space_intent_service_1.SpaceIntentService,
2126
+ space_lighting_role_service_1.SpaceLightingRoleService,
2127
+ space_lighting_state_service_1.SpaceLightingStateService,
2128
+ space_climate_role_service_1.SpaceClimateRoleService,
2129
+ space_covers_role_service_1.SpaceCoversRoleService,
2130
+ space_sensor_role_service_1.SpaceSensorRoleService,
2131
+ space_sensor_state_service_1.SpaceSensorStateService,
2132
+ space_suggestion_service_1.SpaceSuggestionService,
2133
+ space_suggestion_heartbeat_service_1.SpaceSuggestionHeartbeatService,
2134
+ space_context_snapshot_service_1.SpaceContextSnapshotService,
2135
+ space_undo_history_service_1.SpaceUndoHistoryService,
2136
+ spec_1.IntentSpecLoaderService,
2137
+ derived_media_endpoint_service_1.DerivedMediaEndpointService,
2138
+ space_media_activity_binding_service_1.SpaceMediaActivityBindingService,
2139
+ space_media_activity_service_1.SpaceMediaActivityService,
2140
+ event_emitter_1.EventEmitter2])
2141
+ ], SpacesController);
2142
+ //# sourceMappingURL=spaces.controller.js.map