@fastybird/smart-panel-backend 0.12.0-alpha.0 → 1.0.0-beta.3

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 (1045) hide show
  1. package/dist/app.constants.js.map +1 -1
  2. package/dist/app.module.js +44 -17
  3. package/dist/app.module.js.map +1 -1
  4. package/dist/common/filters/bad-request-exception.filter.js +0 -6
  5. package/dist/common/filters/bad-request-exception.filter.js.map +1 -1
  6. package/dist/common/filters/global-error.filter.js +2 -6
  7. package/dist/common/filters/global-error.filter.js.map +1 -1
  8. package/dist/common/filters/internal-server-error-exception.filter.js +0 -5
  9. package/dist/common/filters/internal-server-error-exception.filter.js.map +1 -1
  10. package/dist/common/filters/not-found-exception.filter.d.ts +4 -0
  11. package/dist/common/filters/not-found-exception.filter.js +22 -3
  12. package/dist/common/filters/not-found-exception.filter.js.map +1 -1
  13. package/dist/common/filters/query-failed-exception.filter.js +0 -5
  14. package/dist/common/filters/query-failed-exception.filter.js.map +1 -1
  15. package/dist/common/filters/unprocessable-entity-exception.filter.js +0 -5
  16. package/dist/common/filters/unprocessable-entity-exception.filter.js.map +1 -1
  17. package/dist/common/plugin-relations/relation-loader.interface.d.ts +5 -0
  18. package/dist/common/plugin-relations/relation-loader.interface.js +3 -0
  19. package/dist/common/plugin-relations/relation-loader.interface.js.map +1 -0
  20. package/dist/common/services/app-instance-holder.service.d.ts +1 -2
  21. package/dist/common/services/app-instance-holder.service.js.map +1 -1
  22. package/dist/common/utils/config.utils.d.ts +0 -1
  23. package/dist/common/utils/config.utils.js +1 -11
  24. package/dist/common/utils/config.utils.js.map +1 -1
  25. package/dist/common/utils/semver.js +1 -1
  26. package/dist/common/utils/semver.js.map +1 -1
  27. package/dist/main.js +25 -6
  28. package/dist/main.js.map +1 -1
  29. package/dist/migrations/1000000000000-InitialSetup.js +8 -0
  30. package/dist/migrations/1000000000000-InitialSetup.js.map +1 -1
  31. package/dist/migrations/1000000000002-AddTokenLastUsedAt.d.ts +6 -0
  32. package/dist/migrations/1000000000002-AddTokenLastUsedAt.js +15 -0
  33. package/dist/migrations/1000000000002-AddTokenLastUsedAt.js.map +1 -0
  34. package/dist/migrations/1000000000003-UnifySpaceRoleTables.d.ts +6 -0
  35. package/dist/migrations/1000000000003-UnifySpaceRoleTables.js +88 -0
  36. package/dist/migrations/1000000000003-UnifySpaceRoleTables.js.map +1 -0
  37. package/dist/migrations/1000000000004-DisplaysSpaceOnly.d.ts +6 -0
  38. package/dist/migrations/1000000000004-DisplaysSpaceOnly.js +165 -0
  39. package/dist/migrations/1000000000004-DisplaysSpaceOnly.js.map +1 -0
  40. package/dist/migrations/1000000000005-SpacesSignageInfoPanel.d.ts +6 -0
  41. package/dist/migrations/1000000000005-SpacesSignageInfoPanel.js +66 -0
  42. package/dist/migrations/1000000000005-SpacesSignageInfoPanel.js.map +1 -0
  43. package/dist/migrations/1000000000006-DropLegacyRoleTables.d.ts +6 -0
  44. package/dist/migrations/1000000000006-DropLegacyRoleTables.js +32 -0
  45. package/dist/migrations/1000000000006-DropLegacyRoleTables.js.map +1 -0
  46. package/dist/modules/api/interceptors/open-api-response.interceptor.js +1 -1
  47. package/dist/modules/api/interceptors/open-api-response.interceptor.js.map +1 -1
  48. package/dist/modules/auth/auth.module.js +44 -28
  49. package/dist/modules/auth/auth.module.js.map +1 -1
  50. package/dist/modules/auth/controllers/auth.controller.js +6 -0
  51. package/dist/modules/auth/controllers/auth.controller.js.map +1 -1
  52. package/dist/modules/auth/controllers/tokens.controller.d.ts +10 -3
  53. package/dist/modules/auth/controllers/tokens.controller.js +96 -7
  54. package/dist/modules/auth/controllers/tokens.controller.js.map +1 -1
  55. package/dist/modules/auth/dto/create-personal-token.dto.d.ts +8 -0
  56. package/dist/modules/auth/dto/create-personal-token.dto.js +75 -0
  57. package/dist/modules/auth/dto/create-personal-token.dto.js.map +1 -0
  58. package/dist/modules/auth/dto/register.dto.d.ts +1 -1
  59. package/dist/modules/auth/dto/register.dto.js +13 -11
  60. package/dist/modules/auth/dto/register.dto.js.map +1 -1
  61. package/dist/modules/auth/entities/auth.entity.d.ts +1 -0
  62. package/dist/modules/auth/entities/auth.entity.js +13 -0
  63. package/dist/modules/auth/entities/auth.entity.js.map +1 -1
  64. package/dist/modules/auth/guards/auth.guard.d.ts +0 -1
  65. package/dist/modules/auth/guards/auth.guard.js +8 -26
  66. package/dist/modules/auth/guards/auth.guard.js.map +1 -1
  67. package/dist/modules/auth/guards/display-aware-throttler.guard.d.ts +16 -0
  68. package/dist/modules/auth/guards/display-aware-throttler.guard.js +133 -0
  69. package/dist/modules/auth/guards/display-aware-throttler.guard.js.map +1 -0
  70. package/dist/modules/auth/services/auth.service.js +1 -1
  71. package/dist/modules/auth/services/auth.service.js.map +1 -1
  72. package/dist/modules/auth/services/tokens.service.d.ts +10 -0
  73. package/dist/modules/auth/services/tokens.service.js +35 -0
  74. package/dist/modules/auth/services/tokens.service.js.map +1 -1
  75. package/dist/modules/auth/utils/token.utils.d.ts +7 -0
  76. package/dist/modules/auth/utils/token.utils.js +12 -1
  77. package/dist/modules/auth/utils/token.utils.js.map +1 -1
  78. package/dist/modules/buddy/buddy.module.d.ts +5 -1
  79. package/dist/modules/buddy/buddy.module.js +42 -15
  80. package/dist/modules/buddy/buddy.module.js.map +1 -1
  81. package/dist/modules/buddy/buddy.utils.d.ts +8 -0
  82. package/dist/modules/buddy/buddy.utils.js +49 -0
  83. package/dist/modules/buddy/buddy.utils.js.map +1 -1
  84. package/dist/modules/buddy/controllers/buddy-suggestions.controller.js +2 -2
  85. package/dist/modules/buddy/controllers/buddy-suggestions.controller.js.map +1 -1
  86. package/dist/modules/buddy/entities/buddy-conversation.entity.js +3 -3
  87. package/dist/modules/buddy/entities/buddy-conversation.entity.js.map +1 -1
  88. package/dist/modules/buddy/entities/buddy-message.entity.js +2 -2
  89. package/dist/modules/buddy/entities/buddy-message.entity.js.map +1 -1
  90. package/dist/modules/buddy/entities/buddy-suggestion.entity.d.ts +19 -0
  91. package/dist/modules/buddy/entities/buddy-suggestion.entity.js +93 -0
  92. package/dist/modules/buddy/entities/buddy-suggestion.entity.js.map +1 -0
  93. package/dist/modules/buddy/listeners/media-activity-event.listener.js +3 -3
  94. package/dist/modules/buddy/listeners/media-activity-event.listener.js.map +1 -1
  95. package/dist/modules/buddy/platforms/llm-provider.platform.d.ts +6 -0
  96. package/dist/modules/buddy/platforms/openai-sdk.utils.d.ts +2 -1
  97. package/dist/modules/buddy/platforms/openai-sdk.utils.js +12 -1
  98. package/dist/modules/buddy/platforms/openai-sdk.utils.js.map +1 -1
  99. package/dist/modules/buddy/services/buddy-context.service.js +2 -2
  100. package/dist/modules/buddy/services/buddy-context.service.js.map +1 -1
  101. package/dist/modules/buddy/services/buddy-conversation.service.js +23 -8
  102. package/dist/modules/buddy/services/buddy-conversation.service.js.map +1 -1
  103. package/dist/modules/buddy/services/buddy-personality.service.d.ts +1 -1
  104. package/dist/modules/buddy/services/buddy-personality.service.js.map +1 -1
  105. package/dist/modules/buddy/services/heartbeat.service.js +2 -2
  106. package/dist/modules/buddy/services/heartbeat.service.js.map +1 -1
  107. package/dist/modules/buddy/services/llm-provider.service.js +2 -10
  108. package/dist/modules/buddy/services/llm-provider.service.js.map +1 -1
  109. package/dist/modules/buddy/services/module-reset.service.d.ts +3 -1
  110. package/dist/modules/buddy/services/module-reset.service.js +6 -1
  111. package/dist/modules/buddy/services/module-reset.service.js.map +1 -1
  112. package/dist/modules/buddy/services/pattern-detector.service.d.ts +4 -1
  113. package/dist/modules/buddy/services/pattern-detector.service.js +10 -3
  114. package/dist/modules/buddy/services/pattern-detector.service.js.map +1 -1
  115. package/dist/modules/buddy/services/scene-suggestion-evaluator.service.d.ts +4 -1
  116. package/dist/modules/buddy/services/scene-suggestion-evaluator.service.js +10 -4
  117. package/dist/modules/buddy/services/scene-suggestion-evaluator.service.js.map +1 -1
  118. package/dist/modules/buddy/services/stt-provider.service.js +2 -10
  119. package/dist/modules/buddy/services/stt-provider.service.js.map +1 -1
  120. package/dist/modules/buddy/services/suggestion-engine.service.d.ts +19 -13
  121. package/dist/modules/buddy/services/suggestion-engine.service.js +170 -103
  122. package/dist/modules/buddy/services/suggestion-engine.service.js.map +1 -1
  123. package/dist/modules/buddy/services/tts-provider.service.js +2 -10
  124. package/dist/modules/buddy/services/tts-provider.service.js.map +1 -1
  125. package/dist/modules/config/config.constants.d.ts +2 -1
  126. package/dist/modules/config/config.constants.js +1 -0
  127. package/dist/modules/config/config.constants.js.map +1 -1
  128. package/dist/modules/config/config.module.d.ts +5 -1
  129. package/dist/modules/config/config.module.js +78 -14
  130. package/dist/modules/config/config.module.js.map +1 -1
  131. package/dist/modules/config/services/config.service.d.ts +1 -0
  132. package/dist/modules/config/services/config.service.js +11 -1
  133. package/dist/modules/config/services/config.service.js.map +1 -1
  134. package/dist/modules/dashboard/dashboard.module.js +21 -18
  135. package/dist/modules/dashboard/dashboard.module.js.map +1 -1
  136. package/dist/modules/dashboard/entities/dashboard.relations.d.ts +1 -5
  137. package/dist/modules/devices/devices.module.js +24 -16
  138. package/dist/modules/devices/devices.module.js.map +1 -1
  139. package/dist/modules/devices/services/device-zones.service.js +2 -2
  140. package/dist/modules/devices/services/device-zones.service.js.map +1 -1
  141. package/dist/modules/devices/services/devices.service.js.map +1 -1
  142. package/dist/modules/displays/displays.constants.d.ts +0 -5
  143. package/dist/modules/displays/displays.constants.js +1 -7
  144. package/dist/modules/displays/displays.constants.js.map +1 -1
  145. package/dist/modules/displays/displays.module.js +27 -23
  146. package/dist/modules/displays/displays.module.js.map +1 -1
  147. package/dist/modules/displays/dto/update-display.dto.d.ts +2 -3
  148. package/dist/modules/displays/dto/update-display.dto.js +4 -19
  149. package/dist/modules/displays/dto/update-display.dto.js.map +1 -1
  150. package/dist/modules/displays/entities/displays.entity.d.ts +3 -4
  151. package/dist/modules/displays/entities/displays.entity.js +8 -25
  152. package/dist/modules/displays/entities/displays.entity.js.map +1 -1
  153. package/dist/modules/displays/services/displays.service.d.ts +4 -2
  154. package/dist/modules/displays/services/displays.service.js +19 -24
  155. package/dist/modules/displays/services/displays.service.js.map +1 -1
  156. package/dist/modules/displays/services/home-resolution.service.d.ts +7 -2
  157. package/dist/modules/displays/services/home-resolution.service.js +50 -6
  158. package/dist/modules/displays/services/home-resolution.service.js.map +1 -1
  159. package/dist/modules/displays/services/space-home-page-resolver-registry.service.d.ts +9 -0
  160. package/dist/modules/displays/services/space-home-page-resolver-registry.service.js +26 -0
  161. package/dist/modules/displays/services/space-home-page-resolver-registry.service.js.map +1 -0
  162. package/dist/modules/displays/services/space-selection-validator-registry.service.d.ts +9 -0
  163. package/dist/modules/displays/services/space-selection-validator-registry.service.js +26 -0
  164. package/dist/modules/displays/services/space-selection-validator-registry.service.js.map +1 -0
  165. package/dist/modules/energy/energy.module.js +29 -15
  166. package/dist/modules/energy/energy.module.js.map +1 -1
  167. package/dist/modules/extensions/controllers/actions.controller.d.ts +9 -4
  168. package/dist/modules/extensions/controllers/actions.controller.js +63 -10
  169. package/dist/modules/extensions/controllers/actions.controller.js.map +1 -1
  170. package/dist/modules/extensions/extensions.module.js +31 -28
  171. package/dist/modules/extensions/extensions.module.js.map +1 -1
  172. package/dist/modules/extensions/extensions.openapi.d.ts +3 -3
  173. package/dist/modules/extensions/extensions.openapi.js +2 -0
  174. package/dist/modules/extensions/extensions.openapi.js.map +1 -1
  175. package/dist/modules/extensions/models/action.model.d.ts +13 -0
  176. package/dist/modules/extensions/models/action.model.js +89 -3
  177. package/dist/modules/extensions/models/action.model.js.map +1 -1
  178. package/dist/modules/extensions/models/actions-response.model.d.ts +4 -1
  179. package/dist/modules/extensions/models/actions-response.model.js +19 -1
  180. package/dist/modules/extensions/models/actions-response.model.js.map +1 -1
  181. package/dist/modules/extensions/models/extension.model.js +5 -0
  182. package/dist/modules/extensions/models/extension.model.js.map +1 -1
  183. package/dist/modules/extensions/models/service-status.model.js +7 -0
  184. package/dist/modules/extensions/models/service-status.model.js.map +1 -1
  185. package/dist/modules/extensions/services/action-audit.service.d.ts +21 -0
  186. package/dist/modules/extensions/services/action-audit.service.js +49 -0
  187. package/dist/modules/extensions/services/action-audit.service.js.map +1 -0
  188. package/dist/modules/extensions/services/base-managed-plugin.service.d.ts +11 -0
  189. package/dist/modules/extensions/services/base-managed-plugin.service.js +28 -0
  190. package/dist/modules/extensions/services/base-managed-plugin.service.js.map +1 -0
  191. package/dist/modules/extensions/services/extension-action-registry.service.d.ts +6 -1
  192. package/dist/modules/extensions/services/extension-action-registry.service.js +22 -3
  193. package/dist/modules/extensions/services/extension-action-registry.service.js.map +1 -1
  194. package/dist/modules/extensions/services/extension-action.interface.d.ts +3 -0
  195. package/dist/modules/extensions/services/extension-action.interface.js +3 -1
  196. package/dist/modules/extensions/services/extension-action.interface.js.map +1 -1
  197. package/dist/modules/intents/intents.module.js +27 -26
  198. package/dist/modules/intents/intents.module.js.map +1 -1
  199. package/dist/modules/mdns/mdns.module.js +24 -19
  200. package/dist/modules/mdns/mdns.module.js.map +1 -1
  201. package/dist/modules/platform/dto/system-info.dto.d.ts +2 -0
  202. package/dist/modules/platform/dto/system-info.dto.js +7 -0
  203. package/dist/modules/platform/dto/system-info.dto.js.map +1 -1
  204. package/dist/modules/platform/platform.module.js +25 -17
  205. package/dist/modules/platform/platform.module.js.map +1 -1
  206. package/dist/modules/platform/platforms/abstract.platform.d.ts +44 -0
  207. package/dist/modules/platform/platforms/abstract.platform.js +267 -0
  208. package/dist/modules/platform/platforms/abstract.platform.js.map +1 -1
  209. package/dist/modules/platform/platforms/docker.platform.d.ts +2 -0
  210. package/dist/modules/platform/platforms/docker.platform.js +3 -0
  211. package/dist/modules/platform/platforms/docker.platform.js.map +1 -1
  212. package/dist/modules/platform/platforms/generic.platform.d.ts +2 -1
  213. package/dist/modules/platform/platforms/generic.platform.js +17 -15
  214. package/dist/modules/platform/platforms/generic.platform.js.map +1 -1
  215. package/dist/modules/platform/platforms/home-assistant.platform.d.ts +4 -0
  216. package/dist/modules/platform/platforms/home-assistant.platform.js +21 -0
  217. package/dist/modules/platform/platforms/home-assistant.platform.js.map +1 -1
  218. package/dist/modules/platform/platforms/raspberry.platform.js +22 -40
  219. package/dist/modules/platform/platforms/raspberry.platform.js.map +1 -1
  220. package/dist/modules/platform/services/platform.service.d.ts +2 -0
  221. package/dist/modules/platform/services/platform.service.js +7 -0
  222. package/dist/modules/platform/services/platform.service.js.map +1 -1
  223. package/dist/modules/scenes/scenes.module.js +18 -18
  224. package/dist/modules/scenes/scenes.module.js.map +1 -1
  225. package/dist/modules/security/security.module.js +22 -17
  226. package/dist/modules/security/security.module.js.map +1 -1
  227. package/dist/modules/spaces/controllers/spaces.controller.d.ts +5 -115
  228. package/dist/modules/spaces/controllers/spaces.controller.js +22 -1922
  229. package/dist/modules/spaces/controllers/spaces.controller.js.map +1 -1
  230. package/dist/modules/spaces/dto/create-space.dto.d.ts +1 -5
  231. package/dist/modules/spaces/dto/create-space.dto.js +0 -61
  232. package/dist/modules/spaces/dto/create-space.dto.js.map +1 -1
  233. package/dist/modules/spaces/dto/update-space.dto.d.ts +1 -5
  234. package/dist/modules/spaces/dto/update-space.dto.js +0 -61
  235. package/dist/modules/spaces/dto/update-space.dto.js.map +1 -1
  236. package/dist/modules/spaces/entities/space-role.entity.d.ts +8 -0
  237. package/dist/modules/spaces/entities/space-role.entity.js +58 -0
  238. package/dist/modules/spaces/entities/space-role.entity.js.map +1 -0
  239. package/dist/modules/spaces/entities/space.entity.d.ts +3 -6
  240. package/dist/modules/spaces/entities/space.entity.js +11 -74
  241. package/dist/modules/spaces/entities/space.entity.js.map +1 -1
  242. package/dist/modules/spaces/entities/space.relations.d.ts +11 -0
  243. package/dist/modules/spaces/entities/space.relations.js +3 -0
  244. package/dist/modules/spaces/entities/space.relations.js.map +1 -0
  245. package/dist/modules/spaces/models/spaces-response.model.d.ts +1 -522
  246. package/dist/modules/spaces/models/spaces-response.model.js +23 -4150
  247. package/dist/modules/spaces/models/spaces-response.model.js.map +1 -1
  248. package/dist/modules/spaces/services/space-create-builder-registry.service.d.ts +6 -0
  249. package/dist/modules/spaces/services/space-create-builder-registry.service.js +26 -0
  250. package/dist/modules/spaces/services/space-create-builder-registry.service.js.map +1 -0
  251. package/dist/modules/spaces/services/space-relations-loader-registry.service.d.ts +6 -0
  252. package/dist/modules/spaces/services/space-relations-loader-registry.service.js +26 -0
  253. package/dist/modules/spaces/services/space-relations-loader-registry.service.js.map +1 -0
  254. package/dist/modules/spaces/services/space-roles-type-mapper.service.d.ts +12 -0
  255. package/dist/modules/spaces/services/space-roles-type-mapper.service.js +39 -0
  256. package/dist/modules/spaces/services/space-roles-type-mapper.service.js.map +1 -0
  257. package/dist/modules/spaces/services/spaces-type-mapper.service.d.ts +17 -0
  258. package/dist/modules/spaces/services/spaces-type-mapper.service.js +36 -0
  259. package/dist/modules/spaces/services/spaces-type-mapper.service.js.map +1 -0
  260. package/dist/modules/spaces/services/spaces.service.d.ts +4 -12
  261. package/dist/modules/spaces/services/spaces.service.js +120 -160
  262. package/dist/modules/spaces/services/spaces.service.js.map +1 -1
  263. package/dist/modules/spaces/spaces.constants.d.ts +13 -292
  264. package/dist/modules/spaces/spaces.constants.js +13 -1449
  265. package/dist/modules/spaces/spaces.constants.js.map +1 -1
  266. package/dist/modules/spaces/spaces.module.d.ts +2 -9
  267. package/dist/modules/spaces/spaces.module.js +51 -108
  268. package/dist/modules/spaces/spaces.module.js.map +1 -1
  269. package/dist/modules/spaces/spaces.openapi.d.ts +3 -16
  270. package/dist/modules/spaces/spaces.openapi.js +0 -136
  271. package/dist/modules/spaces/spaces.openapi.js.map +1 -1
  272. package/dist/modules/stats/controllers/prometheus.controller.js +0 -2
  273. package/dist/modules/stats/controllers/prometheus.controller.js.map +1 -1
  274. package/dist/modules/storage/models/config.model.js +2 -4
  275. package/dist/modules/storage/models/config.model.js.map +1 -1
  276. package/dist/modules/storage/services/storage.service.d.ts +4 -10
  277. package/dist/modules/storage/services/storage.service.js +21 -60
  278. package/dist/modules/storage/services/storage.service.js.map +1 -1
  279. package/dist/modules/storage/storage.constants.d.ts +2 -0
  280. package/dist/modules/storage/storage.constants.js +3 -1
  281. package/dist/modules/storage/storage.constants.js.map +1 -1
  282. package/dist/modules/storage/storage.module.js +26 -7
  283. package/dist/modules/storage/storage.module.js.map +1 -1
  284. package/dist/modules/swagger/commands/serve-swagger.command.d.ts +14 -0
  285. package/dist/modules/swagger/commands/serve-swagger.command.js +60 -0
  286. package/dist/modules/swagger/commands/serve-swagger.command.js.map +1 -0
  287. package/dist/modules/swagger/swagger.module.js +2 -0
  288. package/dist/modules/swagger/swagger.module.js.map +1 -1
  289. package/dist/modules/system/backup-contribution.module.d.ts +2 -0
  290. package/dist/modules/system/backup-contribution.module.js +22 -0
  291. package/dist/modules/system/backup-contribution.module.js.map +1 -0
  292. package/dist/modules/system/commands/update-panel.command.d.ts +1 -0
  293. package/dist/modules/system/commands/update-panel.command.js +21 -6
  294. package/dist/modules/system/commands/update-panel.command.js.map +1 -1
  295. package/dist/modules/system/controllers/backup.controller.d.ts +17 -0
  296. package/dist/modules/system/controllers/backup.controller.js +308 -0
  297. package/dist/modules/system/controllers/backup.controller.js.map +1 -0
  298. package/dist/modules/system/dto/create-backup.dto.d.ts +6 -0
  299. package/dist/modules/system/dto/create-backup.dto.js +43 -0
  300. package/dist/modules/system/dto/create-backup.dto.js.map +1 -0
  301. package/dist/modules/system/models/backup-response.model.d.ts +8 -0
  302. package/dist/modules/system/models/backup-response.model.js +46 -0
  303. package/dist/modules/system/models/backup-response.model.js.map +1 -0
  304. package/dist/modules/system/models/backup.model.d.ts +14 -0
  305. package/dist/modules/system/models/backup.model.js +103 -0
  306. package/dist/modules/system/models/backup.model.js.map +1 -0
  307. package/dist/modules/system/models/system.model.d.ts +3 -1
  308. package/dist/modules/system/models/system.model.js +26 -0
  309. package/dist/modules/system/models/system.model.js.map +1 -1
  310. package/dist/modules/system/scripts/update-worker.sh +304 -0
  311. package/dist/modules/system/services/backup-contribution-registry.service.d.ts +24 -0
  312. package/dist/modules/system/services/backup-contribution-registry.service.js +52 -0
  313. package/dist/modules/system/services/backup-contribution-registry.service.js.map +1 -0
  314. package/dist/modules/system/services/backup.service.d.ts +52 -0
  315. package/dist/modules/system/services/backup.service.js +630 -0
  316. package/dist/modules/system/services/backup.service.js.map +1 -0
  317. package/dist/modules/system/services/house-mode-actions.service.d.ts +1 -1
  318. package/dist/modules/system/services/house-mode-actions.service.js +5 -5
  319. package/dist/modules/system/services/house-mode-actions.service.js.map +1 -1
  320. package/dist/modules/system/services/system-command.service.d.ts +7 -1
  321. package/dist/modules/system/services/system-command.service.js +24 -4
  322. package/dist/modules/system/services/system-command.service.js.map +1 -1
  323. package/dist/modules/system/services/system.service.js +4 -1
  324. package/dist/modules/system/services/system.service.js.map +1 -1
  325. package/dist/modules/system/services/update-executor.service.d.ts +4 -0
  326. package/dist/modules/system/services/update-executor.service.js +130 -10
  327. package/dist/modules/system/services/update-executor.service.js.map +1 -1
  328. package/dist/modules/system/services/update.service.d.ts +11 -3
  329. package/dist/modules/system/services/update.service.js +108 -38
  330. package/dist/modules/system/services/update.service.js.map +1 -1
  331. package/dist/modules/system/system.constants.d.ts +7 -0
  332. package/dist/modules/system/system.constants.js +9 -1
  333. package/dist/modules/system/system.constants.js.map +1 -1
  334. package/dist/modules/system/system.module.d.ts +5 -1
  335. package/dist/modules/system/system.module.js +95 -31
  336. package/dist/modules/system/system.module.js.map +1 -1
  337. package/dist/modules/system/system.openapi.d.ts +4 -1
  338. package/dist/modules/system/system.openapi.js +8 -0
  339. package/dist/modules/system/system.openapi.js.map +1 -1
  340. package/dist/modules/users/controllers/users.controller.js +9 -0
  341. package/dist/modules/users/controllers/users.controller.js.map +1 -1
  342. package/dist/modules/users/dto/create-user.dto.js +1 -0
  343. package/dist/modules/users/dto/create-user.dto.js.map +1 -1
  344. package/dist/modules/users/dto/update-user.dto.d.ts +1 -0
  345. package/dist/modules/users/dto/update-user.dto.js +15 -1
  346. package/dist/modules/users/dto/update-user.dto.js.map +1 -1
  347. package/dist/modules/users/services/users.service.d.ts +1 -0
  348. package/dist/modules/users/services/users.service.js +12 -2
  349. package/dist/modules/users/services/users.service.js.map +1 -1
  350. package/dist/modules/users/users.constants.d.ts +3 -0
  351. package/dist/modules/users/users.constants.js +35 -1
  352. package/dist/modules/users/users.constants.js.map +1 -1
  353. package/dist/modules/users/users.module.js +29 -13
  354. package/dist/modules/users/users.module.js.map +1 -1
  355. package/dist/modules/weather/weather.module.js +20 -18
  356. package/dist/modules/weather/weather.module.js.map +1 -1
  357. package/dist/modules/websocket/dto/client-user.dto.js +25 -0
  358. package/dist/modules/websocket/dto/client-user.dto.js.map +1 -1
  359. package/dist/modules/websocket/dto/ws-client.dto.js +26 -0
  360. package/dist/modules/websocket/dto/ws-client.dto.js.map +1 -1
  361. package/dist/modules/websocket/gateway/websocket.gateway.d.ts +2 -2
  362. package/dist/modules/websocket/gateway/websocket.gateway.js +27 -9
  363. package/dist/modules/websocket/gateway/websocket.gateway.js.map +1 -1
  364. package/dist/modules/websocket/services/command-event-registry.service.d.ts +3 -1
  365. package/dist/modules/websocket/services/command-event-registry.service.js +5 -4
  366. package/dist/modules/websocket/services/command-event-registry.service.js.map +1 -1
  367. package/dist/plugins/buddy-claude/buddy-claude.plugin.js +24 -11
  368. package/dist/plugins/buddy-claude/buddy-claude.plugin.js.map +1 -1
  369. package/dist/plugins/buddy-claude-setup-token/buddy-claude-setup-token.plugin.js +21 -11
  370. package/dist/plugins/buddy-claude-setup-token/buddy-claude-setup-token.plugin.js.map +1 -1
  371. package/dist/plugins/buddy-discord/buddy-discord.plugin.js +28 -16
  372. package/dist/plugins/buddy-discord/buddy-discord.plugin.js.map +1 -1
  373. package/dist/plugins/buddy-elevenlabs/buddy-elevenlabs.plugin.js +22 -11
  374. package/dist/plugins/buddy-elevenlabs/buddy-elevenlabs.plugin.js.map +1 -1
  375. package/dist/plugins/buddy-ollama/buddy-ollama.plugin.js +28 -12
  376. package/dist/plugins/buddy-ollama/buddy-ollama.plugin.js.map +1 -1
  377. package/dist/plugins/buddy-openai/buddy-openai.plugin.js +24 -15
  378. package/dist/plugins/buddy-openai/buddy-openai.plugin.js.map +1 -1
  379. package/dist/plugins/buddy-openai/platforms/openai.provider.js +1 -0
  380. package/dist/plugins/buddy-openai/platforms/openai.provider.js.map +1 -1
  381. package/dist/plugins/buddy-openai-codex/buddy-openai-codex.plugin.js +26 -15
  382. package/dist/plugins/buddy-openai-codex/buddy-openai-codex.plugin.js.map +1 -1
  383. package/dist/plugins/buddy-stt-whisper-local/buddy-stt-whisper-local.plugin.js +23 -9
  384. package/dist/plugins/buddy-stt-whisper-local/buddy-stt-whisper-local.plugin.js.map +1 -1
  385. package/dist/plugins/buddy-system-tts/buddy-system-tts.plugin.js +21 -10
  386. package/dist/plugins/buddy-system-tts/buddy-system-tts.plugin.js.map +1 -1
  387. package/dist/plugins/buddy-telegram/buddy-telegram.plugin.js +22 -11
  388. package/dist/plugins/buddy-telegram/buddy-telegram.plugin.js.map +1 -1
  389. package/dist/plugins/buddy-voiceai/buddy-voiceai.plugin.js +22 -12
  390. package/dist/plugins/buddy-voiceai/buddy-voiceai.plugin.js.map +1 -1
  391. package/dist/plugins/buddy-whatsapp/buddy-whatsapp.plugin.js +24 -12
  392. package/dist/plugins/buddy-whatsapp/buddy-whatsapp.plugin.js.map +1 -1
  393. package/dist/plugins/buddy-whatsapp/controllers/whatsapp-webhook.controller.d.ts +2 -2
  394. package/dist/plugins/buddy-whatsapp/controllers/whatsapp-webhook.controller.js +3 -3
  395. package/dist/plugins/buddy-whatsapp/controllers/whatsapp-webhook.controller.js.map +1 -1
  396. package/dist/plugins/buddy-whatsapp/platforms/whatsapp-bot.provider.d.ts +2 -1
  397. package/dist/plugins/buddy-whatsapp/platforms/whatsapp-bot.provider.js +31 -12
  398. package/dist/plugins/buddy-whatsapp/platforms/whatsapp-bot.provider.js.map +1 -1
  399. package/dist/plugins/data-sources-device-channel/data-sources-device-channel.plugin.js +16 -30
  400. package/dist/plugins/data-sources-device-channel/data-sources-device-channel.plugin.js.map +1 -1
  401. package/dist/plugins/data-sources-weather/data-sources-weather.plugin.js +17 -29
  402. package/dist/plugins/data-sources-weather/data-sources-weather.plugin.js.map +1 -1
  403. package/dist/plugins/devices-home-assistant/devices-home-assistant.plugin.js +37 -136
  404. package/dist/plugins/devices-home-assistant/devices-home-assistant.plugin.js.map +1 -1
  405. package/dist/plugins/devices-home-assistant/dto/home-assistant-discovered-helper.dto.js +22 -2
  406. package/dist/plugins/devices-home-assistant/dto/home-assistant-discovered-helper.dto.js.map +1 -1
  407. package/dist/plugins/devices-home-assistant/models/config.model.d.ts +1 -0
  408. package/dist/plugins/devices-home-assistant/models/config.model.js +12 -0
  409. package/dist/plugins/devices-home-assistant/models/config.model.js.map +1 -1
  410. package/dist/plugins/devices-home-assistant/platforms/home-assistant.device.platform.d.ts +3 -1
  411. package/dist/plugins/devices-home-assistant/platforms/home-assistant.device.platform.js +11 -2
  412. package/dist/plugins/devices-home-assistant/platforms/home-assistant.device.platform.js.map +1 -1
  413. package/dist/plugins/devices-home-assistant/services/ha-mdns-discoverer.service.js +0 -6
  414. package/dist/plugins/devices-home-assistant/services/ha-mdns-discoverer.service.js.map +1 -1
  415. package/dist/plugins/devices-home-assistant/services/ha-supervisor.service.d.ts +10 -0
  416. package/dist/plugins/devices-home-assistant/services/ha-supervisor.service.js +47 -0
  417. package/dist/plugins/devices-home-assistant/services/ha-supervisor.service.js.map +1 -0
  418. package/dist/plugins/devices-home-assistant/services/home-assistant-config-validator.service.d.ts +3 -1
  419. package/dist/plugins/devices-home-assistant/services/home-assistant-config-validator.service.js +8 -2
  420. package/dist/plugins/devices-home-assistant/services/home-assistant-config-validator.service.js.map +1 -1
  421. package/dist/plugins/devices-home-assistant/services/home-assistant.http.service.d.ts +5 -1
  422. package/dist/plugins/devices-home-assistant/services/home-assistant.http.service.js +27 -7
  423. package/dist/plugins/devices-home-assistant/services/home-assistant.http.service.js.map +1 -1
  424. package/dist/plugins/devices-home-assistant/services/home-assistant.ws.service.d.ts +9 -7
  425. package/dist/plugins/devices-home-assistant/services/home-assistant.ws.service.js +58 -24
  426. package/dist/plugins/devices-home-assistant/services/home-assistant.ws.service.js.map +1 -1
  427. package/dist/plugins/devices-home-assistant/services/state-changed.event.service.js +1 -0
  428. package/dist/plugins/devices-home-assistant/services/state-changed.event.service.js.map +1 -1
  429. package/dist/plugins/devices-reterminal/devices-reterminal.plugin.js +20 -17
  430. package/dist/plugins/devices-reterminal/devices-reterminal.plugin.js.map +1 -1
  431. package/dist/plugins/devices-shelly-ng/controllers/shelly-ng-devices.controller.d.ts +7 -2
  432. package/dist/plugins/devices-shelly-ng/controllers/shelly-ng-devices.controller.js +83 -2
  433. package/dist/plugins/devices-shelly-ng/controllers/shelly-ng-devices.controller.js.map +1 -1
  434. package/dist/plugins/devices-shelly-ng/delegates/delegates-manager.service.d.ts +4 -0
  435. package/dist/plugins/devices-shelly-ng/delegates/delegates-manager.service.js +86 -11
  436. package/dist/plugins/devices-shelly-ng/delegates/delegates-manager.service.js.map +1 -1
  437. package/dist/plugins/devices-shelly-ng/delegates/shelly-device.delegate.d.ts +8 -0
  438. package/dist/plugins/devices-shelly-ng/delegates/shelly-device.delegate.js +45 -0
  439. package/dist/plugins/devices-shelly-ng/delegates/shelly-device.delegate.js.map +1 -1
  440. package/dist/plugins/devices-shelly-ng/devices-shelly-ng.openapi.d.ts +3 -3
  441. package/dist/plugins/devices-shelly-ng/devices-shelly-ng.openapi.js +4 -0
  442. package/dist/plugins/devices-shelly-ng/devices-shelly-ng.openapi.js.map +1 -1
  443. package/dist/plugins/devices-shelly-ng/devices-shelly-ng.plugin.d.ts +6 -1
  444. package/dist/plugins/devices-shelly-ng/devices-shelly-ng.plugin.js +72 -21
  445. package/dist/plugins/devices-shelly-ng/devices-shelly-ng.plugin.js.map +1 -1
  446. package/dist/plugins/devices-shelly-ng/dto/update-config.dto.d.ts +1 -0
  447. package/dist/plugins/devices-shelly-ng/dto/update-config.dto.js +24 -6
  448. package/dist/plugins/devices-shelly-ng/dto/update-config.dto.js.map +1 -1
  449. package/dist/plugins/devices-shelly-ng/entities/devices-shelly-ng.entity.js +12 -0
  450. package/dist/plugins/devices-shelly-ng/entities/devices-shelly-ng.entity.js.map +1 -1
  451. package/dist/plugins/devices-shelly-ng/entities/shelly-ng-device-address.entity.js +2 -0
  452. package/dist/plugins/devices-shelly-ng/entities/shelly-ng-device-address.entity.js.map +1 -1
  453. package/dist/plugins/devices-shelly-ng/models/config.model.d.ts +1 -0
  454. package/dist/plugins/devices-shelly-ng/models/config.model.js +18 -6
  455. package/dist/plugins/devices-shelly-ng/models/config.model.js.map +1 -1
  456. package/dist/plugins/devices-shelly-ng/models/shelly-ng-response.model.d.ts +4 -1
  457. package/dist/plugins/devices-shelly-ng/models/shelly-ng-response.model.js +15 -1
  458. package/dist/plugins/devices-shelly-ng/models/shelly-ng-response.model.js.map +1 -1
  459. package/dist/plugins/devices-shelly-ng/models/shelly-ng.model.d.ts +30 -0
  460. package/dist/plugins/devices-shelly-ng/models/shelly-ng.model.js +269 -1
  461. package/dist/plugins/devices-shelly-ng/models/shelly-ng.model.js.map +1 -1
  462. package/dist/plugins/devices-shelly-ng/services/device-manager.service.js.map +1 -1
  463. package/dist/plugins/devices-shelly-ng/services/shelly-ng-discovery.service.d.ts +64 -0
  464. package/dist/plugins/devices-shelly-ng/services/shelly-ng-discovery.service.js +301 -0
  465. package/dist/plugins/devices-shelly-ng/services/shelly-ng-discovery.service.js.map +1 -0
  466. package/dist/plugins/devices-shelly-ng/services/shelly-ng.service.d.ts +17 -7
  467. package/dist/plugins/devices-shelly-ng/services/shelly-ng.service.js +110 -15
  468. package/dist/plugins/devices-shelly-ng/services/shelly-ng.service.js.map +1 -1
  469. package/dist/plugins/devices-shelly-ng/services/shelly-rpc-client.service.d.ts +5 -0
  470. package/dist/plugins/devices-shelly-ng/services/shelly-rpc-client.service.js +3 -0
  471. package/dist/plugins/devices-shelly-ng/services/shelly-rpc-client.service.js.map +1 -1
  472. package/dist/plugins/devices-shelly-ng/services/shelly-ws-server.service.d.ts +28 -0
  473. package/dist/plugins/devices-shelly-ng/services/shelly-ws-server.service.js +197 -0
  474. package/dist/plugins/devices-shelly-ng/services/shelly-ws-server.service.js.map +1 -0
  475. package/dist/plugins/devices-shelly-v1/controllers/shelly-v1-devices.controller.d.ts +7 -2
  476. package/dist/plugins/devices-shelly-v1/controllers/shelly-v1-devices.controller.js +83 -2
  477. package/dist/plugins/devices-shelly-v1/controllers/shelly-v1-devices.controller.js.map +1 -1
  478. package/dist/plugins/devices-shelly-v1/devices-shelly-v1.openapi.d.ts +3 -3
  479. package/dist/plugins/devices-shelly-v1/devices-shelly-v1.openapi.js +4 -0
  480. package/dist/plugins/devices-shelly-v1/devices-shelly-v1.openapi.js.map +1 -1
  481. package/dist/plugins/devices-shelly-v1/devices-shelly-v1.plugin.js +27 -23
  482. package/dist/plugins/devices-shelly-v1/devices-shelly-v1.plugin.js.map +1 -1
  483. package/dist/plugins/devices-shelly-v1/models/shelly-v1-response.model.d.ts +4 -1
  484. package/dist/plugins/devices-shelly-v1/models/shelly-v1-response.model.js +15 -1
  485. package/dist/plugins/devices-shelly-v1/models/shelly-v1-response.model.js.map +1 -1
  486. package/dist/plugins/devices-shelly-v1/models/shelly-v1.model.d.ts +31 -0
  487. package/dist/plugins/devices-shelly-v1/models/shelly-v1.model.js +279 -1
  488. package/dist/plugins/devices-shelly-v1/models/shelly-v1.model.js.map +1 -1
  489. package/dist/plugins/devices-shelly-v1/platforms/shelly-v1.device.platform.d.ts +0 -1
  490. package/dist/plugins/devices-shelly-v1/platforms/shelly-v1.device.platform.js +2 -9
  491. package/dist/plugins/devices-shelly-v1/platforms/shelly-v1.device.platform.js.map +1 -1
  492. package/dist/plugins/devices-shelly-v1/services/device-mapper.service.d.ts +0 -1
  493. package/dist/plugins/devices-shelly-v1/services/device-mapper.service.js +2 -15
  494. package/dist/plugins/devices-shelly-v1/services/device-mapper.service.js.map +1 -1
  495. package/dist/plugins/devices-shelly-v1/services/shellies-adapter.service.d.ts +9 -2
  496. package/dist/plugins/devices-shelly-v1/services/shellies-adapter.service.js +93 -20
  497. package/dist/plugins/devices-shelly-v1/services/shellies-adapter.service.js.map +1 -1
  498. package/dist/plugins/devices-shelly-v1/services/shelly-v1-discovery.service.d.ts +62 -0
  499. package/dist/plugins/devices-shelly-v1/services/shelly-v1-discovery.service.js +314 -0
  500. package/dist/plugins/devices-shelly-v1/services/shelly-v1-discovery.service.js.map +1 -0
  501. package/dist/plugins/devices-shelly-v1/services/shelly-v1.service.d.ts +3 -6
  502. package/dist/plugins/devices-shelly-v1/services/shelly-v1.service.js +13 -37
  503. package/dist/plugins/devices-shelly-v1/services/shelly-v1.service.js.map +1 -1
  504. package/dist/plugins/devices-shelly-v1/utils/descriptor.utils.d.ts +2 -0
  505. package/dist/plugins/devices-shelly-v1/utils/descriptor.utils.js +23 -0
  506. package/dist/plugins/devices-shelly-v1/utils/descriptor.utils.js.map +1 -0
  507. package/dist/plugins/devices-third-party/devices-third-party.plugin.js +19 -23
  508. package/dist/plugins/devices-third-party/devices-third-party.plugin.js.map +1 -1
  509. package/dist/plugins/devices-wled/devices-wled.plugin.js +30 -20
  510. package/dist/plugins/devices-wled/devices-wled.plugin.js.map +1 -1
  511. package/dist/plugins/devices-wled/services/wled-mdns-discoverer.service.js +0 -6
  512. package/dist/plugins/devices-wled/services/wled-mdns-discoverer.service.js.map +1 -1
  513. package/dist/plugins/devices-wled/services/wled.service.d.ts +3 -6
  514. package/dist/plugins/devices-wled/services/wled.service.js +3 -20
  515. package/dist/plugins/devices-wled/services/wled.service.js.map +1 -1
  516. package/dist/plugins/devices-zigbee2mqtt/controllers/zigbee2mqtt-wizard.controller.d.ts +14 -0
  517. package/dist/plugins/devices-zigbee2mqtt/controllers/zigbee2mqtt-wizard.controller.js +185 -0
  518. package/dist/plugins/devices-zigbee2mqtt/controllers/zigbee2mqtt-wizard.controller.js.map +1 -0
  519. package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.openapi.d.ts +5 -3
  520. package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.openapi.js +12 -0
  521. package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.openapi.js.map +1 -1
  522. package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.plugin.js +43 -54
  523. package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.plugin.js.map +1 -1
  524. package/dist/plugins/devices-zigbee2mqtt/dto/wizard-adopt.dto.d.ts +12 -0
  525. package/dist/plugins/devices-zigbee2mqtt/dto/wizard-adopt.dto.js +73 -0
  526. package/dist/plugins/devices-zigbee2mqtt/dto/wizard-adopt.dto.js.map +1 -0
  527. package/dist/plugins/devices-zigbee2mqtt/models/wizard.model.d.ts +38 -0
  528. package/dist/plugins/devices-zigbee2mqtt/models/wizard.model.js +259 -0
  529. package/dist/plugins/devices-zigbee2mqtt/models/wizard.model.js.map +1 -0
  530. package/dist/plugins/devices-zigbee2mqtt/models/zigbee2mqtt-response.model.d.ts +7 -0
  531. package/dist/plugins/devices-zigbee2mqtt/models/zigbee2mqtt-response.model.js +30 -1
  532. package/dist/plugins/devices-zigbee2mqtt/models/zigbee2mqtt-response.model.js.map +1 -1
  533. package/dist/plugins/devices-zigbee2mqtt/services/base-client-adapter.d.ts +1 -0
  534. package/dist/plugins/devices-zigbee2mqtt/services/base-client-adapter.js.map +1 -1
  535. package/dist/plugins/devices-zigbee2mqtt/services/mqtt-client-adapter.service.d.ts +1 -0
  536. package/dist/plugins/devices-zigbee2mqtt/services/mqtt-client-adapter.service.js +22 -0
  537. package/dist/plugins/devices-zigbee2mqtt/services/mqtt-client-adapter.service.js.map +1 -1
  538. package/dist/plugins/devices-zigbee2mqtt/services/wizard.service.d.ts +70 -0
  539. package/dist/plugins/devices-zigbee2mqtt/services/wizard.service.js +361 -0
  540. package/dist/plugins/devices-zigbee2mqtt/services/wizard.service.js.map +1 -0
  541. package/dist/plugins/devices-zigbee2mqtt/services/ws-client-adapter.service.d.ts +1 -0
  542. package/dist/plugins/devices-zigbee2mqtt/services/ws-client-adapter.service.js +23 -0
  543. package/dist/plugins/devices-zigbee2mqtt/services/ws-client-adapter.service.js.map +1 -1
  544. package/dist/plugins/devices-zigbee2mqtt/services/zigbee2mqtt.service.d.ts +10 -7
  545. package/dist/plugins/devices-zigbee2mqtt/services/zigbee2mqtt.service.js +46 -22
  546. package/dist/plugins/devices-zigbee2mqtt/services/zigbee2mqtt.service.js.map +1 -1
  547. package/dist/{modules/storage/plugins/influx-v1/influx-v1.update-config.dto.d.ts → plugins/influx-v1/dto/update-config.dto.d.ts} +1 -1
  548. package/dist/{modules/storage/plugins/influx-v1/influx-v1.update-config.dto.js → plugins/influx-v1/dto/update-config.dto.js} +3 -3
  549. package/dist/plugins/influx-v1/dto/update-config.dto.js.map +1 -0
  550. package/dist/plugins/influx-v1/influx-v1.constants.js.map +1 -0
  551. package/dist/{modules/storage/plugins → plugins}/influx-v1/influx-v1.openapi.d.ts +1 -1
  552. package/dist/plugins/influx-v1/influx-v1.openapi.js +7 -0
  553. package/dist/plugins/influx-v1/influx-v1.openapi.js.map +1 -0
  554. package/dist/plugins/influx-v1/influx-v1.plugin.d.ts +15 -0
  555. package/dist/plugins/influx-v1/influx-v1.plugin.js +109 -0
  556. package/dist/plugins/influx-v1/influx-v1.plugin.js.map +1 -0
  557. package/dist/{modules/storage/plugins/influx-v1/influx-v1.config.model.d.ts → plugins/influx-v1/models/config.model.d.ts} +1 -1
  558. package/dist/{modules/storage/plugins/influx-v1/influx-v1.config.model.js → plugins/influx-v1/models/config.model.js} +3 -3
  559. package/dist/plugins/influx-v1/models/config.model.js.map +1 -0
  560. package/dist/plugins/influx-v1/services/influx-v1-managed.service.d.ts +20 -0
  561. package/dist/plugins/influx-v1/services/influx-v1-managed.service.js +128 -0
  562. package/dist/plugins/influx-v1/services/influx-v1-managed.service.js.map +1 -0
  563. package/dist/{modules/storage/plugins/influx-v1/influx-v1.plugin.d.ts → plugins/influx-v1/services/influx-v1.storage.d.ts} +3 -3
  564. package/dist/{modules/storage/plugins/influx-v1/influx-v1.plugin.js → plugins/influx-v1/services/influx-v1.storage.js} +9 -9
  565. package/dist/plugins/influx-v1/services/influx-v1.storage.js.map +1 -0
  566. package/dist/plugins/influx-v2/dto/update-config.dto.d.ts +8 -0
  567. package/dist/plugins/influx-v2/dto/update-config.dto.js +82 -0
  568. package/dist/plugins/influx-v2/dto/update-config.dto.js.map +1 -0
  569. package/dist/plugins/influx-v2/influx-v2.constants.d.ts +4 -0
  570. package/dist/plugins/influx-v2/influx-v2.constants.js +8 -0
  571. package/dist/plugins/influx-v2/influx-v2.constants.js.map +1 -0
  572. package/dist/plugins/influx-v2/influx-v2.openapi.d.ts +2 -0
  573. package/dist/plugins/influx-v2/influx-v2.openapi.js +7 -0
  574. package/dist/plugins/influx-v2/influx-v2.openapi.js.map +1 -0
  575. package/dist/plugins/influx-v2/influx-v2.plugin.d.ts +15 -0
  576. package/dist/plugins/influx-v2/influx-v2.plugin.js +109 -0
  577. package/dist/plugins/influx-v2/influx-v2.plugin.js.map +1 -0
  578. package/dist/plugins/influx-v2/models/config.model.d.ts +9 -0
  579. package/dist/plugins/influx-v2/models/config.model.js +93 -0
  580. package/dist/plugins/influx-v2/models/config.model.js.map +1 -0
  581. package/dist/plugins/influx-v2/services/influx-v2-managed.service.d.ts +20 -0
  582. package/dist/plugins/influx-v2/services/influx-v2-managed.service.js +132 -0
  583. package/dist/plugins/influx-v2/services/influx-v2-managed.service.js.map +1 -0
  584. package/dist/plugins/influx-v2/services/influx-v2.storage.d.ts +33 -0
  585. package/dist/plugins/influx-v2/services/influx-v2.storage.js +230 -0
  586. package/dist/plugins/influx-v2/services/influx-v2.storage.js.map +1 -0
  587. package/dist/plugins/logger-rotating-file/logger-rotating-file.plugin.js +20 -29
  588. package/dist/plugins/logger-rotating-file/logger-rotating-file.plugin.js.map +1 -1
  589. package/dist/{modules/storage/plugins/memory/memory.update-config.dto.d.ts → plugins/memory-storage/dto/update-config.dto.d.ts} +1 -1
  590. package/dist/{modules/storage/plugins/memory/memory.update-config.dto.js → plugins/memory-storage/dto/update-config.dto.js} +5 -5
  591. package/dist/plugins/memory-storage/dto/update-config.dto.js.map +1 -0
  592. package/dist/{modules/storage/plugins/memory/memory.constants.js → plugins/memory-storage/memory-storage.constants.js} +1 -1
  593. package/dist/plugins/memory-storage/memory-storage.constants.js.map +1 -0
  594. package/dist/{modules/storage/plugins/memory/memory.openapi.d.ts → plugins/memory-storage/memory-storage.openapi.d.ts} +1 -1
  595. package/dist/plugins/memory-storage/memory-storage.openapi.js +7 -0
  596. package/dist/plugins/memory-storage/memory-storage.openapi.js.map +1 -0
  597. package/dist/plugins/memory-storage/memory-storage.plugin.d.ts +15 -0
  598. package/dist/plugins/memory-storage/memory-storage.plugin.js +92 -0
  599. package/dist/plugins/memory-storage/memory-storage.plugin.js.map +1 -0
  600. package/dist/{modules/storage/plugins/memory/memory.config.model.d.ts → plugins/memory-storage/models/config.model.d.ts} +1 -1
  601. package/dist/{modules/storage/plugins/memory/memory.config.model.js → plugins/memory-storage/models/config.model.js} +5 -5
  602. package/dist/plugins/memory-storage/models/config.model.js.map +1 -0
  603. package/dist/{modules/storage/plugins/memory → plugins/memory-storage/services}/in-memory-timeseries.store.d.ts +1 -1
  604. package/dist/{modules/storage/plugins/memory → plugins/memory-storage/services}/in-memory-timeseries.store.js +4 -4
  605. package/dist/plugins/memory-storage/services/in-memory-timeseries.store.js.map +1 -0
  606. package/dist/plugins/memory-storage/services/influxql-parser.js.map +1 -0
  607. package/dist/plugins/memory-storage/services/memory-storage-managed.service.d.ts +14 -0
  608. package/dist/plugins/memory-storage/services/memory-storage-managed.service.js +87 -0
  609. package/dist/plugins/memory-storage/services/memory-storage-managed.service.js.map +1 -0
  610. package/dist/{modules/storage/plugins/memory/memory.plugin.d.ts → plugins/memory-storage/services/memory-storage.storage.d.ts} +3 -3
  611. package/dist/{modules/storage/plugins/memory/memory.plugin.js → plugins/memory-storage/services/memory-storage.storage.js} +8 -8
  612. package/dist/plugins/memory-storage/services/memory-storage.storage.js.map +1 -0
  613. package/dist/plugins/pages-cards/pages-cards.plugin.js +15 -26
  614. package/dist/plugins/pages-cards/pages-cards.plugin.js.map +1 -1
  615. package/dist/plugins/pages-device-detail/pages-device-detail.plugin.js +16 -25
  616. package/dist/plugins/pages-device-detail/pages-device-detail.plugin.js.map +1 -1
  617. package/dist/plugins/pages-tiles/pages-tiles.plugin.js +15 -26
  618. package/dist/plugins/pages-tiles/pages-tiles.plugin.js.map +1 -1
  619. package/dist/plugins/scenes-local/scenes-local.plugin.js +21 -22
  620. package/dist/plugins/scenes-local/scenes-local.plugin.js.map +1 -1
  621. package/dist/plugins/simulator/services/scenario-executor.service.d.ts +5 -5
  622. package/dist/plugins/simulator/services/scenario-executor.service.js +7 -6
  623. package/dist/plugins/simulator/services/scenario-executor.service.js.map +1 -1
  624. package/dist/plugins/simulator/services/simulator-actions.service.js +3 -0
  625. package/dist/plugins/simulator/services/simulator-actions.service.js.map +1 -1
  626. package/dist/plugins/simulator/simulator.plugin.js +49 -58
  627. package/dist/plugins/simulator/simulator.plugin.js.map +1 -1
  628. package/dist/plugins/spaces-home-control/controllers/spaces-domain.controller.d.ts +119 -0
  629. package/dist/plugins/spaces-home-control/controllers/spaces-domain.controller.js +1958 -0
  630. package/dist/plugins/spaces-home-control/controllers/spaces-domain.controller.js.map +1 -0
  631. package/dist/{modules/spaces → plugins/spaces-home-control}/dto/climate-intent.dto.d.ts +1 -1
  632. package/dist/{modules/spaces → plugins/spaces-home-control}/dto/climate-intent.dto.js +24 -24
  633. package/dist/plugins/spaces-home-control/dto/climate-intent.dto.js.map +1 -0
  634. package/dist/{modules/spaces → plugins/spaces-home-control}/dto/climate-role.dto.d.ts +1 -1
  635. package/dist/{modules/spaces → plugins/spaces-home-control}/dto/climate-role.dto.js +4 -4
  636. package/dist/plugins/spaces-home-control/dto/climate-role.dto.js.map +1 -0
  637. package/dist/{modules/spaces → plugins/spaces-home-control}/dto/covers-intent.dto.d.ts +1 -1
  638. package/dist/{modules/spaces → plugins/spaces-home-control}/dto/covers-intent.dto.js +18 -18
  639. package/dist/plugins/spaces-home-control/dto/covers-intent.dto.js.map +1 -0
  640. package/dist/{modules/spaces → plugins/spaces-home-control}/dto/covers-role.dto.d.ts +1 -1
  641. package/dist/{modules/spaces → plugins/spaces-home-control}/dto/covers-role.dto.js +4 -4
  642. package/dist/plugins/spaces-home-control/dto/covers-role.dto.js.map +1 -0
  643. package/dist/plugins/spaces-home-control/dto/create-home-control-space.dto.d.ts +8 -0
  644. package/dist/plugins/spaces-home-control/dto/create-home-control-space.dto.js +85 -0
  645. package/dist/plugins/spaces-home-control/dto/create-home-control-space.dto.js.map +1 -0
  646. package/dist/{modules/spaces → plugins/spaces-home-control}/dto/lighting-intent.dto.d.ts +1 -1
  647. package/dist/{modules/spaces → plugins/spaces-home-control}/dto/lighting-intent.dto.js +34 -34
  648. package/dist/plugins/spaces-home-control/dto/lighting-intent.dto.js.map +1 -0
  649. package/dist/{modules/spaces → plugins/spaces-home-control}/dto/lighting-role.dto.d.ts +1 -1
  650. package/dist/{modules/spaces → plugins/spaces-home-control}/dto/lighting-role.dto.js +4 -4
  651. package/dist/plugins/spaces-home-control/dto/lighting-role.dto.js.map +1 -0
  652. package/dist/{modules/spaces → plugins/spaces-home-control}/dto/media-activity-binding.dto.d.ts +1 -1
  653. package/dist/{modules/spaces → plugins/spaces-home-control}/dto/media-activity-binding.dto.js +4 -4
  654. package/dist/plugins/spaces-home-control/dto/media-activity-binding.dto.js.map +1 -0
  655. package/dist/{modules/spaces → plugins/spaces-home-control}/dto/sensor-role.dto.d.ts +1 -1
  656. package/dist/{modules/spaces → plugins/spaces-home-control}/dto/sensor-role.dto.js +4 -4
  657. package/dist/plugins/spaces-home-control/dto/sensor-role.dto.js.map +1 -0
  658. package/dist/plugins/spaces-home-control/dto/status-widget.dto.js.map +1 -0
  659. package/dist/{modules/spaces → plugins/spaces-home-control}/dto/suggestion.dto.d.ts +2 -1
  660. package/dist/{modules/spaces → plugins/spaces-home-control}/dto/suggestion.dto.js +5 -4
  661. package/dist/plugins/spaces-home-control/dto/suggestion.dto.js.map +1 -0
  662. package/dist/plugins/spaces-home-control/dto/update-config.dto.d.ts +5 -0
  663. package/dist/plugins/spaces-home-control/dto/update-config.dto.js +34 -0
  664. package/dist/plugins/spaces-home-control/dto/update-config.dto.js.map +1 -0
  665. package/dist/plugins/spaces-home-control/dto/update-home-control-space.dto.d.ts +8 -0
  666. package/dist/plugins/spaces-home-control/dto/update-home-control-space.dto.js +85 -0
  667. package/dist/plugins/spaces-home-control/dto/update-home-control-space.dto.js.map +1 -0
  668. package/dist/plugins/spaces-home-control/entities/room-space.entity.d.ts +8 -0
  669. package/dist/plugins/spaces-home-control/entities/room-space.entity.js +91 -0
  670. package/dist/plugins/spaces-home-control/entities/room-space.entity.js.map +1 -0
  671. package/dist/plugins/spaces-home-control/entities/space-active-media-activity.entity.d.ts +11 -0
  672. package/dist/{modules/spaces → plugins/spaces-home-control}/entities/space-active-media-activity.entity.js +23 -30
  673. package/dist/plugins/spaces-home-control/entities/space-active-media-activity.entity.js.map +1 -0
  674. package/dist/plugins/spaces-home-control/entities/space-climate-role.entity.d.ts +13 -0
  675. package/dist/{modules/spaces → plugins/spaces-home-control}/entities/space-climate-role.entity.js +25 -32
  676. package/dist/plugins/spaces-home-control/entities/space-climate-role.entity.js.map +1 -0
  677. package/dist/plugins/spaces-home-control/entities/space-covers-role.entity.d.ts +13 -0
  678. package/dist/{modules/spaces → plugins/spaces-home-control}/entities/space-covers-role.entity.js +27 -34
  679. package/dist/plugins/spaces-home-control/entities/space-covers-role.entity.js.map +1 -0
  680. package/dist/plugins/spaces-home-control/entities/space-lighting-role.entity.d.ts +13 -0
  681. package/dist/{modules/spaces → plugins/spaces-home-control}/entities/space-lighting-role.entity.js +27 -34
  682. package/dist/plugins/spaces-home-control/entities/space-lighting-role.entity.js.map +1 -0
  683. package/dist/plugins/spaces-home-control/entities/space-media-activity-binding.entity.d.ts +15 -0
  684. package/dist/{modules/spaces → plugins/spaces-home-control}/entities/space-media-activity-binding.entity.js +20 -28
  685. package/dist/plugins/spaces-home-control/entities/space-media-activity-binding.entity.js.map +1 -0
  686. package/dist/plugins/spaces-home-control/entities/space-sensor-role.entity.d.ts +13 -0
  687. package/dist/{modules/spaces → plugins/spaces-home-control}/entities/space-sensor-role.entity.js +27 -34
  688. package/dist/plugins/spaces-home-control/entities/space-sensor-role.entity.js.map +1 -0
  689. package/dist/plugins/spaces-home-control/entities/zone-space.entity.d.ts +8 -0
  690. package/dist/plugins/spaces-home-control/entities/zone-space.entity.js +91 -0
  691. package/dist/plugins/spaces-home-control/entities/zone-space.entity.js.map +1 -0
  692. package/dist/{modules/spaces → plugins/spaces-home-control}/listeners/space-activity.listener.d.ts +2 -2
  693. package/dist/{modules/spaces → plugins/spaces-home-control}/listeners/space-activity.listener.js +4 -4
  694. package/dist/plugins/spaces-home-control/listeners/space-activity.listener.js.map +1 -0
  695. package/dist/{modules/spaces → plugins/spaces-home-control}/listeners/space-climate-state.listener.d.ts +1 -1
  696. package/dist/{modules/spaces → plugins/spaces-home-control}/listeners/space-climate-state.listener.js +6 -5
  697. package/dist/plugins/spaces-home-control/listeners/space-climate-state.listener.js.map +1 -0
  698. package/dist/{modules/spaces → plugins/spaces-home-control}/listeners/space-lighting-state.listener.d.ts +1 -1
  699. package/dist/{modules/spaces → plugins/spaces-home-control}/listeners/space-lighting-state.listener.js +6 -5
  700. package/dist/plugins/spaces-home-control/listeners/space-lighting-state.listener.js.map +1 -0
  701. package/dist/{modules/spaces → plugins/spaces-home-control}/listeners/space-sensor-state.listener.d.ts +1 -1
  702. package/dist/{modules/spaces → plugins/spaces-home-control}/listeners/space-sensor-state.listener.js +9 -8
  703. package/dist/plugins/spaces-home-control/listeners/space-sensor-state.listener.js.map +1 -0
  704. package/dist/{modules/spaces → plugins/spaces-home-control}/listeners/websocket-exchange.listener.d.ts +2 -2
  705. package/dist/{modules/spaces → plugins/spaces-home-control}/listeners/websocket-exchange.listener.js +5 -5
  706. package/dist/plugins/spaces-home-control/listeners/websocket-exchange.listener.js.map +1 -0
  707. package/dist/plugins/spaces-home-control/models/config.model.d.ts +5 -0
  708. package/dist/plugins/spaces-home-control/models/config.model.js +49 -0
  709. package/dist/plugins/spaces-home-control/models/config.model.js.map +1 -0
  710. package/dist/{modules/spaces → plugins/spaces-home-control}/models/derived-media-endpoint.model.d.ts +2 -2
  711. package/dist/{modules/spaces → plugins/spaces-home-control}/models/derived-media-endpoint.model.js +4 -4
  712. package/dist/plugins/spaces-home-control/models/derived-media-endpoint.model.js.map +1 -0
  713. package/dist/{modules/spaces → plugins/spaces-home-control}/models/media-activity-binding.model.d.ts +1 -1
  714. package/dist/{modules/spaces → plugins/spaces-home-control}/models/media-activity-binding.model.js +1 -1
  715. package/dist/plugins/spaces-home-control/models/media-activity-binding.model.js.map +1 -0
  716. package/dist/{modules/spaces → plugins/spaces-home-control}/models/media-activity.model.d.ts +2 -2
  717. package/dist/{modules/spaces → plugins/spaces-home-control}/models/media-activity.model.js +6 -6
  718. package/dist/plugins/spaces-home-control/models/media-activity.model.js.map +1 -0
  719. package/dist/{modules/spaces → plugins/spaces-home-control}/models/media-routing.model.d.ts +2 -2
  720. package/dist/{modules/spaces → plugins/spaces-home-control}/models/media-routing.model.js +4 -4
  721. package/dist/plugins/spaces-home-control/models/media-routing.model.js.map +1 -0
  722. package/dist/plugins/spaces-home-control/models/spaces-response.model.d.ts +524 -0
  723. package/dist/plugins/spaces-home-control/models/spaces-response.model.js +4145 -0
  724. package/dist/plugins/spaces-home-control/models/spaces-response.model.js.map +1 -0
  725. package/dist/{modules/spaces → plugins/spaces-home-control}/services/__fixtures__/media-scenario-templates.d.ts +1 -1
  726. package/dist/{modules/spaces → plugins/spaces-home-control}/services/__fixtures__/media-scenario-templates.js +3 -3
  727. package/dist/plugins/spaces-home-control/services/__fixtures__/media-scenario-templates.js.map +1 -0
  728. package/dist/{modules/spaces → plugins/spaces-home-control}/services/__fixtures__/media-test-harness.d.ts +1 -1
  729. package/dist/plugins/spaces-home-control/services/__fixtures__/media-test-harness.js.map +1 -0
  730. package/dist/{modules/spaces → plugins/spaces-home-control}/services/climate-intent.service.d.ts +5 -5
  731. package/dist/{modules/spaces → plugins/spaces-home-control}/services/climate-intent.service.js +35 -34
  732. package/dist/plugins/spaces-home-control/services/climate-intent.service.js.map +1 -0
  733. package/dist/{modules/spaces → plugins/spaces-home-control}/services/covers-intent.service.d.ts +5 -5
  734. package/dist/{modules/spaces → plugins/spaces-home-control}/services/covers-intent.service.js +48 -47
  735. package/dist/plugins/spaces-home-control/services/covers-intent.service.js.map +1 -0
  736. package/dist/{modules/spaces → plugins/spaces-home-control}/services/derived-media-endpoint.service.d.ts +1 -1
  737. package/dist/{modules/spaces → plugins/spaces-home-control}/services/derived-media-endpoint.service.js +28 -27
  738. package/dist/plugins/spaces-home-control/services/derived-media-endpoint.service.js.map +1 -0
  739. package/dist/plugins/spaces-home-control/services/home-control-home-page.resolver.d.ts +4 -0
  740. package/dist/plugins/spaces-home-control/services/home-control-home-page.resolver.js +20 -0
  741. package/dist/plugins/spaces-home-control/services/home-control-home-page.resolver.js.map +1 -0
  742. package/dist/plugins/spaces-home-control/services/home-control-spaces.service.d.ts +24 -0
  743. package/dist/plugins/spaces-home-control/services/home-control-spaces.service.js +182 -0
  744. package/dist/plugins/spaces-home-control/services/home-control-spaces.service.js.map +1 -0
  745. package/dist/{modules/spaces → plugins/spaces-home-control}/services/lighting-intent.service.d.ts +6 -6
  746. package/dist/{modules/spaces → plugins/spaces-home-control}/services/lighting-intent.service.js +68 -67
  747. package/dist/plugins/spaces-home-control/services/lighting-intent.service.js.map +1 -0
  748. package/dist/{modules/spaces → plugins/spaces-home-control}/services/media-capability.service.d.ts +1 -1
  749. package/dist/{modules/spaces → plugins/spaces-home-control}/services/media-capability.service.js +20 -19
  750. package/dist/plugins/spaces-home-control/services/media-capability.service.js.map +1 -0
  751. package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-climate-role.service.d.ts +4 -4
  752. package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-climate-role.service.js +18 -17
  753. package/dist/plugins/spaces-home-control/services/space-climate-role.service.js.map +1 -0
  754. package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-climate-state.service.d.ts +5 -5
  755. package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-climate-state.service.js +32 -31
  756. package/dist/plugins/spaces-home-control/services/space-climate-state.service.js.map +1 -0
  757. package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-context-snapshot.service.d.ts +2 -2
  758. package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-context-snapshot.service.js +7 -6
  759. package/dist/plugins/spaces-home-control/services/space-context-snapshot.service.js.map +1 -0
  760. package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-covers-role.service.d.ts +3 -3
  761. package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-covers-role.service.js +28 -25
  762. package/dist/plugins/spaces-home-control/services/space-covers-role.service.js.map +1 -0
  763. package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-covers-state.service.d.ts +4 -4
  764. package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-covers-state.service.js +9 -8
  765. package/dist/plugins/spaces-home-control/services/space-covers-state.service.js.map +1 -0
  766. package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-intent-base.service.d.ts +1 -1
  767. package/dist/plugins/spaces-home-control/services/space-intent-base.service.js.map +1 -0
  768. package/dist/plugins/spaces-home-control/services/space-intent.service.js.map +1 -0
  769. package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-lighting-role.service.d.ts +3 -3
  770. package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-lighting-role.service.js +25 -22
  771. package/dist/plugins/spaces-home-control/services/space-lighting-role.service.js.map +1 -0
  772. package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-lighting-state.service.d.ts +3 -3
  773. package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-lighting-state.service.js +20 -19
  774. package/dist/plugins/spaces-home-control/services/space-lighting-state.service.js.map +1 -0
  775. package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-lighting-tool.service.d.ts +4 -4
  776. package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-lighting-tool.service.js +8 -7
  777. package/dist/plugins/spaces-home-control/services/space-lighting-tool.service.js.map +1 -0
  778. package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-media-activity-binding.service.d.ts +2 -2
  779. package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-media-activity-binding.service.js +31 -30
  780. package/dist/plugins/spaces-home-control/services/space-media-activity-binding.service.js.map +1 -0
  781. package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-media-activity.service.d.ts +3 -3
  782. package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-media-activity.service.js +38 -37
  783. package/dist/plugins/spaces-home-control/services/space-media-activity.service.js.map +1 -0
  784. package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-sensor-role.service.d.ts +4 -4
  785. package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-sensor-role.service.js +24 -23
  786. package/dist/plugins/spaces-home-control/services/space-sensor-role.service.js.map +1 -0
  787. package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-sensor-state.service.d.ts +3 -3
  788. package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-sensor-state.service.js +19 -18
  789. package/dist/plugins/spaces-home-control/services/space-sensor-state.service.js.map +1 -0
  790. package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-suggestion-heartbeat.service.d.ts +2 -2
  791. package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-suggestion-heartbeat.service.js +10 -9
  792. package/dist/plugins/spaces-home-control/services/space-suggestion-heartbeat.service.js.map +1 -0
  793. package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-suggestion.service.d.ts +4 -3
  794. package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-suggestion.service.js +8 -7
  795. package/dist/plugins/spaces-home-control/services/space-suggestion.service.js.map +1 -0
  796. package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-undo-history.service.d.ts +3 -3
  797. package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-undo-history.service.js +5 -5
  798. package/dist/plugins/spaces-home-control/services/space-undo-history.service.js.map +1 -0
  799. package/dist/{modules/spaces → plugins/spaces-home-control}/services/spaces-seeder.service.d.ts +2 -2
  800. package/dist/{modules/spaces → plugins/spaces-home-control}/services/spaces-seeder.service.js +5 -5
  801. package/dist/plugins/spaces-home-control/services/spaces-seeder.service.js.map +1 -0
  802. package/dist/plugins/spaces-home-control/spaces-home-control.constants.d.ts +297 -0
  803. package/dist/plugins/spaces-home-control/spaces-home-control.constants.js +1460 -0
  804. package/dist/plugins/spaces-home-control/spaces-home-control.constants.js.map +1 -0
  805. package/dist/plugins/spaces-home-control/spaces-home-control.openapi.d.ts +2 -0
  806. package/dist/plugins/spaces-home-control/spaces-home-control.openapi.js +155 -0
  807. package/dist/plugins/spaces-home-control/spaces-home-control.openapi.js.map +1 -0
  808. package/dist/plugins/spaces-home-control/spaces-home-control.plugin.d.ts +29 -0
  809. package/dist/plugins/spaces-home-control/spaces-home-control.plugin.js +334 -0
  810. package/dist/plugins/spaces-home-control/spaces-home-control.plugin.js.map +1 -0
  811. package/dist/plugins/spaces-home-control/spec/index.js.map +1 -0
  812. package/dist/{modules/spaces → plugins/spaces-home-control}/spec/intent-spec-loader.service.d.ts +1 -1
  813. package/dist/{modules/spaces → plugins/spaces-home-control}/spec/intent-spec-loader.service.js +1 -1
  814. package/dist/plugins/spaces-home-control/spec/intent-spec-loader.service.js.map +1 -0
  815. package/dist/plugins/spaces-home-control/spec/intent-spec.types.js.map +1 -0
  816. package/dist/{modules/spaces → plugins/spaces-home-control}/validators/at-least-one-setpoint.validator.js +2 -2
  817. package/dist/plugins/spaces-home-control/validators/at-least-one-setpoint.validator.js.map +1 -0
  818. package/dist/plugins/spaces-home-control/validators/setpoint-order-constraint.validator.js.map +1 -0
  819. package/dist/{modules/spaces → plugins/spaces-home-control}/validators/space-category-constraint.validator.js +1 -1
  820. package/dist/plugins/spaces-home-control/validators/space-category-constraint.validator.js.map +1 -0
  821. package/dist/plugins/spaces-signage-info-panel/controllers/signage-announcements.controller.d.ts +18 -0
  822. package/dist/plugins/spaces-signage-info-panel/controllers/signage-announcements.controller.js +219 -0
  823. package/dist/plugins/spaces-signage-info-panel/controllers/signage-announcements.controller.js.map +1 -0
  824. package/dist/plugins/spaces-signage-info-panel/dto/create-announcement.dto.d.ts +13 -0
  825. package/dist/plugins/spaces-signage-info-panel/dto/create-announcement.dto.js +143 -0
  826. package/dist/plugins/spaces-signage-info-panel/dto/create-announcement.dto.js.map +1 -0
  827. package/dist/plugins/spaces-signage-info-panel/dto/create-signage-info-panel-space.dto.d.ts +13 -0
  828. package/dist/plugins/spaces-signage-info-panel/dto/create-signage-info-panel-space.dto.js +130 -0
  829. package/dist/plugins/spaces-signage-info-panel/dto/create-signage-info-panel-space.dto.js.map +1 -0
  830. package/dist/plugins/spaces-signage-info-panel/dto/reorder-announcements.dto.d.ts +10 -0
  831. package/dist/plugins/spaces-signage-info-panel/dto/reorder-announcements.dto.js +78 -0
  832. package/dist/plugins/spaces-signage-info-panel/dto/reorder-announcements.dto.js.map +1 -0
  833. package/dist/plugins/spaces-signage-info-panel/dto/update-announcement.dto.d.ts +12 -0
  834. package/dist/plugins/spaces-signage-info-panel/dto/update-announcement.dto.js +134 -0
  835. package/dist/plugins/spaces-signage-info-panel/dto/update-announcement.dto.js.map +1 -0
  836. package/dist/plugins/spaces-signage-info-panel/dto/update-config.dto.d.ts +5 -0
  837. package/dist/plugins/spaces-signage-info-panel/dto/update-config.dto.js +34 -0
  838. package/dist/plugins/spaces-signage-info-panel/dto/update-config.dto.js.map +1 -0
  839. package/dist/plugins/spaces-signage-info-panel/dto/update-signage-info-panel-space.dto.d.ts +13 -0
  840. package/dist/plugins/spaces-signage-info-panel/dto/update-signage-info-panel-space.dto.js +130 -0
  841. package/dist/plugins/spaces-signage-info-panel/dto/update-signage-info-panel-space.dto.js.map +1 -0
  842. package/dist/plugins/spaces-signage-info-panel/entities/signage-announcement.entity.d.ts +13 -0
  843. package/dist/plugins/spaces-signage-info-panel/entities/signage-announcement.entity.js +161 -0
  844. package/dist/plugins/spaces-signage-info-panel/entities/signage-announcement.entity.js.map +1 -0
  845. package/dist/plugins/spaces-signage-info-panel/entities/signage-info-panel-space.entity.d.ts +13 -0
  846. package/dist/plugins/spaces-signage-info-panel/entities/signage-info-panel-space.entity.js +147 -0
  847. package/dist/plugins/spaces-signage-info-panel/entities/signage-info-panel-space.entity.js.map +1 -0
  848. package/dist/plugins/spaces-signage-info-panel/models/config.model.d.ts +5 -0
  849. package/dist/plugins/spaces-signage-info-panel/models/config.model.js +49 -0
  850. package/dist/plugins/spaces-signage-info-panel/models/config.model.js.map +1 -0
  851. package/dist/plugins/spaces-signage-info-panel/models/signage-announcement-response.model.d.ts +8 -0
  852. package/dist/plugins/spaces-signage-info-panel/models/signage-announcement-response.model.js +46 -0
  853. package/dist/plugins/spaces-signage-info-panel/models/signage-announcement-response.model.js.map +1 -0
  854. package/dist/plugins/spaces-signage-info-panel/services/signage-announcements.service.d.ts +28 -0
  855. package/dist/plugins/spaces-signage-info-panel/services/signage-announcements.service.js +181 -0
  856. package/dist/plugins/spaces-signage-info-panel/services/signage-announcements.service.js.map +1 -0
  857. package/dist/plugins/spaces-signage-info-panel/services/signage-home-page.resolver.d.ts +4 -0
  858. package/dist/plugins/spaces-signage-info-panel/services/signage-home-page.resolver.js +20 -0
  859. package/dist/plugins/spaces-signage-info-panel/services/signage-home-page.resolver.js.map +1 -0
  860. package/dist/plugins/spaces-signage-info-panel/services/signage-info-panel-reset.service.d.ts +14 -0
  861. package/dist/plugins/spaces-signage-info-panel/services/signage-info-panel-reset.service.js +59 -0
  862. package/dist/plugins/spaces-signage-info-panel/services/signage-info-panel-reset.service.js.map +1 -0
  863. package/dist/plugins/spaces-signage-info-panel/spaces-signage-info-panel.constants.d.ts +17 -0
  864. package/dist/plugins/spaces-signage-info-panel/spaces-signage-info-panel.constants.js +23 -0
  865. package/dist/plugins/spaces-signage-info-panel/spaces-signage-info-panel.constants.js.map +1 -0
  866. package/dist/plugins/spaces-signage-info-panel/spaces-signage-info-panel.exceptions.d.ts +9 -0
  867. package/dist/plugins/spaces-signage-info-panel/spaces-signage-info-panel.exceptions.js +25 -0
  868. package/dist/plugins/spaces-signage-info-panel/spaces-signage-info-panel.exceptions.js.map +1 -0
  869. package/dist/plugins/spaces-signage-info-panel/spaces-signage-info-panel.openapi.d.ts +2 -0
  870. package/dist/plugins/spaces-signage-info-panel/spaces-signage-info-panel.openapi.js +31 -0
  871. package/dist/plugins/spaces-signage-info-panel/spaces-signage-info-panel.openapi.js.map +1 -0
  872. package/dist/plugins/spaces-signage-info-panel/spaces-signage-info-panel.plugin.d.ts +23 -0
  873. package/dist/plugins/spaces-signage-info-panel/spaces-signage-info-panel.plugin.js +159 -0
  874. package/dist/plugins/spaces-signage-info-panel/spaces-signage-info-panel.plugin.js.map +1 -0
  875. package/dist/plugins/spaces-synthetic-entry/dto/create-entry-space.dto.d.ts +5 -0
  876. package/dist/plugins/spaces-synthetic-entry/dto/create-entry-space.dto.js +31 -0
  877. package/dist/plugins/spaces-synthetic-entry/dto/create-entry-space.dto.js.map +1 -0
  878. package/dist/plugins/spaces-synthetic-entry/dto/update-config.dto.d.ts +5 -0
  879. package/dist/plugins/spaces-synthetic-entry/dto/update-config.dto.js +34 -0
  880. package/dist/plugins/spaces-synthetic-entry/dto/update-config.dto.js.map +1 -0
  881. package/dist/plugins/spaces-synthetic-entry/dto/update-entry-space.dto.d.ts +5 -0
  882. package/dist/plugins/spaces-synthetic-entry/dto/update-entry-space.dto.js +31 -0
  883. package/dist/plugins/spaces-synthetic-entry/dto/update-entry-space.dto.js.map +1 -0
  884. package/dist/plugins/spaces-synthetic-entry/entities/entry-space.entity.d.ts +5 -0
  885. package/dist/plugins/spaces-synthetic-entry/entities/entry-space.entity.js +39 -0
  886. package/dist/plugins/spaces-synthetic-entry/entities/entry-space.entity.js.map +1 -0
  887. package/dist/plugins/spaces-synthetic-entry/models/config.model.d.ts +5 -0
  888. package/dist/plugins/spaces-synthetic-entry/models/config.model.js +49 -0
  889. package/dist/plugins/spaces-synthetic-entry/models/config.model.js.map +1 -0
  890. package/dist/plugins/spaces-synthetic-entry/spaces-synthetic-entry.constants.d.ts +7 -0
  891. package/dist/plugins/spaces-synthetic-entry/spaces-synthetic-entry.constants.js +11 -0
  892. package/dist/plugins/spaces-synthetic-entry/spaces-synthetic-entry.constants.js.map +1 -0
  893. package/dist/plugins/spaces-synthetic-entry/spaces-synthetic-entry.openapi.d.ts +2 -0
  894. package/dist/plugins/spaces-synthetic-entry/spaces-synthetic-entry.openapi.js +16 -0
  895. package/dist/plugins/spaces-synthetic-entry/spaces-synthetic-entry.openapi.js.map +1 -0
  896. package/dist/plugins/spaces-synthetic-entry/spaces-synthetic-entry.plugin.d.ts +15 -0
  897. package/dist/plugins/spaces-synthetic-entry/spaces-synthetic-entry.plugin.js +124 -0
  898. package/dist/plugins/spaces-synthetic-entry/spaces-synthetic-entry.plugin.js.map +1 -0
  899. package/dist/plugins/spaces-synthetic-master/dto/create-master-space.dto.d.ts +5 -0
  900. package/dist/plugins/spaces-synthetic-master/dto/create-master-space.dto.js +31 -0
  901. package/dist/plugins/spaces-synthetic-master/dto/create-master-space.dto.js.map +1 -0
  902. package/dist/plugins/spaces-synthetic-master/dto/update-config.dto.d.ts +5 -0
  903. package/dist/plugins/spaces-synthetic-master/dto/update-config.dto.js +34 -0
  904. package/dist/plugins/spaces-synthetic-master/dto/update-config.dto.js.map +1 -0
  905. package/dist/plugins/spaces-synthetic-master/dto/update-master-space.dto.d.ts +5 -0
  906. package/dist/plugins/spaces-synthetic-master/dto/update-master-space.dto.js +31 -0
  907. package/dist/plugins/spaces-synthetic-master/dto/update-master-space.dto.js.map +1 -0
  908. package/dist/plugins/spaces-synthetic-master/entities/master-space.entity.d.ts +5 -0
  909. package/dist/plugins/spaces-synthetic-master/entities/master-space.entity.js +39 -0
  910. package/dist/plugins/spaces-synthetic-master/entities/master-space.entity.js.map +1 -0
  911. package/dist/plugins/spaces-synthetic-master/models/config.model.d.ts +5 -0
  912. package/dist/plugins/spaces-synthetic-master/models/config.model.js +49 -0
  913. package/dist/plugins/spaces-synthetic-master/models/config.model.js.map +1 -0
  914. package/dist/plugins/spaces-synthetic-master/spaces-synthetic-master.constants.d.ts +7 -0
  915. package/dist/plugins/spaces-synthetic-master/spaces-synthetic-master.constants.js +11 -0
  916. package/dist/plugins/spaces-synthetic-master/spaces-synthetic-master.constants.js.map +1 -0
  917. package/dist/plugins/spaces-synthetic-master/spaces-synthetic-master.openapi.d.ts +2 -0
  918. package/dist/plugins/spaces-synthetic-master/spaces-synthetic-master.openapi.js +16 -0
  919. package/dist/plugins/spaces-synthetic-master/spaces-synthetic-master.openapi.js.map +1 -0
  920. package/dist/plugins/spaces-synthetic-master/spaces-synthetic-master.plugin.d.ts +15 -0
  921. package/dist/plugins/spaces-synthetic-master/spaces-synthetic-master.plugin.js +124 -0
  922. package/dist/plugins/spaces-synthetic-master/spaces-synthetic-master.plugin.js.map +1 -0
  923. package/dist/plugins/tiles-device-preview/tiles-device-preview.plugin.js +16 -22
  924. package/dist/plugins/tiles-device-preview/tiles-device-preview.plugin.js.map +1 -1
  925. package/dist/plugins/tiles-scene/tiles-scene.plugin.js +15 -21
  926. package/dist/plugins/tiles-scene/tiles-scene.plugin.js.map +1 -1
  927. package/dist/plugins/tiles-time/tiles-time.plugin.js +13 -19
  928. package/dist/plugins/tiles-time/tiles-time.plugin.js.map +1 -1
  929. package/dist/plugins/tiles-weather/tiles-weather.plugin.js +16 -19
  930. package/dist/plugins/tiles-weather/tiles-weather.plugin.js.map +1 -1
  931. package/dist/plugins/weather-open-meteo/weather-open-meteo.plugin.js +32 -21
  932. package/dist/plugins/weather-open-meteo/weather-open-meteo.plugin.js.map +1 -1
  933. package/dist/plugins/weather-openweathermap/weather-openweathermap.plugin.js +22 -23
  934. package/dist/plugins/weather-openweathermap/weather-openweathermap.plugin.js.map +1 -1
  935. package/dist/plugins/weather-openweathermap-onecall/weather-openweathermap-onecall.plugin.js +27 -23
  936. package/dist/plugins/weather-openweathermap-onecall/weather-openweathermap-onecall.plugin.js.map +1 -1
  937. package/dist/tsconfig.build.tsbuildinfo +1 -1
  938. package/package.json +10 -6
  939. package/dist/modules/spaces/dto/climate-intent.dto.js.map +0 -1
  940. package/dist/modules/spaces/dto/climate-role.dto.js.map +0 -1
  941. package/dist/modules/spaces/dto/covers-intent.dto.js.map +0 -1
  942. package/dist/modules/spaces/dto/covers-role.dto.js.map +0 -1
  943. package/dist/modules/spaces/dto/lighting-intent.dto.js.map +0 -1
  944. package/dist/modules/spaces/dto/lighting-role.dto.js.map +0 -1
  945. package/dist/modules/spaces/dto/media-activity-binding.dto.js.map +0 -1
  946. package/dist/modules/spaces/dto/sensor-role.dto.js.map +0 -1
  947. package/dist/modules/spaces/dto/status-widget.dto.js.map +0 -1
  948. package/dist/modules/spaces/dto/suggestion.dto.js.map +0 -1
  949. package/dist/modules/spaces/entities/space-active-media-activity.entity.d.ts +0 -12
  950. package/dist/modules/spaces/entities/space-active-media-activity.entity.js.map +0 -1
  951. package/dist/modules/spaces/entities/space-climate-role.entity.d.ts +0 -14
  952. package/dist/modules/spaces/entities/space-climate-role.entity.js.map +0 -1
  953. package/dist/modules/spaces/entities/space-covers-role.entity.d.ts +0 -14
  954. package/dist/modules/spaces/entities/space-covers-role.entity.js.map +0 -1
  955. package/dist/modules/spaces/entities/space-lighting-role.entity.d.ts +0 -14
  956. package/dist/modules/spaces/entities/space-lighting-role.entity.js.map +0 -1
  957. package/dist/modules/spaces/entities/space-media-activity-binding.entity.d.ts +0 -16
  958. package/dist/modules/spaces/entities/space-media-activity-binding.entity.js.map +0 -1
  959. package/dist/modules/spaces/entities/space-sensor-role.entity.d.ts +0 -14
  960. package/dist/modules/spaces/entities/space-sensor-role.entity.js.map +0 -1
  961. package/dist/modules/spaces/listeners/space-activity.listener.js.map +0 -1
  962. package/dist/modules/spaces/listeners/space-climate-state.listener.js.map +0 -1
  963. package/dist/modules/spaces/listeners/space-lighting-state.listener.js.map +0 -1
  964. package/dist/modules/spaces/listeners/space-sensor-state.listener.js.map +0 -1
  965. package/dist/modules/spaces/listeners/websocket-exchange.listener.js.map +0 -1
  966. package/dist/modules/spaces/models/derived-media-endpoint.model.js.map +0 -1
  967. package/dist/modules/spaces/models/media-activity-binding.model.js.map +0 -1
  968. package/dist/modules/spaces/models/media-activity.model.js.map +0 -1
  969. package/dist/modules/spaces/models/media-routing.model.js.map +0 -1
  970. package/dist/modules/spaces/services/__fixtures__/media-scenario-templates.js.map +0 -1
  971. package/dist/modules/spaces/services/__fixtures__/media-test-harness.js.map +0 -1
  972. package/dist/modules/spaces/services/climate-intent.service.js.map +0 -1
  973. package/dist/modules/spaces/services/covers-intent.service.js.map +0 -1
  974. package/dist/modules/spaces/services/derived-media-endpoint.service.js.map +0 -1
  975. package/dist/modules/spaces/services/lighting-intent.service.js.map +0 -1
  976. package/dist/modules/spaces/services/media-capability.service.js.map +0 -1
  977. package/dist/modules/spaces/services/space-climate-role.service.js.map +0 -1
  978. package/dist/modules/spaces/services/space-climate-state.service.js.map +0 -1
  979. package/dist/modules/spaces/services/space-context-snapshot.service.js.map +0 -1
  980. package/dist/modules/spaces/services/space-covers-role.service.js.map +0 -1
  981. package/dist/modules/spaces/services/space-covers-state.service.js.map +0 -1
  982. package/dist/modules/spaces/services/space-intent-base.service.js.map +0 -1
  983. package/dist/modules/spaces/services/space-intent.service.js.map +0 -1
  984. package/dist/modules/spaces/services/space-lighting-role.service.js.map +0 -1
  985. package/dist/modules/spaces/services/space-lighting-state.service.js.map +0 -1
  986. package/dist/modules/spaces/services/space-lighting-tool.service.js.map +0 -1
  987. package/dist/modules/spaces/services/space-media-activity-binding.service.js.map +0 -1
  988. package/dist/modules/spaces/services/space-media-activity.service.js.map +0 -1
  989. package/dist/modules/spaces/services/space-sensor-role.service.js.map +0 -1
  990. package/dist/modules/spaces/services/space-sensor-state.service.js.map +0 -1
  991. package/dist/modules/spaces/services/space-suggestion-heartbeat.service.js.map +0 -1
  992. package/dist/modules/spaces/services/space-suggestion.service.js.map +0 -1
  993. package/dist/modules/spaces/services/space-undo-history.service.js.map +0 -1
  994. package/dist/modules/spaces/services/spaces-seeder.service.js.map +0 -1
  995. package/dist/modules/spaces/spec/definitions/climate-intents.yaml +0 -94
  996. package/dist/modules/spaces/spec/definitions/covers-modes.yaml +0 -83
  997. package/dist/modules/spaces/spec/definitions/enums.yaml +0 -119
  998. package/dist/modules/spaces/spec/definitions/lighting-intents.yaml +0 -181
  999. package/dist/modules/spaces/spec/definitions/lighting-modes.yaml +0 -119
  1000. package/dist/modules/spaces/spec/definitions/suggestions.yaml +0 -47
  1001. package/dist/modules/spaces/spec/index.js.map +0 -1
  1002. package/dist/modules/spaces/spec/intent-spec-loader.service.js.map +0 -1
  1003. package/dist/modules/spaces/spec/intent-spec.types.js.map +0 -1
  1004. package/dist/modules/spaces/validators/at-least-one-setpoint.validator.js.map +0 -1
  1005. package/dist/modules/spaces/validators/setpoint-order-constraint.validator.js.map +0 -1
  1006. package/dist/modules/spaces/validators/space-category-constraint.validator.js.map +0 -1
  1007. package/dist/modules/storage/plugins/influx-v1/influx-v1.config.model.js.map +0 -1
  1008. package/dist/modules/storage/plugins/influx-v1/influx-v1.constants.js.map +0 -1
  1009. package/dist/modules/storage/plugins/influx-v1/influx-v1.module.d.ts +0 -17
  1010. package/dist/modules/storage/plugins/influx-v1/influx-v1.module.js +0 -94
  1011. package/dist/modules/storage/plugins/influx-v1/influx-v1.module.js.map +0 -1
  1012. package/dist/modules/storage/plugins/influx-v1/influx-v1.openapi.js +0 -7
  1013. package/dist/modules/storage/plugins/influx-v1/influx-v1.openapi.js.map +0 -1
  1014. package/dist/modules/storage/plugins/influx-v1/influx-v1.plugin.js.map +0 -1
  1015. package/dist/modules/storage/plugins/influx-v1/influx-v1.update-config.dto.js.map +0 -1
  1016. package/dist/modules/storage/plugins/memory/in-memory-timeseries.store.js.map +0 -1
  1017. package/dist/modules/storage/plugins/memory/influxql-parser.js.map +0 -1
  1018. package/dist/modules/storage/plugins/memory/memory.config.model.js.map +0 -1
  1019. package/dist/modules/storage/plugins/memory/memory.constants.js.map +0 -1
  1020. package/dist/modules/storage/plugins/memory/memory.module.d.ts +0 -13
  1021. package/dist/modules/storage/plugins/memory/memory.module.js +0 -75
  1022. package/dist/modules/storage/plugins/memory/memory.module.js.map +0 -1
  1023. package/dist/modules/storage/plugins/memory/memory.openapi.js +0 -7
  1024. package/dist/modules/storage/plugins/memory/memory.openapi.js.map +0 -1
  1025. package/dist/modules/storage/plugins/memory/memory.plugin.js.map +0 -1
  1026. package/dist/modules/storage/plugins/memory/memory.update-config.dto.js.map +0 -1
  1027. /package/dist/{modules/storage/plugins → plugins}/influx-v1/influx-v1.constants.d.ts +0 -0
  1028. /package/dist/{modules/storage/plugins → plugins}/influx-v1/influx-v1.constants.js +0 -0
  1029. /package/dist/{modules/storage/plugins/memory/memory.constants.d.ts → plugins/memory-storage/memory-storage.constants.d.ts} +0 -0
  1030. /package/dist/{modules/storage/plugins/memory → plugins/memory-storage/services}/influxql-parser.d.ts +0 -0
  1031. /package/dist/{modules/storage/plugins/memory → plugins/memory-storage/services}/influxql-parser.js +0 -0
  1032. /package/dist/{modules/spaces → plugins/spaces-home-control}/dto/status-widget.dto.d.ts +0 -0
  1033. /package/dist/{modules/spaces → plugins/spaces-home-control}/dto/status-widget.dto.js +0 -0
  1034. /package/dist/{modules/spaces → plugins/spaces-home-control}/services/__fixtures__/media-test-harness.js +0 -0
  1035. /package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-intent-base.service.js +0 -0
  1036. /package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-intent.service.d.ts +0 -0
  1037. /package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-intent.service.js +0 -0
  1038. /package/dist/{modules/spaces → plugins/spaces-home-control}/spec/index.d.ts +0 -0
  1039. /package/dist/{modules/spaces → plugins/spaces-home-control}/spec/index.js +0 -0
  1040. /package/dist/{modules/spaces → plugins/spaces-home-control}/spec/intent-spec.types.d.ts +0 -0
  1041. /package/dist/{modules/spaces → plugins/spaces-home-control}/spec/intent-spec.types.js +0 -0
  1042. /package/dist/{modules/spaces → plugins/spaces-home-control}/validators/at-least-one-setpoint.validator.d.ts +0 -0
  1043. /package/dist/{modules/spaces → plugins/spaces-home-control}/validators/setpoint-order-constraint.validator.d.ts +0 -0
  1044. /package/dist/{modules/spaces → plugins/spaces-home-control}/validators/setpoint-order-constraint.validator.js +0 -0
  1045. /package/dist/{modules/spaces → plugins/spaces-home-control}/validators/space-category-constraint.validator.d.ts +0 -0
@@ -0,0 +1,130 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.CreateSignageInfoPanelSpaceDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ const swagger_1 = require("@nestjs/swagger");
16
+ const create_space_dto_1 = require("../../../modules/spaces/dto/create-space.dto");
17
+ const spaces_constants_1 = require("../../../modules/spaces/spaces.constants");
18
+ const spaces_signage_info_panel_constants_1 = require("../spaces-signage-info-panel.constants");
19
+ let CreateSignageInfoPanelSpaceDto = class CreateSignageInfoPanelSpaceDto extends create_space_dto_1.CreateSpaceDto {
20
+ };
21
+ exports.CreateSignageInfoPanelSpaceDto = CreateSignageInfoPanelSpaceDto;
22
+ __decorate([
23
+ (0, swagger_1.ApiProperty)({
24
+ description: 'Space type',
25
+ enum: [spaces_constants_1.SpaceType.SIGNAGE_INFO_PANEL],
26
+ default: spaces_constants_1.SpaceType.SIGNAGE_INFO_PANEL,
27
+ example: spaces_constants_1.SpaceType.SIGNAGE_INFO_PANEL,
28
+ }),
29
+ __metadata("design:type", String)
30
+ ], CreateSignageInfoPanelSpaceDto.prototype, "type", void 0);
31
+ __decorate([
32
+ (0, swagger_1.ApiPropertyOptional)({
33
+ description: 'Layout preset for the information-panel surface.',
34
+ enum: spaces_signage_info_panel_constants_1.SignageInfoPanelLayout,
35
+ default: spaces_signage_info_panel_constants_1.SignageInfoPanelLayout.CLOCK_WEATHER_ANNOUNCEMENTS,
36
+ example: spaces_signage_info_panel_constants_1.SignageInfoPanelLayout.CLOCK_WEATHER_ANNOUNCEMENTS,
37
+ }),
38
+ (0, class_transformer_1.Expose)(),
39
+ (0, class_validator_1.IsOptional)(),
40
+ (0, class_validator_1.IsEnum)(spaces_signage_info_panel_constants_1.SignageInfoPanelLayout, {
41
+ message: '[{"field":"layout","reason":"Layout must be a valid SignageInfoPanelLayout value."}]',
42
+ }),
43
+ __metadata("design:type", String)
44
+ ], CreateSignageInfoPanelSpaceDto.prototype, "layout", void 0);
45
+ __decorate([
46
+ (0, swagger_1.ApiPropertyOptional)({
47
+ name: 'show_clock',
48
+ description: 'Render the clock section.',
49
+ type: 'boolean',
50
+ example: true,
51
+ }),
52
+ (0, class_transformer_1.Expose)(),
53
+ (0, class_validator_1.IsOptional)(),
54
+ (0, class_validator_1.IsBoolean)({ message: '[{"field":"show_clock","reason":"show_clock must be a boolean."}]' }),
55
+ __metadata("design:type", Boolean)
56
+ ], CreateSignageInfoPanelSpaceDto.prototype, "show_clock", void 0);
57
+ __decorate([
58
+ (0, swagger_1.ApiPropertyOptional)({
59
+ name: 'show_weather',
60
+ description: 'Render the weather section.',
61
+ type: 'boolean',
62
+ example: true,
63
+ }),
64
+ (0, class_transformer_1.Expose)(),
65
+ (0, class_validator_1.IsOptional)(),
66
+ (0, class_validator_1.IsBoolean)({ message: '[{"field":"show_weather","reason":"show_weather must be a boolean."}]' }),
67
+ __metadata("design:type", Boolean)
68
+ ], CreateSignageInfoPanelSpaceDto.prototype, "show_weather", void 0);
69
+ __decorate([
70
+ (0, swagger_1.ApiPropertyOptional)({
71
+ name: 'show_announcements',
72
+ description: 'Render the announcements section.',
73
+ type: 'boolean',
74
+ example: true,
75
+ }),
76
+ (0, class_transformer_1.Expose)(),
77
+ (0, class_validator_1.IsOptional)(),
78
+ (0, class_validator_1.IsBoolean)({
79
+ message: '[{"field":"show_announcements","reason":"show_announcements must be a boolean."}]',
80
+ }),
81
+ __metadata("design:type", Boolean)
82
+ ], CreateSignageInfoPanelSpaceDto.prototype, "show_announcements", void 0);
83
+ __decorate([
84
+ (0, swagger_1.ApiPropertyOptional)({
85
+ name: 'show_feed',
86
+ description: 'Render the external feed section (requires feed_url).',
87
+ type: 'boolean',
88
+ example: false,
89
+ }),
90
+ (0, class_transformer_1.Expose)(),
91
+ (0, class_validator_1.IsOptional)(),
92
+ (0, class_validator_1.IsBoolean)({ message: '[{"field":"show_feed","reason":"show_feed must be a boolean."}]' }),
93
+ __metadata("design:type", Boolean)
94
+ ], CreateSignageInfoPanelSpaceDto.prototype, "show_feed", void 0);
95
+ __decorate([
96
+ (0, swagger_1.ApiPropertyOptional)({
97
+ name: 'weather_location_id',
98
+ description: 'Weather location ID driving the weather section.',
99
+ type: 'string',
100
+ format: 'uuid',
101
+ nullable: true,
102
+ example: 'f1e09ba1-429f-4c6a-a2fd-aca6a7c4a8c6',
103
+ }),
104
+ (0, class_transformer_1.Expose)(),
105
+ (0, class_validator_1.IsOptional)(),
106
+ (0, class_validator_1.ValidateIf)((_, value) => value !== null),
107
+ (0, class_validator_1.IsUUID)('4', {
108
+ message: '[{"field":"weather_location_id","reason":"weather_location_id must be a valid UUID (version 4)."}]',
109
+ }),
110
+ __metadata("design:type", String)
111
+ ], CreateSignageInfoPanelSpaceDto.prototype, "weather_location_id", void 0);
112
+ __decorate([
113
+ (0, swagger_1.ApiPropertyOptional)({
114
+ name: 'feed_url',
115
+ description: 'URL of an external feed rendered in the feed section.',
116
+ type: 'string',
117
+ nullable: true,
118
+ example: 'https://news.example.com/embed',
119
+ }),
120
+ (0, class_transformer_1.Expose)(),
121
+ (0, class_validator_1.IsOptional)(),
122
+ (0, class_validator_1.ValidateIf)((_, value) => value !== null),
123
+ (0, class_validator_1.IsString)({ message: '[{"field":"feed_url","reason":"feed_url must be a string."}]' }),
124
+ (0, class_transformer_1.Transform)(({ value }) => (typeof value === 'string' ? value.trim() : value)),
125
+ __metadata("design:type", String)
126
+ ], CreateSignageInfoPanelSpaceDto.prototype, "feed_url", void 0);
127
+ exports.CreateSignageInfoPanelSpaceDto = CreateSignageInfoPanelSpaceDto = __decorate([
128
+ (0, swagger_1.ApiSchema)({ name: 'SpacesSignageInfoPanelPluginCreateSignageInfoPanelSpace' })
129
+ ], CreateSignageInfoPanelSpaceDto);
130
+ //# sourceMappingURL=create-signage-info-panel-space.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-signage-info-panel-space.dto.js","sourceRoot":"","sources":["../../../../src/plugins/spaces-signage-info-panel/dto/create-signage-info-panel-space.dto.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,10 @@
1
+ export declare class ReorderAnnouncementEntryDto {
2
+ id: string;
3
+ order: number;
4
+ }
5
+ export declare class ReorderAnnouncementsDto {
6
+ items: ReorderAnnouncementEntryDto[];
7
+ }
8
+ export declare class ReqReorderAnnouncementsDto {
9
+ data: ReorderAnnouncementsDto;
10
+ }
@@ -0,0 +1,78 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.ReqReorderAnnouncementsDto = exports.ReorderAnnouncementsDto = exports.ReorderAnnouncementEntryDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ const swagger_1 = require("@nestjs/swagger");
16
+ let ReorderAnnouncementEntryDto = class ReorderAnnouncementEntryDto {
17
+ };
18
+ exports.ReorderAnnouncementEntryDto = ReorderAnnouncementEntryDto;
19
+ __decorate([
20
+ (0, swagger_1.ApiProperty)({
21
+ description: 'Announcement unique identifier.',
22
+ type: 'string',
23
+ format: 'uuid',
24
+ example: 'f1e09ba1-429f-4c6a-a2fd-aca6a7c4a8c6',
25
+ }),
26
+ (0, class_transformer_1.Expose)(),
27
+ (0, class_validator_1.IsUUID)('4', { message: '[{"field":"id","reason":"ID must be a valid UUID (version 4)."}]' }),
28
+ __metadata("design:type", String)
29
+ ], ReorderAnnouncementEntryDto.prototype, "id", void 0);
30
+ __decorate([
31
+ (0, swagger_1.ApiProperty)({
32
+ description: 'New sort order for the announcement.',
33
+ type: 'integer',
34
+ example: 0,
35
+ }),
36
+ (0, class_transformer_1.Expose)(),
37
+ (0, class_validator_1.IsInt)({ message: '[{"field":"order","reason":"Order must be an integer."}]' }),
38
+ (0, class_validator_1.Min)(0, { message: '[{"field":"order","reason":"Order must be at least 0."}]' }),
39
+ __metadata("design:type", Number)
40
+ ], ReorderAnnouncementEntryDto.prototype, "order", void 0);
41
+ exports.ReorderAnnouncementEntryDto = ReorderAnnouncementEntryDto = __decorate([
42
+ (0, swagger_1.ApiSchema)({ name: 'SpacesSignageInfoPanelPluginReorderAnnouncementEntry' })
43
+ ], ReorderAnnouncementEntryDto);
44
+ let ReorderAnnouncementsDto = class ReorderAnnouncementsDto {
45
+ };
46
+ exports.ReorderAnnouncementsDto = ReorderAnnouncementsDto;
47
+ __decorate([
48
+ (0, swagger_1.ApiProperty)({
49
+ description: 'New order for each announcement in the signage space.',
50
+ type: [ReorderAnnouncementEntryDto],
51
+ }),
52
+ (0, class_transformer_1.Expose)(),
53
+ (0, class_validator_1.IsArray)(),
54
+ (0, class_validator_1.ArrayMinSize)(1, { message: '[{"field":"items","reason":"Provide at least one announcement to reorder."}]' }),
55
+ (0, class_validator_1.ValidateNested)({ each: true }),
56
+ (0, class_transformer_1.Type)(() => ReorderAnnouncementEntryDto),
57
+ __metadata("design:type", Array)
58
+ ], ReorderAnnouncementsDto.prototype, "items", void 0);
59
+ exports.ReorderAnnouncementsDto = ReorderAnnouncementsDto = __decorate([
60
+ (0, swagger_1.ApiSchema)({ name: 'SpacesSignageInfoPanelPluginReorderAnnouncements' })
61
+ ], ReorderAnnouncementsDto);
62
+ let ReqReorderAnnouncementsDto = class ReqReorderAnnouncementsDto {
63
+ };
64
+ exports.ReqReorderAnnouncementsDto = ReqReorderAnnouncementsDto;
65
+ __decorate([
66
+ (0, swagger_1.ApiProperty)({
67
+ description: 'Bulk reorder payload.',
68
+ type: ReorderAnnouncementsDto,
69
+ }),
70
+ (0, class_transformer_1.Expose)(),
71
+ (0, class_validator_1.ValidateNested)(),
72
+ (0, class_transformer_1.Type)(() => ReorderAnnouncementsDto),
73
+ __metadata("design:type", ReorderAnnouncementsDto)
74
+ ], ReqReorderAnnouncementsDto.prototype, "data", void 0);
75
+ exports.ReqReorderAnnouncementsDto = ReqReorderAnnouncementsDto = __decorate([
76
+ (0, swagger_1.ApiSchema)({ name: 'SpacesSignageInfoPanelPluginReqReorderAnnouncements' })
77
+ ], ReqReorderAnnouncementsDto);
78
+ //# sourceMappingURL=reorder-announcements.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reorder-announcements.dto.js","sourceRoot":"","sources":["../../../../src/plugins/spaces-signage-info-panel/dto/reorder-announcements.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,qDAA4F;AAE5F,6CAAyD;AAGlD,IAAM,2BAA2B,GAAjC,MAAM,2BAA2B;CAoBvC,CAAA;AApBY,kEAA2B;AASvC;IARC,IAAA,qBAAW,EAAC;QACZ,WAAW,EAAE,iCAAiC;QAC9C,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,sCAAsC;KAC/C,CAAC;IACD,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAM,EAAC,GAAG,EAAE,EAAE,OAAO,EAAE,kEAAkE,EAAE,CAAC;;uDAClF;AAUX;IARC,IAAA,qBAAW,EAAC;QACZ,WAAW,EAAE,sCAAsC;QACnD,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,CAAC;KACV,CAAC;IACD,IAAA,0BAAM,GAAE;IACR,IAAA,uBAAK,EAAC,EAAE,OAAO,EAAE,0DAA0D,EAAE,CAAC;IAC9E,IAAA,qBAAG,EAAC,CAAC,EAAE,EAAE,OAAO,EAAE,0DAA0D,EAAE,CAAC;;0DAClE;sCAnBF,2BAA2B;IADvC,IAAA,mBAAS,EAAC,EAAE,IAAI,EAAE,sDAAsD,EAAE,CAAC;GAC/D,2BAA2B,CAoBvC;AAGM,IAAM,uBAAuB,GAA7B,MAAM,uBAAuB;CAWnC,CAAA;AAXY,0DAAuB;AAUnC;IATC,IAAA,qBAAW,EAAC;QACZ,WAAW,EAAE,uDAAuD;QACpE,IAAI,EAAE,CAAC,2BAA2B,CAAC;KACnC,CAAC;IACD,IAAA,0BAAM,GAAE;IACR,IAAA,yBAAO,GAAE;IACT,IAAA,8BAAY,EAAC,CAAC,EAAE,EAAE,OAAO,EAAE,8EAA8E,EAAE,CAAC;IAC5G,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,2BAA2B,CAAC;;sDACH;kCAVzB,uBAAuB;IADnC,IAAA,mBAAS,EAAC,EAAE,IAAI,EAAE,kDAAkD,EAAE,CAAC;GAC3D,uBAAuB,CAWnC;AAGM,IAAM,0BAA0B,GAAhC,MAAM,0BAA0B;CAStC,CAAA;AATY,gEAA0B;AAQtC;IAPC,IAAA,qBAAW,EAAC;QACZ,WAAW,EAAE,uBAAuB;QACpC,IAAI,EAAE,uBAAuB;KAC7B,CAAC;IACD,IAAA,0BAAM,GAAE;IACR,IAAA,gCAAc,GAAE;IAChB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uBAAuB,CAAC;8BAC9B,uBAAuB;wDAAC;qCARlB,0BAA0B;IADtC,IAAA,mBAAS,EAAC,EAAE,IAAI,EAAE,qDAAqD,EAAE,CAAC;GAC9D,0BAA0B,CAStC"}
@@ -0,0 +1,12 @@
1
+ export declare class UpdateAnnouncementDto {
2
+ title?: string;
3
+ body?: string | null;
4
+ icon?: string | null;
5
+ order?: number;
6
+ active_from?: Date | null;
7
+ active_until?: Date | null;
8
+ priority?: number;
9
+ }
10
+ export declare class ReqUpdateAnnouncementDto {
11
+ data: UpdateAnnouncementDto;
12
+ }
@@ -0,0 +1,134 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.ReqUpdateAnnouncementDto = exports.UpdateAnnouncementDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ const swagger_1 = require("@nestjs/swagger");
16
+ let UpdateAnnouncementDto = class UpdateAnnouncementDto {
17
+ };
18
+ exports.UpdateAnnouncementDto = UpdateAnnouncementDto;
19
+ __decorate([
20
+ (0, swagger_1.ApiPropertyOptional)({
21
+ description: 'Announcement title rendered as the headline.',
22
+ type: 'string',
23
+ example: 'Lobby closed for maintenance',
24
+ }),
25
+ (0, class_transformer_1.Expose)(),
26
+ (0, class_transformer_1.Transform)(({ value }) => (value === null ? undefined : value)),
27
+ (0, class_validator_1.IsOptional)(),
28
+ (0, class_validator_1.IsNotEmpty)({ message: '[{"field":"title","reason":"Title must be a non-empty string."}]' }),
29
+ (0, class_validator_1.IsString)({ message: '[{"field":"title","reason":"Title must be a string."}]' }),
30
+ __metadata("design:type", String)
31
+ ], UpdateAnnouncementDto.prototype, "title", void 0);
32
+ __decorate([
33
+ (0, swagger_1.ApiPropertyOptional)({
34
+ description: 'Longer announcement body rendered beneath the title.',
35
+ type: 'string',
36
+ nullable: true,
37
+ example: 'Maintenance runs until 14:00 today. Thank you for your patience.',
38
+ }),
39
+ (0, class_transformer_1.Expose)(),
40
+ (0, class_validator_1.IsOptional)(),
41
+ (0, class_validator_1.ValidateIf)((_, value) => value !== null),
42
+ (0, class_validator_1.IsString)({ message: '[{"field":"body","reason":"Body must be a string."}]' }),
43
+ __metadata("design:type", String)
44
+ ], UpdateAnnouncementDto.prototype, "body", void 0);
45
+ __decorate([
46
+ (0, swagger_1.ApiPropertyOptional)({
47
+ description: 'Icon identifier rendered alongside the announcement.',
48
+ type: 'string',
49
+ nullable: true,
50
+ example: 'mdi:information',
51
+ }),
52
+ (0, class_transformer_1.Expose)(),
53
+ (0, class_validator_1.IsOptional)(),
54
+ (0, class_validator_1.ValidateIf)((_, value) => value !== null),
55
+ (0, class_validator_1.IsString)({ message: '[{"field":"icon","reason":"Icon must be a string."}]' }),
56
+ __metadata("design:type", String)
57
+ ], UpdateAnnouncementDto.prototype, "icon", void 0);
58
+ __decorate([
59
+ (0, swagger_1.ApiPropertyOptional)({
60
+ description: 'Sort order within the parent signage space. Lower values render first.',
61
+ type: 'integer',
62
+ example: 0,
63
+ }),
64
+ (0, class_transformer_1.Expose)(),
65
+ (0, class_transformer_1.Transform)(({ value }) => (value === null ? undefined : value)),
66
+ (0, class_validator_1.IsOptional)(),
67
+ (0, class_validator_1.IsInt)({ message: '[{"field":"order","reason":"Order must be an integer."}]' }),
68
+ (0, class_validator_1.Min)(0, { message: '[{"field":"order","reason":"Order must be at least 0."}]' }),
69
+ __metadata("design:type", Number)
70
+ ], UpdateAnnouncementDto.prototype, "order", void 0);
71
+ __decorate([
72
+ (0, swagger_1.ApiPropertyOptional)({
73
+ name: 'active_from',
74
+ description: 'Active-window lower bound. Announcement renders when now >= active_from.',
75
+ type: 'string',
76
+ format: 'date-time',
77
+ nullable: true,
78
+ example: '2025-01-25T08:00:00Z',
79
+ }),
80
+ (0, class_transformer_1.Expose)(),
81
+ (0, class_validator_1.IsOptional)(),
82
+ (0, class_validator_1.ValidateIf)((_, value) => value !== null),
83
+ (0, class_transformer_1.Type)(() => Date),
84
+ (0, class_validator_1.IsDate)({ message: '[{"field":"active_from","reason":"active_from must be a valid ISO-8601 timestamp."}]' }),
85
+ __metadata("design:type", Date)
86
+ ], UpdateAnnouncementDto.prototype, "active_from", void 0);
87
+ __decorate([
88
+ (0, swagger_1.ApiPropertyOptional)({
89
+ name: 'active_until',
90
+ description: 'Active-window upper bound. Announcement renders while now < active_until.',
91
+ type: 'string',
92
+ format: 'date-time',
93
+ nullable: true,
94
+ example: '2025-01-25T14:00:00Z',
95
+ }),
96
+ (0, class_transformer_1.Expose)(),
97
+ (0, class_validator_1.IsOptional)(),
98
+ (0, class_validator_1.ValidateIf)((_, value) => value !== null),
99
+ (0, class_transformer_1.Type)(() => Date),
100
+ (0, class_validator_1.IsDate)({ message: '[{"field":"active_until","reason":"active_until must be a valid ISO-8601 timestamp."}]' }),
101
+ __metadata("design:type", Date)
102
+ ], UpdateAnnouncementDto.prototype, "active_until", void 0);
103
+ __decorate([
104
+ (0, swagger_1.ApiPropertyOptional)({
105
+ description: 'Announcement priority. Higher values render before lower.',
106
+ type: 'integer',
107
+ example: 0,
108
+ }),
109
+ (0, class_transformer_1.Expose)(),
110
+ (0, class_transformer_1.Transform)(({ value }) => (value === null ? undefined : value)),
111
+ (0, class_validator_1.IsOptional)(),
112
+ (0, class_validator_1.IsInt)({ message: '[{"field":"priority","reason":"Priority must be an integer."}]' }),
113
+ __metadata("design:type", Number)
114
+ ], UpdateAnnouncementDto.prototype, "priority", void 0);
115
+ exports.UpdateAnnouncementDto = UpdateAnnouncementDto = __decorate([
116
+ (0, swagger_1.ApiSchema)({ name: 'SpacesSignageInfoPanelPluginUpdateAnnouncement' })
117
+ ], UpdateAnnouncementDto);
118
+ let ReqUpdateAnnouncementDto = class ReqUpdateAnnouncementDto {
119
+ };
120
+ exports.ReqUpdateAnnouncementDto = ReqUpdateAnnouncementDto;
121
+ __decorate([
122
+ (0, swagger_1.ApiProperty)({
123
+ description: 'Announcement update data.',
124
+ type: UpdateAnnouncementDto,
125
+ }),
126
+ (0, class_transformer_1.Expose)(),
127
+ (0, class_validator_1.ValidateNested)(),
128
+ (0, class_transformer_1.Type)(() => UpdateAnnouncementDto),
129
+ __metadata("design:type", UpdateAnnouncementDto)
130
+ ], ReqUpdateAnnouncementDto.prototype, "data", void 0);
131
+ exports.ReqUpdateAnnouncementDto = ReqUpdateAnnouncementDto = __decorate([
132
+ (0, swagger_1.ApiSchema)({ name: 'SpacesSignageInfoPanelPluginReqUpdateAnnouncement' })
133
+ ], ReqUpdateAnnouncementDto);
134
+ //# sourceMappingURL=update-announcement.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-announcement.dto.js","sourceRoot":"","sources":["../../../../src/plugins/spaces-signage-info-panel/dto/update-announcement.dto.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,5 @@
1
+ import { UpdatePluginConfigDto } from '../../../modules/config/dto/config.dto';
2
+ import { SPACES_SIGNAGE_INFO_PANEL_PLUGIN_NAME } from '../spaces-signage-info-panel.constants';
3
+ export declare class SpacesSignageInfoPanelUpdatePluginConfigDto extends UpdatePluginConfigDto {
4
+ type: typeof SPACES_SIGNAGE_INFO_PANEL_PLUGIN_NAME;
5
+ }
@@ -0,0 +1,34 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.SpacesSignageInfoPanelUpdatePluginConfigDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ const swagger_1 = require("@nestjs/swagger");
16
+ const config_dto_1 = require("../../../modules/config/dto/config.dto");
17
+ const spaces_signage_info_panel_constants_1 = require("../spaces-signage-info-panel.constants");
18
+ let SpacesSignageInfoPanelUpdatePluginConfigDto = class SpacesSignageInfoPanelUpdatePluginConfigDto extends config_dto_1.UpdatePluginConfigDto {
19
+ };
20
+ exports.SpacesSignageInfoPanelUpdatePluginConfigDto = SpacesSignageInfoPanelUpdatePluginConfigDto;
21
+ __decorate([
22
+ (0, swagger_1.ApiProperty)({
23
+ description: 'Plugin type',
24
+ type: 'string',
25
+ example: spaces_signage_info_panel_constants_1.SPACES_SIGNAGE_INFO_PANEL_PLUGIN_NAME,
26
+ }),
27
+ (0, class_transformer_1.Expose)(),
28
+ (0, class_validator_1.IsString)({ message: '[{"field":"type","reason":"Type must be a valid string."}]' }),
29
+ __metadata("design:type", Object)
30
+ ], SpacesSignageInfoPanelUpdatePluginConfigDto.prototype, "type", void 0);
31
+ exports.SpacesSignageInfoPanelUpdatePluginConfigDto = SpacesSignageInfoPanelUpdatePluginConfigDto = __decorate([
32
+ (0, swagger_1.ApiSchema)({ name: 'SpacesSignageInfoPanelPluginUpdateConfig' })
33
+ ], SpacesSignageInfoPanelUpdatePluginConfigDto);
34
+ //# sourceMappingURL=update-config.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-config.dto.js","sourceRoot":"","sources":["../../../../src/plugins/spaces-signage-info-panel/dto/update-config.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qDAA2C;AAE3C,6CAAyD;AAEzD,uEAA+E;AAC/E,gGAA+F;AAGxF,IAAM,2CAA2C,GAAjD,MAAM,2CAA4C,SAAQ,kCAAqB;CASrF,CAAA;AATY,kGAA2C;AAQvD;IAPC,IAAA,qBAAW,EAAC;QACZ,WAAW,EAAE,aAAa;QAC1B,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,2EAAqC;KAC9C,CAAC;IACD,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,4DAA4D,EAAE,CAAC;;yEACjC;sDARvC,2CAA2C;IADvD,IAAA,mBAAS,EAAC,EAAE,IAAI,EAAE,0CAA0C,EAAE,CAAC;GACnD,2CAA2C,CASvD"}
@@ -0,0 +1,13 @@
1
+ import { UpdateSpaceDto } from '../../../modules/spaces/dto/update-space.dto';
2
+ import { SpaceType } from '../../../modules/spaces/spaces.constants';
3
+ import { SignageInfoPanelLayout } from '../spaces-signage-info-panel.constants';
4
+ export declare class UpdateSignageInfoPanelSpaceDto extends UpdateSpaceDto {
5
+ readonly type: SpaceType.SIGNAGE_INFO_PANEL;
6
+ layout?: SignageInfoPanelLayout;
7
+ show_clock?: boolean;
8
+ show_weather?: boolean;
9
+ show_announcements?: boolean;
10
+ show_feed?: boolean;
11
+ weather_location_id?: string | null;
12
+ feed_url?: string | null;
13
+ }
@@ -0,0 +1,130 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.UpdateSignageInfoPanelSpaceDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ const swagger_1 = require("@nestjs/swagger");
16
+ const update_space_dto_1 = require("../../../modules/spaces/dto/update-space.dto");
17
+ const spaces_constants_1 = require("../../../modules/spaces/spaces.constants");
18
+ const spaces_signage_info_panel_constants_1 = require("../spaces-signage-info-panel.constants");
19
+ let UpdateSignageInfoPanelSpaceDto = class UpdateSignageInfoPanelSpaceDto extends update_space_dto_1.UpdateSpaceDto {
20
+ };
21
+ exports.UpdateSignageInfoPanelSpaceDto = UpdateSignageInfoPanelSpaceDto;
22
+ __decorate([
23
+ (0, swagger_1.ApiProperty)({
24
+ description: 'Space type',
25
+ enum: [spaces_constants_1.SpaceType.SIGNAGE_INFO_PANEL],
26
+ default: spaces_constants_1.SpaceType.SIGNAGE_INFO_PANEL,
27
+ example: spaces_constants_1.SpaceType.SIGNAGE_INFO_PANEL,
28
+ }),
29
+ __metadata("design:type", String)
30
+ ], UpdateSignageInfoPanelSpaceDto.prototype, "type", void 0);
31
+ __decorate([
32
+ (0, swagger_1.ApiPropertyOptional)({
33
+ description: 'Layout preset for the information-panel surface.',
34
+ enum: spaces_signage_info_panel_constants_1.SignageInfoPanelLayout,
35
+ default: spaces_signage_info_panel_constants_1.SignageInfoPanelLayout.CLOCK_WEATHER_ANNOUNCEMENTS,
36
+ example: spaces_signage_info_panel_constants_1.SignageInfoPanelLayout.CLOCK_WEATHER_ANNOUNCEMENTS,
37
+ }),
38
+ (0, class_transformer_1.Expose)(),
39
+ (0, class_validator_1.IsOptional)(),
40
+ (0, class_validator_1.IsEnum)(spaces_signage_info_panel_constants_1.SignageInfoPanelLayout, {
41
+ message: '[{"field":"layout","reason":"Layout must be a valid SignageInfoPanelLayout value."}]',
42
+ }),
43
+ __metadata("design:type", String)
44
+ ], UpdateSignageInfoPanelSpaceDto.prototype, "layout", void 0);
45
+ __decorate([
46
+ (0, swagger_1.ApiPropertyOptional)({
47
+ name: 'show_clock',
48
+ description: 'Render the clock section.',
49
+ type: 'boolean',
50
+ example: true,
51
+ }),
52
+ (0, class_transformer_1.Expose)(),
53
+ (0, class_validator_1.IsOptional)(),
54
+ (0, class_validator_1.IsBoolean)({ message: '[{"field":"show_clock","reason":"show_clock must be a boolean."}]' }),
55
+ __metadata("design:type", Boolean)
56
+ ], UpdateSignageInfoPanelSpaceDto.prototype, "show_clock", void 0);
57
+ __decorate([
58
+ (0, swagger_1.ApiPropertyOptional)({
59
+ name: 'show_weather',
60
+ description: 'Render the weather section.',
61
+ type: 'boolean',
62
+ example: true,
63
+ }),
64
+ (0, class_transformer_1.Expose)(),
65
+ (0, class_validator_1.IsOptional)(),
66
+ (0, class_validator_1.IsBoolean)({ message: '[{"field":"show_weather","reason":"show_weather must be a boolean."}]' }),
67
+ __metadata("design:type", Boolean)
68
+ ], UpdateSignageInfoPanelSpaceDto.prototype, "show_weather", void 0);
69
+ __decorate([
70
+ (0, swagger_1.ApiPropertyOptional)({
71
+ name: 'show_announcements',
72
+ description: 'Render the announcements section.',
73
+ type: 'boolean',
74
+ example: true,
75
+ }),
76
+ (0, class_transformer_1.Expose)(),
77
+ (0, class_validator_1.IsOptional)(),
78
+ (0, class_validator_1.IsBoolean)({
79
+ message: '[{"field":"show_announcements","reason":"show_announcements must be a boolean."}]',
80
+ }),
81
+ __metadata("design:type", Boolean)
82
+ ], UpdateSignageInfoPanelSpaceDto.prototype, "show_announcements", void 0);
83
+ __decorate([
84
+ (0, swagger_1.ApiPropertyOptional)({
85
+ name: 'show_feed',
86
+ description: 'Render the external feed section (requires feed_url).',
87
+ type: 'boolean',
88
+ example: false,
89
+ }),
90
+ (0, class_transformer_1.Expose)(),
91
+ (0, class_validator_1.IsOptional)(),
92
+ (0, class_validator_1.IsBoolean)({ message: '[{"field":"show_feed","reason":"show_feed must be a boolean."}]' }),
93
+ __metadata("design:type", Boolean)
94
+ ], UpdateSignageInfoPanelSpaceDto.prototype, "show_feed", void 0);
95
+ __decorate([
96
+ (0, swagger_1.ApiPropertyOptional)({
97
+ name: 'weather_location_id',
98
+ description: 'Weather location ID driving the weather section.',
99
+ type: 'string',
100
+ format: 'uuid',
101
+ nullable: true,
102
+ example: 'f1e09ba1-429f-4c6a-a2fd-aca6a7c4a8c6',
103
+ }),
104
+ (0, class_transformer_1.Expose)(),
105
+ (0, class_validator_1.IsOptional)(),
106
+ (0, class_validator_1.ValidateIf)((_, value) => value !== null),
107
+ (0, class_validator_1.IsUUID)('4', {
108
+ message: '[{"field":"weather_location_id","reason":"weather_location_id must be a valid UUID (version 4)."}]',
109
+ }),
110
+ __metadata("design:type", String)
111
+ ], UpdateSignageInfoPanelSpaceDto.prototype, "weather_location_id", void 0);
112
+ __decorate([
113
+ (0, swagger_1.ApiPropertyOptional)({
114
+ name: 'feed_url',
115
+ description: 'URL of an external feed rendered in the feed section.',
116
+ type: 'string',
117
+ nullable: true,
118
+ example: 'https://news.example.com/embed',
119
+ }),
120
+ (0, class_transformer_1.Expose)(),
121
+ (0, class_validator_1.IsOptional)(),
122
+ (0, class_validator_1.ValidateIf)((_, value) => value !== null),
123
+ (0, class_validator_1.IsString)({ message: '[{"field":"feed_url","reason":"feed_url must be a string."}]' }),
124
+ (0, class_transformer_1.Transform)(({ value }) => (typeof value === 'string' ? value.trim() : value)),
125
+ __metadata("design:type", String)
126
+ ], UpdateSignageInfoPanelSpaceDto.prototype, "feed_url", void 0);
127
+ exports.UpdateSignageInfoPanelSpaceDto = UpdateSignageInfoPanelSpaceDto = __decorate([
128
+ (0, swagger_1.ApiSchema)({ name: 'SpacesSignageInfoPanelPluginUpdateSignageInfoPanelSpace' })
129
+ ], UpdateSignageInfoPanelSpaceDto);
130
+ //# sourceMappingURL=update-signage-info-panel-space.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-signage-info-panel-space.dto.js","sourceRoot":"","sources":["../../../../src/plugins/spaces-signage-info-panel/dto/update-signage-info-panel-space.dto.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,13 @@
1
+ import { BaseEntity } from '../../../common/entities/base.entity';
2
+ import { SignageInfoPanelSpaceEntity } from './signage-info-panel-space.entity';
3
+ export declare class SignageAnnouncementEntity extends BaseEntity {
4
+ spaceId: string;
5
+ space: SignageInfoPanelSpaceEntity;
6
+ order: number;
7
+ title: string;
8
+ body: string | null;
9
+ icon: string | null;
10
+ activeFrom: Date | null;
11
+ activeUntil: Date | null;
12
+ priority: number;
13
+ }