@fastybird/smart-panel-backend 0.1.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +201 -0
- package/README.md +266 -0
- package/dist/app.constants.d.ts +10 -0
- package/dist/app.constants.js +15 -0
- package/dist/app.constants.js.map +1 -0
- package/dist/app.interfaces.d.ts +4 -0
- package/dist/app.interfaces.js +3 -0
- package/dist/app.interfaces.js.map +1 -0
- package/dist/app.module.d.ts +14 -0
- package/dist/app.module.js +428 -0
- package/dist/app.module.js.map +1 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +48 -0
- package/dist/cli.js.map +1 -0
- package/dist/common/entities/base.entity.d.ts +5 -0
- package/dist/common/entities/base.entity.js +78 -0
- package/dist/common/entities/base.entity.js.map +1 -0
- package/dist/common/filters/bad-request-exception.filter.d.ts +5 -0
- package/dist/common/filters/bad-request-exception.filter.js +85 -0
- package/dist/common/filters/bad-request-exception.filter.js.map +1 -0
- package/dist/common/filters/global-error.filter.d.ts +5 -0
- package/dist/common/filters/global-error.filter.js +73 -0
- package/dist/common/filters/global-error.filter.js.map +1 -0
- package/dist/common/filters/internal-server-error-exception.filter.d.ts +5 -0
- package/dist/common/filters/internal-server-error-exception.filter.js +51 -0
- package/dist/common/filters/internal-server-error-exception.filter.js.map +1 -0
- package/dist/common/filters/not-found-exception.filter.d.ts +4 -0
- package/dist/common/filters/not-found-exception.filter.js +52 -0
- package/dist/common/filters/not-found-exception.filter.js.map +1 -0
- package/dist/common/filters/query-failed-exception.filter.d.ts +9 -0
- package/dist/common/filters/query-failed-exception.filter.js +74 -0
- package/dist/common/filters/query-failed-exception.filter.js.map +1 -0
- package/dist/common/filters/unprocessable-entity-exception.filter.d.ts +5 -0
- package/dist/common/filters/unprocessable-entity-exception.filter.js +52 -0
- package/dist/common/filters/unprocessable-entity-exception.filter.js.map +1 -0
- package/dist/common/logger/extension-logger.service.d.ts +19 -0
- package/dist/common/logger/extension-logger.service.js +103 -0
- package/dist/common/logger/extension-logger.service.js.map +1 -0
- package/dist/common/logger/index.d.ts +1 -0
- package/dist/common/logger/index.js +18 -0
- package/dist/common/logger/index.js.map +1 -0
- package/dist/common/services/app-instance-holder.service.d.ts +9 -0
- package/dist/common/services/app-instance-holder.service.js +39 -0
- package/dist/common/services/app-instance-holder.service.js.map +1 -0
- package/dist/common/utils/color.utils.d.ts +1 -0
- package/dist/common/utils/color.utils.js +46 -0
- package/dist/common/utils/color.utils.js.map +1 -0
- package/dist/common/utils/config.utils.d.ts +3 -0
- package/dist/common/utils/config.utils.js +30 -0
- package/dist/common/utils/config.utils.js.map +1 -0
- package/dist/common/utils/cooldown-manager.d.ts +8 -0
- package/dist/common/utils/cooldown-manager.js +29 -0
- package/dist/common/utils/cooldown-manager.js.map +1 -0
- package/dist/common/utils/http.utils.d.ts +17 -0
- package/dist/common/utils/http.utils.js +68 -0
- package/dist/common/utils/http.utils.js.map +1 -0
- package/dist/common/utils/semver.d.ts +3 -0
- package/dist/common/utils/semver.js +77 -0
- package/dist/common/utils/semver.js.map +1 -0
- package/dist/common/utils/transform.utils.d.ts +10 -0
- package/dist/common/utils/transform.utils.js +107 -0
- package/dist/common/utils/transform.utils.js.map +1 -0
- package/dist/common/validation/abstract-instance.validator.d.ts +5 -0
- package/dist/common/validation/abstract-instance.validator.js +28 -0
- package/dist/common/validation/abstract-instance.validator.js.map +1 -0
- package/dist/common/validation/validation-exception-factory.d.ts +6 -0
- package/dist/common/validation/validation-exception-factory.js +38 -0
- package/dist/common/validation/validation-exception-factory.js.map +1 -0
- package/dist/dataSource.d.ts +1 -0
- package/dist/dataSource.js +58 -0
- package/dist/dataSource.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.js +113 -0
- package/dist/main.js.map +1 -0
- package/dist/migrations/1000000000000-InitialSetup.d.ts +6 -0
- package/dist/migrations/1000000000000-InitialSetup.js +418 -0
- package/dist/migrations/1000000000000-InitialSetup.js.map +1 -0
- package/dist/modules/api/api.constants.d.ts +4 -0
- package/dist/modules/api/api.constants.js +17 -0
- package/dist/modules/api/api.constants.js.map +1 -0
- package/dist/modules/api/api.exceptions.d.ts +12 -0
- package/dist/modules/api/api.exceptions.js +32 -0
- package/dist/modules/api/api.exceptions.js.map +1 -0
- package/dist/modules/api/api.module.d.ts +12 -0
- package/dist/modules/api/api.module.js +62 -0
- package/dist/modules/api/api.module.js.map +1 -0
- package/dist/modules/api/api.openapi.d.ts +3 -0
- package/dist/modules/api/api.openapi.js +24 -0
- package/dist/modules/api/api.openapi.js.map +1 -0
- package/dist/modules/api/decorators/raw-route.decorator.d.ts +2 -0
- package/dist/modules/api/decorators/raw-route.decorator.js +8 -0
- package/dist/modules/api/decorators/raw-route.decorator.js.map +1 -0
- package/dist/modules/api/interceptors/api-metrics.interceptor.d.ts +8 -0
- package/dist/modules/api/interceptors/api-metrics.interceptor.js +33 -0
- package/dist/modules/api/interceptors/api-metrics.interceptor.js.map +1 -0
- package/dist/modules/api/interceptors/location-replace.interceptor.d.ts +11 -0
- package/dist/modules/api/interceptors/location-replace.interceptor.js +84 -0
- package/dist/modules/api/interceptors/location-replace.interceptor.js.map +1 -0
- package/dist/modules/api/interceptors/open-api-response.interceptor.d.ts +8 -0
- package/dist/modules/api/interceptors/open-api-response.interceptor.js +82 -0
- package/dist/modules/api/interceptors/open-api-response.interceptor.js.map +1 -0
- package/dist/modules/api/interceptors/transform-response.interceptor.d.ts +8 -0
- package/dist/modules/api/interceptors/transform-response.interceptor.js +45 -0
- package/dist/modules/api/interceptors/transform-response.interceptor.js.map +1 -0
- package/dist/modules/api/models/api-response.model.d.ts +58 -0
- package/dist/modules/api/models/api-response.model.js +414 -0
- package/dist/modules/api/models/api-response.model.js.map +1 -0
- package/dist/modules/api/models/api.model.d.ts +17 -0
- package/dist/modules/api/models/api.model.js +157 -0
- package/dist/modules/api/models/api.model.js.map +1 -0
- package/dist/modules/api/providers/api-stats.provider.d.ts +8 -0
- package/dist/modules/api/providers/api-stats.provider.js +47 -0
- package/dist/modules/api/providers/api-stats.provider.js.map +1 -0
- package/dist/modules/api/services/api-metrics.service.d.ts +14 -0
- package/dist/modules/api/services/api-metrics.service.js +73 -0
- package/dist/modules/api/services/api-metrics.service.js.map +1 -0
- package/dist/modules/api/utils/location-header.utils.d.ts +6 -0
- package/dist/modules/api/utils/location-header.utils.js +36 -0
- package/dist/modules/api/utils/location-header.utils.js.map +1 -0
- package/dist/modules/auth/auth.constants.d.ts +15 -0
- package/dist/modules/auth/auth.constants.js +21 -0
- package/dist/modules/auth/auth.constants.js.map +1 -0
- package/dist/modules/auth/auth.exceptions.d.ts +12 -0
- package/dist/modules/auth/auth.exceptions.js +32 -0
- package/dist/modules/auth/auth.exceptions.js.map +1 -0
- package/dist/modules/auth/auth.module.d.ts +13 -0
- package/dist/modules/auth/auth.module.js +166 -0
- package/dist/modules/auth/auth.module.js.map +1 -0
- package/dist/modules/auth/auth.openapi.d.ts +6 -0
- package/dist/modules/auth/auth.openapi.js +35 -0
- package/dist/modules/auth/auth.openapi.js.map +1 -0
- package/dist/modules/auth/commands/register-owner.command.d.ts +13 -0
- package/dist/modules/auth/commands/register-owner.command.js +59 -0
- package/dist/modules/auth/commands/register-owner.command.js.map +1 -0
- package/dist/modules/auth/commands/reset-password.command.d.ts +8 -0
- package/dist/modules/auth/commands/reset-password.command.js +57 -0
- package/dist/modules/auth/commands/reset-password.command.js.map +1 -0
- package/dist/modules/auth/controllers/auth.controller.d.ts +21 -0
- package/dist/modules/auth/controllers/auth.controller.js +226 -0
- package/dist/modules/auth/controllers/auth.controller.js.map +1 -0
- package/dist/modules/auth/controllers/tokens.controller.d.ts +19 -0
- package/dist/modules/auth/controllers/tokens.controller.js +253 -0
- package/dist/modules/auth/controllers/tokens.controller.js.map +1 -0
- package/dist/modules/auth/dto/check-email.dto.d.ts +6 -0
- package/dist/modules/auth/dto/check-email.dto.js +49 -0
- package/dist/modules/auth/dto/check-email.dto.js.map +1 -0
- package/dist/modules/auth/dto/check-username.dto.d.ts +6 -0
- package/dist/modules/auth/dto/check-username.dto.js +49 -0
- package/dist/modules/auth/dto/check-username.dto.js.map +1 -0
- package/dist/modules/auth/dto/create-token.dto.d.ts +28 -0
- package/dist/modules/auth/dto/create-token.dto.js +254 -0
- package/dist/modules/auth/dto/create-token.dto.js.map +1 -0
- package/dist/modules/auth/dto/login.dto.d.ts +7 -0
- package/dist/modules/auth/dto/login.dto.js +61 -0
- package/dist/modules/auth/dto/login.dto.js.map +1 -0
- package/dist/modules/auth/dto/refresh-token.dto.d.ts +6 -0
- package/dist/modules/auth/dto/refresh-token.dto.js +49 -0
- package/dist/modules/auth/dto/refresh-token.dto.js.map +1 -0
- package/dist/modules/auth/dto/register.dto.d.ts +13 -0
- package/dist/modules/auth/dto/register.dto.js +124 -0
- package/dist/modules/auth/dto/register.dto.js.map +1 -0
- package/dist/modules/auth/dto/update-config.dto.d.ts +5 -0
- package/dist/modules/auth/dto/update-config.dto.js +39 -0
- package/dist/modules/auth/dto/update-config.dto.js.map +1 -0
- package/dist/modules/auth/dto/update-token.dto.d.ts +19 -0
- package/dist/modules/auth/dto/update-token.dto.js +141 -0
- package/dist/modules/auth/dto/update-token.dto.js.map +1 -0
- package/dist/modules/auth/entities/auth.entity.d.ts +34 -0
- package/dist/modules/auth/entities/auth.entity.js +306 -0
- package/dist/modules/auth/entities/auth.entity.js.map +1 -0
- package/dist/modules/auth/guards/auth.guard.d.ts +42 -0
- package/dist/modules/auth/guards/auth.guard.js +190 -0
- package/dist/modules/auth/guards/auth.guard.js.map +1 -0
- package/dist/modules/auth/models/auth-response.model.d.ts +31 -0
- package/dist/modules/auth/models/auth-response.model.js +172 -0
- package/dist/modules/auth/models/auth-response.model.js.map +1 -0
- package/dist/modules/auth/models/auth.model.d.ts +21 -0
- package/dist/modules/auth/models/auth.model.js +188 -0
- package/dist/modules/auth/models/auth.model.js.map +1 -0
- package/dist/modules/auth/models/config.model.d.ts +5 -0
- package/dist/modules/auth/models/config.model.js +49 -0
- package/dist/modules/auth/models/config.model.js.map +1 -0
- package/dist/modules/auth/services/auth.service.d.ts +27 -0
- package/dist/modules/auth/services/auth.service.js +243 -0
- package/dist/modules/auth/services/auth.service.js.map +1 -0
- package/dist/modules/auth/services/crypto.service.d.ts +3 -0
- package/dist/modules/auth/services/crypto.service.js +21 -0
- package/dist/modules/auth/services/crypto.service.js.map +1 -0
- package/dist/modules/auth/services/tokens-type-mapper.service.d.ts +14 -0
- package/dist/modules/auth/services/tokens-type-mapper.service.js +31 -0
- package/dist/modules/auth/services/tokens-type-mapper.service.js.map +1 -0
- package/dist/modules/auth/services/tokens.service.d.ts +26 -0
- package/dist/modules/auth/services/tokens.service.js +264 -0
- package/dist/modules/auth/services/tokens.service.js.map +1 -0
- package/dist/modules/auth/utils/token.utils.d.ts +1 -0
- package/dist/modules/auth/utils/token.utils.js +42 -0
- package/dist/modules/auth/utils/token.utils.js.map +1 -0
- package/dist/modules/buddy/buddy.constants.d.ts +73 -0
- package/dist/modules/buddy/buddy.constants.js +88 -0
- package/dist/modules/buddy/buddy.constants.js.map +1 -0
- package/dist/modules/buddy/buddy.exceptions.d.ts +49 -0
- package/dist/modules/buddy/buddy.exceptions.js +101 -0
- package/dist/modules/buddy/buddy.exceptions.js.map +1 -0
- package/dist/modules/buddy/buddy.module.d.ts +27 -0
- package/dist/modules/buddy/buddy.module.js +215 -0
- package/dist/modules/buddy/buddy.module.js.map +1 -0
- package/dist/modules/buddy/buddy.openapi.d.ts +8 -0
- package/dist/modules/buddy/buddy.openapi.js +37 -0
- package/dist/modules/buddy/buddy.openapi.js.map +1 -0
- package/dist/modules/buddy/buddy.utils.d.ts +15 -0
- package/dist/modules/buddy/buddy.utils.js +138 -0
- package/dist/modules/buddy/buddy.utils.js.map +1 -0
- package/dist/modules/buddy/controllers/buddy-conversations.controller.d.ts +23 -0
- package/dist/modules/buddy/controllers/buddy-conversations.controller.js +319 -0
- package/dist/modules/buddy/controllers/buddy-conversations.controller.js.map +1 -0
- package/dist/modules/buddy/controllers/buddy-personality.controller.d.ts +10 -0
- package/dist/modules/buddy/controllers/buddy-personality.controller.js +86 -0
- package/dist/modules/buddy/controllers/buddy-personality.controller.js.map +1 -0
- package/dist/modules/buddy/controllers/buddy-providers.controller.d.ts +19 -0
- package/dist/modules/buddy/controllers/buddy-providers.controller.js +135 -0
- package/dist/modules/buddy/controllers/buddy-providers.controller.js.map +1 -0
- package/dist/modules/buddy/controllers/buddy-suggestions.controller.d.ts +13 -0
- package/dist/modules/buddy/controllers/buddy-suggestions.controller.js +121 -0
- package/dist/modules/buddy/controllers/buddy-suggestions.controller.js.map +1 -0
- package/dist/modules/buddy/dto/create-conversation.dto.d.ts +7 -0
- package/dist/modules/buddy/dto/create-conversation.dto.js +60 -0
- package/dist/modules/buddy/dto/create-conversation.dto.js.map +1 -0
- package/dist/modules/buddy/dto/send-message.dto.d.ts +6 -0
- package/dist/modules/buddy/dto/send-message.dto.js +50 -0
- package/dist/modules/buddy/dto/send-message.dto.js.map +1 -0
- package/dist/modules/buddy/dto/suggestion-feedback.dto.d.ts +7 -0
- package/dist/modules/buddy/dto/suggestion-feedback.dto.js +48 -0
- package/dist/modules/buddy/dto/suggestion-feedback.dto.js.map +1 -0
- package/dist/modules/buddy/dto/update-config.dto.d.ts +26 -0
- package/dist/modules/buddy/dto/update-config.dto.js +346 -0
- package/dist/modules/buddy/dto/update-config.dto.js.map +1 -0
- package/dist/modules/buddy/dto/update-personality.dto.d.ts +6 -0
- package/dist/modules/buddy/dto/update-personality.dto.js +50 -0
- package/dist/modules/buddy/dto/update-personality.dto.js.map +1 -0
- package/dist/modules/buddy/entities/buddy-conversation.entity.d.ts +9 -0
- package/dist/modules/buddy/entities/buddy-conversation.entity.js +57 -0
- package/dist/modules/buddy/entities/buddy-conversation.entity.js.map +1 -0
- package/dist/modules/buddy/entities/buddy-message.entity.d.ts +11 -0
- package/dist/modules/buddy/entities/buddy-message.entity.js +64 -0
- package/dist/modules/buddy/entities/buddy-message.entity.js.map +1 -0
- package/dist/modules/buddy/listeners/buddy-context-cache.listener.d.ts +19 -0
- package/dist/modules/buddy/listeners/buddy-context-cache.listener.js +146 -0
- package/dist/modules/buddy/listeners/buddy-context-cache.listener.js.map +1 -0
- package/dist/modules/buddy/listeners/intent-event.listener.d.ts +7 -0
- package/dist/modules/buddy/listeners/intent-event.listener.js +76 -0
- package/dist/modules/buddy/listeners/intent-event.listener.js.map +1 -0
- package/dist/modules/buddy/listeners/media-activity-event.listener.d.ts +20 -0
- package/dist/modules/buddy/listeners/media-activity-event.listener.js +79 -0
- package/dist/modules/buddy/listeners/media-activity-event.listener.js.map +1 -0
- package/dist/modules/buddy/models/config.model.d.ts +26 -0
- package/dist/modules/buddy/models/config.model.js +345 -0
- package/dist/modules/buddy/models/config.model.js.map +1 -0
- package/dist/modules/buddy/models/conversation-response.model.d.ts +8 -0
- package/dist/modules/buddy/models/conversation-response.model.js +46 -0
- package/dist/modules/buddy/models/conversation-response.model.js.map +1 -0
- package/dist/modules/buddy/models/message-response.model.d.ts +8 -0
- package/dist/modules/buddy/models/message-response.model.js +46 -0
- package/dist/modules/buddy/models/message-response.model.js.map +1 -0
- package/dist/modules/buddy/models/messaging-provider-status.model.d.ts +11 -0
- package/dist/modules/buddy/models/messaging-provider-status.model.js +67 -0
- package/dist/modules/buddy/models/messaging-provider-status.model.js.map +1 -0
- package/dist/modules/buddy/models/personality-response.model.d.ts +7 -0
- package/dist/modules/buddy/models/personality-response.model.js +46 -0
- package/dist/modules/buddy/models/personality-response.model.js.map +1 -0
- package/dist/modules/buddy/models/provider-status.model.d.ts +13 -0
- package/dist/modules/buddy/models/provider-status.model.js +86 -0
- package/dist/modules/buddy/models/provider-status.model.js.map +1 -0
- package/dist/modules/buddy/models/suggestion-response.model.d.ts +24 -0
- package/dist/modules/buddy/models/suggestion-response.model.js +161 -0
- package/dist/modules/buddy/models/suggestion-response.model.js.map +1 -0
- package/dist/modules/buddy/models/voice-provider-status.model.d.ts +15 -0
- package/dist/modules/buddy/models/voice-provider-status.model.js +92 -0
- package/dist/modules/buddy/models/voice-provider-status.model.js.map +1 -0
- package/dist/modules/buddy/platforms/anthropic-sdk.utils.d.ts +18 -0
- package/dist/modules/buddy/platforms/anthropic-sdk.utils.js +85 -0
- package/dist/modules/buddy/platforms/anthropic-sdk.utils.js.map +1 -0
- package/dist/modules/buddy/platforms/llm-provider.platform.d.ts +38 -0
- package/dist/modules/buddy/platforms/llm-provider.platform.js +3 -0
- package/dist/modules/buddy/platforms/llm-provider.platform.js.map +1 -0
- package/dist/modules/buddy/platforms/oauth-token-manager.d.ts +25 -0
- package/dist/modules/buddy/platforms/oauth-token-manager.js +72 -0
- package/dist/modules/buddy/platforms/oauth-token-manager.js.map +1 -0
- package/dist/modules/buddy/platforms/openai-sdk.utils.d.ts +11 -0
- package/dist/modules/buddy/platforms/openai-sdk.utils.js +94 -0
- package/dist/modules/buddy/platforms/openai-sdk.utils.js.map +1 -0
- package/dist/modules/buddy/platforms/stt-provider.platform.d.ts +11 -0
- package/dist/modules/buddy/platforms/stt-provider.platform.js +3 -0
- package/dist/modules/buddy/platforms/stt-provider.platform.js.map +1 -0
- package/dist/modules/buddy/platforms/tool-provider.platform.d.ts +1 -0
- package/dist/modules/buddy/platforms/tool-provider.platform.js +3 -0
- package/dist/modules/buddy/platforms/tool-provider.platform.js.map +1 -0
- package/dist/modules/buddy/platforms/tts-provider.platform.d.ts +17 -0
- package/dist/modules/buddy/platforms/tts-provider.platform.js +3 -0
- package/dist/modules/buddy/platforms/tts-provider.platform.js.map +1 -0
- package/dist/modules/buddy/services/action-observer.service.d.ts +24 -0
- package/dist/modules/buddy/services/action-observer.service.js +47 -0
- package/dist/modules/buddy/services/action-observer.service.js.map +1 -0
- package/dist/modules/buddy/services/anomaly-detector.service.d.ts +20 -0
- package/dist/modules/buddy/services/anomaly-detector.service.js +308 -0
- package/dist/modules/buddy/services/anomaly-detector.service.js.map +1 -0
- package/dist/modules/buddy/services/buddy-context.service.d.ts +111 -0
- package/dist/modules/buddy/services/buddy-context.service.js +324 -0
- package/dist/modules/buddy/services/buddy-context.service.js.map +1 -0
- package/dist/modules/buddy/services/buddy-conversation.service.d.ts +42 -0
- package/dist/modules/buddy/services/buddy-conversation.service.js +506 -0
- package/dist/modules/buddy/services/buddy-conversation.service.js.map +1 -0
- package/dist/modules/buddy/services/buddy-personality.service.d.ts +12 -0
- package/dist/modules/buddy/services/buddy-personality.service.js +123 -0
- package/dist/modules/buddy/services/buddy-personality.service.js.map +1 -0
- package/dist/modules/buddy/services/buddy-provider-status.service.d.ts +10 -0
- package/dist/modules/buddy/services/buddy-provider-status.service.js +73 -0
- package/dist/modules/buddy/services/buddy-provider-status.service.js.map +1 -0
- package/dist/modules/buddy/services/conflict-detector-evaluator.service.d.ts +25 -0
- package/dist/modules/buddy/services/conflict-detector-evaluator.service.js +253 -0
- package/dist/modules/buddy/services/conflict-detector-evaluator.service.js.map +1 -0
- package/dist/modules/buddy/services/energy-evaluator.service.d.ts +16 -0
- package/dist/modules/buddy/services/energy-evaluator.service.js +145 -0
- package/dist/modules/buddy/services/energy-evaluator.service.js.map +1 -0
- package/dist/modules/buddy/services/heartbeat.service.d.ts +25 -0
- package/dist/modules/buddy/services/heartbeat.service.js +140 -0
- package/dist/modules/buddy/services/heartbeat.service.js.map +1 -0
- package/dist/modules/buddy/services/heartbeat.types.d.ts +13 -0
- package/dist/modules/buddy/services/heartbeat.types.js +3 -0
- package/dist/modules/buddy/services/heartbeat.types.js.map +1 -0
- package/dist/modules/buddy/services/llm-provider-registry.service.d.ts +8 -0
- package/dist/modules/buddy/services/llm-provider-registry.service.js +39 -0
- package/dist/modules/buddy/services/llm-provider-registry.service.js.map +1 -0
- package/dist/modules/buddy/services/llm-provider.service.d.ts +14 -0
- package/dist/modules/buddy/services/llm-provider.service.js +99 -0
- package/dist/modules/buddy/services/llm-provider.service.js.map +1 -0
- package/dist/modules/buddy/services/messaging-provider-status.service.d.ts +11 -0
- package/dist/modules/buddy/services/messaging-provider-status.service.js +76 -0
- package/dist/modules/buddy/services/messaging-provider-status.service.js.map +1 -0
- package/dist/modules/buddy/services/module-reset.service.d.ts +13 -0
- package/dist/modules/buddy/services/module-reset.service.js +52 -0
- package/dist/modules/buddy/services/module-reset.service.js.map +1 -0
- package/dist/modules/buddy/services/oauth-callback.service.d.ts +14 -0
- package/dist/modules/buddy/services/oauth-callback.service.js +94 -0
- package/dist/modules/buddy/services/oauth-callback.service.js.map +1 -0
- package/dist/modules/buddy/services/oauth-flow.service.d.ts +27 -0
- package/dist/modules/buddy/services/oauth-flow.service.js +115 -0
- package/dist/modules/buddy/services/oauth-flow.service.js.map +1 -0
- package/dist/modules/buddy/services/pattern-detector.service.d.ts +42 -0
- package/dist/modules/buddy/services/pattern-detector.service.js +161 -0
- package/dist/modules/buddy/services/pattern-detector.service.js.map +1 -0
- package/dist/modules/buddy/services/scene-suggestion-evaluator.service.d.ts +52 -0
- package/dist/modules/buddy/services/scene-suggestion-evaluator.service.js +263 -0
- package/dist/modules/buddy/services/scene-suggestion-evaluator.service.js.map +1 -0
- package/dist/modules/buddy/services/stt-provider-registry.service.d.ts +8 -0
- package/dist/modules/buddy/services/stt-provider-registry.service.js +39 -0
- package/dist/modules/buddy/services/stt-provider-registry.service.js.map +1 -0
- package/dist/modules/buddy/services/stt-provider-status.service.d.ts +10 -0
- package/dist/modules/buddy/services/stt-provider-status.service.js +72 -0
- package/dist/modules/buddy/services/stt-provider-status.service.js.map +1 -0
- package/dist/modules/buddy/services/stt-provider.service.d.ts +13 -0
- package/dist/modules/buddy/services/stt-provider.service.js +134 -0
- package/dist/modules/buddy/services/stt-provider.service.js.map +1 -0
- package/dist/modules/buddy/services/suggestion-engine.service.d.ts +44 -0
- package/dist/modules/buddy/services/suggestion-engine.service.js +208 -0
- package/dist/modules/buddy/services/suggestion-engine.service.js.map +1 -0
- package/dist/modules/buddy/services/tts-provider-registry.service.d.ts +8 -0
- package/dist/modules/buddy/services/tts-provider-registry.service.js +39 -0
- package/dist/modules/buddy/services/tts-provider-registry.service.js.map +1 -0
- package/dist/modules/buddy/services/tts-provider-status.service.d.ts +10 -0
- package/dist/modules/buddy/services/tts-provider-status.service.js +72 -0
- package/dist/modules/buddy/services/tts-provider-status.service.js.map +1 -0
- package/dist/modules/buddy/services/tts-provider.service.d.ts +26 -0
- package/dist/modules/buddy/services/tts-provider.service.js +222 -0
- package/dist/modules/buddy/services/tts-provider.service.js.map +1 -0
- package/dist/modules/buddy/spec/evaluator-rules-loader.service.d.ts +31 -0
- package/dist/modules/buddy/spec/evaluator-rules-loader.service.js +248 -0
- package/dist/modules/buddy/spec/evaluator-rules-loader.service.js.map +1 -0
- package/dist/modules/buddy/spec/evaluator-rules.types.d.ts +121 -0
- package/dist/modules/buddy/spec/evaluator-rules.types.js +3 -0
- package/dist/modules/buddy/spec/evaluator-rules.types.js.map +1 -0
- package/dist/modules/config/commands/generate-admin-extensions.command.d.ts +11 -0
- package/dist/modules/config/commands/generate-admin-extensions.command.js +132 -0
- package/dist/modules/config/commands/generate-admin-extensions.command.js.map +1 -0
- package/dist/modules/config/config.constants.d.ts +8 -0
- package/dist/modules/config/config.constants.js +13 -0
- package/dist/modules/config/config.constants.js.map +1 -0
- package/dist/modules/config/config.exceptions.d.ts +12 -0
- package/dist/modules/config/config.exceptions.js +32 -0
- package/dist/modules/config/config.exceptions.js.map +1 -0
- package/dist/modules/config/config.module.d.ts +17 -0
- package/dist/modules/config/config.module.js +109 -0
- package/dist/modules/config/config.module.js.map +1 -0
- package/dist/modules/config/config.openapi.d.ts +5 -0
- package/dist/modules/config/config.openapi.js +22 -0
- package/dist/modules/config/config.openapi.js.map +1 -0
- package/dist/modules/config/controllers/config.controller.d.ts +28 -0
- package/dist/modules/config/controllers/config.controller.js +356 -0
- package/dist/modules/config/controllers/config.controller.js.map +1 -0
- package/dist/modules/config/dto/config.dto.d.ts +14 -0
- package/dist/modules/config/dto/config.dto.js +102 -0
- package/dist/modules/config/dto/config.dto.js.map +1 -0
- package/dist/modules/config/dto/update-module-config.dto.d.ts +3 -0
- package/dist/modules/config/dto/update-module-config.dto.js +18 -0
- package/dist/modules/config/dto/update-module-config.dto.js.map +1 -0
- package/dist/modules/config/models/config-response.model.d.ts +17 -0
- package/dist/modules/config/models/config-response.model.js +89 -0
- package/dist/modules/config/models/config-response.model.js.map +1 -0
- package/dist/modules/config/models/config-validation-response.model.d.ts +12 -0
- package/dist/modules/config/models/config-validation-response.model.js +86 -0
- package/dist/modules/config/models/config-validation-response.model.js.map +1 -0
- package/dist/modules/config/models/config.model.d.ts +13 -0
- package/dist/modules/config/models/config.model.js +118 -0
- package/dist/modules/config/models/config.model.js.map +1 -0
- package/dist/modules/config/models/module-config.model.d.ts +4 -0
- package/dist/modules/config/models/module-config.model.js +37 -0
- package/dist/modules/config/models/module-config.model.js.map +1 -0
- package/dist/modules/config/services/config.service.d.ts +34 -0
- package/dist/modules/config/services/config.service.js +392 -0
- package/dist/modules/config/services/config.service.js.map +1 -0
- package/dist/modules/config/services/modules-type-mapper.service.d.ts +16 -0
- package/dist/modules/config/services/modules-type-mapper.service.js +51 -0
- package/dist/modules/config/services/modules-type-mapper.service.js.map +1 -0
- package/dist/modules/config/services/plugin-config-validator.service.d.ts +19 -0
- package/dist/modules/config/services/plugin-config-validator.service.js +47 -0
- package/dist/modules/config/services/plugin-config-validator.service.js.map +1 -0
- package/dist/modules/config/services/plugins-type-mapper.service.d.ts +16 -0
- package/dist/modules/config/services/plugins-type-mapper.service.js +51 -0
- package/dist/modules/config/services/plugins-type-mapper.service.js.map +1 -0
- package/dist/modules/dashboard/controllers/data-source.controller.d.ts +20 -0
- package/dist/modules/dashboard/controllers/data-source.controller.js +317 -0
- package/dist/modules/dashboard/controllers/data-source.controller.js.map +1 -0
- package/dist/modules/dashboard/controllers/pages.controller.d.ts +20 -0
- package/dist/modules/dashboard/controllers/pages.controller.js +278 -0
- package/dist/modules/dashboard/controllers/pages.controller.js.map +1 -0
- package/dist/modules/dashboard/controllers/tiles.controller.d.ts +20 -0
- package/dist/modules/dashboard/controllers/tiles.controller.js +314 -0
- package/dist/modules/dashboard/controllers/tiles.controller.js.map +1 -0
- package/dist/modules/dashboard/dashboard.constants.d.ts +19 -0
- package/dist/modules/dashboard/dashboard.constants.js +24 -0
- package/dist/modules/dashboard/dashboard.constants.js.map +1 -0
- package/dist/modules/dashboard/dashboard.exceptions.d.ts +9 -0
- package/dist/modules/dashboard/dashboard.exceptions.js +25 -0
- package/dist/modules/dashboard/dashboard.exceptions.js.map +1 -0
- package/dist/modules/dashboard/dashboard.module.d.ts +23 -0
- package/dist/modules/dashboard/dashboard.module.js +180 -0
- package/dist/modules/dashboard/dashboard.module.js.map +1 -0
- package/dist/modules/dashboard/dashboard.openapi.d.ts +4 -0
- package/dist/modules/dashboard/dashboard.openapi.js +26 -0
- package/dist/modules/dashboard/dashboard.openapi.js.map +1 -0
- package/dist/modules/dashboard/dto/common.dto.d.ts +4 -0
- package/dist/modules/dashboard/dto/common.dto.js +40 -0
- package/dist/modules/dashboard/dto/common.dto.js.map +1 -0
- package/dist/modules/dashboard/dto/create-data-source.dto.d.ts +14 -0
- package/dist/modules/dashboard/dto/create-data-source.dto.js +82 -0
- package/dist/modules/dashboard/dto/create-data-source.dto.js.map +1 -0
- package/dist/modules/dashboard/dto/create-page.dto.d.ts +14 -0
- package/dist/modules/dashboard/dto/create-page.dto.js +124 -0
- package/dist/modules/dashboard/dto/create-page.dto.js.map +1 -0
- package/dist/modules/dashboard/dto/create-tile.dto.d.ts +21 -0
- package/dist/modules/dashboard/dto/create-tile.dto.js +148 -0
- package/dist/modules/dashboard/dto/create-tile.dto.js.map +1 -0
- package/dist/modules/dashboard/dto/update-config.dto.d.ts +5 -0
- package/dist/modules/dashboard/dto/update-config.dto.js +39 -0
- package/dist/modules/dashboard/dto/update-config.dto.js.map +1 -0
- package/dist/modules/dashboard/dto/update-data-source.dto.d.ts +13 -0
- package/dist/modules/dashboard/dto/update-data-source.dto.js +69 -0
- package/dist/modules/dashboard/dto/update-data-source.dto.js.map +1 -0
- package/dist/modules/dashboard/dto/update-page.dto.d.ts +11 -0
- package/dist/modules/dashboard/dto/update-page.dto.js +98 -0
- package/dist/modules/dashboard/dto/update-page.dto.js.map +1 -0
- package/dist/modules/dashboard/dto/update-tile.dto.d.ts +18 -0
- package/dist/modules/dashboard/dto/update-tile.dto.js +123 -0
- package/dist/modules/dashboard/dto/update-tile.dto.js.map +1 -0
- package/dist/modules/dashboard/entities/dashboard.entity.d.ts +39 -0
- package/dist/modules/dashboard/entities/dashboard.entity.js +341 -0
- package/dist/modules/dashboard/entities/dashboard.entity.js.map +1 -0
- package/dist/modules/dashboard/entities/dashboard.relations.d.ts +33 -0
- package/dist/modules/dashboard/entities/dashboard.relations.js +3 -0
- package/dist/modules/dashboard/entities/dashboard.relations.js.map +1 -0
- package/dist/modules/dashboard/models/config.model.d.ts +5 -0
- package/dist/modules/dashboard/models/config.model.js +49 -0
- package/dist/modules/dashboard/models/config.model.js.map +1 -0
- package/dist/modules/dashboard/models/dashboard-response.model.d.ts +20 -0
- package/dist/modules/dashboard/models/dashboard-response.model.js +104 -0
- package/dist/modules/dashboard/models/dashboard-response.model.js.map +1 -0
- package/dist/modules/dashboard/models/dashboard.model.d.ts +17 -0
- package/dist/modules/dashboard/models/dashboard.model.js +148 -0
- package/dist/modules/dashboard/models/dashboard.model.js.map +1 -0
- package/dist/modules/dashboard/providers/dashboard-stats.provider.d.ts +12 -0
- package/dist/modules/dashboard/providers/dashboard-stats.provider.js +54 -0
- package/dist/modules/dashboard/providers/dashboard-stats.provider.js.map +1 -0
- package/dist/modules/dashboard/services/dashboard-seeder.service.d.ts +22 -0
- package/dist/modules/dashboard/services/dashboard-seeder.service.js +178 -0
- package/dist/modules/dashboard/services/dashboard-seeder.service.js.map +1 -0
- package/dist/modules/dashboard/services/data-source-create-builder-registry.service.d.ts +6 -0
- package/dist/modules/dashboard/services/data-source-create-builder-registry.service.js +26 -0
- package/dist/modules/dashboard/services/data-source-create-builder-registry.service.js.map +1 -0
- package/dist/modules/dashboard/services/data-source-relations-loader-registry.service.d.ts +6 -0
- package/dist/modules/dashboard/services/data-source-relations-loader-registry.service.js +26 -0
- package/dist/modules/dashboard/services/data-source-relations-loader-registry.service.js.map +1 -0
- package/dist/modules/dashboard/services/data-source-type-mapper.service.d.ts +15 -0
- package/dist/modules/dashboard/services/data-source-type-mapper.service.js +36 -0
- package/dist/modules/dashboard/services/data-source-type-mapper.service.js.map +1 -0
- package/dist/modules/dashboard/services/data-sources.service.d.ts +32 -0
- package/dist/modules/dashboard/services/data-sources.service.js +226 -0
- package/dist/modules/dashboard/services/data-sources.service.js.map +1 -0
- package/dist/modules/dashboard/services/module-reset.service.d.ts +15 -0
- package/dist/modules/dashboard/services/module-reset.service.js +61 -0
- package/dist/modules/dashboard/services/module-reset.service.js.map +1 -0
- package/dist/modules/dashboard/services/page-create-builder-registry.service.d.ts +6 -0
- package/dist/modules/dashboard/services/page-create-builder-registry.service.js +26 -0
- package/dist/modules/dashboard/services/page-create-builder-registry.service.js.map +1 -0
- package/dist/modules/dashboard/services/page-relations-loader-registry.service.d.ts +6 -0
- package/dist/modules/dashboard/services/page-relations-loader-registry.service.js +26 -0
- package/dist/modules/dashboard/services/page-relations-loader-registry.service.js.map +1 -0
- package/dist/modules/dashboard/services/pages-type-mapper.service.d.ts +15 -0
- package/dist/modules/dashboard/services/pages-type-mapper.service.js +36 -0
- package/dist/modules/dashboard/services/pages-type-mapper.service.js.map +1 -0
- package/dist/modules/dashboard/services/pages.service.d.ts +33 -0
- package/dist/modules/dashboard/services/pages.service.js +267 -0
- package/dist/modules/dashboard/services/pages.service.js.map +1 -0
- package/dist/modules/dashboard/services/tile-create-builder-registry.service.d.ts +6 -0
- package/dist/modules/dashboard/services/tile-create-builder-registry.service.js +26 -0
- package/dist/modules/dashboard/services/tile-create-builder-registry.service.js.map +1 -0
- package/dist/modules/dashboard/services/tile-relations-loader-registry.service.d.ts +6 -0
- package/dist/modules/dashboard/services/tile-relations-loader-registry.service.js +26 -0
- package/dist/modules/dashboard/services/tile-relations-loader-registry.service.js.map +1 -0
- package/dist/modules/dashboard/services/tiles-type-mapper.service.d.ts +15 -0
- package/dist/modules/dashboard/services/tiles-type-mapper.service.js +36 -0
- package/dist/modules/dashboard/services/tiles-type-mapper.service.js.map +1 -0
- package/dist/modules/dashboard/services/tiles.service.d.ts +36 -0
- package/dist/modules/dashboard/services/tiles.service.js +257 -0
- package/dist/modules/dashboard/services/tiles.service.js.map +1 -0
- package/dist/modules/dashboard/subscribers/data-source-entity.subscriber.d.ts +6 -0
- package/dist/modules/dashboard/subscribers/data-source-entity.subscriber.js +28 -0
- package/dist/modules/dashboard/subscribers/data-source-entity.subscriber.js.map +1 -0
- package/dist/modules/dashboard/subscribers/page-entity.subscriber.d.ts +6 -0
- package/dist/modules/dashboard/subscribers/page-entity.subscriber.js +28 -0
- package/dist/modules/dashboard/subscribers/page-entity.subscriber.js.map +1 -0
- package/dist/modules/dashboard/subscribers/tile-entity.subscriber.d.ts +6 -0
- package/dist/modules/dashboard/subscribers/tile-entity.subscriber.js +28 -0
- package/dist/modules/dashboard/subscribers/tile-entity.subscriber.js.map +1 -0
- package/dist/modules/dashboard/validators/data-source-type-constraint.validator.d.ts +10 -0
- package/dist/modules/dashboard/validators/data-source-type-constraint.validator.js +98 -0
- package/dist/modules/dashboard/validators/data-source-type-constraint.validator.js.map +1 -0
- package/dist/modules/dashboard/validators/tile-type-constraint.validator.d.ts +10 -0
- package/dist/modules/dashboard/validators/tile-type-constraint.validator.js +98 -0
- package/dist/modules/dashboard/validators/tile-type-constraint.validator.js.map +1 -0
- package/dist/modules/devices/controllers/channels.controller.d.ts +20 -0
- package/dist/modules/devices/controllers/channels.controller.js +261 -0
- package/dist/modules/devices/controllers/channels.controller.js.map +1 -0
- package/dist/modules/devices/controllers/channels.controls.controller.d.ts +17 -0
- package/dist/modules/devices/controllers/channels.controls.controller.js +201 -0
- package/dist/modules/devices/controllers/channels.controls.controller.js.map +1 -0
- package/dist/modules/devices/controllers/channels.properties.controller.d.ts +30 -0
- package/dist/modules/devices/controllers/channels.properties.controller.js +353 -0
- package/dist/modules/devices/controllers/channels.properties.controller.js.map +1 -0
- package/dist/modules/devices/controllers/devices.channels.controller.d.ts +23 -0
- package/dist/modules/devices/controllers/devices.channels.controller.js +292 -0
- package/dist/modules/devices/controllers/devices.channels.controller.js.map +1 -0
- package/dist/modules/devices/controllers/devices.channels.controls.controller.d.ts +20 -0
- package/dist/modules/devices/controllers/devices.channels.controls.controller.js +225 -0
- package/dist/modules/devices/controllers/devices.channels.controls.controller.js.map +1 -0
- package/dist/modules/devices/controllers/devices.channels.properties.controller.d.ts +33 -0
- package/dist/modules/devices/controllers/devices.channels.properties.controller.js +380 -0
- package/dist/modules/devices/controllers/devices.channels.properties.controller.js.map +1 -0
- package/dist/modules/devices/controllers/devices.controller.d.ts +31 -0
- package/dist/modules/devices/controllers/devices.controller.js +417 -0
- package/dist/modules/devices/controllers/devices.controller.js.map +1 -0
- package/dist/modules/devices/controllers/devices.controls.controller.d.ts +17 -0
- package/dist/modules/devices/controllers/devices.controls.controller.js +201 -0
- package/dist/modules/devices/controllers/devices.controls.controller.js.map +1 -0
- package/dist/modules/devices/devices.constants.d.ts +254 -0
- package/dist/modules/devices/devices.constants.js +279 -0
- package/dist/modules/devices/devices.constants.js.map +1 -0
- package/dist/modules/devices/devices.exceptions.d.ts +12 -0
- package/dist/modules/devices/devices.exceptions.js +32 -0
- package/dist/modules/devices/devices.exceptions.js.map +1 -0
- package/dist/modules/devices/devices.module.d.ts +31 -0
- package/dist/modules/devices/devices.module.js +282 -0
- package/dist/modules/devices/devices.module.js.map +1 -0
- package/dist/modules/devices/devices.openapi.d.ts +6 -0
- package/dist/modules/devices/devices.openapi.js +50 -0
- package/dist/modules/devices/devices.openapi.js.map +1 -0
- package/dist/modules/devices/dto/create-channel-control.dto.d.ts +6 -0
- package/dist/modules/devices/dto/create-channel-control.dto.js +36 -0
- package/dist/modules/devices/dto/create-channel-control.dto.js.map +1 -0
- package/dist/modules/devices/dto/create-channel-property.dto.d.ts +6 -0
- package/dist/modules/devices/dto/create-channel-property.dto.js +36 -0
- package/dist/modules/devices/dto/create-channel-property.dto.js.map +1 -0
- package/dist/modules/devices/dto/create-channel.dto.d.ts +7 -0
- package/dist/modules/devices/dto/create-channel.dto.js +49 -0
- package/dist/modules/devices/dto/create-channel.dto.js.map +1 -0
- package/dist/modules/devices/dto/create-device-channel-control.dto.d.ts +7 -0
- package/dist/modules/devices/dto/create-device-channel-control.dto.js +54 -0
- package/dist/modules/devices/dto/create-device-channel-control.dto.js.map +1 -0
- package/dist/modules/devices/dto/create-device-channel-property.dto.d.ts +17 -0
- package/dist/modules/devices/dto/create-device-channel-property.dto.js +205 -0
- package/dist/modules/devices/dto/create-device-channel-property.dto.js.map +1 -0
- package/dist/modules/devices/dto/create-device-channel.dto.d.ts +17 -0
- package/dist/modules/devices/dto/create-device-channel.dto.js +163 -0
- package/dist/modules/devices/dto/create-device-channel.dto.js.map +1 -0
- package/dist/modules/devices/dto/create-device-control.dto.d.ts +7 -0
- package/dist/modules/devices/dto/create-device-control.dto.js +54 -0
- package/dist/modules/devices/dto/create-device-control.dto.js.map +1 -0
- package/dist/modules/devices/dto/create-device.dto.d.ts +19 -0
- package/dist/modules/devices/dto/create-device.dto.js +182 -0
- package/dist/modules/devices/dto/create-device.dto.js.map +1 -0
- package/dist/modules/devices/dto/property-command.dto.d.ts +19 -0
- package/dist/modules/devices/dto/property-command.dto.js +151 -0
- package/dist/modules/devices/dto/property-command.dto.js.map +1 -0
- package/dist/modules/devices/dto/query-property-timeseries.dto.d.ts +10 -0
- package/dist/modules/devices/dto/query-property-timeseries.dto.js +79 -0
- package/dist/modules/devices/dto/query-property-timeseries.dto.js.map +1 -0
- package/dist/modules/devices/dto/update-channel-property.dto.d.ts +6 -0
- package/dist/modules/devices/dto/update-channel-property.dto.js +36 -0
- package/dist/modules/devices/dto/update-channel-property.dto.js.map +1 -0
- package/dist/modules/devices/dto/update-channel.dto.d.ts +6 -0
- package/dist/modules/devices/dto/update-channel.dto.js +36 -0
- package/dist/modules/devices/dto/update-channel.dto.js.map +1 -0
- package/dist/modules/devices/dto/update-config.dto.d.ts +5 -0
- package/dist/modules/devices/dto/update-config.dto.js +39 -0
- package/dist/modules/devices/dto/update-config.dto.js.map +1 -0
- package/dist/modules/devices/dto/update-device-channel-property.dto.d.ts +15 -0
- package/dist/modules/devices/dto/update-device-channel-property.dto.js +176 -0
- package/dist/modules/devices/dto/update-device-channel-property.dto.js.map +1 -0
- package/dist/modules/devices/dto/update-device-channel.dto.d.ts +11 -0
- package/dist/modules/devices/dto/update-device-channel.dto.js +110 -0
- package/dist/modules/devices/dto/update-device-channel.dto.js.map +1 -0
- package/dist/modules/devices/dto/update-device.dto.d.ts +14 -0
- package/dist/modules/devices/dto/update-device.dto.js +143 -0
- package/dist/modules/devices/dto/update-device.dto.js.map +1 -0
- package/dist/modules/devices/entities/device-zone.entity.d.ts +9 -0
- package/dist/modules/devices/entities/device-zone.entity.js +90 -0
- package/dist/modules/devices/entities/device-zone.entity.js.map +1 -0
- package/dist/modules/devices/entities/devices.entity.d.ts +59 -0
- package/dist/modules/devices/entities/devices.entity.js +575 -0
- package/dist/modules/devices/entities/devices.entity.js.map +1 -0
- package/dist/modules/devices/listeners/websocket-exchange.listener.d.ts +18 -0
- package/dist/modules/devices/listeners/websocket-exchange.listener.js +73 -0
- package/dist/modules/devices/listeners/websocket-exchange.listener.js.map +1 -0
- package/dist/modules/devices/models/config.model.d.ts +5 -0
- package/dist/modules/devices/models/config.model.js +49 -0
- package/dist/modules/devices/models/config.model.js.map +1 -0
- package/dist/modules/devices/models/device-validation.model.d.ts +56 -0
- package/dist/modules/devices/models/device-validation.model.js +345 -0
- package/dist/modules/devices/models/device-validation.model.js.map +1 -0
- package/dist/modules/devices/models/devices-enums.model.d.ts +10 -0
- package/dist/modules/devices/models/devices-enums.model.js +57 -0
- package/dist/modules/devices/models/devices-enums.model.js.map +1 -0
- package/dist/modules/devices/models/devices-response.model.d.ts +42 -0
- package/dist/modules/devices/models/devices-response.model.js +206 -0
- package/dist/modules/devices/models/devices-response.model.js.map +1 -0
- package/dist/modules/devices/models/devices.model.d.ts +73 -0
- package/dist/modules/devices/models/devices.model.js +665 -0
- package/dist/modules/devices/models/devices.model.js.map +1 -0
- package/dist/modules/devices/models/property-value-state.model.d.ts +7 -0
- package/dist/modules/devices/models/property-value-state.model.js +59 -0
- package/dist/modules/devices/models/property-value-state.model.js.map +1 -0
- package/dist/modules/devices/platforms/device.platform.d.ts +12 -0
- package/dist/modules/devices/platforms/device.platform.js +3 -0
- package/dist/modules/devices/platforms/device.platform.js.map +1 -0
- package/dist/modules/devices/platforms/http-device.platform.d.ts +9 -0
- package/dist/modules/devices/platforms/http-device.platform.js +70 -0
- package/dist/modules/devices/platforms/http-device.platform.js.map +1 -0
- package/dist/modules/devices/providers/devices-stats.provider.d.ts +14 -0
- package/dist/modules/devices/providers/devices-stats.provider.js +62 -0
- package/dist/modules/devices/providers/devices-stats.provider.js.map +1 -0
- package/dist/modules/devices/services/channels-type-mapper.service.d.ts +17 -0
- package/dist/modules/devices/services/channels-type-mapper.service.js +38 -0
- package/dist/modules/devices/services/channels-type-mapper.service.js.map +1 -0
- package/dist/modules/devices/services/channels.controls.service.d.ts +18 -0
- package/dist/modules/devices/services/channels.controls.service.js +133 -0
- package/dist/modules/devices/services/channels.controls.service.js.map +1 -0
- package/dist/modules/devices/services/channels.properties-type-mapper.service.d.ts +17 -0
- package/dist/modules/devices/services/channels.properties-type-mapper.service.js +38 -0
- package/dist/modules/devices/services/channels.properties-type-mapper.service.js.map +1 -0
- package/dist/modules/devices/services/channels.properties.service.d.ts +24 -0
- package/dist/modules/devices/services/channels.properties.service.js +273 -0
- package/dist/modules/devices/services/channels.properties.service.js.map +1 -0
- package/dist/modules/devices/services/channels.service.d.ts +27 -0
- package/dist/modules/devices/services/channels.service.js +379 -0
- package/dist/modules/devices/services/channels.service.js.map +1 -0
- package/dist/modules/devices/services/device-connection-state.service.d.ts +19 -0
- package/dist/modules/devices/services/device-connection-state.service.js +201 -0
- package/dist/modules/devices/services/device-connection-state.service.js.map +1 -0
- package/dist/modules/devices/services/device-connectivity.service.d.ts +22 -0
- package/dist/modules/devices/services/device-connectivity.service.js +142 -0
- package/dist/modules/devices/services/device-connectivity.service.js.map +1 -0
- package/dist/modules/devices/services/device-control-tool.service.d.ts +21 -0
- package/dist/modules/devices/services/device-control-tool.service.js +164 -0
- package/dist/modules/devices/services/device-control-tool.service.js.map +1 -0
- package/dist/modules/devices/services/device-provision-queue.service.d.ts +6 -0
- package/dist/modules/devices/services/device-provision-queue.service.js +36 -0
- package/dist/modules/devices/services/device-provision-queue.service.js.map +1 -0
- package/dist/modules/devices/services/device-validation.service.d.ts +96 -0
- package/dist/modules/devices/services/device-validation.service.js +794 -0
- package/dist/modules/devices/services/device-validation.service.js.map +1 -0
- package/dist/modules/devices/services/device-zones.service.d.ts +19 -0
- package/dist/modules/devices/services/device-zones.service.js +158 -0
- package/dist/modules/devices/services/device-zones.service.js.map +1 -0
- package/dist/modules/devices/services/devices-seeder.service.d.ts +27 -0
- package/dist/modules/devices/services/devices-seeder.service.js +199 -0
- package/dist/modules/devices/services/devices-seeder.service.js.map +1 -0
- package/dist/modules/devices/services/devices-type-mapper.service.d.ts +17 -0
- package/dist/modules/devices/services/devices-type-mapper.service.js +38 -0
- package/dist/modules/devices/services/devices-type-mapper.service.js.map +1 -0
- package/dist/modules/devices/services/devices.controls.service.d.ts +18 -0
- package/dist/modules/devices/services/devices.controls.service.js +133 -0
- package/dist/modules/devices/services/devices.controls.service.js.map +1 -0
- package/dist/modules/devices/services/devices.service.d.ts +33 -0
- package/dist/modules/devices/services/devices.service.js +312 -0
- package/dist/modules/devices/services/devices.service.js.map +1 -0
- package/dist/modules/devices/services/module-reset.service.d.ts +19 -0
- package/dist/modules/devices/services/module-reset.service.js +76 -0
- package/dist/modules/devices/services/module-reset.service.js.map +1 -0
- package/dist/modules/devices/services/platform.registry.service.d.ts +9 -0
- package/dist/modules/devices/services/platform.registry.service.js +44 -0
- package/dist/modules/devices/services/platform.registry.service.js.map +1 -0
- package/dist/modules/devices/services/property-command.service.d.ts +26 -0
- package/dist/modules/devices/services/property-command.service.js +209 -0
- package/dist/modules/devices/services/property-command.service.js.map +1 -0
- package/dist/modules/devices/services/property-timeseries.service.d.ts +14 -0
- package/dist/modules/devices/services/property-timeseries.service.js +124 -0
- package/dist/modules/devices/services/property-timeseries.service.js.map +1 -0
- package/dist/modules/devices/services/property-value.service.d.ts +17 -0
- package/dist/modules/devices/services/property-value.service.js +294 -0
- package/dist/modules/devices/services/property-value.service.js.map +1 -0
- package/dist/modules/devices/services/stats.service.d.ts +13 -0
- package/dist/modules/devices/services/stats.service.js +51 -0
- package/dist/modules/devices/services/stats.service.js.map +1 -0
- package/dist/modules/devices/subscribers/channel-control-entity.subscriber.d.ts +8 -0
- package/dist/modules/devices/subscribers/channel-control-entity.subscriber.js +35 -0
- package/dist/modules/devices/subscribers/channel-control-entity.subscriber.js.map +1 -0
- package/dist/modules/devices/subscribers/channel-entity.subscriber.d.ts +8 -0
- package/dist/modules/devices/subscribers/channel-entity.subscriber.js +35 -0
- package/dist/modules/devices/subscribers/channel-entity.subscriber.js.map +1 -0
- package/dist/modules/devices/subscribers/channel-property-entity.subscriber.d.ts +17 -0
- package/dist/modules/devices/subscribers/channel-property-entity.subscriber.js +109 -0
- package/dist/modules/devices/subscribers/channel-property-entity.subscriber.js.map +1 -0
- package/dist/modules/devices/subscribers/device-control-entity.subscriber.d.ts +8 -0
- package/dist/modules/devices/subscribers/device-control-entity.subscriber.js +35 -0
- package/dist/modules/devices/subscribers/device-control-entity.subscriber.js.map +1 -0
- package/dist/modules/devices/subscribers/device-entity.subscriber.d.ts +13 -0
- package/dist/modules/devices/subscribers/device-entity.subscriber.js +80 -0
- package/dist/modules/devices/subscribers/device-entity.subscriber.js.map +1 -0
- package/dist/modules/devices/utils/schema.utils.d.ts +61 -0
- package/dist/modules/devices/utils/schema.utils.js +483 -0
- package/dist/modules/devices/utils/schema.utils.js.map +1 -0
- package/dist/modules/devices/validators/channel-exists-constraint.validator.d.ts +11 -0
- package/dist/modules/devices/validators/channel-exists-constraint.validator.js +61 -0
- package/dist/modules/devices/validators/channel-exists-constraint.validator.js.map +1 -0
- package/dist/modules/devices/validators/channel-property-exists-constraint.validator.d.ts +11 -0
- package/dist/modules/devices/validators/channel-property-exists-constraint.validator.js +61 -0
- package/dist/modules/devices/validators/channel-property-exists-constraint.validator.js.map +1 -0
- package/dist/modules/devices/validators/device-exists-constraint.validator.d.ts +9 -0
- package/dist/modules/devices/validators/device-exists-constraint.validator.js +49 -0
- package/dist/modules/devices/validators/device-exists-constraint.validator.js.map +1 -0
- package/dist/modules/devices/validators/unique-control-names-constraint.validator.d.ts +6 -0
- package/dist/modules/devices/validators/unique-control-names-constraint.validator.js +39 -0
- package/dist/modules/devices/validators/unique-control-names-constraint.validator.js.map +1 -0
- package/dist/modules/displays/controllers/displays.controller.d.ts +32 -0
- package/dist/modules/displays/controllers/displays.controller.js +398 -0
- package/dist/modules/displays/controllers/displays.controller.js.map +1 -0
- package/dist/modules/displays/controllers/registration.controller.d.ts +13 -0
- package/dist/modules/displays/controllers/registration.controller.js +104 -0
- package/dist/modules/displays/controllers/registration.controller.js.map +1 -0
- package/dist/modules/displays/displays.constants.d.ts +37 -0
- package/dist/modules/displays/displays.constants.js +52 -0
- package/dist/modules/displays/displays.constants.js.map +1 -0
- package/dist/modules/displays/displays.exceptions.d.ts +13 -0
- package/dist/modules/displays/displays.exceptions.js +45 -0
- package/dist/modules/displays/displays.exceptions.js.map +1 -0
- package/dist/modules/displays/displays.module.d.ts +17 -0
- package/dist/modules/displays/displays.module.js +152 -0
- package/dist/modules/displays/displays.module.js.map +1 -0
- package/dist/modules/displays/displays.openapi.d.ts +5 -0
- package/dist/modules/displays/displays.openapi.js +28 -0
- package/dist/modules/displays/displays.openapi.js.map +1 -0
- package/dist/modules/displays/dto/register-display.dto.d.ts +16 -0
- package/dist/modules/displays/dto/register-display.dto.js +175 -0
- package/dist/modules/displays/dto/register-display.dto.js.map +1 -0
- package/dist/modules/displays/dto/update-config.dto.d.ts +8 -0
- package/dist/modules/displays/dto/update-config.dto.js +71 -0
- package/dist/modules/displays/dto/update-config.dto.js.map +1 -0
- package/dist/modules/displays/dto/update-display.dto.d.ts +37 -0
- package/dist/modules/displays/dto/update-display.dto.js +473 -0
- package/dist/modules/displays/dto/update-display.dto.js.map +1 -0
- package/dist/modules/displays/entities/displays.entity.d.ts +46 -0
- package/dist/modules/displays/entities/displays.entity.js +577 -0
- package/dist/modules/displays/entities/displays.entity.js.map +1 -0
- package/dist/modules/displays/guards/registration.guard.d.ts +15 -0
- package/dist/modules/displays/guards/registration.guard.js +70 -0
- package/dist/modules/displays/guards/registration.guard.js.map +1 -0
- package/dist/modules/displays/listeners/websocket-exchange.listener.d.ts +16 -0
- package/dist/modules/displays/listeners/websocket-exchange.listener.js +133 -0
- package/dist/modules/displays/listeners/websocket-exchange.listener.js.map +1 -0
- package/dist/modules/displays/models/config.model.d.ts +8 -0
- package/dist/modules/displays/models/config.model.js +75 -0
- package/dist/modules/displays/models/config.model.js.map +1 -0
- package/dist/modules/displays/models/displays-response.model.d.ts +51 -0
- package/dist/modules/displays/models/displays-response.model.js +311 -0
- package/dist/modules/displays/models/displays-response.model.js.map +1 -0
- package/dist/modules/displays/services/display-connection-state.service.d.ts +15 -0
- package/dist/modules/displays/services/display-connection-state.service.js +114 -0
- package/dist/modules/displays/services/display-connection-state.service.js.map +1 -0
- package/dist/modules/displays/services/displays.service.d.ts +28 -0
- package/dist/modules/displays/services/displays.service.js +212 -0
- package/dist/modules/displays/services/displays.service.js.map +1 -0
- package/dist/modules/displays/services/home-resolution.service.d.ts +20 -0
- package/dist/modules/displays/services/home-resolution.service.js +114 -0
- package/dist/modules/displays/services/home-resolution.service.js.map +1 -0
- package/dist/modules/displays/services/module-reset.service.d.ts +12 -0
- package/dist/modules/displays/services/module-reset.service.js +55 -0
- package/dist/modules/displays/services/module-reset.service.js.map +1 -0
- package/dist/modules/displays/services/permit-join.service.d.ts +16 -0
- package/dist/modules/displays/services/permit-join.service.js +85 -0
- package/dist/modules/displays/services/permit-join.service.js.map +1 -0
- package/dist/modules/displays/services/registration.service.d.ts +26 -0
- package/dist/modules/displays/services/registration.service.js +146 -0
- package/dist/modules/displays/services/registration.service.js.map +1 -0
- package/dist/modules/displays/subscribers/display-entity.subscriber.d.ts +12 -0
- package/dist/modules/displays/subscribers/display-entity.subscriber.js +63 -0
- package/dist/modules/displays/subscribers/display-entity.subscriber.js.map +1 -0
- package/dist/modules/displays/utils/ip.utils.d.ts +3 -0
- package/dist/modules/displays/utils/ip.utils.js +45 -0
- package/dist/modules/displays/utils/ip.utils.js.map +1 -0
- package/dist/modules/displays/validators/display-exists-constraint.validator.d.ts +9 -0
- package/dist/modules/displays/validators/display-exists-constraint.validator.js +64 -0
- package/dist/modules/displays/validators/display-exists-constraint.validator.js.map +1 -0
- package/dist/modules/energy/controllers/energy-home.controller.d.ts +11 -0
- package/dist/modules/energy/controllers/energy-home.controller.js +206 -0
- package/dist/modules/energy/controllers/energy-home.controller.js.map +1 -0
- package/dist/modules/energy/controllers/energy-spaces.controller.d.ts +11 -0
- package/dist/modules/energy/controllers/energy-spaces.controller.js +249 -0
- package/dist/modules/energy/controllers/energy-spaces.controller.js.map +1 -0
- package/dist/modules/energy/controllers/energy.controller.d.ts +8 -0
- package/dist/modules/energy/controllers/energy.controller.js +137 -0
- package/dist/modules/energy/controllers/energy.controller.js.map +1 -0
- package/dist/modules/energy/dto/update-config.dto.d.ts +7 -0
- package/dist/modules/energy/dto/update-config.dto.js +71 -0
- package/dist/modules/energy/dto/update-config.dto.js.map +1 -0
- package/dist/modules/energy/energy.constants.d.ts +17 -0
- package/dist/modules/energy/energy.constants.js +22 -0
- package/dist/modules/energy/energy.constants.js.map +1 -0
- package/dist/modules/energy/energy.module.d.ts +16 -0
- package/dist/modules/energy/energy.module.js +129 -0
- package/dist/modules/energy/energy.module.js.map +1 -0
- package/dist/modules/energy/energy.openapi.d.ts +7 -0
- package/dist/modules/energy/energy.openapi.js +29 -0
- package/dist/modules/energy/energy.openapi.js.map +1 -0
- package/dist/modules/energy/entities/energy-delta.entity.d.ts +11 -0
- package/dist/modules/energy/entities/energy-delta.entity.js +169 -0
- package/dist/modules/energy/entities/energy-delta.entity.js.map +1 -0
- package/dist/modules/energy/helpers/energy-range.helper.d.ts +11 -0
- package/dist/modules/energy/helpers/energy-range.helper.js +117 -0
- package/dist/modules/energy/helpers/energy-range.helper.js.map +1 -0
- package/dist/modules/energy/listeners/energy-ingestion.listener.d.ts +18 -0
- package/dist/modules/energy/listeners/energy-ingestion.listener.js +155 -0
- package/dist/modules/energy/listeners/energy-ingestion.listener.js.map +1 -0
- package/dist/modules/energy/models/config.model.d.ts +7 -0
- package/dist/modules/energy/models/config.model.js +79 -0
- package/dist/modules/energy/models/config.model.js.map +1 -0
- package/dist/modules/energy/models/energy-breakdown-item.model.d.ts +7 -0
- package/dist/modules/energy/models/energy-breakdown-item.model.js +84 -0
- package/dist/modules/energy/models/energy-breakdown-item.model.js.map +1 -0
- package/dist/modules/energy/models/energy-delta.model.d.ts +8 -0
- package/dist/modules/energy/models/energy-delta.model.js +94 -0
- package/dist/modules/energy/models/energy-delta.model.js.map +1 -0
- package/dist/modules/energy/models/energy-home-response.model.d.ts +13 -0
- package/dist/modules/energy/models/energy-home-response.model.js +70 -0
- package/dist/modules/energy/models/energy-home-response.model.js.map +1 -0
- package/dist/modules/energy/models/energy-response.model.d.ts +9 -0
- package/dist/modules/energy/models/energy-response.model.js +52 -0
- package/dist/modules/energy/models/energy-response.model.js.map +1 -0
- package/dist/modules/energy/models/energy-space-response.model.d.ts +13 -0
- package/dist/modules/energy/models/energy-space-response.model.js +70 -0
- package/dist/modules/energy/models/energy-space-response.model.js.map +1 -0
- package/dist/modules/energy/models/energy-space-summary.model.d.ts +15 -0
- package/dist/modules/energy/models/energy-space-summary.model.js +186 -0
- package/dist/modules/energy/models/energy-space-summary.model.js.map +1 -0
- package/dist/modules/energy/models/energy-summary.model.d.ts +8 -0
- package/dist/modules/energy/models/energy-summary.model.js +95 -0
- package/dist/modules/energy/models/energy-summary.model.js.map +1 -0
- package/dist/modules/energy/models/energy-timeseries-point.model.d.ts +8 -0
- package/dist/modules/energy/models/energy-timeseries-point.model.js +94 -0
- package/dist/modules/energy/models/energy-timeseries-point.model.js.map +1 -0
- package/dist/modules/energy/services/delta-computation.service.d.ts +21 -0
- package/dist/modules/energy/services/delta-computation.service.js +94 -0
- package/dist/modules/energy/services/delta-computation.service.js.map +1 -0
- package/dist/modules/energy/services/energy-cache.service.d.ts +11 -0
- package/dist/modules/energy/services/energy-cache.service.js +72 -0
- package/dist/modules/energy/services/energy-cache.service.js.map +1 -0
- package/dist/modules/energy/services/energy-cleanup.service.d.ts +13 -0
- package/dist/modules/energy/services/energy-cleanup.service.js +95 -0
- package/dist/modules/energy/services/energy-cleanup.service.js.map +1 -0
- package/dist/modules/energy/services/energy-data.service.d.ts +63 -0
- package/dist/modules/energy/services/energy-data.service.js +353 -0
- package/dist/modules/energy/services/energy-data.service.js.map +1 -0
- package/dist/modules/energy/services/energy-metrics.service.d.ts +22 -0
- package/dist/modules/energy/services/energy-metrics.service.js +58 -0
- package/dist/modules/energy/services/energy-metrics.service.js.map +1 -0
- package/dist/modules/energy/services/module-reset.service.d.ts +11 -0
- package/dist/modules/energy/services/module-reset.service.js +47 -0
- package/dist/modules/energy/services/module-reset.service.js.map +1 -0
- package/dist/modules/extension-registry/extension-registry.module.d.ts +2 -0
- package/dist/modules/extension-registry/extension-registry.module.js +25 -0
- package/dist/modules/extension-registry/extension-registry.module.js.map +1 -0
- package/dist/modules/extensions/commands/services.command.d.ts +26 -0
- package/dist/modules/extensions/commands/services.command.js +218 -0
- package/dist/modules/extensions/commands/services.command.js.map +1 -0
- package/dist/modules/extensions/controllers/actions.controller.d.ts +10 -0
- package/dist/modules/extensions/controllers/actions.controller.js +89 -0
- package/dist/modules/extensions/controllers/actions.controller.js.map +1 -0
- package/dist/modules/extensions/controllers/discovered-extensions.controller.d.ts +17 -0
- package/dist/modules/extensions/controllers/discovered-extensions.controller.js +299 -0
- package/dist/modules/extensions/controllers/discovered-extensions.controller.js.map +1 -0
- package/dist/modules/extensions/controllers/extensions.controller.d.ts +13 -0
- package/dist/modules/extensions/controllers/extensions.controller.js +141 -0
- package/dist/modules/extensions/controllers/extensions.controller.js.map +1 -0
- package/dist/modules/extensions/controllers/services.controller.d.ts +13 -0
- package/dist/modules/extensions/controllers/services.controller.js +184 -0
- package/dist/modules/extensions/controllers/services.controller.js.map +1 -0
- package/dist/modules/extensions/dto/execute-action.dto.d.ts +6 -0
- package/dist/modules/extensions/dto/execute-action.dto.js +52 -0
- package/dist/modules/extensions/dto/execute-action.dto.js.map +1 -0
- package/dist/modules/extensions/dto/update-config.dto.d.ts +4 -0
- package/dist/modules/extensions/dto/update-config.dto.js +34 -0
- package/dist/modules/extensions/dto/update-config.dto.js.map +1 -0
- package/dist/modules/extensions/dto/update-extension.dto.d.ts +6 -0
- package/dist/modules/extensions/dto/update-extension.dto.js +52 -0
- package/dist/modules/extensions/dto/update-extension.dto.js.map +1 -0
- package/dist/modules/extensions/extensions.constants.d.ts +17 -0
- package/dist/modules/extensions/extensions.constants.js +58 -0
- package/dist/modules/extensions/extensions.constants.js.map +1 -0
- package/dist/modules/extensions/extensions.exceptions.d.ts +7 -0
- package/dist/modules/extensions/extensions.exceptions.js +17 -0
- package/dist/modules/extensions/extensions.exceptions.js.map +1 -0
- package/dist/modules/extensions/extensions.module.d.ts +19 -0
- package/dist/modules/extensions/extensions.module.js +135 -0
- package/dist/modules/extensions/extensions.module.js.map +1 -0
- package/dist/modules/extensions/extensions.openapi.d.ts +10 -0
- package/dist/modules/extensions/extensions.openapi.js +37 -0
- package/dist/modules/extensions/extensions.openapi.js.map +1 -0
- package/dist/modules/extensions/models/action.model.d.ts +36 -0
- package/dist/modules/extensions/models/action.model.js +252 -0
- package/dist/modules/extensions/models/action.model.js.map +1 -0
- package/dist/modules/extensions/models/actions-response.model.d.ts +8 -0
- package/dist/modules/extensions/models/actions-response.model.js +50 -0
- package/dist/modules/extensions/models/actions-response.model.js.map +1 -0
- package/dist/modules/extensions/models/config.model.d.ts +5 -0
- package/dist/modules/extensions/models/config.model.js +49 -0
- package/dist/modules/extensions/models/config.model.js.map +1 -0
- package/dist/modules/extensions/models/discovered-extension.model.d.ts +18 -0
- package/dist/modules/extensions/models/discovered-extension.model.js +120 -0
- package/dist/modules/extensions/models/discovered-extension.model.js.map +1 -0
- package/dist/modules/extensions/models/discovered-extensions-response.model.d.ts +5 -0
- package/dist/modules/extensions/models/discovered-extensions-response.model.js +44 -0
- package/dist/modules/extensions/models/discovered-extensions-response.model.js.map +1 -0
- package/dist/modules/extensions/models/extension.model.d.ts +24 -0
- package/dist/modules/extensions/models/extension.model.js +230 -0
- package/dist/modules/extensions/models/extension.model.js.map +1 -0
- package/dist/modules/extensions/models/extensions-response.model.d.ts +8 -0
- package/dist/modules/extensions/models/extensions-response.model.js +50 -0
- package/dist/modules/extensions/models/extensions-response.model.js.map +1 -0
- package/dist/modules/extensions/models/service-status.model.d.ts +20 -0
- package/dist/modules/extensions/models/service-status.model.js +136 -0
- package/dist/modules/extensions/models/service-status.model.js.map +1 -0
- package/dist/modules/extensions/providers/extensions-stats.provider.d.ts +9 -0
- package/dist/modules/extensions/providers/extensions-stats.provider.js +111 -0
- package/dist/modules/extensions/providers/extensions-stats.provider.js.map +1 -0
- package/dist/modules/extensions/services/extension-action-registry.service.d.ts +43 -0
- package/dist/modules/extensions/services/extension-action-registry.service.js +250 -0
- package/dist/modules/extensions/services/extension-action-registry.service.js.map +1 -0
- package/dist/modules/extensions/services/extension-action.interface.d.ts +53 -0
- package/dist/modules/extensions/services/extension-action.interface.js +20 -0
- package/dist/modules/extensions/services/extension-action.interface.js.map +1 -0
- package/dist/modules/extensions/services/extensions-bundled.service.d.ts +25 -0
- package/dist/modules/extensions/services/extensions-bundled.service.js +93 -0
- package/dist/modules/extensions/services/extensions-bundled.service.js.map +1 -0
- package/dist/modules/extensions/services/extensions-discovery-cache.d.ts +12 -0
- package/dist/modules/extensions/services/extensions-discovery-cache.js +20 -0
- package/dist/modules/extensions/services/extensions-discovery-cache.js.map +1 -0
- package/dist/modules/extensions/services/extensions-discovery.d.ts +10 -0
- package/dist/modules/extensions/services/extensions-discovery.js +311 -0
- package/dist/modules/extensions/services/extensions-discovery.js.map +1 -0
- package/dist/modules/extensions/services/extensions.service.d.ts +44 -0
- package/dist/modules/extensions/services/extensions.service.js +207 -0
- package/dist/modules/extensions/services/extensions.service.js.map +1 -0
- package/dist/modules/extensions/services/managed-plugin-service.interface.d.ts +41 -0
- package/dist/modules/extensions/services/managed-plugin-service.interface.js +3 -0
- package/dist/modules/extensions/services/managed-plugin-service.interface.js.map +1 -0
- package/dist/modules/extensions/services/module-reset.service.d.ts +10 -0
- package/dist/modules/extensions/services/module-reset.service.js +42 -0
- package/dist/modules/extensions/services/module-reset.service.js.map +1 -0
- package/dist/modules/extensions/services/plugin-service-manager.service.d.ts +43 -0
- package/dist/modules/extensions/services/plugin-service-manager.service.js +517 -0
- package/dist/modules/extensions/services/plugin-service-manager.service.js.map +1 -0
- package/dist/modules/factory-reset/factory-reset.module.d.ts +2 -0
- package/dist/modules/factory-reset/factory-reset.module.js +22 -0
- package/dist/modules/factory-reset/factory-reset.module.js.map +1 -0
- package/dist/modules/intents/controllers/intents.controller.d.ts +10 -0
- package/dist/modules/intents/controllers/intents.controller.js +144 -0
- package/dist/modules/intents/controllers/intents.controller.js.map +1 -0
- package/dist/modules/intents/dto/update-config.dto.d.ts +5 -0
- package/dist/modules/intents/dto/update-config.dto.js +39 -0
- package/dist/modules/intents/dto/update-config.dto.js.map +1 -0
- package/dist/modules/intents/intents.constants.d.ts +60 -0
- package/dist/modules/intents/intents.constants.js +78 -0
- package/dist/modules/intents/intents.constants.js.map +1 -0
- package/dist/modules/intents/intents.module.d.ts +8 -0
- package/dist/modules/intents/intents.module.js +99 -0
- package/dist/modules/intents/intents.module.js.map +1 -0
- package/dist/modules/intents/models/config.model.d.ts +5 -0
- package/dist/modules/intents/models/config.model.js +49 -0
- package/dist/modules/intents/models/config.model.js.map +1 -0
- package/dist/modules/intents/models/intent.model.d.ts +58 -0
- package/dist/modules/intents/models/intent.model.js +293 -0
- package/dist/modules/intents/models/intent.model.js.map +1 -0
- package/dist/modules/intents/models/intents-response.model.d.ts +15 -0
- package/dist/modules/intents/models/intents-response.model.js +67 -0
- package/dist/modules/intents/models/intents-response.model.js.map +1 -0
- package/dist/modules/intents/services/intent-timeseries.service.d.ts +52 -0
- package/dist/modules/intents/services/intent-timeseries.service.js +472 -0
- package/dist/modules/intents/services/intent-timeseries.service.js.map +1 -0
- package/dist/modules/intents/services/intents.service.d.ts +25 -0
- package/dist/modules/intents/services/intents.service.js +205 -0
- package/dist/modules/intents/services/intents.service.js.map +1 -0
- package/dist/modules/intents/validators/intent-target.validator.d.ts +5 -0
- package/dist/modules/intents/validators/intent-target.validator.js +27 -0
- package/dist/modules/intents/validators/intent-target.validator.js.map +1 -0
- package/dist/modules/mdns/dto/update-config.dto.d.ts +7 -0
- package/dist/modules/mdns/dto/update-config.dto.js +63 -0
- package/dist/modules/mdns/dto/update-config.dto.js.map +1 -0
- package/dist/modules/mdns/mdns.constants.d.ts +4 -0
- package/dist/modules/mdns/mdns.constants.js +8 -0
- package/dist/modules/mdns/mdns.constants.js.map +1 -0
- package/dist/modules/mdns/mdns.module.d.ts +11 -0
- package/dist/modules/mdns/mdns.module.js +102 -0
- package/dist/modules/mdns/mdns.module.js.map +1 -0
- package/dist/modules/mdns/mdns.openapi.d.ts +3 -0
- package/dist/modules/mdns/mdns.openapi.js +10 -0
- package/dist/modules/mdns/mdns.openapi.js.map +1 -0
- package/dist/modules/mdns/models/config.model.d.ts +7 -0
- package/dist/modules/mdns/models/config.model.js +73 -0
- package/dist/modules/mdns/models/config.model.js.map +1 -0
- package/dist/modules/mdns/services/mdns.service.d.ts +27 -0
- package/dist/modules/mdns/services/mdns.service.js +162 -0
- package/dist/modules/mdns/services/mdns.service.js.map +1 -0
- package/dist/modules/module-registry/module-registry.module.d.ts +2 -0
- package/dist/modules/module-registry/module-registry.module.js +23 -0
- package/dist/modules/module-registry/module-registry.module.js.map +1 -0
- package/dist/modules/platform/dto/network-stats.dto.d.ts +5 -0
- package/dist/modules/platform/dto/network-stats.dto.js +33 -0
- package/dist/modules/platform/dto/network-stats.dto.js.map +1 -0
- package/dist/modules/platform/dto/system-info.dto.d.ts +51 -0
- package/dist/modules/platform/dto/system-info.dto.js +223 -0
- package/dist/modules/platform/dto/system-info.dto.js.map +1 -0
- package/dist/modules/platform/dto/temperature.dto.d.ts +4 -0
- package/dist/modules/platform/dto/temperature.dto.js +34 -0
- package/dist/modules/platform/dto/temperature.dto.js.map +1 -0
- package/dist/modules/platform/dto/throttle-status.dto.d.ts +6 -0
- package/dist/modules/platform/dto/throttle-status.dto.js +38 -0
- package/dist/modules/platform/dto/throttle-status.dto.js.map +1 -0
- package/dist/modules/platform/dto/update-config.dto.d.ts +5 -0
- package/dist/modules/platform/dto/update-config.dto.js +36 -0
- package/dist/modules/platform/dto/update-config.dto.js.map +1 -0
- package/dist/modules/platform/dto/wifi-networks.dto.d.ts +12 -0
- package/dist/modules/platform/dto/wifi-networks.dto.js +68 -0
- package/dist/modules/platform/dto/wifi-networks.dto.js.map +1 -0
- package/dist/modules/platform/models/config.model.d.ts +5 -0
- package/dist/modules/platform/models/config.model.js +49 -0
- package/dist/modules/platform/models/config.model.js.map +1 -0
- package/dist/modules/platform/platform.constants.d.ts +9 -0
- package/dist/modules/platform/platform.constants.js +14 -0
- package/dist/modules/platform/platform.constants.js.map +1 -0
- package/dist/modules/platform/platform.exceptions.d.ts +9 -0
- package/dist/modules/platform/platform.exceptions.js +25 -0
- package/dist/modules/platform/platform.exceptions.js.map +1 -0
- package/dist/modules/platform/platform.module.d.ts +9 -0
- package/dist/modules/platform/platform.module.js +77 -0
- package/dist/modules/platform/platform.module.js.map +1 -0
- package/dist/modules/platform/platforms/abstract.platform.d.ts +25 -0
- package/dist/modules/platform/platforms/abstract.platform.js +27 -0
- package/dist/modules/platform/platforms/abstract.platform.js.map +1 -0
- package/dist/modules/platform/platforms/development.platform.d.ts +5 -0
- package/dist/modules/platform/platforms/development.platform.js +20 -0
- package/dist/modules/platform/platforms/development.platform.js.map +1 -0
- package/dist/modules/platform/platforms/docker.platform.d.ts +6 -0
- package/dist/modules/platform/platforms/docker.platform.js +88 -0
- package/dist/modules/platform/platforms/docker.platform.js.map +1 -0
- package/dist/modules/platform/platforms/generic.platform.d.ts +25 -0
- package/dist/modules/platform/platforms/generic.platform.js +203 -0
- package/dist/modules/platform/platforms/generic.platform.js.map +1 -0
- package/dist/modules/platform/platforms/home-assistant.platform.d.ts +9 -0
- package/dist/modules/platform/platforms/home-assistant.platform.js +46 -0
- package/dist/modules/platform/platforms/home-assistant.platform.js.map +1 -0
- package/dist/modules/platform/platforms/raspberry.platform.d.ts +29 -0
- package/dist/modules/platform/platforms/raspberry.platform.js +340 -0
- package/dist/modules/platform/platforms/raspberry.platform.js.map +1 -0
- package/dist/modules/platform/services/platform.service.d.ts +21 -0
- package/dist/modules/platform/services/platform.service.js +147 -0
- package/dist/modules/platform/services/platform.service.js.map +1 -0
- package/dist/modules/scenes/controllers/scene-actions.controller.d.ts +25 -0
- package/dist/modules/scenes/controllers/scene-actions.controller.js +261 -0
- package/dist/modules/scenes/controllers/scene-actions.controller.js.map +1 -0
- package/dist/modules/scenes/controllers/scenes.controller.d.ts +24 -0
- package/dist/modules/scenes/controllers/scenes.controller.js +277 -0
- package/dist/modules/scenes/controllers/scenes.controller.js.map +1 -0
- package/dist/modules/scenes/dto/create-scene-action.dto.d.ts +11 -0
- package/dist/modules/scenes/dto/create-scene-action.dto.js +96 -0
- package/dist/modules/scenes/dto/create-scene-action.dto.js.map +1 -0
- package/dist/modules/scenes/dto/create-scene.dto.d.ts +16 -0
- package/dist/modules/scenes/dto/create-scene.dto.js +145 -0
- package/dist/modules/scenes/dto/create-scene.dto.js.map +1 -0
- package/dist/modules/scenes/dto/trigger-scene.dto.d.ts +7 -0
- package/dist/modules/scenes/dto/trigger-scene.dto.js +58 -0
- package/dist/modules/scenes/dto/trigger-scene.dto.js.map +1 -0
- package/dist/modules/scenes/dto/update-config.dto.d.ts +7 -0
- package/dist/modules/scenes/dto/update-config.dto.js +94 -0
- package/dist/modules/scenes/dto/update-config.dto.js.map +1 -0
- package/dist/modules/scenes/dto/update-scene-action.dto.d.ts +9 -0
- package/dist/modules/scenes/dto/update-scene-action.dto.js +73 -0
- package/dist/modules/scenes/dto/update-scene-action.dto.js.map +1 -0
- package/dist/modules/scenes/dto/update-scene.dto.d.ts +13 -0
- package/dist/modules/scenes/dto/update-scene.dto.js +119 -0
- package/dist/modules/scenes/dto/update-scene.dto.js.map +1 -0
- package/dist/modules/scenes/entities/scenes.entity.d.ts +21 -0
- package/dist/modules/scenes/entities/scenes.entity.js +229 -0
- package/dist/modules/scenes/entities/scenes.entity.js.map +1 -0
- package/dist/modules/scenes/listeners/websocket-exchange.listener.d.ts +18 -0
- package/dist/modules/scenes/listeners/websocket-exchange.listener.js +83 -0
- package/dist/modules/scenes/listeners/websocket-exchange.listener.js.map +1 -0
- package/dist/modules/scenes/models/config.model.d.ts +8 -0
- package/dist/modules/scenes/models/config.model.js +93 -0
- package/dist/modules/scenes/models/config.model.js.map +1 -0
- package/dist/modules/scenes/models/scenes-response.model.d.ts +18 -0
- package/dist/modules/scenes/models/scenes-response.model.js +90 -0
- package/dist/modules/scenes/models/scenes-response.model.js.map +1 -0
- package/dist/modules/scenes/models/scenes.model.d.ts +19 -0
- package/dist/modules/scenes/models/scenes.model.js +183 -0
- package/dist/modules/scenes/models/scenes.model.js.map +1 -0
- package/dist/modules/scenes/scenes.constants.d.ts +43 -0
- package/dist/modules/scenes/scenes.constants.js +50 -0
- package/dist/modules/scenes/scenes.constants.js.map +1 -0
- package/dist/modules/scenes/scenes.exceptions.d.ts +40 -0
- package/dist/modules/scenes/scenes.exceptions.js +84 -0
- package/dist/modules/scenes/scenes.exceptions.js.map +1 -0
- package/dist/modules/scenes/scenes.module.d.ts +23 -0
- package/dist/modules/scenes/scenes.module.js +157 -0
- package/dist/modules/scenes/scenes.module.js.map +1 -0
- package/dist/modules/scenes/scenes.openapi.d.ts +4 -0
- package/dist/modules/scenes/scenes.openapi.js +18 -0
- package/dist/modules/scenes/scenes.openapi.js.map +1 -0
- package/dist/modules/scenes/services/module-reset.service.d.ts +14 -0
- package/dist/modules/scenes/services/module-reset.service.js +63 -0
- package/dist/modules/scenes/services/module-reset.service.js.map +1 -0
- package/dist/modules/scenes/services/scene-actions-type-mapper.service.d.ts +18 -0
- package/dist/modules/scenes/services/scene-actions-type-mapper.service.js +60 -0
- package/dist/modules/scenes/services/scene-actions-type-mapper.service.js.map +1 -0
- package/dist/modules/scenes/services/scene-actions.service.d.ts +25 -0
- package/dist/modules/scenes/services/scene-actions.service.js +177 -0
- package/dist/modules/scenes/services/scene-actions.service.js.map +1 -0
- package/dist/modules/scenes/services/scene-executor.service.d.ts +26 -0
- package/dist/modules/scenes/services/scene-executor.service.js +251 -0
- package/dist/modules/scenes/services/scene-executor.service.js.map +1 -0
- package/dist/modules/scenes/services/scene-tool.service.d.ts +16 -0
- package/dist/modules/scenes/services/scene-tool.service.js +90 -0
- package/dist/modules/scenes/services/scene-tool.service.js.map +1 -0
- package/dist/modules/scenes/services/scenes-seeder.service.d.ts +9 -0
- package/dist/modules/scenes/services/scenes-seeder.service.js +90 -0
- package/dist/modules/scenes/services/scenes-seeder.service.js.map +1 -0
- package/dist/modules/scenes/services/scenes.service.d.ts +28 -0
- package/dist/modules/scenes/services/scenes.service.js +240 -0
- package/dist/modules/scenes/services/scenes.service.js.map +1 -0
- package/dist/modules/scenes/validators/scene-exists-constraint.validator.d.ts +9 -0
- package/dist/modules/scenes/validators/scene-exists-constraint.validator.js +49 -0
- package/dist/modules/scenes/validators/scene-exists-constraint.validator.js.map +1 -0
- package/dist/modules/security/contracts/security-aggregation-context.type.d.ts +6 -0
- package/dist/modules/security/contracts/security-aggregation-context.type.js +3 -0
- package/dist/modules/security/contracts/security-aggregation-context.type.js.map +1 -0
- package/dist/modules/security/contracts/security-aggregator.interface.d.ts +9 -0
- package/dist/modules/security/contracts/security-aggregator.interface.js +3 -0
- package/dist/modules/security/contracts/security-aggregator.interface.js.map +1 -0
- package/dist/modules/security/contracts/security-signal.type.d.ts +27 -0
- package/dist/modules/security/contracts/security-signal.type.js +3 -0
- package/dist/modules/security/contracts/security-signal.type.js.map +1 -0
- package/dist/modules/security/contracts/security-state-provider.interface.d.ts +6 -0
- package/dist/modules/security/contracts/security-state-provider.interface.js +3 -0
- package/dist/modules/security/contracts/security-state-provider.interface.js.map +1 -0
- package/dist/modules/security/controllers/security-alerts.controller.d.ts +10 -0
- package/dist/modules/security/controllers/security-alerts.controller.js +103 -0
- package/dist/modules/security/controllers/security-alerts.controller.js.map +1 -0
- package/dist/modules/security/controllers/security-events.controller.d.ts +7 -0
- package/dist/modules/security/controllers/security-events.controller.js +116 -0
- package/dist/modules/security/controllers/security-events.controller.js.map +1 -0
- package/dist/modules/security/controllers/security.controller.d.ts +7 -0
- package/dist/modules/security/controllers/security.controller.js +51 -0
- package/dist/modules/security/controllers/security.controller.js.map +1 -0
- package/dist/modules/security/dto/update-config.dto.d.ts +5 -0
- package/dist/modules/security/dto/update-config.dto.js +39 -0
- package/dist/modules/security/dto/update-config.dto.js.map +1 -0
- package/dist/modules/security/entities/security-alert-ack.entity.d.ts +8 -0
- package/dist/modules/security/entities/security-alert-ack.entity.js +44 -0
- package/dist/modules/security/entities/security-alert-ack.entity.js.map +1 -0
- package/dist/modules/security/listeners/security-state.listener.d.ts +31 -0
- package/dist/modules/security/listeners/security-state.listener.js +248 -0
- package/dist/modules/security/listeners/security-state.listener.js.map +1 -0
- package/dist/modules/security/models/config.model.d.ts +5 -0
- package/dist/modules/security/models/config.model.js +49 -0
- package/dist/modules/security/models/config.model.js.map +1 -0
- package/dist/modules/security/models/security-alert-ack-response.model.d.ts +11 -0
- package/dist/modules/security/models/security-alert-ack-response.model.js +68 -0
- package/dist/modules/security/models/security-alert-ack-response.model.js.map +1 -0
- package/dist/modules/security/models/security-event-response.model.d.ts +15 -0
- package/dist/modules/security/models/security-event-response.model.js +109 -0
- package/dist/modules/security/models/security-event-response.model.js.map +1 -0
- package/dist/modules/security/models/security-response.model.d.ts +5 -0
- package/dist/modules/security/models/security-response.model.js +31 -0
- package/dist/modules/security/models/security-response.model.js.map +1 -0
- package/dist/modules/security/models/security-status.model.d.ts +27 -0
- package/dist/modules/security/models/security-status.model.js +224 -0
- package/dist/modules/security/models/security-status.model.js.map +1 -0
- package/dist/modules/security/providers/alarm-security.provider.d.ts +20 -0
- package/dist/modules/security/providers/alarm-security.provider.js +267 -0
- package/dist/modules/security/providers/alarm-security.provider.js.map +1 -0
- package/dist/modules/security/providers/default-security.provider.d.ts +6 -0
- package/dist/modules/security/providers/default-security.provider.js +28 -0
- package/dist/modules/security/providers/default-security.provider.js.map +1 -0
- package/dist/modules/security/providers/security-sensors.provider.d.ts +18 -0
- package/dist/modules/security/providers/security-sensors.provider.js +179 -0
- package/dist/modules/security/providers/security-sensors.provider.js.map +1 -0
- package/dist/modules/security/security.constants.d.ts +47 -0
- package/dist/modules/security/security.constants.js +61 -0
- package/dist/modules/security/security.constants.js.map +1 -0
- package/dist/modules/security/security.module.d.ts +15 -0
- package/dist/modules/security/security.module.js +138 -0
- package/dist/modules/security/security.module.js.map +1 -0
- package/dist/modules/security/security.openapi.d.ts +5 -0
- package/dist/modules/security/security.openapi.js +19 -0
- package/dist/modules/security/security.openapi.js.map +1 -0
- package/dist/modules/security/security.utils.d.ts +2 -0
- package/dist/modules/security/security.utils.js +18 -0
- package/dist/modules/security/security.utils.js.map +1 -0
- package/dist/modules/security/services/module-reset.service.d.ts +11 -0
- package/dist/modules/security/services/module-reset.service.js +47 -0
- package/dist/modules/security/services/module-reset.service.js.map +1 -0
- package/dist/modules/security/services/security-aggregator.service.d.ts +15 -0
- package/dist/modules/security/services/security-aggregator.service.js +252 -0
- package/dist/modules/security/services/security-aggregator.service.js.map +1 -0
- package/dist/modules/security/services/security-alert-ack.service.d.ts +16 -0
- package/dist/modules/security/services/security-alert-ack.service.js +112 -0
- package/dist/modules/security/services/security-alert-ack.service.js.map +1 -0
- package/dist/modules/security/services/security-events.service.d.ts +41 -0
- package/dist/modules/security/services/security-events.service.js +205 -0
- package/dist/modules/security/services/security-events.service.js.map +1 -0
- package/dist/modules/security/services/security.service.d.ts +20 -0
- package/dist/modules/security/services/security.service.js +122 -0
- package/dist/modules/security/services/security.service.js.map +1 -0
- package/dist/modules/security/spec/definitions/detection-rules.yaml +62 -0
- package/dist/modules/security/spec/detection-rules-loader.service.d.ts +15 -0
- package/dist/modules/security/spec/detection-rules-loader.service.js +135 -0
- package/dist/modules/security/spec/detection-rules-loader.service.js.map +1 -0
- package/dist/modules/security/spec/detection-rules.types.d.ts +27 -0
- package/dist/modules/security/spec/detection-rules.types.js +3 -0
- package/dist/modules/security/spec/detection-rules.types.js.map +1 -0
- package/dist/modules/security/spec/index.d.ts +2 -0
- package/dist/modules/security/spec/index.js +19 -0
- package/dist/modules/security/spec/index.js.map +1 -0
- package/dist/modules/seed/commands/seeding.command.d.ts +7 -0
- package/dist/modules/seed/commands/seeding.command.js +48 -0
- package/dist/modules/seed/commands/seeding.command.js.map +1 -0
- package/dist/modules/seed/seed.constants.d.ts +1 -0
- package/dist/modules/seed/seed.constants.js +5 -0
- package/dist/modules/seed/seed.constants.js.map +1 -0
- package/dist/modules/seed/seeding.module.d.ts +2 -0
- package/dist/modules/seed/seeding.module.js +25 -0
- package/dist/modules/seed/seeding.module.js.map +1 -0
- package/dist/modules/seed/services/seed-registry.service.d.ts +12 -0
- package/dist/modules/seed/services/seed-registry.service.js +36 -0
- package/dist/modules/seed/services/seed-registry.service.js.map +1 -0
- package/dist/modules/seed/services/seed.service.d.ts +21 -0
- package/dist/modules/seed/services/seed.service.js +165 -0
- package/dist/modules/seed/services/seed.service.js.map +1 -0
- package/dist/modules/spaces/controllers/spaces.controller.d.ts +129 -0
- package/dist/modules/spaces/controllers/spaces.controller.js +2142 -0
- package/dist/modules/spaces/controllers/spaces.controller.js.map +1 -0
- package/dist/modules/spaces/dto/bulk-assign.dto.d.ts +7 -0
- package/dist/modules/spaces/dto/bulk-assign.dto.js +70 -0
- package/dist/modules/spaces/dto/bulk-assign.dto.js.map +1 -0
- package/dist/modules/spaces/dto/climate-intent.dto.d.ts +12 -0
- package/dist/modules/spaces/dto/climate-intent.dto.js +141 -0
- package/dist/modules/spaces/dto/climate-intent.dto.js.map +1 -0
- package/dist/modules/spaces/dto/climate-role.dto.d.ts +16 -0
- package/dist/modules/spaces/dto/climate-role.dto.js +127 -0
- package/dist/modules/spaces/dto/climate-role.dto.js.map +1 -0
- package/dist/modules/spaces/dto/covers-intent.dto.d.ts +12 -0
- package/dist/modules/spaces/dto/covers-intent.dto.js +120 -0
- package/dist/modules/spaces/dto/covers-intent.dto.js.map +1 -0
- package/dist/modules/spaces/dto/covers-role.dto.d.ts +16 -0
- package/dist/modules/spaces/dto/covers-role.dto.js +125 -0
- package/dist/modules/spaces/dto/covers-role.dto.js.map +1 -0
- package/dist/modules/spaces/dto/create-space.dto.d.ts +17 -0
- package/dist/modules/spaces/dto/create-space.dto.js +190 -0
- package/dist/modules/spaces/dto/create-space.dto.js.map +1 -0
- package/dist/modules/spaces/dto/lighting-intent.dto.d.ts +16 -0
- package/dist/modules/spaces/dto/lighting-intent.dto.js +197 -0
- package/dist/modules/spaces/dto/lighting-intent.dto.js.map +1 -0
- package/dist/modules/spaces/dto/lighting-role.dto.d.ts +16 -0
- package/dist/modules/spaces/dto/lighting-role.dto.js +125 -0
- package/dist/modules/spaces/dto/lighting-role.dto.js.map +1 -0
- package/dist/modules/spaces/dto/media-activity-binding.dto.d.ts +28 -0
- package/dist/modules/spaces/dto/media-activity-binding.dto.js +379 -0
- package/dist/modules/spaces/dto/media-activity-binding.dto.js.map +1 -0
- package/dist/modules/spaces/dto/sensor-role.dto.d.ts +16 -0
- package/dist/modules/spaces/dto/sensor-role.dto.js +127 -0
- package/dist/modules/spaces/dto/sensor-role.dto.js.map +1 -0
- package/dist/modules/spaces/dto/status-widget.dto.d.ts +5 -0
- package/dist/modules/spaces/dto/status-widget.dto.js +52 -0
- package/dist/modules/spaces/dto/status-widget.dto.js.map +1 -0
- package/dist/modules/spaces/dto/suggestion.dto.d.ts +8 -0
- package/dist/modules/spaces/dto/suggestion.dto.js +61 -0
- package/dist/modules/spaces/dto/suggestion.dto.js.map +1 -0
- package/dist/modules/spaces/dto/update-config.dto.d.ts +5 -0
- package/dist/modules/spaces/dto/update-config.dto.js +34 -0
- package/dist/modules/spaces/dto/update-config.dto.js.map +1 -0
- package/dist/modules/spaces/dto/update-space.dto.d.ts +16 -0
- package/dist/modules/spaces/dto/update-space.dto.js +179 -0
- package/dist/modules/spaces/dto/update-space.dto.js.map +1 -0
- package/dist/modules/spaces/entities/space-active-media-activity.entity.d.ts +12 -0
- package/dist/modules/spaces/entities/space-active-media-activity.entity.js +132 -0
- package/dist/modules/spaces/entities/space-active-media-activity.entity.js.map +1 -0
- package/dist/modules/spaces/entities/space-climate-role.entity.d.ts +14 -0
- package/dist/modules/spaces/entities/space-climate-role.entity.js +120 -0
- package/dist/modules/spaces/entities/space-climate-role.entity.js.map +1 -0
- package/dist/modules/spaces/entities/space-covers-role.entity.d.ts +14 -0
- package/dist/modules/spaces/entities/space-covers-role.entity.js +119 -0
- package/dist/modules/spaces/entities/space-covers-role.entity.js.map +1 -0
- package/dist/modules/spaces/entities/space-lighting-role.entity.d.ts +14 -0
- package/dist/modules/spaces/entities/space-lighting-role.entity.js +119 -0
- package/dist/modules/spaces/entities/space-lighting-role.entity.js.map +1 -0
- package/dist/modules/spaces/entities/space-media-activity-binding.entity.d.ts +16 -0
- package/dist/modules/spaces/entities/space-media-activity-binding.entity.js +192 -0
- package/dist/modules/spaces/entities/space-media-activity-binding.entity.js.map +1 -0
- package/dist/modules/spaces/entities/space-sensor-role.entity.d.ts +14 -0
- package/dist/modules/spaces/entities/space-sensor-role.entity.js +119 -0
- package/dist/modules/spaces/entities/space-sensor-role.entity.js.map +1 -0
- package/dist/modules/spaces/entities/space.entity.d.ts +16 -0
- package/dist/modules/spaces/entities/space.entity.js +213 -0
- package/dist/modules/spaces/entities/space.entity.js.map +1 -0
- package/dist/modules/spaces/listeners/space-activity.listener.d.ts +13 -0
- package/dist/modules/spaces/listeners/space-activity.listener.js +89 -0
- package/dist/modules/spaces/listeners/space-activity.listener.js.map +1 -0
- package/dist/modules/spaces/listeners/space-climate-state.listener.d.ts +19 -0
- package/dist/modules/spaces/listeners/space-climate-state.listener.js +142 -0
- package/dist/modules/spaces/listeners/space-climate-state.listener.js.map +1 -0
- package/dist/modules/spaces/listeners/space-lighting-state.listener.d.ts +19 -0
- package/dist/modules/spaces/listeners/space-lighting-state.listener.js +141 -0
- package/dist/modules/spaces/listeners/space-lighting-state.listener.js.map +1 -0
- package/dist/modules/spaces/listeners/space-sensor-state.listener.d.ts +22 -0
- package/dist/modules/spaces/listeners/space-sensor-state.listener.js +154 -0
- package/dist/modules/spaces/listeners/space-sensor-state.listener.js.map +1 -0
- package/dist/modules/spaces/listeners/websocket-exchange.listener.d.ts +31 -0
- package/dist/modules/spaces/listeners/websocket-exchange.listener.js +224 -0
- package/dist/modules/spaces/listeners/websocket-exchange.listener.js.map +1 -0
- package/dist/modules/spaces/models/config.model.d.ts +5 -0
- package/dist/modules/spaces/models/config.model.js +49 -0
- package/dist/modules/spaces/models/config.model.js.map +1 -0
- package/dist/modules/spaces/models/derived-media-endpoint.model.d.ts +49 -0
- package/dist/modules/spaces/models/derived-media-endpoint.model.js +341 -0
- package/dist/modules/spaces/models/derived-media-endpoint.model.js.map +1 -0
- package/dist/modules/spaces/models/media-activity-binding.model.d.ts +22 -0
- package/dist/modules/spaces/models/media-activity-binding.model.js +139 -0
- package/dist/modules/spaces/models/media-activity-binding.model.js.map +1 -0
- package/dist/modules/spaces/models/media-activity.model.d.ts +82 -0
- package/dist/modules/spaces/models/media-activity.model.js +542 -0
- package/dist/modules/spaces/models/media-activity.model.js.map +1 -0
- package/dist/modules/spaces/models/media-routing.model.d.ts +31 -0
- package/dist/modules/spaces/models/media-routing.model.js +249 -0
- package/dist/modules/spaces/models/media-routing.model.js.map +1 -0
- package/dist/modules/spaces/models/spaces-response.model.d.ts +550 -0
- package/dist/modules/spaces/models/spaces-response.model.js +4301 -0
- package/dist/modules/spaces/models/spaces-response.model.js.map +1 -0
- package/dist/modules/spaces/services/__fixtures__/media-scenario-templates.d.ts +45 -0
- package/dist/modules/spaces/services/__fixtures__/media-scenario-templates.js +201 -0
- package/dist/modules/spaces/services/__fixtures__/media-scenario-templates.js.map +1 -0
- package/dist/modules/spaces/services/__fixtures__/media-test-harness.d.ts +73 -0
- package/dist/modules/spaces/services/__fixtures__/media-test-harness.js +116 -0
- package/dist/modules/spaces/services/__fixtures__/media-test-harness.js.map +1 -0
- package/dist/modules/spaces/services/climate-intent.service.d.ts +47 -0
- package/dist/modules/spaces/services/climate-intent.service.js +652 -0
- package/dist/modules/spaces/services/climate-intent.service.js.map +1 -0
- package/dist/modules/spaces/services/covers-intent.service.d.ts +53 -0
- package/dist/modules/spaces/services/covers-intent.service.js +621 -0
- package/dist/modules/spaces/services/covers-intent.service.js.map +1 -0
- package/dist/modules/spaces/services/derived-media-endpoint.service.d.ts +16 -0
- package/dist/modules/spaces/services/derived-media-endpoint.service.js +234 -0
- package/dist/modules/spaces/services/derived-media-endpoint.service.js.map +1 -0
- package/dist/modules/spaces/services/lighting-intent.service.d.ts +70 -0
- package/dist/modules/spaces/services/lighting-intent.service.js +969 -0
- package/dist/modules/spaces/services/lighting-intent.service.js.map +1 -0
- package/dist/modules/spaces/services/media-capability.service.d.ts +12 -0
- package/dist/modules/spaces/services/media-capability.service.js +221 -0
- package/dist/modules/spaces/services/media-capability.service.js.map +1 -0
- package/dist/modules/spaces/services/module-reset.service.d.ts +11 -0
- package/dist/modules/spaces/services/module-reset.service.js +47 -0
- package/dist/modules/spaces/services/module-reset.service.js.map +1 -0
- package/dist/modules/spaces/services/space-climate-role.service.d.ts +78 -0
- package/dist/modules/spaces/services/space-climate-role.service.js +468 -0
- package/dist/modules/spaces/services/space-climate-role.service.js.map +1 -0
- package/dist/modules/spaces/services/space-climate-state.service.d.ts +72 -0
- package/dist/modules/spaces/services/space-climate-state.service.js +428 -0
- package/dist/modules/spaces/services/space-climate-state.service.js.map +1 -0
- package/dist/modules/spaces/services/space-context-snapshot.service.d.ts +74 -0
- package/dist/modules/spaces/services/space-context-snapshot.service.js +300 -0
- package/dist/modules/spaces/services/space-context-snapshot.service.js.map +1 -0
- package/dist/modules/spaces/services/space-covers-role.service.d.ts +64 -0
- package/dist/modules/spaces/services/space-covers-role.service.js +297 -0
- package/dist/modules/spaces/services/space-covers-role.service.js.map +1 -0
- package/dist/modules/spaces/services/space-covers-state.service.d.ts +68 -0
- package/dist/modules/spaces/services/space-covers-state.service.js +306 -0
- package/dist/modules/spaces/services/space-covers-state.service.js.map +1 -0
- package/dist/modules/spaces/services/space-intent-base.service.d.ts +18 -0
- package/dist/modules/spaces/services/space-intent-base.service.js +71 -0
- package/dist/modules/spaces/services/space-intent-base.service.js.map +1 -0
- package/dist/modules/spaces/services/space-intent.service.d.ts +23 -0
- package/dist/modules/spaces/services/space-intent.service.js +50 -0
- package/dist/modules/spaces/services/space-intent.service.js.map +1 -0
- package/dist/modules/spaces/services/space-lighting-role.service.d.ts +62 -0
- package/dist/modules/spaces/services/space-lighting-role.service.js +278 -0
- package/dist/modules/spaces/services/space-lighting-role.service.js.map +1 -0
- package/dist/modules/spaces/services/space-lighting-state.service.d.ts +88 -0
- package/dist/modules/spaces/services/space-lighting-state.service.js +668 -0
- package/dist/modules/spaces/services/space-lighting-state.service.js.map +1 -0
- package/dist/modules/spaces/services/space-lighting-tool.service.d.ts +19 -0
- package/dist/modules/spaces/services/space-lighting-tool.service.js +167 -0
- package/dist/modules/spaces/services/space-lighting-tool.service.js.map +1 -0
- package/dist/modules/spaces/services/space-media-activity-binding.service.d.ts +46 -0
- package/dist/modules/spaces/services/space-media-activity-binding.service.js +563 -0
- package/dist/modules/spaces/services/space-media-activity-binding.service.js.map +1 -0
- package/dist/modules/spaces/services/space-media-activity.service.d.ts +34 -0
- package/dist/modules/spaces/services/space-media-activity.service.js +739 -0
- package/dist/modules/spaces/services/space-media-activity.service.js.map +1 -0
- package/dist/modules/spaces/services/space-sensor-role.service.d.ts +64 -0
- package/dist/modules/spaces/services/space-sensor-role.service.js +302 -0
- package/dist/modules/spaces/services/space-sensor-role.service.js.map +1 -0
- package/dist/modules/spaces/services/space-sensor-state.service.d.ts +72 -0
- package/dist/modules/spaces/services/space-sensor-state.service.js +327 -0
- package/dist/modules/spaces/services/space-sensor-state.service.js.map +1 -0
- package/dist/modules/spaces/services/space-suggestion-heartbeat.service.d.ts +29 -0
- package/dist/modules/spaces/services/space-suggestion-heartbeat.service.js +128 -0
- package/dist/modules/spaces/services/space-suggestion-heartbeat.service.js.map +1 -0
- package/dist/modules/spaces/services/space-suggestion.service.d.ts +46 -0
- package/dist/modules/spaces/services/space-suggestion.service.js +202 -0
- package/dist/modules/spaces/services/space-suggestion.service.js.map +1 -0
- package/dist/modules/spaces/services/space-undo-history.service.d.ts +45 -0
- package/dist/modules/spaces/services/space-undo-history.service.js +342 -0
- package/dist/modules/spaces/services/space-undo-history.service.js.map +1 -0
- package/dist/modules/spaces/services/spaces-seeder.service.d.ts +16 -0
- package/dist/modules/spaces/services/spaces-seeder.service.js +180 -0
- package/dist/modules/spaces/services/spaces-seeder.service.js.map +1 -0
- package/dist/modules/spaces/services/spaces.service.d.ts +49 -0
- package/dist/modules/spaces/services/spaces.service.js +506 -0
- package/dist/modules/spaces/services/spaces.service.js.map +1 -0
- package/dist/modules/spaces/spaces.constants.d.ts +358 -0
- package/dist/modules/spaces/spaces.constants.js +1545 -0
- package/dist/modules/spaces/spaces.constants.js.map +1 -0
- package/dist/modules/spaces/spaces.exceptions.d.ts +10 -0
- package/dist/modules/spaces/spaces.exceptions.js +23 -0
- package/dist/modules/spaces/spaces.exceptions.js.map +1 -0
- package/dist/modules/spaces/spaces.module.d.ts +23 -0
- package/dist/modules/spaces/spaces.module.js +219 -0
- package/dist/modules/spaces/spaces.module.js.map +1 -0
- package/dist/modules/spaces/spaces.openapi.d.ts +18 -0
- package/dist/modules/spaces/spaces.openapi.js +161 -0
- package/dist/modules/spaces/spaces.openapi.js.map +1 -0
- package/dist/modules/spaces/spaces.utils.d.ts +2 -0
- package/dist/modules/spaces/spaces.utils.js +17 -0
- package/dist/modules/spaces/spaces.utils.js.map +1 -0
- package/dist/modules/spaces/spec/definitions/climate-intents.yaml +94 -0
- package/dist/modules/spaces/spec/definitions/covers-modes.yaml +83 -0
- package/dist/modules/spaces/spec/definitions/enums.yaml +119 -0
- package/dist/modules/spaces/spec/definitions/lighting-intents.yaml +181 -0
- package/dist/modules/spaces/spec/definitions/lighting-modes.yaml +119 -0
- package/dist/modules/spaces/spec/definitions/suggestions.yaml +47 -0
- package/dist/modules/spaces/spec/index.d.ts +2 -0
- package/dist/modules/spaces/spec/index.js +19 -0
- package/dist/modules/spaces/spec/index.js.map +1 -0
- package/dist/modules/spaces/spec/intent-spec-loader.service.d.ts +59 -0
- package/dist/modules/spaces/spec/intent-spec-loader.service.js +510 -0
- package/dist/modules/spaces/spec/intent-spec-loader.service.js.map +1 -0
- package/dist/modules/spaces/spec/intent-spec.types.d.ts +172 -0
- package/dist/modules/spaces/spec/intent-spec.types.js +3 -0
- package/dist/modules/spaces/spec/intent-spec.types.js.map +1 -0
- package/dist/modules/spaces/validators/at-least-one-setpoint.validator.d.ts +6 -0
- package/dist/modules/spaces/validators/at-least-one-setpoint.validator.js +41 -0
- package/dist/modules/spaces/validators/at-least-one-setpoint.validator.js.map +1 -0
- package/dist/modules/spaces/validators/setpoint-order-constraint.validator.d.ts +6 -0
- package/dist/modules/spaces/validators/setpoint-order-constraint.validator.js +46 -0
- package/dist/modules/spaces/validators/setpoint-order-constraint.validator.js.map +1 -0
- package/dist/modules/spaces/validators/space-category-constraint.validator.d.ts +6 -0
- package/dist/modules/spaces/validators/space-category-constraint.validator.js +60 -0
- package/dist/modules/spaces/validators/space-category-constraint.validator.js.map +1 -0
- package/dist/modules/stats/controllers/prometheus.controller.d.ts +6 -0
- package/dist/modules/stats/controllers/prometheus.controller.js +61 -0
- package/dist/modules/stats/controllers/prometheus.controller.js.map +1 -0
- package/dist/modules/stats/controllers/stats.controller.d.ts +9 -0
- package/dist/modules/stats/controllers/stats.controller.js +98 -0
- package/dist/modules/stats/controllers/stats.controller.js.map +1 -0
- package/dist/modules/stats/models/stats-response.model.d.ts +11 -0
- package/dist/modules/stats/models/stats-response.model.js +62 -0
- package/dist/modules/stats/models/stats-response.model.js.map +1 -0
- package/dist/modules/stats/models/stats.model.d.ts +19 -0
- package/dist/modules/stats/models/stats.model.js +136 -0
- package/dist/modules/stats/models/stats.model.js.map +1 -0
- package/dist/modules/stats/services/stats-aggregator.service.d.ts +14 -0
- package/dist/modules/stats/services/stats-aggregator.service.js +87 -0
- package/dist/modules/stats/services/stats-aggregator.service.js.map +1 -0
- package/dist/modules/stats/services/stats-registry.service.d.ts +10 -0
- package/dist/modules/stats/services/stats-registry.service.js +35 -0
- package/dist/modules/stats/services/stats-registry.service.js.map +1 -0
- package/dist/modules/stats/services/stats.prometheus.service.d.ts +12 -0
- package/dist/modules/stats/services/stats.prometheus.service.js +109 -0
- package/dist/modules/stats/services/stats.prometheus.service.js.map +1 -0
- package/dist/modules/stats/stats.constants.d.ts +7 -0
- package/dist/modules/stats/stats.constants.js +12 -0
- package/dist/modules/stats/stats.constants.js.map +1 -0
- package/dist/modules/stats/stats.exceptions.d.ts +12 -0
- package/dist/modules/stats/stats.exceptions.js +32 -0
- package/dist/modules/stats/stats.exceptions.js.map +1 -0
- package/dist/modules/stats/stats.interfaces.d.ts +3 -0
- package/dist/modules/stats/stats.interfaces.js +3 -0
- package/dist/modules/stats/stats.interfaces.js.map +1 -0
- package/dist/modules/stats/stats.module.d.ts +6 -0
- package/dist/modules/stats/stats.module.js +47 -0
- package/dist/modules/stats/stats.module.js.map +1 -0
- package/dist/modules/stats/stats.openapi.d.ts +3 -0
- package/dist/modules/stats/stats.openapi.js +15 -0
- package/dist/modules/stats/stats.openapi.js.map +1 -0
- package/dist/modules/storage/dto/update-config.dto.d.ts +7 -0
- package/dist/modules/storage/dto/update-config.dto.js +61 -0
- package/dist/modules/storage/dto/update-config.dto.js.map +1 -0
- package/dist/modules/storage/interfaces/storage-plugin.interface.d.ts +38 -0
- package/dist/modules/storage/interfaces/storage-plugin.interface.js +3 -0
- package/dist/modules/storage/interfaces/storage-plugin.interface.js.map +1 -0
- package/dist/modules/storage/models/config.model.d.ts +7 -0
- package/dist/modules/storage/models/config.model.js +73 -0
- package/dist/modules/storage/models/config.model.js.map +1 -0
- package/dist/modules/storage/plugins/influx-v1/influx-v1.config.model.d.ts +9 -0
- package/dist/modules/storage/plugins/influx-v1/influx-v1.config.model.js +93 -0
- package/dist/modules/storage/plugins/influx-v1/influx-v1.config.model.js.map +1 -0
- package/dist/modules/storage/plugins/influx-v1/influx-v1.constants.d.ts +3 -0
- package/dist/modules/storage/plugins/influx-v1/influx-v1.constants.js +7 -0
- package/dist/modules/storage/plugins/influx-v1/influx-v1.constants.js.map +1 -0
- package/dist/modules/storage/plugins/influx-v1/influx-v1.module.d.ts +17 -0
- package/dist/modules/storage/plugins/influx-v1/influx-v1.module.js +94 -0
- package/dist/modules/storage/plugins/influx-v1/influx-v1.module.js.map +1 -0
- package/dist/modules/storage/plugins/influx-v1/influx-v1.openapi.d.ts +2 -0
- package/dist/modules/storage/plugins/influx-v1/influx-v1.openapi.js +7 -0
- package/dist/modules/storage/plugins/influx-v1/influx-v1.openapi.js.map +1 -0
- package/dist/modules/storage/plugins/influx-v1/influx-v1.plugin.d.ts +68 -0
- package/dist/modules/storage/plugins/influx-v1/influx-v1.plugin.js +335 -0
- package/dist/modules/storage/plugins/influx-v1/influx-v1.plugin.js.map +1 -0
- package/dist/modules/storage/plugins/influx-v1/influx-v1.update-config.dto.d.ts +8 -0
- package/dist/modules/storage/plugins/influx-v1/influx-v1.update-config.dto.js +82 -0
- package/dist/modules/storage/plugins/influx-v1/influx-v1.update-config.dto.js.map +1 -0
- package/dist/modules/storage/plugins/memory/in-memory-timeseries.store.d.ts +44 -0
- package/dist/modules/storage/plugins/memory/in-memory-timeseries.store.js +341 -0
- package/dist/modules/storage/plugins/memory/in-memory-timeseries.store.js.map +1 -0
- package/dist/modules/storage/plugins/memory/influxql-parser.d.ts +26 -0
- package/dist/modules/storage/plugins/memory/influxql-parser.js +427 -0
- package/dist/modules/storage/plugins/memory/influxql-parser.js.map +1 -0
- package/dist/modules/storage/plugins/memory/memory.config.model.d.ts +5 -0
- package/dist/modules/storage/plugins/memory/memory.config.model.js +49 -0
- package/dist/modules/storage/plugins/memory/memory.config.model.js.map +1 -0
- package/dist/modules/storage/plugins/memory/memory.constants.d.ts +1 -0
- package/dist/modules/storage/plugins/memory/memory.constants.js +5 -0
- package/dist/modules/storage/plugins/memory/memory.constants.js.map +1 -0
- package/dist/modules/storage/plugins/memory/memory.module.d.ts +13 -0
- package/dist/modules/storage/plugins/memory/memory.module.js +75 -0
- package/dist/modules/storage/plugins/memory/memory.module.js.map +1 -0
- package/dist/modules/storage/plugins/memory/memory.openapi.d.ts +2 -0
- package/dist/modules/storage/plugins/memory/memory.openapi.js +7 -0
- package/dist/modules/storage/plugins/memory/memory.openapi.js.map +1 -0
- package/dist/modules/storage/plugins/memory/memory.plugin.d.ts +19 -0
- package/dist/modules/storage/plugins/memory/memory.plugin.js +73 -0
- package/dist/modules/storage/plugins/memory/memory.plugin.js.map +1 -0
- package/dist/modules/storage/plugins/memory/memory.update-config.dto.d.ts +4 -0
- package/dist/modules/storage/plugins/memory/memory.update-config.dto.js +38 -0
- package/dist/modules/storage/plugins/memory/memory.update-config.dto.js.map +1 -0
- package/dist/modules/storage/services/storage.service.d.ts +63 -0
- package/dist/modules/storage/services/storage.service.js +307 -0
- package/dist/modules/storage/services/storage.service.js.map +1 -0
- package/dist/modules/storage/storage.constants.d.ts +1 -0
- package/dist/modules/storage/storage.constants.js +5 -0
- package/dist/modules/storage/storage.constants.js.map +1 -0
- package/dist/modules/storage/storage.module.d.ts +11 -0
- package/dist/modules/storage/storage.module.js +78 -0
- package/dist/modules/storage/storage.module.js.map +1 -0
- package/dist/modules/storage/storage.openapi.d.ts +2 -0
- package/dist/modules/storage/storage.openapi.js +7 -0
- package/dist/modules/storage/storage.openapi.js.map +1 -0
- package/dist/modules/storage/storage.types.d.ts +22 -0
- package/dist/modules/storage/storage.types.js +11 -0
- package/dist/modules/storage/storage.types.js.map +1 -0
- package/dist/modules/swagger/commands/generate-openapi.command.d.ts +10 -0
- package/dist/modules/swagger/commands/generate-openapi.command.js +117 -0
- package/dist/modules/swagger/commands/generate-openapi.command.js.map +1 -0
- package/dist/modules/swagger/decorators/api-documentation.decorator.d.ts +16 -0
- package/dist/modules/swagger/decorators/api-documentation.decorator.js +132 -0
- package/dist/modules/swagger/decorators/api-documentation.decorator.js.map +1 -0
- package/dist/modules/swagger/decorators/api-tag.decorator.d.ts +19 -0
- package/dist/modules/swagger/decorators/api-tag.decorator.js +42 -0
- package/dist/modules/swagger/decorators/api-tag.decorator.js.map +1 -0
- package/dist/modules/swagger/services/extended-discriminator.service.d.ts +12 -0
- package/dist/modules/swagger/services/extended-discriminator.service.js +26 -0
- package/dist/modules/swagger/services/extended-discriminator.service.js.map +1 -0
- package/dist/modules/swagger/services/swagger-document.service.d.ts +16 -0
- package/dist/modules/swagger/services/swagger-document.service.js +293 -0
- package/dist/modules/swagger/services/swagger-document.service.js.map +1 -0
- package/dist/modules/swagger/services/swagger-models-registry.service.d.ts +6 -0
- package/dist/modules/swagger/services/swagger-models-registry.service.js +26 -0
- package/dist/modules/swagger/services/swagger-models-registry.service.js.map +1 -0
- package/dist/modules/swagger/swagger.constants.d.ts +1 -0
- package/dist/modules/swagger/swagger.constants.js +5 -0
- package/dist/modules/swagger/swagger.constants.js.map +1 -0
- package/dist/modules/swagger/swagger.module.d.ts +2 -0
- package/dist/modules/swagger/swagger.module.js +32 -0
- package/dist/modules/swagger/swagger.module.js.map +1 -0
- package/dist/modules/swagger/utils/openapi-tags.utils.d.ts +6 -0
- package/dist/modules/swagger/utils/openapi-tags.utils.js +12 -0
- package/dist/modules/swagger/utils/openapi-tags.utils.js.map +1 -0
- package/dist/modules/system/commands/command.utils.d.ts +4 -0
- package/dist/modules/system/commands/command.utils.js +19 -0
- package/dist/modules/system/commands/command.utils.js.map +1 -0
- package/dist/modules/system/commands/update-check.command.d.ts +17 -0
- package/dist/modules/system/commands/update-check.command.js +135 -0
- package/dist/modules/system/commands/update-check.command.js.map +1 -0
- package/dist/modules/system/commands/update-panel.command.d.ts +26 -0
- package/dist/modules/system/commands/update-panel.command.js +342 -0
- package/dist/modules/system/commands/update-panel.command.js.map +1 -0
- package/dist/modules/system/commands/update-server.command.d.ts +26 -0
- package/dist/modules/system/commands/update-server.command.js +482 -0
- package/dist/modules/system/commands/update-server.command.js.map +1 -0
- package/dist/modules/system/controllers/logs.controller.d.ts +10 -0
- package/dist/modules/system/controllers/logs.controller.js +169 -0
- package/dist/modules/system/controllers/logs.controller.js.map +1 -0
- package/dist/modules/system/controllers/system.controller.d.ts +15 -0
- package/dist/modules/system/controllers/system.controller.js +200 -0
- package/dist/modules/system/controllers/system.controller.js.map +1 -0
- package/dist/modules/system/controllers/update.controller.d.ts +13 -0
- package/dist/modules/system/controllers/update.controller.js +181 -0
- package/dist/modules/system/controllers/update.controller.js.map +1 -0
- package/dist/modules/system/dto/create-log-entry.dto.d.ts +24 -0
- package/dist/modules/system/dto/create-log-entry.dto.js +239 -0
- package/dist/modules/system/dto/create-log-entry.dto.js.map +1 -0
- package/dist/modules/system/dto/install-update.dto.d.ts +4 -0
- package/dist/modules/system/dto/install-update.dto.js +43 -0
- package/dist/modules/system/dto/install-update.dto.js.map +1 -0
- package/dist/modules/system/dto/update-config.dto.d.ts +18 -0
- package/dist/modules/system/dto/update-config.dto.js +209 -0
- package/dist/modules/system/dto/update-config.dto.js.map +1 -0
- package/dist/modules/system/entities/system.entity.d.ts +0 -0
- package/dist/modules/system/entities/system.entity.js +1 -0
- package/dist/modules/system/entities/system.entity.js.map +1 -0
- package/dist/modules/system/logger/logger.d.ts +3 -0
- package/dist/modules/system/logger/logger.js +3 -0
- package/dist/modules/system/logger/logger.js.map +1 -0
- package/dist/modules/system/logger/ring-buffer.d.ts +9 -0
- package/dist/modules/system/logger/ring-buffer.js +30 -0
- package/dist/modules/system/logger/ring-buffer.js.map +1 -0
- package/dist/modules/system/models/config.model.d.ts +18 -0
- package/dist/modules/system/models/config.model.js +199 -0
- package/dist/modules/system/models/config.model.js.map +1 -0
- package/dist/modules/system/models/onboarding.model.d.ts +7 -0
- package/dist/modules/system/models/onboarding.model.js +71 -0
- package/dist/modules/system/models/onboarding.model.js.map +1 -0
- package/dist/modules/system/models/system-response.model.d.ts +31 -0
- package/dist/modules/system/models/system-response.model.js +160 -0
- package/dist/modules/system/models/system-response.model.js.map +1 -0
- package/dist/modules/system/models/system.model.d.ts +143 -0
- package/dist/modules/system/models/system.model.js +855 -0
- package/dist/modules/system/models/system.model.js.map +1 -0
- package/dist/modules/system/models/update-response.model.d.ts +8 -0
- package/dist/modules/system/models/update-response.model.js +45 -0
- package/dist/modules/system/models/update-response.model.js.map +1 -0
- package/dist/modules/system/models/update.model.d.ts +20 -0
- package/dist/modules/system/models/update.model.js +124 -0
- package/dist/modules/system/models/update.model.js.map +1 -0
- package/dist/modules/system/providers/system-stats.provider.d.ts +8 -0
- package/dist/modules/system/providers/system-stats.provider.js +66 -0
- package/dist/modules/system/providers/system-stats.provider.js.map +1 -0
- package/dist/modules/system/services/display-command.service.d.ts +27 -0
- package/dist/modules/system/services/display-command.service.js +155 -0
- package/dist/modules/system/services/display-command.service.js.map +1 -0
- package/dist/modules/system/services/factory-reset-registry.service.d.ts +15 -0
- package/dist/modules/system/services/factory-reset-registry.service.js +36 -0
- package/dist/modules/system/services/factory-reset-registry.service.js.map +1 -0
- package/dist/modules/system/services/house-mode-actions.service.d.ts +20 -0
- package/dist/modules/system/services/house-mode-actions.service.js +152 -0
- package/dist/modules/system/services/house-mode-actions.service.js.map +1 -0
- package/dist/modules/system/services/onboarding.service.d.ts +17 -0
- package/dist/modules/system/services/onboarding.service.js +66 -0
- package/dist/modules/system/services/onboarding.service.js.map +1 -0
- package/dist/modules/system/services/system-command.service.d.ts +34 -0
- package/dist/modules/system/services/system-command.service.js +199 -0
- package/dist/modules/system/services/system-command.service.js.map +1 -0
- package/dist/modules/system/services/system-logger.service.d.ts +26 -0
- package/dist/modules/system/services/system-logger.service.js +276 -0
- package/dist/modules/system/services/system-logger.service.js.map +1 -0
- package/dist/modules/system/services/system.service.d.ts +14 -0
- package/dist/modules/system/services/system.service.js +67 -0
- package/dist/modules/system/services/system.service.js.map +1 -0
- package/dist/modules/system/services/update-executor.service.d.ts +20 -0
- package/dist/modules/system/services/update-executor.service.js +220 -0
- package/dist/modules/system/services/update-executor.service.js.map +1 -0
- package/dist/modules/system/services/update.service.d.ts +74 -0
- package/dist/modules/system/services/update.service.js +411 -0
- package/dist/modules/system/services/update.service.js.map +1 -0
- package/dist/modules/system/system.constants.d.ts +129 -0
- package/dist/modules/system/system.constants.js +149 -0
- package/dist/modules/system/system.constants.js.map +1 -0
- package/dist/modules/system/system.exceptions.d.ts +9 -0
- package/dist/modules/system/system.exceptions.js +25 -0
- package/dist/modules/system/system.exceptions.js.map +1 -0
- package/dist/modules/system/system.module.d.ts +26 -0
- package/dist/modules/system/system.module.js +180 -0
- package/dist/modules/system/system.module.js.map +1 -0
- package/dist/modules/system/system.openapi.d.ts +9 -0
- package/dist/modules/system/system.openapi.js +45 -0
- package/dist/modules/system/system.openapi.js.map +1 -0
- package/dist/modules/tools/platforms/tool-provider.platform.d.ts +19 -0
- package/dist/modules/tools/platforms/tool-provider.platform.js +3 -0
- package/dist/modules/tools/platforms/tool-provider.platform.js.map +1 -0
- package/dist/modules/tools/services/base-tool-provider.service.d.ts +11 -0
- package/dist/modules/tools/services/base-tool-provider.service.js +42 -0
- package/dist/modules/tools/services/base-tool-provider.service.js.map +1 -0
- package/dist/modules/tools/services/short-id-mapping.service.d.ts +9 -0
- package/dist/modules/tools/services/short-id-mapping.service.js +86 -0
- package/dist/modules/tools/services/short-id-mapping.service.js.map +1 -0
- package/dist/modules/tools/services/tool-provider-registry.service.d.ts +9 -0
- package/dist/modules/tools/services/tool-provider-registry.service.js +56 -0
- package/dist/modules/tools/services/tool-provider-registry.service.js.map +1 -0
- package/dist/modules/tools/tools.constants.d.ts +1 -0
- package/dist/modules/tools/tools.constants.js +5 -0
- package/dist/modules/tools/tools.constants.js.map +1 -0
- package/dist/modules/tools/tools.module.d.ts +2 -0
- package/dist/modules/tools/tools.module.js +22 -0
- package/dist/modules/tools/tools.module.js.map +1 -0
- package/dist/modules/users/commands/list-users.command.d.ts +8 -0
- package/dist/modules/users/commands/list-users.command.js +47 -0
- package/dist/modules/users/commands/list-users.command.js.map +1 -0
- package/dist/modules/users/controllers/users.controller.d.ts +17 -0
- package/dist/modules/users/controllers/users.controller.js +233 -0
- package/dist/modules/users/controllers/users.controller.js.map +1 -0
- package/dist/modules/users/dto/create-user.dto.d.ts +14 -0
- package/dist/modules/users/dto/create-user.dto.js +142 -0
- package/dist/modules/users/dto/create-user.dto.js.map +1 -0
- package/dist/modules/users/dto/update-config.dto.d.ts +5 -0
- package/dist/modules/users/dto/update-config.dto.js +39 -0
- package/dist/modules/users/dto/update-config.dto.js.map +1 -0
- package/dist/modules/users/dto/update-user.dto.d.ts +13 -0
- package/dist/modules/users/dto/update-user.dto.js +135 -0
- package/dist/modules/users/dto/update-user.dto.js.map +1 -0
- package/dist/modules/users/entities/users.entity.d.ts +12 -0
- package/dist/modules/users/entities/users.entity.js +136 -0
- package/dist/modules/users/entities/users.entity.js.map +1 -0
- package/dist/modules/users/guards/roles.guard.d.ts +10 -0
- package/dist/modules/users/guards/roles.guard.js +39 -0
- package/dist/modules/users/guards/roles.guard.js.map +1 -0
- package/dist/modules/users/models/config.model.d.ts +5 -0
- package/dist/modules/users/models/config.model.js +49 -0
- package/dist/modules/users/models/config.model.js.map +1 -0
- package/dist/modules/users/models/users-response.model.d.ts +8 -0
- package/dist/modules/users/models/users-response.model.js +46 -0
- package/dist/modules/users/models/users-response.model.js.map +1 -0
- package/dist/modules/users/services/module-reset.service.d.ts +13 -0
- package/dist/modules/users/services/module-reset.service.js +51 -0
- package/dist/modules/users/services/module-reset.service.js.map +1 -0
- package/dist/modules/users/services/users-seeder.service.d.ts +9 -0
- package/dist/modules/users/services/users-seeder.service.js +86 -0
- package/dist/modules/users/services/users-seeder.service.js.map +1 -0
- package/dist/modules/users/services/users.service.d.ts +24 -0
- package/dist/modules/users/services/users.service.js +161 -0
- package/dist/modules/users/services/users.service.js.map +1 -0
- package/dist/modules/users/users.constants.d.ts +24 -0
- package/dist/modules/users/users.constants.js +31 -0
- package/dist/modules/users/users.constants.js.map +1 -0
- package/dist/modules/users/users.exceptions.d.ts +9 -0
- package/dist/modules/users/users.exceptions.js +25 -0
- package/dist/modules/users/users.exceptions.js.map +1 -0
- package/dist/modules/users/users.module.d.ts +19 -0
- package/dist/modules/users/users.module.js +126 -0
- package/dist/modules/users/users.module.js.map +1 -0
- package/dist/modules/users/users.openapi.d.ts +3 -0
- package/dist/modules/users/users.openapi.js +11 -0
- package/dist/modules/users/users.openapi.js.map +1 -0
- package/dist/modules/users/validators/user-exists-constraint.validator.d.ts +9 -0
- package/dist/modules/users/validators/user-exists-constraint.validator.js +49 -0
- package/dist/modules/users/validators/user-exists-constraint.validator.js.map +1 -0
- package/dist/modules/weather/controllers/history.controller.d.ts +11 -0
- package/dist/modules/weather/controllers/history.controller.js +174 -0
- package/dist/modules/weather/controllers/history.controller.js.map +1 -0
- package/dist/modules/weather/controllers/locations.controller.d.ts +20 -0
- package/dist/modules/weather/controllers/locations.controller.js +265 -0
- package/dist/modules/weather/controllers/locations.controller.js.map +1 -0
- package/dist/modules/weather/controllers/weather.controller.d.ts +15 -0
- package/dist/modules/weather/controllers/weather.controller.js +299 -0
- package/dist/modules/weather/controllers/weather.controller.js.map +1 -0
- package/dist/modules/weather/dto/create-location.dto.d.ts +8 -0
- package/dist/modules/weather/dto/create-location.dto.js +73 -0
- package/dist/modules/weather/dto/create-location.dto.js.map +1 -0
- package/dist/modules/weather/dto/update-config.dto.d.ts +6 -0
- package/dist/modules/weather/dto/update-config.dto.js +54 -0
- package/dist/modules/weather/dto/update-config.dto.js.map +1 -0
- package/dist/modules/weather/dto/update-location.dto.d.ts +7 -0
- package/dist/modules/weather/dto/update-location.dto.js +59 -0
- package/dist/modules/weather/dto/update-location.dto.js.map +1 -0
- package/dist/modules/weather/entities/locations.entity.d.ts +5 -0
- package/dist/modules/weather/entities/locations.entity.js +51 -0
- package/dist/modules/weather/entities/locations.entity.js.map +1 -0
- package/dist/modules/weather/models/alert.model.d.ts +12 -0
- package/dist/modules/weather/models/alert.model.js +132 -0
- package/dist/modules/weather/models/alert.model.js.map +1 -0
- package/dist/modules/weather/models/config.model.d.ts +6 -0
- package/dist/modules/weather/models/config.model.js +64 -0
- package/dist/modules/weather/models/config.model.js.map +1 -0
- package/dist/modules/weather/models/history.model.d.ts +35 -0
- package/dist/modules/weather/models/history.model.js +403 -0
- package/dist/modules/weather/models/history.model.js.map +1 -0
- package/dist/modules/weather/models/locations-response.model.d.ts +8 -0
- package/dist/modules/weather/models/locations-response.model.js +46 -0
- package/dist/modules/weather/models/locations-response.model.js.map +1 -0
- package/dist/modules/weather/models/weather-response.model.d.ts +17 -0
- package/dist/modules/weather/models/weather-response.model.js +91 -0
- package/dist/modules/weather/models/weather-response.model.js.map +1 -0
- package/dist/modules/weather/models/weather.model.d.ts +80 -0
- package/dist/modules/weather/models/weather.model.js +673 -0
- package/dist/modules/weather/models/weather.model.js.map +1 -0
- package/dist/modules/weather/platforms/weather-provider.platform.d.ts +14 -0
- package/dist/modules/weather/platforms/weather-provider.platform.js +3 -0
- package/dist/modules/weather/platforms/weather-provider.platform.js.map +1 -0
- package/dist/modules/weather/services/locations-type-mapper.service.d.ts +18 -0
- package/dist/modules/weather/services/locations-type-mapper.service.js +41 -0
- package/dist/modules/weather/services/locations-type-mapper.service.js.map +1 -0
- package/dist/modules/weather/services/locations.service.d.ts +23 -0
- package/dist/modules/weather/services/locations.service.js +186 -0
- package/dist/modules/weather/services/locations.service.js.map +1 -0
- package/dist/modules/weather/services/module-reset.service.d.ts +11 -0
- package/dist/modules/weather/services/module-reset.service.js +47 -0
- package/dist/modules/weather/services/module-reset.service.js.map +1 -0
- package/dist/modules/weather/services/weather-history.service.d.ts +48 -0
- package/dist/modules/weather/services/weather-history.service.js +221 -0
- package/dist/modules/weather/services/weather-history.service.js.map +1 -0
- package/dist/modules/weather/services/weather-provider-registry.service.d.ts +15 -0
- package/dist/modules/weather/services/weather-provider-registry.service.js +52 -0
- package/dist/modules/weather/services/weather-provider-registry.service.js.map +1 -0
- package/dist/modules/weather/services/weather-seeder.service.d.ts +11 -0
- package/dist/modules/weather/services/weather-seeder.service.js +86 -0
- package/dist/modules/weather/services/weather-seeder.service.js.map +1 -0
- package/dist/modules/weather/services/weather.service.d.ts +52 -0
- package/dist/modules/weather/services/weather.service.js +366 -0
- package/dist/modules/weather/services/weather.service.js.map +1 -0
- package/dist/modules/weather/weather.constants.d.ts +10 -0
- package/dist/modules/weather/weather.constants.js +15 -0
- package/dist/modules/weather/weather.constants.js.map +1 -0
- package/dist/modules/weather/weather.exceptions.d.ts +12 -0
- package/dist/modules/weather/weather.exceptions.js +32 -0
- package/dist/modules/weather/weather.exceptions.js.map +1 -0
- package/dist/modules/weather/weather.module.d.ts +19 -0
- package/dist/modules/weather/weather.module.js +137 -0
- package/dist/modules/weather/weather.module.js.map +1 -0
- package/dist/modules/weather/weather.openapi.d.ts +7 -0
- package/dist/modules/weather/weather.openapi.js +35 -0
- package/dist/modules/weather/weather.openapi.js.map +1 -0
- package/dist/modules/websocket/dto/client-user.dto.d.ts +10 -0
- package/dist/modules/websocket/dto/client-user.dto.js +49 -0
- package/dist/modules/websocket/dto/client-user.dto.js.map +1 -0
- package/dist/modules/websocket/dto/command-message.dto.d.ts +4 -0
- package/dist/modules/websocket/dto/command-message.dto.js +25 -0
- package/dist/modules/websocket/dto/command-message.dto.js.map +1 -0
- package/dist/modules/websocket/dto/command-result.dto.d.ts +11 -0
- package/dist/modules/websocket/dto/command-result.dto.js +62 -0
- package/dist/modules/websocket/dto/command-result.dto.js.map +1 -0
- package/dist/modules/websocket/dto/ws-client.dto.d.ts +13 -0
- package/dist/modules/websocket/dto/ws-client.dto.js +52 -0
- package/dist/modules/websocket/dto/ws-client.dto.js.map +1 -0
- package/dist/modules/websocket/gateway/websocket.gateway.d.ts +31 -0
- package/dist/modules/websocket/gateway/websocket.gateway.js +278 -0
- package/dist/modules/websocket/gateway/websocket.gateway.js.map +1 -0
- package/dist/modules/websocket/models/ws.model.d.ts +12 -0
- package/dist/modules/websocket/models/ws.model.js +108 -0
- package/dist/modules/websocket/models/ws.model.js.map +1 -0
- package/dist/modules/websocket/providers/ws-stats.provider.d.ts +8 -0
- package/dist/modules/websocket/providers/ws-stats.provider.js +56 -0
- package/dist/modules/websocket/providers/ws-stats.provider.js.map +1 -0
- package/dist/modules/websocket/services/command-event-registry.service.d.ts +15 -0
- package/dist/modules/websocket/services/command-event-registry.service.js +42 -0
- package/dist/modules/websocket/services/command-event-registry.service.js.map +1 -0
- package/dist/modules/websocket/services/ws-auth.service.d.ts +16 -0
- package/dist/modules/websocket/services/ws-auth.service.js +168 -0
- package/dist/modules/websocket/services/ws-auth.service.js.map +1 -0
- package/dist/modules/websocket/services/ws-metrics.service.d.ts +14 -0
- package/dist/modules/websocket/services/ws-metrics.service.js +74 -0
- package/dist/modules/websocket/services/ws-metrics.service.js.map +1 -0
- package/dist/modules/websocket/utils/ip.utils.d.ts +2 -0
- package/dist/modules/websocket/utils/ip.utils.js +35 -0
- package/dist/modules/websocket/utils/ip.utils.js.map +1 -0
- package/dist/modules/websocket/websocket.constants.d.ts +13 -0
- package/dist/modules/websocket/websocket.constants.js +26 -0
- package/dist/modules/websocket/websocket.constants.js.map +1 -0
- package/dist/modules/websocket/websocket.exceptions.d.ts +6 -0
- package/dist/modules/websocket/websocket.exceptions.js +18 -0
- package/dist/modules/websocket/websocket.exceptions.js.map +1 -0
- package/dist/modules/websocket/websocket.module.d.ts +12 -0
- package/dist/modules/websocket/websocket.module.js +75 -0
- package/dist/modules/websocket/websocket.module.js.map +1 -0
- package/dist/modules/websocket/websocket.openapi.d.ts +2 -0
- package/dist/modules/websocket/websocket.openapi.js +10 -0
- package/dist/modules/websocket/websocket.openapi.js.map +1 -0
- package/dist/plugins/buddy-claude/buddy-claude.constants.d.ts +5 -0
- package/dist/plugins/buddy-claude/buddy-claude.constants.js +9 -0
- package/dist/plugins/buddy-claude/buddy-claude.constants.js.map +1 -0
- package/dist/plugins/buddy-claude/buddy-claude.openapi.d.ts +3 -0
- package/dist/plugins/buddy-claude/buddy-claude.openapi.js +7 -0
- package/dist/plugins/buddy-claude/buddy-claude.openapi.js.map +1 -0
- package/dist/plugins/buddy-claude/buddy-claude.plugin.d.ts +15 -0
- package/dist/plugins/buddy-claude/buddy-claude.plugin.js +97 -0
- package/dist/plugins/buddy-claude/buddy-claude.plugin.js.map +1 -0
- package/dist/plugins/buddy-claude/dto/update-config.dto.d.ts +8 -0
- package/dist/plugins/buddy-claude/dto/update-config.dto.js +73 -0
- package/dist/plugins/buddy-claude/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/buddy-claude/models/config.model.d.ts +7 -0
- package/dist/plugins/buddy-claude/models/config.model.js +75 -0
- package/dist/plugins/buddy-claude/models/config.model.js.map +1 -0
- package/dist/plugins/buddy-claude/platforms/claude.provider.d.ts +14 -0
- package/dist/plugins/buddy-claude/platforms/claude.provider.js +81 -0
- package/dist/plugins/buddy-claude/platforms/claude.provider.js.map +1 -0
- package/dist/plugins/buddy-claude/services/claude-config-validator.service.d.ts +10 -0
- package/dist/plugins/buddy-claude/services/claude-config-validator.service.js +37 -0
- package/dist/plugins/buddy-claude/services/claude-config-validator.service.js.map +1 -0
- package/dist/plugins/buddy-claude-setup-token/buddy-claude-setup-token.constants.d.ts +5 -0
- package/dist/plugins/buddy-claude-setup-token/buddy-claude-setup-token.constants.js +9 -0
- package/dist/plugins/buddy-claude-setup-token/buddy-claude-setup-token.constants.js.map +1 -0
- package/dist/plugins/buddy-claude-setup-token/buddy-claude-setup-token.openapi.d.ts +3 -0
- package/dist/plugins/buddy-claude-setup-token/buddy-claude-setup-token.openapi.js +10 -0
- package/dist/plugins/buddy-claude-setup-token/buddy-claude-setup-token.openapi.js.map +1 -0
- package/dist/plugins/buddy-claude-setup-token/buddy-claude-setup-token.plugin.d.ts +15 -0
- package/dist/plugins/buddy-claude-setup-token/buddy-claude-setup-token.plugin.js +99 -0
- package/dist/plugins/buddy-claude-setup-token/buddy-claude-setup-token.plugin.js.map +1 -0
- package/dist/plugins/buddy-claude-setup-token/dto/update-config.dto.d.ts +8 -0
- package/dist/plugins/buddy-claude-setup-token/dto/update-config.dto.js +74 -0
- package/dist/plugins/buddy-claude-setup-token/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/buddy-claude-setup-token/models/config.model.d.ts +7 -0
- package/dist/plugins/buddy-claude-setup-token/models/config.model.js +76 -0
- package/dist/plugins/buddy-claude-setup-token/models/config.model.js.map +1 -0
- package/dist/plugins/buddy-claude-setup-token/platforms/claude-setup-token.provider.d.ts +14 -0
- package/dist/plugins/buddy-claude-setup-token/platforms/claude-setup-token.provider.js +81 -0
- package/dist/plugins/buddy-claude-setup-token/platforms/claude-setup-token.provider.js.map +1 -0
- package/dist/plugins/buddy-claude-setup-token/services/claude-setup-token-config-validator.service.d.ts +10 -0
- package/dist/plugins/buddy-claude-setup-token/services/claude-setup-token-config-validator.service.js +37 -0
- package/dist/plugins/buddy-claude-setup-token/services/claude-setup-token-config-validator.service.js.map +1 -0
- package/dist/plugins/buddy-discord/buddy-discord.constants.d.ts +6 -0
- package/dist/plugins/buddy-discord/buddy-discord.constants.js +10 -0
- package/dist/plugins/buddy-discord/buddy-discord.constants.js.map +1 -0
- package/dist/plugins/buddy-discord/buddy-discord.openapi.d.ts +3 -0
- package/dist/plugins/buddy-discord/buddy-discord.openapi.js +7 -0
- package/dist/plugins/buddy-discord/buddy-discord.openapi.js.map +1 -0
- package/dist/plugins/buddy-discord/buddy-discord.plugin.d.ts +15 -0
- package/dist/plugins/buddy-discord/buddy-discord.plugin.js +105 -0
- package/dist/plugins/buddy-discord/buddy-discord.plugin.js.map +1 -0
- package/dist/plugins/buddy-discord/dto/update-config.dto.d.ts +11 -0
- package/dist/plugins/buddy-discord/dto/update-config.dto.js +113 -0
- package/dist/plugins/buddy-discord/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/buddy-discord/models/config.model.d.ts +10 -0
- package/dist/plugins/buddy-discord/models/config.model.js +119 -0
- package/dist/plugins/buddy-discord/models/config.model.js.map +1 -0
- package/dist/plugins/buddy-discord/platforms/discord-bot.provider.d.ts +37 -0
- package/dist/plugins/buddy-discord/platforms/discord-bot.provider.js +406 -0
- package/dist/plugins/buddy-discord/platforms/discord-bot.provider.js.map +1 -0
- package/dist/plugins/buddy-discord/services/discord-config-validator.service.d.ts +10 -0
- package/dist/plugins/buddy-discord/services/discord-config-validator.service.js +37 -0
- package/dist/plugins/buddy-discord/services/discord-config-validator.service.js.map +1 -0
- package/dist/plugins/buddy-elevenlabs/buddy-elevenlabs.constants.d.ts +5 -0
- package/dist/plugins/buddy-elevenlabs/buddy-elevenlabs.constants.js +9 -0
- package/dist/plugins/buddy-elevenlabs/buddy-elevenlabs.constants.js.map +1 -0
- package/dist/plugins/buddy-elevenlabs/buddy-elevenlabs.openapi.d.ts +3 -0
- package/dist/plugins/buddy-elevenlabs/buddy-elevenlabs.openapi.js +10 -0
- package/dist/plugins/buddy-elevenlabs/buddy-elevenlabs.openapi.js.map +1 -0
- package/dist/plugins/buddy-elevenlabs/buddy-elevenlabs.plugin.d.ts +19 -0
- package/dist/plugins/buddy-elevenlabs/buddy-elevenlabs.plugin.js +107 -0
- package/dist/plugins/buddy-elevenlabs/buddy-elevenlabs.plugin.js.map +1 -0
- package/dist/plugins/buddy-elevenlabs/dto/update-config.dto.d.ts +8 -0
- package/dist/plugins/buddy-elevenlabs/dto/update-config.dto.js +76 -0
- package/dist/plugins/buddy-elevenlabs/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/buddy-elevenlabs/models/config.model.d.ts +7 -0
- package/dist/plugins/buddy-elevenlabs/models/config.model.js +79 -0
- package/dist/plugins/buddy-elevenlabs/models/config.model.js.map +1 -0
- package/dist/plugins/buddy-elevenlabs/platforms/elevenlabs-stt.provider.d.ts +14 -0
- package/dist/plugins/buddy-elevenlabs/platforms/elevenlabs-stt.provider.js +104 -0
- package/dist/plugins/buddy-elevenlabs/platforms/elevenlabs-stt.provider.js.map +1 -0
- package/dist/plugins/buddy-elevenlabs/platforms/elevenlabs-tts.provider.d.ts +15 -0
- package/dist/plugins/buddy-elevenlabs/platforms/elevenlabs-tts.provider.js +120 -0
- package/dist/plugins/buddy-elevenlabs/platforms/elevenlabs-tts.provider.js.map +1 -0
- package/dist/plugins/buddy-elevenlabs/services/elevenlabs-config-validator.service.d.ts +10 -0
- package/dist/plugins/buddy-elevenlabs/services/elevenlabs-config-validator.service.js +37 -0
- package/dist/plugins/buddy-elevenlabs/services/elevenlabs-config-validator.service.js.map +1 -0
- package/dist/plugins/buddy-ollama/buddy-ollama.constants.d.ts +6 -0
- package/dist/plugins/buddy-ollama/buddy-ollama.constants.js +10 -0
- package/dist/plugins/buddy-ollama/buddy-ollama.constants.js.map +1 -0
- package/dist/plugins/buddy-ollama/buddy-ollama.openapi.d.ts +3 -0
- package/dist/plugins/buddy-ollama/buddy-ollama.openapi.js +7 -0
- package/dist/plugins/buddy-ollama/buddy-ollama.openapi.js.map +1 -0
- package/dist/plugins/buddy-ollama/buddy-ollama.plugin.d.ts +15 -0
- package/dist/plugins/buddy-ollama/buddy-ollama.plugin.js +98 -0
- package/dist/plugins/buddy-ollama/buddy-ollama.plugin.js.map +1 -0
- package/dist/plugins/buddy-ollama/dto/update-config.dto.d.ts +8 -0
- package/dist/plugins/buddy-ollama/dto/update-config.dto.js +74 -0
- package/dist/plugins/buddy-ollama/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/buddy-ollama/models/config.model.d.ts +7 -0
- package/dist/plugins/buddy-ollama/models/config.model.js +76 -0
- package/dist/plugins/buddy-ollama/models/config.model.js.map +1 -0
- package/dist/plugins/buddy-ollama/platforms/ollama.provider.d.ts +15 -0
- package/dist/plugins/buddy-ollama/platforms/ollama.provider.js +127 -0
- package/dist/plugins/buddy-ollama/platforms/ollama.provider.js.map +1 -0
- package/dist/plugins/buddy-ollama/services/ollama-config-validator.service.d.ts +10 -0
- package/dist/plugins/buddy-ollama/services/ollama-config-validator.service.js +37 -0
- package/dist/plugins/buddy-ollama/services/ollama-config-validator.service.js.map +1 -0
- package/dist/plugins/buddy-openai/buddy-openai.constants.d.ts +5 -0
- package/dist/plugins/buddy-openai/buddy-openai.constants.js +9 -0
- package/dist/plugins/buddy-openai/buddy-openai.constants.js.map +1 -0
- package/dist/plugins/buddy-openai/buddy-openai.openapi.d.ts +3 -0
- package/dist/plugins/buddy-openai/buddy-openai.openapi.js +7 -0
- package/dist/plugins/buddy-openai/buddy-openai.openapi.js.map +1 -0
- package/dist/plugins/buddy-openai/buddy-openai.plugin.d.ts +23 -0
- package/dist/plugins/buddy-openai/buddy-openai.plugin.js +117 -0
- package/dist/plugins/buddy-openai/buddy-openai.plugin.js.map +1 -0
- package/dist/plugins/buddy-openai/dto/update-config.dto.d.ts +8 -0
- package/dist/plugins/buddy-openai/dto/update-config.dto.js +73 -0
- package/dist/plugins/buddy-openai/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/buddy-openai/models/config.model.d.ts +7 -0
- package/dist/plugins/buddy-openai/models/config.model.js +75 -0
- package/dist/plugins/buddy-openai/models/config.model.js.map +1 -0
- package/dist/plugins/buddy-openai/platforms/openai-stt.provider.d.ts +14 -0
- package/dist/plugins/buddy-openai/platforms/openai-stt.provider.js +129 -0
- package/dist/plugins/buddy-openai/platforms/openai-stt.provider.js.map +1 -0
- package/dist/plugins/buddy-openai/platforms/openai-tts.provider.d.ts +13 -0
- package/dist/plugins/buddy-openai/platforms/openai-tts.provider.js +114 -0
- package/dist/plugins/buddy-openai/platforms/openai-tts.provider.js.map +1 -0
- package/dist/plugins/buddy-openai/platforms/openai.provider.d.ts +14 -0
- package/dist/plugins/buddy-openai/platforms/openai.provider.js +81 -0
- package/dist/plugins/buddy-openai/platforms/openai.provider.js.map +1 -0
- package/dist/plugins/buddy-openai/services/openai-config-validator.service.d.ts +10 -0
- package/dist/plugins/buddy-openai/services/openai-config-validator.service.js +37 -0
- package/dist/plugins/buddy-openai/services/openai-config-validator.service.js.map +1 -0
- package/dist/plugins/buddy-openai-codex/buddy-openai-codex.constants.d.ts +11 -0
- package/dist/plugins/buddy-openai-codex/buddy-openai-codex.constants.js +15 -0
- package/dist/plugins/buddy-openai-codex/buddy-openai-codex.constants.js.map +1 -0
- package/dist/plugins/buddy-openai-codex/buddy-openai-codex.openapi.d.ts +3 -0
- package/dist/plugins/buddy-openai-codex/buddy-openai-codex.openapi.js +10 -0
- package/dist/plugins/buddy-openai-codex/buddy-openai-codex.openapi.js.map +1 -0
- package/dist/plugins/buddy-openai-codex/buddy-openai-codex.plugin.d.ts +15 -0
- package/dist/plugins/buddy-openai-codex/buddy-openai-codex.plugin.js +104 -0
- package/dist/plugins/buddy-openai-codex/buddy-openai-codex.plugin.js.map +1 -0
- package/dist/plugins/buddy-openai-codex/controllers/oauth.controller.d.ts +20 -0
- package/dist/plugins/buddy-openai-codex/controllers/oauth.controller.js +105 -0
- package/dist/plugins/buddy-openai-codex/controllers/oauth.controller.js.map +1 -0
- package/dist/plugins/buddy-openai-codex/dto/update-config.dto.d.ts +11 -0
- package/dist/plugins/buddy-openai-codex/dto/update-config.dto.js +110 -0
- package/dist/plugins/buddy-openai-codex/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/buddy-openai-codex/models/config.model.d.ts +10 -0
- package/dist/plugins/buddy-openai-codex/models/config.model.js +115 -0
- package/dist/plugins/buddy-openai-codex/models/config.model.js.map +1 -0
- package/dist/plugins/buddy-openai-codex/platforms/openai-codex.provider.d.ts +17 -0
- package/dist/plugins/buddy-openai-codex/platforms/openai-codex.provider.js +195 -0
- package/dist/plugins/buddy-openai-codex/platforms/openai-codex.provider.js.map +1 -0
- package/dist/plugins/buddy-openai-codex/services/openai-codex-config-validator.service.d.ts +10 -0
- package/dist/plugins/buddy-openai-codex/services/openai-codex-config-validator.service.js +44 -0
- package/dist/plugins/buddy-openai-codex/services/openai-codex-config-validator.service.js.map +1 -0
- package/dist/plugins/buddy-stt-whisper-local/buddy-stt-whisper-local.constants.d.ts +5 -0
- package/dist/plugins/buddy-stt-whisper-local/buddy-stt-whisper-local.constants.js +9 -0
- package/dist/plugins/buddy-stt-whisper-local/buddy-stt-whisper-local.constants.js.map +1 -0
- package/dist/plugins/buddy-stt-whisper-local/buddy-stt-whisper-local.openapi.d.ts +3 -0
- package/dist/plugins/buddy-stt-whisper-local/buddy-stt-whisper-local.openapi.js +10 -0
- package/dist/plugins/buddy-stt-whisper-local/buddy-stt-whisper-local.openapi.js.map +1 -0
- package/dist/plugins/buddy-stt-whisper-local/buddy-stt-whisper-local.plugin.d.ts +15 -0
- package/dist/plugins/buddy-stt-whisper-local/buddy-stt-whisper-local.plugin.js +96 -0
- package/dist/plugins/buddy-stt-whisper-local/buddy-stt-whisper-local.plugin.js.map +1 -0
- package/dist/plugins/buddy-stt-whisper-local/dto/update-config.dto.d.ts +8 -0
- package/dist/plugins/buddy-stt-whisper-local/dto/update-config.dto.js +68 -0
- package/dist/plugins/buddy-stt-whisper-local/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/buddy-stt-whisper-local/models/config.model.d.ts +7 -0
- package/dist/plugins/buddy-stt-whisper-local/models/config.model.js +76 -0
- package/dist/plugins/buddy-stt-whisper-local/models/config.model.js.map +1 -0
- package/dist/plugins/buddy-stt-whisper-local/platforms/whisper-local-stt.provider.d.ts +14 -0
- package/dist/plugins/buddy-stt-whisper-local/platforms/whisper-local-stt.provider.js +126 -0
- package/dist/plugins/buddy-stt-whisper-local/platforms/whisper-local-stt.provider.js.map +1 -0
- package/dist/plugins/buddy-system-tts/buddy-system-tts.constants.d.ts +4 -0
- package/dist/plugins/buddy-system-tts/buddy-system-tts.constants.js +8 -0
- package/dist/plugins/buddy-system-tts/buddy-system-tts.constants.js.map +1 -0
- package/dist/plugins/buddy-system-tts/buddy-system-tts.openapi.d.ts +3 -0
- package/dist/plugins/buddy-system-tts/buddy-system-tts.openapi.js +7 -0
- package/dist/plugins/buddy-system-tts/buddy-system-tts.openapi.js.map +1 -0
- package/dist/plugins/buddy-system-tts/buddy-system-tts.plugin.d.ts +15 -0
- package/dist/plugins/buddy-system-tts/buddy-system-tts.plugin.js +98 -0
- package/dist/plugins/buddy-system-tts/buddy-system-tts.plugin.js.map +1 -0
- package/dist/plugins/buddy-system-tts/dto/update-config.dto.d.ts +8 -0
- package/dist/plugins/buddy-system-tts/dto/update-config.dto.js +70 -0
- package/dist/plugins/buddy-system-tts/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/buddy-system-tts/models/config.model.d.ts +7 -0
- package/dist/plugins/buddy-system-tts/models/config.model.js +71 -0
- package/dist/plugins/buddy-system-tts/models/config.model.js.map +1 -0
- package/dist/plugins/buddy-system-tts/platforms/system-tts.provider.d.ts +15 -0
- package/dist/plugins/buddy-system-tts/platforms/system-tts.provider.js +139 -0
- package/dist/plugins/buddy-system-tts/platforms/system-tts.provider.js.map +1 -0
- package/dist/plugins/buddy-telegram/buddy-telegram.constants.d.ts +6 -0
- package/dist/plugins/buddy-telegram/buddy-telegram.constants.js +10 -0
- package/dist/plugins/buddy-telegram/buddy-telegram.constants.js.map +1 -0
- package/dist/plugins/buddy-telegram/buddy-telegram.openapi.d.ts +3 -0
- package/dist/plugins/buddy-telegram/buddy-telegram.openapi.js +7 -0
- package/dist/plugins/buddy-telegram/buddy-telegram.openapi.js.map +1 -0
- package/dist/plugins/buddy-telegram/buddy-telegram.plugin.d.ts +15 -0
- package/dist/plugins/buddy-telegram/buddy-telegram.plugin.js +100 -0
- package/dist/plugins/buddy-telegram/buddy-telegram.plugin.js.map +1 -0
- package/dist/plugins/buddy-telegram/dto/update-config.dto.d.ts +8 -0
- package/dist/plugins/buddy-telegram/dto/update-config.dto.js +72 -0
- package/dist/plugins/buddy-telegram/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/buddy-telegram/models/config.model.d.ts +7 -0
- package/dist/plugins/buddy-telegram/models/config.model.js +75 -0
- package/dist/plugins/buddy-telegram/models/config.model.js.map +1 -0
- package/dist/plugins/buddy-telegram/platforms/telegram-bot.provider.d.ts +33 -0
- package/dist/plugins/buddy-telegram/platforms/telegram-bot.provider.js +304 -0
- package/dist/plugins/buddy-telegram/platforms/telegram-bot.provider.js.map +1 -0
- package/dist/plugins/buddy-telegram/services/telegram-config-validator.service.d.ts +10 -0
- package/dist/plugins/buddy-telegram/services/telegram-config-validator.service.js +37 -0
- package/dist/plugins/buddy-telegram/services/telegram-config-validator.service.js.map +1 -0
- package/dist/plugins/buddy-voiceai/buddy-voiceai.constants.d.ts +5 -0
- package/dist/plugins/buddy-voiceai/buddy-voiceai.constants.js +9 -0
- package/dist/plugins/buddy-voiceai/buddy-voiceai.constants.js.map +1 -0
- package/dist/plugins/buddy-voiceai/buddy-voiceai.openapi.d.ts +3 -0
- package/dist/plugins/buddy-voiceai/buddy-voiceai.openapi.js +7 -0
- package/dist/plugins/buddy-voiceai/buddy-voiceai.openapi.js.map +1 -0
- package/dist/plugins/buddy-voiceai/buddy-voiceai.plugin.d.ts +15 -0
- package/dist/plugins/buddy-voiceai/buddy-voiceai.plugin.js +101 -0
- package/dist/plugins/buddy-voiceai/buddy-voiceai.plugin.js.map +1 -0
- package/dist/plugins/buddy-voiceai/dto/update-config.dto.d.ts +8 -0
- package/dist/plugins/buddy-voiceai/dto/update-config.dto.js +76 -0
- package/dist/plugins/buddy-voiceai/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/buddy-voiceai/models/config.model.d.ts +7 -0
- package/dist/plugins/buddy-voiceai/models/config.model.js +79 -0
- package/dist/plugins/buddy-voiceai/models/config.model.js.map +1 -0
- package/dist/plugins/buddy-voiceai/platforms/voiceai-tts.provider.d.ts +13 -0
- package/dist/plugins/buddy-voiceai/platforms/voiceai-tts.provider.js +91 -0
- package/dist/plugins/buddy-voiceai/platforms/voiceai-tts.provider.js.map +1 -0
- package/dist/plugins/buddy-voiceai/services/voiceai-config-validator.service.d.ts +10 -0
- package/dist/plugins/buddy-voiceai/services/voiceai-config-validator.service.js +37 -0
- package/dist/plugins/buddy-voiceai/services/voiceai-config-validator.service.js.map +1 -0
- package/dist/plugins/buddy-whatsapp/buddy-whatsapp.constants.d.ts +13 -0
- package/dist/plugins/buddy-whatsapp/buddy-whatsapp.constants.js +18 -0
- package/dist/plugins/buddy-whatsapp/buddy-whatsapp.constants.js.map +1 -0
- package/dist/plugins/buddy-whatsapp/buddy-whatsapp.openapi.d.ts +3 -0
- package/dist/plugins/buddy-whatsapp/buddy-whatsapp.openapi.js +7 -0
- package/dist/plugins/buddy-whatsapp/buddy-whatsapp.openapi.js.map +1 -0
- package/dist/plugins/buddy-whatsapp/buddy-whatsapp.plugin.d.ts +15 -0
- package/dist/plugins/buddy-whatsapp/buddy-whatsapp.plugin.js +102 -0
- package/dist/plugins/buddy-whatsapp/buddy-whatsapp.plugin.js.map +1 -0
- package/dist/plugins/buddy-whatsapp/controllers/whatsapp-webhook.controller.d.ts +14 -0
- package/dist/plugins/buddy-whatsapp/controllers/whatsapp-webhook.controller.js +66 -0
- package/dist/plugins/buddy-whatsapp/controllers/whatsapp-webhook.controller.js.map +1 -0
- package/dist/plugins/buddy-whatsapp/dto/update-config.dto.d.ts +7 -0
- package/dist/plugins/buddy-whatsapp/dto/update-config.dto.js +59 -0
- package/dist/plugins/buddy-whatsapp/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/buddy-whatsapp/models/config.model.d.ts +6 -0
- package/dist/plugins/buddy-whatsapp/models/config.model.js +61 -0
- package/dist/plugins/buddy-whatsapp/models/config.model.js.map +1 -0
- package/dist/plugins/buddy-whatsapp/platforms/whatsapp-bot.provider.d.ts +41 -0
- package/dist/plugins/buddy-whatsapp/platforms/whatsapp-bot.provider.js +366 -0
- package/dist/plugins/buddy-whatsapp/platforms/whatsapp-bot.provider.js.map +1 -0
- package/dist/plugins/data-sources-device-channel/data-sources-device-channel.constants.d.ts +2 -0
- package/dist/plugins/data-sources-device-channel/data-sources-device-channel.constants.js +6 -0
- package/dist/plugins/data-sources-device-channel/data-sources-device-channel.constants.js.map +1 -0
- package/dist/plugins/data-sources-device-channel/data-sources-device-channel.openapi.d.ts +5 -0
- package/dist/plugins/data-sources-device-channel/data-sources-device-channel.openapi.js +16 -0
- package/dist/plugins/data-sources-device-channel/data-sources-device-channel.openapi.js.map +1 -0
- package/dist/plugins/data-sources-device-channel/data-sources-device-channel.plugin.d.ts +18 -0
- package/dist/plugins/data-sources-device-channel/data-sources-device-channel.plugin.js +161 -0
- package/dist/plugins/data-sources-device-channel/data-sources-device-channel.plugin.js.map +1 -0
- package/dist/plugins/data-sources-device-channel/dto/create-data-source.dto.d.ts +9 -0
- package/dist/plugins/data-sources-device-channel/dto/create-data-source.dto.js +88 -0
- package/dist/plugins/data-sources-device-channel/dto/create-data-source.dto.js.map +1 -0
- package/dist/plugins/data-sources-device-channel/dto/update-config.dto.d.ts +5 -0
- package/dist/plugins/data-sources-device-channel/dto/update-config.dto.js +34 -0
- package/dist/plugins/data-sources-device-channel/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/data-sources-device-channel/dto/update-data-source.dto.d.ts +9 -0
- package/dist/plugins/data-sources-device-channel/dto/update-data-source.dto.js +94 -0
- package/dist/plugins/data-sources-device-channel/dto/update-data-source.dto.js.map +1 -0
- package/dist/plugins/data-sources-device-channel/entities/data-sources-device-channel.entity.d.ts +12 -0
- package/dist/plugins/data-sources-device-channel/entities/data-sources-device-channel.entity.js +128 -0
- package/dist/plugins/data-sources-device-channel/entities/data-sources-device-channel.entity.js.map +1 -0
- package/dist/plugins/data-sources-device-channel/models/config.model.d.ts +5 -0
- package/dist/plugins/data-sources-device-channel/models/config.model.js +49 -0
- package/dist/plugins/data-sources-device-channel/models/config.model.js.map +1 -0
- package/dist/plugins/data-sources-device-channel/services/data-source-relations-loader.service.d.ts +14 -0
- package/dist/plugins/data-sources-device-channel/services/data-source-relations-loader.service.js +47 -0
- package/dist/plugins/data-sources-device-channel/services/data-source-relations-loader.service.js.map +1 -0
- package/dist/plugins/data-sources-device-channel/validators/channel-property-exists-constraint.validator.d.ts +11 -0
- package/dist/plugins/data-sources-device-channel/validators/channel-property-exists-constraint.validator.js +61 -0
- package/dist/plugins/data-sources-device-channel/validators/channel-property-exists-constraint.validator.js.map +1 -0
- package/dist/plugins/data-sources-device-channel/validators/device-channel-exists-constraint.validator.d.ts +11 -0
- package/dist/plugins/data-sources-device-channel/validators/device-channel-exists-constraint.validator.js +61 -0
- package/dist/plugins/data-sources-device-channel/validators/device-channel-exists-constraint.validator.js.map +1 -0
- package/dist/plugins/data-sources-device-channel/validators/device-exists-constraint.validator.d.ts +9 -0
- package/dist/plugins/data-sources-device-channel/validators/device-exists-constraint.validator.js +49 -0
- package/dist/plugins/data-sources-device-channel/validators/device-exists-constraint.validator.js.map +1 -0
- package/dist/plugins/data-sources-weather/data-sources-weather.constants.d.ts +18 -0
- package/dist/plugins/data-sources-weather/data-sources-weather.constants.js +23 -0
- package/dist/plugins/data-sources-weather/data-sources-weather.constants.js.map +1 -0
- package/dist/plugins/data-sources-weather/data-sources-weather.openapi.d.ts +5 -0
- package/dist/plugins/data-sources-weather/data-sources-weather.openapi.js +19 -0
- package/dist/plugins/data-sources-weather/data-sources-weather.openapi.js.map +1 -0
- package/dist/plugins/data-sources-weather/data-sources-weather.plugin.d.ts +18 -0
- package/dist/plugins/data-sources-weather/data-sources-weather.plugin.js +177 -0
- package/dist/plugins/data-sources-weather/data-sources-weather.plugin.js.map +1 -0
- package/dist/plugins/data-sources-weather/dto/create-data-source.dto.d.ts +17 -0
- package/dist/plugins/data-sources-weather/dto/create-data-source.dto.js +174 -0
- package/dist/plugins/data-sources-weather/dto/create-data-source.dto.js.map +1 -0
- package/dist/plugins/data-sources-weather/dto/update-config.dto.d.ts +6 -0
- package/dist/plugins/data-sources-weather/dto/update-config.dto.js +45 -0
- package/dist/plugins/data-sources-weather/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/data-sources-weather/dto/update-data-source.dto.d.ts +17 -0
- package/dist/plugins/data-sources-weather/dto/update-data-source.dto.js +180 -0
- package/dist/plugins/data-sources-weather/dto/update-data-source.dto.js.map +1 -0
- package/dist/plugins/data-sources-weather/entities/data-sources-weather.entity.d.ts +20 -0
- package/dist/plugins/data-sources-weather/entities/data-sources-weather.entity.js +195 -0
- package/dist/plugins/data-sources-weather/entities/data-sources-weather.entity.js.map +1 -0
- package/dist/plugins/data-sources-weather/models/config.model.d.ts +5 -0
- package/dist/plugins/data-sources-weather/models/config.model.js +47 -0
- package/dist/plugins/data-sources-weather/models/config.model.js.map +1 -0
- package/dist/plugins/data-sources-weather/services/data-source-relations-loader.service.d.ts +10 -0
- package/dist/plugins/data-sources-weather/services/data-source-relations-loader.service.js +35 -0
- package/dist/plugins/data-sources-weather/services/data-source-relations-loader.service.js.map +1 -0
- package/dist/plugins/devices-home-assistant/controllers/home-assistant-discovered-devices.controller.d.ts +18 -0
- package/dist/plugins/devices-home-assistant/controllers/home-assistant-discovered-devices.controller.js +245 -0
- package/dist/plugins/devices-home-assistant/controllers/home-assistant-discovered-devices.controller.js.map +1 -0
- package/dist/plugins/devices-home-assistant/controllers/home-assistant-discovered-helpers.controller.d.ts +18 -0
- package/dist/plugins/devices-home-assistant/controllers/home-assistant-discovered-helpers.controller.js +245 -0
- package/dist/plugins/devices-home-assistant/controllers/home-assistant-discovered-helpers.controller.js.map +1 -0
- package/dist/plugins/devices-home-assistant/controllers/home-assistant-discovery.controller.d.ts +9 -0
- package/dist/plugins/devices-home-assistant/controllers/home-assistant-discovery.controller.js +79 -0
- package/dist/plugins/devices-home-assistant/controllers/home-assistant-discovery.controller.js.map +1 -0
- package/dist/plugins/devices-home-assistant/controllers/home-assistant-registry.controller.d.ts +9 -0
- package/dist/plugins/devices-home-assistant/controllers/home-assistant-registry.controller.js +121 -0
- package/dist/plugins/devices-home-assistant/controllers/home-assistant-registry.controller.js.map +1 -0
- package/dist/plugins/devices-home-assistant/controllers/home-assistant-states.controller.d.ts +9 -0
- package/dist/plugins/devices-home-assistant/controllers/home-assistant-states.controller.js +128 -0
- package/dist/plugins/devices-home-assistant/controllers/home-assistant-states.controller.js.map +1 -0
- package/dist/plugins/devices-home-assistant/devices-home-assistant.constants.d.ts +171 -0
- package/dist/plugins/devices-home-assistant/devices-home-assistant.constants.js +191 -0
- package/dist/plugins/devices-home-assistant/devices-home-assistant.constants.js.map +1 -0
- package/dist/plugins/devices-home-assistant/devices-home-assistant.exceptions.d.ts +12 -0
- package/dist/plugins/devices-home-assistant/devices-home-assistant.exceptions.js +32 -0
- package/dist/plugins/devices-home-assistant/devices-home-assistant.exceptions.js.map +1 -0
- package/dist/plugins/devices-home-assistant/devices-home-assistant.openapi.d.ts +20 -0
- package/dist/plugins/devices-home-assistant/devices-home-assistant.openapi.js +82 -0
- package/dist/plugins/devices-home-assistant/devices-home-assistant.openapi.js.map +1 -0
- package/dist/plugins/devices-home-assistant/devices-home-assistant.plugin.d.ts +44 -0
- package/dist/plugins/devices-home-assistant/devices-home-assistant.plugin.js +469 -0
- package/dist/plugins/devices-home-assistant/devices-home-assistant.plugin.js.map +1 -0
- package/dist/plugins/devices-home-assistant/dto/create-channel-property.dto.d.ts +8 -0
- package/dist/plugins/devices-home-assistant/dto/create-channel-property.dto.js +76 -0
- package/dist/plugins/devices-home-assistant/dto/create-channel-property.dto.js.map +1 -0
- package/dist/plugins/devices-home-assistant/dto/create-channel.dto.d.ts +7 -0
- package/dist/plugins/devices-home-assistant/dto/create-channel.dto.js +49 -0
- package/dist/plugins/devices-home-assistant/dto/create-channel.dto.js.map +1 -0
- package/dist/plugins/devices-home-assistant/dto/create-device.dto.d.ts +6 -0
- package/dist/plugins/devices-home-assistant/dto/create-device.dto.js +45 -0
- package/dist/plugins/devices-home-assistant/dto/create-device.dto.js.map +1 -0
- package/dist/plugins/devices-home-assistant/dto/helper-mapping-preview.dto.d.ts +25 -0
- package/dist/plugins/devices-home-assistant/dto/helper-mapping-preview.dto.js +203 -0
- package/dist/plugins/devices-home-assistant/dto/helper-mapping-preview.dto.js.map +1 -0
- package/dist/plugins/devices-home-assistant/dto/home-assistant-discovered-device.dto.d.ts +5 -0
- package/dist/plugins/devices-home-assistant/dto/home-assistant-discovered-device.dto.js +35 -0
- package/dist/plugins/devices-home-assistant/dto/home-assistant-discovered-device.dto.js.map +1 -0
- package/dist/plugins/devices-home-assistant/dto/home-assistant-discovered-helper.dto.d.ts +5 -0
- package/dist/plugins/devices-home-assistant/dto/home-assistant-discovered-helper.dto.js +33 -0
- package/dist/plugins/devices-home-assistant/dto/home-assistant-discovered-helper.dto.js.map +1 -0
- package/dist/plugins/devices-home-assistant/dto/home-assistant-service-request.dto.d.ts +4 -0
- package/dist/plugins/devices-home-assistant/dto/home-assistant-service-request.dto.js +23 -0
- package/dist/plugins/devices-home-assistant/dto/home-assistant-service-request.dto.js.map +1 -0
- package/dist/plugins/devices-home-assistant/dto/home-assistant-state.dto.d.ts +26 -0
- package/dist/plugins/devices-home-assistant/dto/home-assistant-state.dto.js +142 -0
- package/dist/plugins/devices-home-assistant/dto/home-assistant-state.dto.js.map +1 -0
- package/dist/plugins/devices-home-assistant/dto/mapping-preview.dto.d.ts +33 -0
- package/dist/plugins/devices-home-assistant/dto/mapping-preview.dto.js +278 -0
- package/dist/plugins/devices-home-assistant/dto/mapping-preview.dto.js.map +1 -0
- package/dist/plugins/devices-home-assistant/dto/update-channel-property.dto.d.ts +8 -0
- package/dist/plugins/devices-home-assistant/dto/update-channel-property.dto.js +76 -0
- package/dist/plugins/devices-home-assistant/dto/update-channel-property.dto.js.map +1 -0
- package/dist/plugins/devices-home-assistant/dto/update-channel.dto.d.ts +5 -0
- package/dist/plugins/devices-home-assistant/dto/update-channel.dto.js +33 -0
- package/dist/plugins/devices-home-assistant/dto/update-channel.dto.js.map +1 -0
- package/dist/plugins/devices-home-assistant/dto/update-config.dto.d.ts +7 -0
- package/dist/plugins/devices-home-assistant/dto/update-config.dto.js +60 -0
- package/dist/plugins/devices-home-assistant/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/devices-home-assistant/dto/update-device.dto.d.ts +5 -0
- package/dist/plugins/devices-home-assistant/dto/update-device.dto.js +33 -0
- package/dist/plugins/devices-home-assistant/dto/update-device.dto.js.map +1 -0
- package/dist/plugins/devices-home-assistant/entities/devices-home-assistant.entity.d.ts +19 -0
- package/dist/plugins/devices-home-assistant/entities/devices-home-assistant.entity.js +166 -0
- package/dist/plugins/devices-home-assistant/entities/devices-home-assistant.entity.js.map +1 -0
- package/dist/plugins/devices-home-assistant/mappers/binary-sensor.entity.mapper.service.d.ts +10 -0
- package/dist/plugins/devices-home-assistant/mappers/binary-sensor.entity.mapper.service.js +207 -0
- package/dist/plugins/devices-home-assistant/mappers/binary-sensor.entity.mapper.service.js.map +1 -0
- package/dist/plugins/devices-home-assistant/mappers/climate.entity.mapper.service.d.ts +14 -0
- package/dist/plugins/devices-home-assistant/mappers/climate.entity.mapper.service.js +187 -0
- package/dist/plugins/devices-home-assistant/mappers/climate.entity.mapper.service.js.map +1 -0
- package/dist/plugins/devices-home-assistant/mappers/cover.entity.mapper.service.d.ts +15 -0
- package/dist/plugins/devices-home-assistant/mappers/cover.entity.mapper.service.js +110 -0
- package/dist/plugins/devices-home-assistant/mappers/cover.entity.mapper.service.js.map +1 -0
- package/dist/plugins/devices-home-assistant/mappers/entity.mapper.d.ts +26 -0
- package/dist/plugins/devices-home-assistant/mappers/entity.mapper.js +29 -0
- package/dist/plugins/devices-home-assistant/mappers/entity.mapper.js.map +1 -0
- package/dist/plugins/devices-home-assistant/mappers/light.entity.mapper.service.d.ts +15 -0
- package/dist/plugins/devices-home-assistant/mappers/light.entity.mapper.service.js +250 -0
- package/dist/plugins/devices-home-assistant/mappers/light.entity.mapper.service.js.map +1 -0
- package/dist/plugins/devices-home-assistant/mappers/mapper.service.d.ts +45 -0
- package/dist/plugins/devices-home-assistant/mappers/mapper.service.js +311 -0
- package/dist/plugins/devices-home-assistant/mappers/mapper.service.js.map +1 -0
- package/dist/plugins/devices-home-assistant/mappers/sensor.entity.mapper.service.d.ts +11 -0
- package/dist/plugins/devices-home-assistant/mappers/sensor.entity.mapper.service.js +690 -0
- package/dist/plugins/devices-home-assistant/mappers/sensor.entity.mapper.service.js.map +1 -0
- package/dist/plugins/devices-home-assistant/mappers/switch.entity.mapper.service.d.ts +14 -0
- package/dist/plugins/devices-home-assistant/mappers/switch.entity.mapper.service.js +74 -0
- package/dist/plugins/devices-home-assistant/mappers/switch.entity.mapper.service.js.map +1 -0
- package/dist/plugins/devices-home-assistant/mappers/universal.entity.mapper.service.d.ts +9 -0
- package/dist/plugins/devices-home-assistant/mappers/universal.entity.mapper.service.js +50 -0
- package/dist/plugins/devices-home-assistant/mappers/universal.entity.mapper.service.js.map +1 -0
- package/dist/plugins/devices-home-assistant/mappings/definitions/entity-mappings.yaml +1161 -0
- package/dist/plugins/devices-home-assistant/mappings/definitions/virtual-properties.yaml +159 -0
- package/dist/plugins/devices-home-assistant/mappings/index.d.ts +5 -0
- package/dist/plugins/devices-home-assistant/mappings/index.js +28 -0
- package/dist/plugins/devices-home-assistant/mappings/index.js.map +1 -0
- package/dist/plugins/devices-home-assistant/mappings/mapping-loader.service.d.ts +52 -0
- package/dist/plugins/devices-home-assistant/mappings/mapping-loader.service.js +472 -0
- package/dist/plugins/devices-home-assistant/mappings/mapping-loader.service.js.map +1 -0
- package/dist/plugins/devices-home-assistant/mappings/mapping.types.d.ts +188 -0
- package/dist/plugins/devices-home-assistant/mappings/mapping.types.js +10 -0
- package/dist/plugins/devices-home-assistant/mappings/mapping.types.js.map +1 -0
- package/dist/plugins/devices-home-assistant/mappings/schema/mapping-schema.json +306 -0
- package/dist/plugins/devices-home-assistant/mappings/schema/virtual-properties-schema.json +232 -0
- package/dist/plugins/devices-home-assistant/mappings/transformers/index.d.ts +3 -0
- package/dist/plugins/devices-home-assistant/mappings/transformers/index.js +20 -0
- package/dist/plugins/devices-home-assistant/mappings/transformers/index.js.map +1 -0
- package/dist/plugins/devices-home-assistant/mappings/transformers/transformer.registry.d.ts +43 -0
- package/dist/plugins/devices-home-assistant/mappings/transformers/transformer.registry.js +284 -0
- package/dist/plugins/devices-home-assistant/mappings/transformers/transformer.registry.js.map +1 -0
- package/dist/plugins/devices-home-assistant/mappings/transformers/transformer.types.d.ts +62 -0
- package/dist/plugins/devices-home-assistant/mappings/transformers/transformer.types.js +3 -0
- package/dist/plugins/devices-home-assistant/mappings/transformers/transformer.types.js.map +1 -0
- package/dist/plugins/devices-home-assistant/mappings/transformers/transformers.d.ts +72 -0
- package/dist/plugins/devices-home-assistant/mappings/transformers/transformers.js +378 -0
- package/dist/plugins/devices-home-assistant/mappings/transformers/transformers.js.map +1 -0
- package/dist/plugins/devices-home-assistant/models/config.model.d.ts +6 -0
- package/dist/plugins/devices-home-assistant/models/config.model.js +63 -0
- package/dist/plugins/devices-home-assistant/models/config.model.js.map +1 -0
- package/dist/plugins/devices-home-assistant/models/discovered-instance.model.d.ts +11 -0
- package/dist/plugins/devices-home-assistant/models/discovered-instance.model.js +92 -0
- package/dist/plugins/devices-home-assistant/models/discovered-instance.model.js.map +1 -0
- package/dist/plugins/devices-home-assistant/models/helper-mapping-preview.model.d.ts +45 -0
- package/dist/plugins/devices-home-assistant/models/helper-mapping-preview.model.js +346 -0
- package/dist/plugins/devices-home-assistant/models/helper-mapping-preview.model.js.map +1 -0
- package/dist/plugins/devices-home-assistant/models/home-assistant-response.model.d.ts +26 -0
- package/dist/plugins/devices-home-assistant/models/home-assistant-response.model.js +134 -0
- package/dist/plugins/devices-home-assistant/models/home-assistant-response.model.js.map +1 -0
- package/dist/plugins/devices-home-assistant/models/home-assistant.model.d.ts +63 -0
- package/dist/plugins/devices-home-assistant/models/home-assistant.model.js +730 -0
- package/dist/plugins/devices-home-assistant/models/home-assistant.model.js.map +1 -0
- package/dist/plugins/devices-home-assistant/models/mapping-preview.model.d.ts +76 -0
- package/dist/plugins/devices-home-assistant/models/mapping-preview.model.js +650 -0
- package/dist/plugins/devices-home-assistant/models/mapping-preview.model.js.map +1 -0
- package/dist/plugins/devices-home-assistant/platforms/home-assistant.device.platform.d.ts +24 -0
- package/dist/plugins/devices-home-assistant/platforms/home-assistant.device.platform.js +147 -0
- package/dist/plugins/devices-home-assistant/platforms/home-assistant.device.platform.js.map +1 -0
- package/dist/plugins/devices-home-assistant/services/device-adoption.service.d.ts +26 -0
- package/dist/plugins/devices-home-assistant/services/device-adoption.service.js +733 -0
- package/dist/plugins/devices-home-assistant/services/device-adoption.service.js.map +1 -0
- package/dist/plugins/devices-home-assistant/services/ha-mdns-discoverer.service.d.ts +31 -0
- package/dist/plugins/devices-home-assistant/services/ha-mdns-discoverer.service.js +158 -0
- package/dist/plugins/devices-home-assistant/services/ha-mdns-discoverer.service.js.map +1 -0
- package/dist/plugins/devices-home-assistant/services/helper-adoption.service.d.ts +21 -0
- package/dist/plugins/devices-home-assistant/services/helper-adoption.service.js +284 -0
- package/dist/plugins/devices-home-assistant/services/helper-adoption.service.js.map +1 -0
- package/dist/plugins/devices-home-assistant/services/helper-mapping-preview.service.d.ts +15 -0
- package/dist/plugins/devices-home-assistant/services/helper-mapping-preview.service.js +256 -0
- package/dist/plugins/devices-home-assistant/services/helper-mapping-preview.service.js.map +1 -0
- package/dist/plugins/devices-home-assistant/services/home-assistant-config-validator.service.d.ts +12 -0
- package/dist/plugins/devices-home-assistant/services/home-assistant-config-validator.service.js +102 -0
- package/dist/plugins/devices-home-assistant/services/home-assistant-config-validator.service.js.map +1 -0
- package/dist/plugins/devices-home-assistant/services/home-assistant.http.service.d.ts +44 -0
- package/dist/plugins/devices-home-assistant/services/home-assistant.http.service.js +732 -0
- package/dist/plugins/devices-home-assistant/services/home-assistant.http.service.js.map +1 -0
- package/dist/plugins/devices-home-assistant/services/home-assistant.ws.service.d.ts +50 -0
- package/dist/plugins/devices-home-assistant/services/home-assistant.ws.service.js +397 -0
- package/dist/plugins/devices-home-assistant/services/home-assistant.ws.service.js.map +1 -0
- package/dist/plugins/devices-home-assistant/services/light-capability.analyzer.d.ts +21 -0
- package/dist/plugins/devices-home-assistant/services/light-capability.analyzer.js +139 -0
- package/dist/plugins/devices-home-assistant/services/light-capability.analyzer.js.map +1 -0
- package/dist/plugins/devices-home-assistant/services/mapping-preview.service.d.ts +42 -0
- package/dist/plugins/devices-home-assistant/services/mapping-preview.service.js +836 -0
- package/dist/plugins/devices-home-assistant/services/mapping-preview.service.js.map +1 -0
- package/dist/plugins/devices-home-assistant/services/state-changed.event.service.d.ts +31 -0
- package/dist/plugins/devices-home-assistant/services/state-changed.event.service.js +245 -0
- package/dist/plugins/devices-home-assistant/services/state-changed.event.service.js.map +1 -0
- package/dist/plugins/devices-home-assistant/services/virtual-property.service.d.ts +28 -0
- package/dist/plugins/devices-home-assistant/services/virtual-property.service.js +169 -0
- package/dist/plugins/devices-home-assistant/services/virtual-property.service.js.map +1 -0
- package/dist/plugins/devices-home-assistant/services/virtual-property.types.d.ts +21 -0
- package/dist/plugins/devices-home-assistant/services/virtual-property.types.js +3 -0
- package/dist/plugins/devices-home-assistant/services/virtual-property.types.js.map +1 -0
- package/dist/plugins/devices-home-assistant/subscribers/devices-service.subscriber.d.ts +13 -0
- package/dist/plugins/devices-home-assistant/subscribers/devices-service.subscriber.js +125 -0
- package/dist/plugins/devices-home-assistant/subscribers/devices-service.subscriber.js.map +1 -0
- package/dist/plugins/devices-reterminal/devices-reterminal.constants.d.ts +82 -0
- package/dist/plugins/devices-reterminal/devices-reterminal.constants.js +354 -0
- package/dist/plugins/devices-reterminal/devices-reterminal.constants.js.map +1 -0
- package/dist/plugins/devices-reterminal/devices-reterminal.exceptions.d.ts +4 -0
- package/dist/plugins/devices-reterminal/devices-reterminal.exceptions.js +11 -0
- package/dist/plugins/devices-reterminal/devices-reterminal.exceptions.js.map +1 -0
- package/dist/plugins/devices-reterminal/devices-reterminal.openapi.d.ts +8 -0
- package/dist/plugins/devices-reterminal/devices-reterminal.openapi.js +28 -0
- package/dist/plugins/devices-reterminal/devices-reterminal.openapi.js.map +1 -0
- package/dist/plugins/devices-reterminal/devices-reterminal.plugin.d.ts +26 -0
- package/dist/plugins/devices-reterminal/devices-reterminal.plugin.js +221 -0
- package/dist/plugins/devices-reterminal/devices-reterminal.plugin.js.map +1 -0
- package/dist/plugins/devices-reterminal/dto/create-channel-property.dto.d.ts +5 -0
- package/dist/plugins/devices-reterminal/dto/create-channel-property.dto.js +35 -0
- package/dist/plugins/devices-reterminal/dto/create-channel-property.dto.js.map +1 -0
- package/dist/plugins/devices-reterminal/dto/create-channel.dto.d.ts +5 -0
- package/dist/plugins/devices-reterminal/dto/create-channel.dto.js +35 -0
- package/dist/plugins/devices-reterminal/dto/create-channel.dto.js.map +1 -0
- package/dist/plugins/devices-reterminal/dto/create-device.dto.d.ts +6 -0
- package/dist/plugins/devices-reterminal/dto/create-device.dto.js +49 -0
- package/dist/plugins/devices-reterminal/dto/create-device.dto.js.map +1 -0
- package/dist/plugins/devices-reterminal/dto/update-channel-property.dto.d.ts +5 -0
- package/dist/plugins/devices-reterminal/dto/update-channel-property.dto.js +35 -0
- package/dist/plugins/devices-reterminal/dto/update-channel-property.dto.js.map +1 -0
- package/dist/plugins/devices-reterminal/dto/update-channel.dto.d.ts +5 -0
- package/dist/plugins/devices-reterminal/dto/update-channel.dto.js +35 -0
- package/dist/plugins/devices-reterminal/dto/update-channel.dto.js.map +1 -0
- package/dist/plugins/devices-reterminal/dto/update-config.dto.d.ts +9 -0
- package/dist/plugins/devices-reterminal/dto/update-config.dto.js +66 -0
- package/dist/plugins/devices-reterminal/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/devices-reterminal/dto/update-device.dto.d.ts +6 -0
- package/dist/plugins/devices-reterminal/dto/update-device.dto.js +47 -0
- package/dist/plugins/devices-reterminal/dto/update-device.dto.js.map +1 -0
- package/dist/plugins/devices-reterminal/entities/devices-reterminal.entity.d.ts +15 -0
- package/dist/plugins/devices-reterminal/entities/devices-reterminal.entity.js +108 -0
- package/dist/plugins/devices-reterminal/entities/devices-reterminal.entity.js.map +1 -0
- package/dist/plugins/devices-reterminal/index.d.ts +18 -0
- package/dist/plugins/devices-reterminal/index.js +35 -0
- package/dist/plugins/devices-reterminal/index.js.map +1 -0
- package/dist/plugins/devices-reterminal/models/config.model.d.ts +8 -0
- package/dist/plugins/devices-reterminal/models/config.model.js +68 -0
- package/dist/plugins/devices-reterminal/models/config.model.js.map +1 -0
- package/dist/plugins/devices-reterminal/platforms/reterminal.device.platform.d.ts +16 -0
- package/dist/plugins/devices-reterminal/platforms/reterminal.device.platform.js +148 -0
- package/dist/plugins/devices-reterminal/platforms/reterminal.device.platform.js.map +1 -0
- package/dist/plugins/devices-reterminal/services/device-mapper.service.d.ts +29 -0
- package/dist/plugins/devices-reterminal/services/device-mapper.service.js +221 -0
- package/dist/plugins/devices-reterminal/services/device-mapper.service.js.map +1 -0
- package/dist/plugins/devices-reterminal/services/reterminal-button.service.d.ts +19 -0
- package/dist/plugins/devices-reterminal/services/reterminal-button.service.js +242 -0
- package/dist/plugins/devices-reterminal/services/reterminal-button.service.js.map +1 -0
- package/dist/plugins/devices-reterminal/services/reterminal-sysfs.service.d.ts +13 -0
- package/dist/plugins/devices-reterminal/services/reterminal-sysfs.service.js +162 -0
- package/dist/plugins/devices-reterminal/services/reterminal-sysfs.service.js.map +1 -0
- package/dist/plugins/devices-reterminal/services/reterminal.service.d.ts +24 -0
- package/dist/plugins/devices-reterminal/services/reterminal.service.js +110 -0
- package/dist/plugins/devices-reterminal/services/reterminal.service.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/controllers/shelly-ng-devices.controller.d.ts +13 -0
- package/dist/plugins/devices-shelly-ng/controllers/shelly-ng-devices.controller.js +206 -0
- package/dist/plugins/devices-shelly-ng/controllers/shelly-ng-devices.controller.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/delegates/delegates-manager.service.d.ts +60 -0
- package/dist/plugins/devices-shelly-ng/delegates/delegates-manager.service.js +1117 -0
- package/dist/plugins/devices-shelly-ng/delegates/delegates-manager.service.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/delegates/shelly-device.delegate.d.ts +30 -0
- package/dist/plugins/devices-shelly-ng/delegates/shelly-device.delegate.js +178 -0
- package/dist/plugins/devices-shelly-ng/delegates/shelly-device.delegate.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.constants.d.ts +94 -0
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.constants.js +673 -0
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.constants.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.exceptions.d.ts +15 -0
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.exceptions.js +39 -0
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.exceptions.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.openapi.d.ts +9 -0
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.openapi.js +43 -0
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.openapi.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.plugin.d.ts +26 -0
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.plugin.js +235 -0
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.plugin.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/dto/create-channel-property.dto.d.ts +5 -0
- package/dist/plugins/devices-shelly-ng/dto/create-channel-property.dto.js +35 -0
- package/dist/plugins/devices-shelly-ng/dto/create-channel-property.dto.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/dto/create-channel.dto.d.ts +5 -0
- package/dist/plugins/devices-shelly-ng/dto/create-channel.dto.js +35 -0
- package/dist/plugins/devices-shelly-ng/dto/create-channel.dto.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/dto/create-device.dto.d.ts +7 -0
- package/dist/plugins/devices-shelly-ng/dto/create-device.dto.js +64 -0
- package/dist/plugins/devices-shelly-ng/dto/create-device.dto.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/dto/shelly-ng-get-info.dto.d.ts +7 -0
- package/dist/plugins/devices-shelly-ng/dto/shelly-ng-get-info.dto.js +63 -0
- package/dist/plugins/devices-shelly-ng/dto/shelly-ng-get-info.dto.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/dto/update-channel-property.dto.d.ts +7 -0
- package/dist/plugins/devices-shelly-ng/dto/update-channel-property.dto.js +53 -0
- package/dist/plugins/devices-shelly-ng/dto/update-channel-property.dto.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/dto/update-channel.dto.d.ts +7 -0
- package/dist/plugins/devices-shelly-ng/dto/update-channel.dto.js +53 -0
- package/dist/plugins/devices-shelly-ng/dto/update-channel.dto.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/dto/update-config.dto.d.ts +16 -0
- package/dist/plugins/devices-shelly-ng/dto/update-config.dto.js +148 -0
- package/dist/plugins/devices-shelly-ng/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/dto/update-device.dto.d.ts +7 -0
- package/dist/plugins/devices-shelly-ng/dto/update-device.dto.js +59 -0
- package/dist/plugins/devices-shelly-ng/dto/update-device.dto.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/entities/devices-shelly-ng.entity.d.ts +15 -0
- package/dist/plugins/devices-shelly-ng/entities/devices-shelly-ng.entity.js +122 -0
- package/dist/plugins/devices-shelly-ng/entities/devices-shelly-ng.entity.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/mappings/definitions/covers.yaml +70 -0
- package/dist/plugins/devices-shelly-ng/mappings/definitions/derivation-rules.yaml +33 -0
- package/dist/plugins/devices-shelly-ng/mappings/definitions/lights.yaml +42 -0
- package/dist/plugins/devices-shelly-ng/mappings/definitions/power.yaml +70 -0
- package/dist/plugins/devices-shelly-ng/mappings/definitions/rgb.yaml +157 -0
- package/dist/plugins/devices-shelly-ng/mappings/definitions/sensors.yaml +95 -0
- package/dist/plugins/devices-shelly-ng/mappings/definitions/switches.yaml +115 -0
- package/dist/plugins/devices-shelly-ng/mappings/index.d.ts +5 -0
- package/dist/plugins/devices-shelly-ng/mappings/index.js +22 -0
- package/dist/plugins/devices-shelly-ng/mappings/index.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/mappings/mapping-loader.service.d.ts +68 -0
- package/dist/plugins/devices-shelly-ng/mappings/mapping-loader.service.js +592 -0
- package/dist/plugins/devices-shelly-ng/mappings/mapping-loader.service.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/mappings/mapping.constants.d.ts +7 -0
- package/dist/plugins/devices-shelly-ng/mappings/mapping.constants.js +10 -0
- package/dist/plugins/devices-shelly-ng/mappings/mapping.constants.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/mappings/mapping.types.d.ts +179 -0
- package/dist/plugins/devices-shelly-ng/mappings/mapping.types.js +3 -0
- package/dist/plugins/devices-shelly-ng/mappings/mapping.types.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/mappings/property-mapping-storage.service.d.ts +9 -0
- package/dist/plugins/devices-shelly-ng/mappings/property-mapping-storage.service.js +41 -0
- package/dist/plugins/devices-shelly-ng/mappings/property-mapping-storage.service.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/mappings/schema/mapping-schema.json +308 -0
- package/dist/plugins/devices-shelly-ng/mappings/transformers/index.d.ts +3 -0
- package/dist/plugins/devices-shelly-ng/mappings/transformers/index.js +20 -0
- package/dist/plugins/devices-shelly-ng/mappings/transformers/index.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/mappings/transformers/transformer.registry.d.ts +12 -0
- package/dist/plugins/devices-shelly-ng/mappings/transformers/transformer.registry.js +101 -0
- package/dist/plugins/devices-shelly-ng/mappings/transformers/transformer.registry.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/mappings/transformers/transformer.types.d.ts +67 -0
- package/dist/plugins/devices-shelly-ng/mappings/transformers/transformer.types.js +3 -0
- package/dist/plugins/devices-shelly-ng/mappings/transformers/transformer.types.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/mappings/transformers/transformers.d.ts +67 -0
- package/dist/plugins/devices-shelly-ng/mappings/transformers/transformers.js +339 -0
- package/dist/plugins/devices-shelly-ng/mappings/transformers/transformers.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/models/config.model.d.ts +15 -0
- package/dist/plugins/devices-shelly-ng/models/config.model.js +137 -0
- package/dist/plugins/devices-shelly-ng/models/config.model.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/models/shelly-ng-response.model.d.ts +11 -0
- package/dist/plugins/devices-shelly-ng/models/shelly-ng-response.model.js +60 -0
- package/dist/plugins/devices-shelly-ng/models/shelly-ng-response.model.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/models/shelly-ng.model.d.ts +54 -0
- package/dist/plugins/devices-shelly-ng/models/shelly-ng.model.js +432 -0
- package/dist/plugins/devices-shelly-ng/models/shelly-ng.model.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/platforms/shelly-ng.device.platform.d.ts +14 -0
- package/dist/plugins/devices-shelly-ng/platforms/shelly-ng.device.platform.js +113 -0
- package/dist/plugins/devices-shelly-ng/platforms/shelly-ng.device.platform.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/services/database-discoverer.service.d.ts +10 -0
- package/dist/plugins/devices-shelly-ng/services/database-discoverer.service.js +54 -0
- package/dist/plugins/devices-shelly-ng/services/database-discoverer.service.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/services/device-manager.service.d.ts +56 -0
- package/dist/plugins/devices-shelly-ng/services/device-manager.service.js +1117 -0
- package/dist/plugins/devices-shelly-ng/services/device-manager.service.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/services/shelly-ng.service.d.ts +50 -0
- package/dist/plugins/devices-shelly-ng/services/shelly-ng.service.js +357 -0
- package/dist/plugins/devices-shelly-ng/services/shelly-ng.service.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/services/shelly-rpc-client.service.d.ts +670 -0
- package/dist/plugins/devices-shelly-ng/services/shelly-rpc-client.service.js +177 -0
- package/dist/plugins/devices-shelly-ng/services/shelly-rpc-client.service.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/subscribers/device-entity.subscriber.d.ts +17 -0
- package/dist/plugins/devices-shelly-ng/subscribers/device-entity.subscriber.js +84 -0
- package/dist/plugins/devices-shelly-ng/subscribers/device-entity.subscriber.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/utils/transform.utils.d.ts +10 -0
- package/dist/plugins/devices-shelly-ng/utils/transform.utils.js +32 -0
- package/dist/plugins/devices-shelly-ng/utils/transform.utils.js.map +1 -0
- package/dist/plugins/devices-shelly-v1/controllers/shelly-v1-devices.controller.d.ts +10 -0
- package/dist/plugins/devices-shelly-v1/controllers/shelly-v1-devices.controller.js +135 -0
- package/dist/plugins/devices-shelly-v1/controllers/shelly-v1-devices.controller.js.map +1 -0
- package/dist/plugins/devices-shelly-v1/devices-shelly-v1.constants.d.ts +64 -0
- package/dist/plugins/devices-shelly-v1/devices-shelly-v1.constants.js +1787 -0
- package/dist/plugins/devices-shelly-v1/devices-shelly-v1.constants.js.map +1 -0
- package/dist/plugins/devices-shelly-v1/devices-shelly-v1.exceptions.d.ts +16 -0
- package/dist/plugins/devices-shelly-v1/devices-shelly-v1.exceptions.js +35 -0
- package/dist/plugins/devices-shelly-v1/devices-shelly-v1.exceptions.js.map +1 -0
- package/dist/plugins/devices-shelly-v1/devices-shelly-v1.openapi.d.ts +10 -0
- package/dist/plugins/devices-shelly-v1/devices-shelly-v1.openapi.js +36 -0
- package/dist/plugins/devices-shelly-v1/devices-shelly-v1.openapi.js.map +1 -0
- package/dist/plugins/devices-shelly-v1/devices-shelly-v1.plugin.d.ts +26 -0
- package/dist/plugins/devices-shelly-v1/devices-shelly-v1.plugin.js +235 -0
- package/dist/plugins/devices-shelly-v1/devices-shelly-v1.plugin.js.map +1 -0
- package/dist/plugins/devices-shelly-v1/dto/create-channel-property.dto.d.ts +5 -0
- package/dist/plugins/devices-shelly-v1/dto/create-channel-property.dto.js +35 -0
- package/dist/plugins/devices-shelly-v1/dto/create-channel-property.dto.js.map +1 -0
- package/dist/plugins/devices-shelly-v1/dto/create-channel.dto.d.ts +5 -0
- package/dist/plugins/devices-shelly-v1/dto/create-channel.dto.js +35 -0
- package/dist/plugins/devices-shelly-v1/dto/create-channel.dto.js.map +1 -0
- package/dist/plugins/devices-shelly-v1/dto/create-device.dto.d.ts +7 -0
- package/dist/plugins/devices-shelly-v1/dto/create-device.dto.js +61 -0
- package/dist/plugins/devices-shelly-v1/dto/create-device.dto.js.map +1 -0
- package/dist/plugins/devices-shelly-v1/dto/shelly-v1-probe.dto.d.ts +7 -0
- package/dist/plugins/devices-shelly-v1/dto/shelly-v1-probe.dto.js +63 -0
- package/dist/plugins/devices-shelly-v1/dto/shelly-v1-probe.dto.js.map +1 -0
- package/dist/plugins/devices-shelly-v1/dto/update-channel-property.dto.d.ts +7 -0
- package/dist/plugins/devices-shelly-v1/dto/update-channel-property.dto.js +53 -0
- package/dist/plugins/devices-shelly-v1/dto/update-channel-property.dto.js.map +1 -0
- package/dist/plugins/devices-shelly-v1/dto/update-channel.dto.d.ts +7 -0
- package/dist/plugins/devices-shelly-v1/dto/update-channel.dto.js +53 -0
- package/dist/plugins/devices-shelly-v1/dto/update-channel.dto.js.map +1 -0
- package/dist/plugins/devices-shelly-v1/dto/update-config.dto.d.ts +15 -0
- package/dist/plugins/devices-shelly-v1/dto/update-config.dto.js +124 -0
- package/dist/plugins/devices-shelly-v1/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/devices-shelly-v1/dto/update-device.dto.d.ts +7 -0
- package/dist/plugins/devices-shelly-v1/dto/update-device.dto.js +59 -0
- package/dist/plugins/devices-shelly-v1/dto/update-device.dto.js.map +1 -0
- package/dist/plugins/devices-shelly-v1/entities/devices-shelly-v1.entity.d.ts +15 -0
- package/dist/plugins/devices-shelly-v1/entities/devices-shelly-v1.entity.js +122 -0
- package/dist/plugins/devices-shelly-v1/entities/devices-shelly-v1.entity.js.map +1 -0
- package/dist/plugins/devices-shelly-v1/interfaces/shellies.interface.d.ts +66 -0
- package/dist/plugins/devices-shelly-v1/interfaces/shellies.interface.js +12 -0
- package/dist/plugins/devices-shelly-v1/interfaces/shellies.interface.js.map +1 -0
- package/dist/plugins/devices-shelly-v1/interfaces/shelly-http.interface.d.ts +81 -0
- package/dist/plugins/devices-shelly-v1/interfaces/shelly-http.interface.js +3 -0
- package/dist/plugins/devices-shelly-v1/interfaces/shelly-http.interface.js.map +1 -0
- package/dist/plugins/devices-shelly-v1/lib/shellies.d.ts +3 -0
- package/dist/plugins/devices-shelly-v1/lib/shellies.js +5 -0
- package/dist/plugins/devices-shelly-v1/lib/shellies.js.map +1 -0
- package/dist/plugins/devices-shelly-v1/models/config.model.d.ts +14 -0
- package/dist/plugins/devices-shelly-v1/models/config.model.js +124 -0
- package/dist/plugins/devices-shelly-v1/models/config.model.js.map +1 -0
- package/dist/plugins/devices-shelly-v1/models/shelly-v1-response.model.d.ts +8 -0
- package/dist/plugins/devices-shelly-v1/models/shelly-v1-response.model.js +46 -0
- package/dist/plugins/devices-shelly-v1/models/shelly-v1-response.model.js.map +1 -0
- package/dist/plugins/devices-shelly-v1/models/shelly-v1.model.d.ts +18 -0
- package/dist/plugins/devices-shelly-v1/models/shelly-v1.model.js +170 -0
- package/dist/plugins/devices-shelly-v1/models/shelly-v1.model.js.map +1 -0
- package/dist/plugins/devices-shelly-v1/platforms/shelly-v1.device.platform.d.ts +22 -0
- package/dist/plugins/devices-shelly-v1/platforms/shelly-v1.device.platform.js +314 -0
- package/dist/plugins/devices-shelly-v1/platforms/shelly-v1.device.platform.js.map +1 -0
- package/dist/plugins/devices-shelly-v1/services/device-mapper.service.d.ts +35 -0
- package/dist/plugins/devices-shelly-v1/services/device-mapper.service.js +543 -0
- package/dist/plugins/devices-shelly-v1/services/device-mapper.service.js.map +1 -0
- package/dist/plugins/devices-shelly-v1/services/shellies-adapter.service.d.ts +28 -0
- package/dist/plugins/devices-shelly-v1/services/shellies-adapter.service.js +237 -0
- package/dist/plugins/devices-shelly-v1/services/shellies-adapter.service.js.map +1 -0
- package/dist/plugins/devices-shelly-v1/services/shelly-v1-http-client.service.d.ts +10 -0
- package/dist/plugins/devices-shelly-v1/services/shelly-v1-http-client.service.js +74 -0
- package/dist/plugins/devices-shelly-v1/services/shelly-v1-http-client.service.js.map +1 -0
- package/dist/plugins/devices-shelly-v1/services/shelly-v1-probe.service.d.ts +10 -0
- package/dist/plugins/devices-shelly-v1/services/shelly-v1-probe.service.js +104 -0
- package/dist/plugins/devices-shelly-v1/services/shelly-v1-probe.service.js.map +1 -0
- package/dist/plugins/devices-shelly-v1/services/shelly-v1.service.d.ts +43 -0
- package/dist/plugins/devices-shelly-v1/services/shelly-v1.service.js +488 -0
- package/dist/plugins/devices-shelly-v1/services/shelly-v1.service.js.map +1 -0
- package/dist/plugins/devices-shelly-v1/subscribers/device-entity.subscriber.d.ts +19 -0
- package/dist/plugins/devices-shelly-v1/subscribers/device-entity.subscriber.js +130 -0
- package/dist/plugins/devices-shelly-v1/subscribers/device-entity.subscriber.js.map +1 -0
- package/dist/plugins/devices-shelly-v1/utils/synthetic-properties.utils.d.ts +10 -0
- package/dist/plugins/devices-shelly-v1/utils/synthetic-properties.utils.js +117 -0
- package/dist/plugins/devices-shelly-v1/utils/synthetic-properties.utils.js.map +1 -0
- package/dist/plugins/devices-shelly-v1/utils/value-mapping.utils.d.ts +14 -0
- package/dist/plugins/devices-shelly-v1/utils/value-mapping.utils.js +96 -0
- package/dist/plugins/devices-shelly-v1/utils/value-mapping.utils.js.map +1 -0
- package/dist/plugins/devices-third-party/controllers/third-party-demo.controller.d.ts +10 -0
- package/dist/plugins/devices-third-party/controllers/third-party-demo.controller.js +138 -0
- package/dist/plugins/devices-third-party/controllers/third-party-demo.controller.js.map +1 -0
- package/dist/plugins/devices-third-party/devices-third-party.constants.d.ts +19 -0
- package/dist/plugins/devices-third-party/devices-third-party.constants.js +24 -0
- package/dist/plugins/devices-third-party/devices-third-party.constants.js.map +1 -0
- package/dist/plugins/devices-third-party/devices-third-party.openapi.d.ts +13 -0
- package/dist/plugins/devices-third-party/devices-third-party.openapi.js +37 -0
- package/dist/plugins/devices-third-party/devices-third-party.openapi.js.map +1 -0
- package/dist/plugins/devices-third-party/devices-third-party.plugin.d.ts +22 -0
- package/dist/plugins/devices-third-party/devices-third-party.plugin.js +213 -0
- package/dist/plugins/devices-third-party/devices-third-party.plugin.js.map +1 -0
- package/dist/plugins/devices-third-party/dto/create-channel-property.dto.d.ts +5 -0
- package/dist/plugins/devices-third-party/dto/create-channel-property.dto.js +35 -0
- package/dist/plugins/devices-third-party/dto/create-channel-property.dto.js.map +1 -0
- package/dist/plugins/devices-third-party/dto/create-channel.dto.d.ts +5 -0
- package/dist/plugins/devices-third-party/dto/create-channel.dto.js +35 -0
- package/dist/plugins/devices-third-party/dto/create-channel.dto.js.map +1 -0
- package/dist/plugins/devices-third-party/dto/create-device.dto.d.ts +6 -0
- package/dist/plugins/devices-third-party/dto/create-device.dto.js +46 -0
- package/dist/plugins/devices-third-party/dto/create-device.dto.js.map +1 -0
- package/dist/plugins/devices-third-party/dto/third-party-property-update-request.dto.d.ts +9 -0
- package/dist/plugins/devices-third-party/dto/third-party-property-update-request.dto.js +86 -0
- package/dist/plugins/devices-third-party/dto/third-party-property-update-request.dto.js.map +1 -0
- package/dist/plugins/devices-third-party/dto/third-party-property-update-response.dto.d.ts +10 -0
- package/dist/plugins/devices-third-party/dto/third-party-property-update-response.dto.js +84 -0
- package/dist/plugins/devices-third-party/dto/third-party-property-update-response.dto.js.map +1 -0
- package/dist/plugins/devices-third-party/dto/update-channel-property.dto.d.ts +5 -0
- package/dist/plugins/devices-third-party/dto/update-channel-property.dto.js +35 -0
- package/dist/plugins/devices-third-party/dto/update-channel-property.dto.js.map +1 -0
- package/dist/plugins/devices-third-party/dto/update-channel.dto.d.ts +5 -0
- package/dist/plugins/devices-third-party/dto/update-channel.dto.js +35 -0
- package/dist/plugins/devices-third-party/dto/update-channel.dto.js.map +1 -0
- package/dist/plugins/devices-third-party/dto/update-config.dto.d.ts +5 -0
- package/dist/plugins/devices-third-party/dto/update-config.dto.js +33 -0
- package/dist/plugins/devices-third-party/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/devices-third-party/dto/update-device.dto.d.ts +6 -0
- package/dist/plugins/devices-third-party/dto/update-device.dto.js +48 -0
- package/dist/plugins/devices-third-party/dto/update-device.dto.js.map +1 -0
- package/dist/plugins/devices-third-party/entities/devices-third-party.entity.d.ts +11 -0
- package/dist/plugins/devices-third-party/entities/devices-third-party.entity.js +95 -0
- package/dist/plugins/devices-third-party/entities/devices-third-party.entity.js.map +1 -0
- package/dist/plugins/devices-third-party/models/config.model.d.ts +5 -0
- package/dist/plugins/devices-third-party/models/config.model.js +47 -0
- package/dist/plugins/devices-third-party/models/config.model.js.map +1 -0
- package/dist/plugins/devices-third-party/models/demo-control-response.model.d.ts +4 -0
- package/dist/plugins/devices-third-party/models/demo-control-response.model.js +32 -0
- package/dist/plugins/devices-third-party/models/demo-control-response.model.js.map +1 -0
- package/dist/plugins/devices-third-party/models/demo-control.model.d.ts +13 -0
- package/dist/plugins/devices-third-party/models/demo-control.model.js +95 -0
- package/dist/plugins/devices-third-party/models/demo-control.model.js.map +1 -0
- package/dist/plugins/devices-third-party/platforms/third-party-device.platform.d.ts +13 -0
- package/dist/plugins/devices-third-party/platforms/third-party-device.platform.js +103 -0
- package/dist/plugins/devices-third-party/platforms/third-party-device.platform.js.map +1 -0
- package/dist/plugins/devices-wled/controllers/wled-discovery.controller.d.ts +8 -0
- package/dist/plugins/devices-wled/controllers/wled-discovery.controller.js +61 -0
- package/dist/plugins/devices-wled/controllers/wled-discovery.controller.js.map +1 -0
- package/dist/plugins/devices-wled/devices-wled.constants.d.ts +77 -0
- package/dist/plugins/devices-wled/devices-wled.constants.js +277 -0
- package/dist/plugins/devices-wled/devices-wled.constants.js.map +1 -0
- package/dist/plugins/devices-wled/devices-wled.exceptions.d.ts +13 -0
- package/dist/plugins/devices-wled/devices-wled.exceptions.js +29 -0
- package/dist/plugins/devices-wled/devices-wled.exceptions.js.map +1 -0
- package/dist/plugins/devices-wled/devices-wled.openapi.d.ts +9 -0
- package/dist/plugins/devices-wled/devices-wled.openapi.js +33 -0
- package/dist/plugins/devices-wled/devices-wled.openapi.js.map +1 -0
- package/dist/plugins/devices-wled/devices-wled.plugin.d.ts +26 -0
- package/dist/plugins/devices-wled/devices-wled.plugin.js +228 -0
- package/dist/plugins/devices-wled/devices-wled.plugin.js.map +1 -0
- package/dist/plugins/devices-wled/dto/create-channel-property.dto.d.ts +5 -0
- package/dist/plugins/devices-wled/dto/create-channel-property.dto.js +35 -0
- package/dist/plugins/devices-wled/dto/create-channel-property.dto.js.map +1 -0
- package/dist/plugins/devices-wled/dto/create-channel.dto.d.ts +5 -0
- package/dist/plugins/devices-wled/dto/create-channel.dto.js +35 -0
- package/dist/plugins/devices-wled/dto/create-channel.dto.js.map +1 -0
- package/dist/plugins/devices-wled/dto/create-device.dto.d.ts +6 -0
- package/dist/plugins/devices-wled/dto/create-device.dto.js +49 -0
- package/dist/plugins/devices-wled/dto/create-device.dto.js.map +1 -0
- package/dist/plugins/devices-wled/dto/update-channel-property.dto.d.ts +5 -0
- package/dist/plugins/devices-wled/dto/update-channel-property.dto.js +35 -0
- package/dist/plugins/devices-wled/dto/update-channel-property.dto.js.map +1 -0
- package/dist/plugins/devices-wled/dto/update-channel.dto.d.ts +5 -0
- package/dist/plugins/devices-wled/dto/update-channel.dto.js +35 -0
- package/dist/plugins/devices-wled/dto/update-channel.dto.js.map +1 -0
- package/dist/plugins/devices-wled/dto/update-config.dto.d.ts +25 -0
- package/dist/plugins/devices-wled/dto/update-config.dto.js +213 -0
- package/dist/plugins/devices-wled/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/devices-wled/dto/update-device.dto.d.ts +6 -0
- package/dist/plugins/devices-wled/dto/update-device.dto.js +47 -0
- package/dist/plugins/devices-wled/dto/update-device.dto.js.map +1 -0
- package/dist/plugins/devices-wled/entities/devices-wled.entity.d.ts +14 -0
- package/dist/plugins/devices-wled/entities/devices-wled.entity.js +108 -0
- package/dist/plugins/devices-wled/entities/devices-wled.entity.js.map +1 -0
- package/dist/plugins/devices-wled/index.d.ts +19 -0
- package/dist/plugins/devices-wled/index.js +36 -0
- package/dist/plugins/devices-wled/index.js.map +1 -0
- package/dist/plugins/devices-wled/interfaces/wled.interface.d.ts +179 -0
- package/dist/plugins/devices-wled/interfaces/wled.interface.js +16 -0
- package/dist/plugins/devices-wled/interfaces/wled.interface.js.map +1 -0
- package/dist/plugins/devices-wled/models/config.model.d.ts +24 -0
- package/dist/plugins/devices-wled/models/config.model.js +207 -0
- package/dist/plugins/devices-wled/models/config.model.js.map +1 -0
- package/dist/plugins/devices-wled/models/wled-discovery.model.d.ts +10 -0
- package/dist/plugins/devices-wled/models/wled-discovery.model.js +76 -0
- package/dist/plugins/devices-wled/models/wled-discovery.model.js.map +1 -0
- package/dist/plugins/devices-wled/platforms/wled.device.platform.d.ts +22 -0
- package/dist/plugins/devices-wled/platforms/wled.device.platform.js +243 -0
- package/dist/plugins/devices-wled/platforms/wled.device.platform.js.map +1 -0
- package/dist/plugins/devices-wled/services/device-mapper.service.d.ts +31 -0
- package/dist/plugins/devices-wled/services/device-mapper.service.js +290 -0
- package/dist/plugins/devices-wled/services/device-mapper.service.js.map +1 -0
- package/dist/plugins/devices-wled/services/wled-client-adapter.service.d.ts +59 -0
- package/dist/plugins/devices-wled/services/wled-client-adapter.service.js +637 -0
- package/dist/plugins/devices-wled/services/wled-client-adapter.service.js.map +1 -0
- package/dist/plugins/devices-wled/services/wled-mdns-discoverer.service.d.ts +20 -0
- package/dist/plugins/devices-wled/services/wled-mdns-discoverer.service.js +131 -0
- package/dist/plugins/devices-wled/services/wled-mdns-discoverer.service.js.map +1 -0
- package/dist/plugins/devices-wled/services/wled.service.d.ts +52 -0
- package/dist/plugins/devices-wled/services/wled.service.js +379 -0
- package/dist/plugins/devices-wled/services/wled.service.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/controllers/zigbee2mqtt-discovered-devices.controller.d.ts +20 -0
- package/dist/plugins/devices-zigbee2mqtt/controllers/zigbee2mqtt-discovered-devices.controller.js +295 -0
- package/dist/plugins/devices-zigbee2mqtt/controllers/zigbee2mqtt-discovered-devices.controller.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/converters/base.converter.d.ts +55 -0
- package/dist/plugins/devices-zigbee2mqtt/converters/base.converter.js +185 -0
- package/dist/plugins/devices-zigbee2mqtt/converters/base.converter.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/converters/converter.interface.d.ts +57 -0
- package/dist/plugins/devices-zigbee2mqtt/converters/converter.interface.js +11 -0
- package/dist/plugins/devices-zigbee2mqtt/converters/converter.interface.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/converters/converter.registry.d.ts +23 -0
- package/dist/plugins/devices-zigbee2mqtt/converters/converter.registry.js +121 -0
- package/dist/plugins/devices-zigbee2mqtt/converters/converter.registry.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/converters/index.d.ts +3 -0
- package/dist/plugins/devices-zigbee2mqtt/converters/index.js +20 -0
- package/dist/plugins/devices-zigbee2mqtt/converters/index.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.constants.d.ts +64 -0
- package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.constants.js +498 -0
- package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.constants.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.exceptions.d.ts +22 -0
- package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.exceptions.js +75 -0
- package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.exceptions.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.openapi.d.ts +10 -0
- package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.openapi.js +51 -0
- package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.openapi.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.plugin.d.ts +26 -0
- package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.plugin.js +326 -0
- package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.plugin.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/dto/create-channel-property.dto.d.ts +5 -0
- package/dist/plugins/devices-zigbee2mqtt/dto/create-channel-property.dto.js +35 -0
- package/dist/plugins/devices-zigbee2mqtt/dto/create-channel-property.dto.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/dto/create-channel.dto.d.ts +5 -0
- package/dist/plugins/devices-zigbee2mqtt/dto/create-channel.dto.js +35 -0
- package/dist/plugins/devices-zigbee2mqtt/dto/create-channel.dto.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/dto/create-device.dto.d.ts +5 -0
- package/dist/plugins/devices-zigbee2mqtt/dto/create-device.dto.js +35 -0
- package/dist/plugins/devices-zigbee2mqtt/dto/create-device.dto.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/dto/mapping-preview.dto.d.ts +38 -0
- package/dist/plugins/devices-zigbee2mqtt/dto/mapping-preview.dto.js +297 -0
- package/dist/plugins/devices-zigbee2mqtt/dto/mapping-preview.dto.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/dto/update-channel-property.dto.d.ts +5 -0
- package/dist/plugins/devices-zigbee2mqtt/dto/update-channel-property.dto.js +35 -0
- package/dist/plugins/devices-zigbee2mqtt/dto/update-channel-property.dto.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/dto/update-channel.dto.d.ts +5 -0
- package/dist/plugins/devices-zigbee2mqtt/dto/update-channel.dto.js +35 -0
- package/dist/plugins/devices-zigbee2mqtt/dto/update-channel.dto.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/dto/update-config.dto.d.ts +31 -0
- package/dist/plugins/devices-zigbee2mqtt/dto/update-config.dto.js +294 -0
- package/dist/plugins/devices-zigbee2mqtt/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/dto/update-device.dto.d.ts +5 -0
- package/dist/plugins/devices-zigbee2mqtt/dto/update-device.dto.js +35 -0
- package/dist/plugins/devices-zigbee2mqtt/dto/update-device.dto.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/entities/devices-zigbee2mqtt.entity.d.ts +13 -0
- package/dist/plugins/devices-zigbee2mqtt/entities/devices-zigbee2mqtt.entity.js +90 -0
- package/dist/plugins/devices-zigbee2mqtt/entities/devices-zigbee2mqtt.entity.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/index.d.ts +13 -0
- package/dist/plugins/devices-zigbee2mqtt/index.js +30 -0
- package/dist/plugins/devices-zigbee2mqtt/index.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/interfaces/zigbee2mqtt.interface.d.ts +157 -0
- package/dist/plugins/devices-zigbee2mqtt/interfaces/zigbee2mqtt.interface.js +3 -0
- package/dist/plugins/devices-zigbee2mqtt/interfaces/zigbee2mqtt.interface.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/mappings/config-driven.converter.d.ts +71 -0
- package/dist/plugins/devices-zigbee2mqtt/mappings/config-driven.converter.js +670 -0
- package/dist/plugins/devices-zigbee2mqtt/mappings/config-driven.converter.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/mappings/definitions/climate.yaml +212 -0
- package/dist/plugins/devices-zigbee2mqtt/mappings/definitions/covers.yaml +108 -0
- package/dist/plugins/devices-zigbee2mqtt/mappings/definitions/derivation-rules.yaml +165 -0
- package/dist/plugins/devices-zigbee2mqtt/mappings/definitions/devices/ikea/starkvind-air-purifier.yaml +190 -0
- package/dist/plugins/devices-zigbee2mqtt/mappings/definitions/fans.yaml +188 -0
- package/dist/plugins/devices-zigbee2mqtt/mappings/definitions/lights.yaml +106 -0
- package/dist/plugins/devices-zigbee2mqtt/mappings/definitions/locks.yaml +75 -0
- package/dist/plugins/devices-zigbee2mqtt/mappings/definitions/remotes.yaml +83 -0
- package/dist/plugins/devices-zigbee2mqtt/mappings/definitions/sensors.yaml +869 -0
- package/dist/plugins/devices-zigbee2mqtt/mappings/definitions/switches.yaml +101 -0
- package/dist/plugins/devices-zigbee2mqtt/mappings/index.d.ts +4 -0
- package/dist/plugins/devices-zigbee2mqtt/mappings/index.js +21 -0
- package/dist/plugins/devices-zigbee2mqtt/mappings/index.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/mappings/mapping-loader.service.d.ts +54 -0
- package/dist/plugins/devices-zigbee2mqtt/mappings/mapping-loader.service.js +448 -0
- package/dist/plugins/devices-zigbee2mqtt/mappings/mapping-loader.service.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/mappings/mapping.types.d.ts +186 -0
- package/dist/plugins/devices-zigbee2mqtt/mappings/mapping.types.js +3 -0
- package/dist/plugins/devices-zigbee2mqtt/mappings/mapping.types.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/mappings/schema/mapping-schema.json +713 -0
- package/dist/plugins/devices-zigbee2mqtt/mappings/transformers/index.d.ts +3 -0
- package/dist/plugins/devices-zigbee2mqtt/mappings/transformers/index.js +20 -0
- package/dist/plugins/devices-zigbee2mqtt/mappings/transformers/index.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/mappings/transformers/transformer.registry.d.ts +16 -0
- package/dist/plugins/devices-zigbee2mqtt/mappings/transformers/transformer.registry.js +162 -0
- package/dist/plugins/devices-zigbee2mqtt/mappings/transformers/transformer.registry.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/mappings/transformers/transformer.types.d.ts +72 -0
- package/dist/plugins/devices-zigbee2mqtt/mappings/transformers/transformer.types.js +3 -0
- package/dist/plugins/devices-zigbee2mqtt/mappings/transformers/transformer.types.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/mappings/transformers/transformers.d.ts +81 -0
- package/dist/plugins/devices-zigbee2mqtt/mappings/transformers/transformers.js +520 -0
- package/dist/plugins/devices-zigbee2mqtt/mappings/transformers/transformers.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/models/config.model.d.ts +30 -0
- package/dist/plugins/devices-zigbee2mqtt/models/config.model.js +292 -0
- package/dist/plugins/devices-zigbee2mqtt/models/config.model.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/models/zigbee2mqtt-response.model.d.ts +84 -0
- package/dist/plugins/devices-zigbee2mqtt/models/zigbee2mqtt-response.model.js +693 -0
- package/dist/plugins/devices-zigbee2mqtt/models/zigbee2mqtt-response.model.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/platforms/zigbee2mqtt.device.platform.d.ts +25 -0
- package/dist/plugins/devices-zigbee2mqtt/platforms/zigbee2mqtt.device.platform.js +206 -0
- package/dist/plugins/devices-zigbee2mqtt/platforms/zigbee2mqtt.device.platform.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/services/device-adoption.service.d.ts +32 -0
- package/dist/plugins/devices-zigbee2mqtt/services/device-adoption.service.js +469 -0
- package/dist/plugins/devices-zigbee2mqtt/services/device-adoption.service.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/services/device-mapper.service.d.ts +52 -0
- package/dist/plugins/devices-zigbee2mqtt/services/device-mapper.service.js +626 -0
- package/dist/plugins/devices-zigbee2mqtt/services/device-mapper.service.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/services/exposes-mapper.service.d.ts +44 -0
- package/dist/plugins/devices-zigbee2mqtt/services/exposes-mapper.service.js +70 -0
- package/dist/plugins/devices-zigbee2mqtt/services/exposes-mapper.service.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/services/mapping-preview.service.d.ts +26 -0
- package/dist/plugins/devices-zigbee2mqtt/services/mapping-preview.service.js +404 -0
- package/dist/plugins/devices-zigbee2mqtt/services/mapping-preview.service.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/services/mqtt-client-adapter.service.d.ts +36 -0
- package/dist/plugins/devices-zigbee2mqtt/services/mqtt-client-adapter.service.js +477 -0
- package/dist/plugins/devices-zigbee2mqtt/services/mqtt-client-adapter.service.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/services/virtual-property.service.d.ts +18 -0
- package/dist/plugins/devices-zigbee2mqtt/services/virtual-property.service.js +181 -0
- package/dist/plugins/devices-zigbee2mqtt/services/virtual-property.service.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/services/virtual-property.types.d.ts +61 -0
- package/dist/plugins/devices-zigbee2mqtt/services/virtual-property.types.js +114 -0
- package/dist/plugins/devices-zigbee2mqtt/services/virtual-property.types.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/services/zigbee2mqtt-config-validator.service.d.ts +11 -0
- package/dist/plugins/devices-zigbee2mqtt/services/zigbee2mqtt-config-validator.service.js +102 -0
- package/dist/plugins/devices-zigbee2mqtt/services/zigbee2mqtt-config-validator.service.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/services/zigbee2mqtt.service.d.ts +51 -0
- package/dist/plugins/devices-zigbee2mqtt/services/zigbee2mqtt.service.js +377 -0
- package/dist/plugins/devices-zigbee2mqtt/services/zigbee2mqtt.service.js.map +1 -0
- package/dist/plugins/logger-rotating-file/dto/update-config.dto.d.ts +10 -0
- package/dist/plugins/logger-rotating-file/dto/update-config.dto.js +139 -0
- package/dist/plugins/logger-rotating-file/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/logger-rotating-file/logger-rotating-file.constants.d.ts +3 -0
- package/dist/plugins/logger-rotating-file/logger-rotating-file.constants.js +7 -0
- package/dist/plugins/logger-rotating-file/logger-rotating-file.constants.js.map +1 -0
- package/dist/plugins/logger-rotating-file/logger-rotating-file.exceptions.d.ts +12 -0
- package/dist/plugins/logger-rotating-file/logger-rotating-file.exceptions.js +32 -0
- package/dist/plugins/logger-rotating-file/logger-rotating-file.exceptions.js.map +1 -0
- package/dist/plugins/logger-rotating-file/logger-rotating-file.openapi.d.ts +3 -0
- package/dist/plugins/logger-rotating-file/logger-rotating-file.openapi.js +10 -0
- package/dist/plugins/logger-rotating-file/logger-rotating-file.openapi.js.map +1 -0
- package/dist/plugins/logger-rotating-file/logger-rotating-file.plugin.d.ts +16 -0
- package/dist/plugins/logger-rotating-file/logger-rotating-file.plugin.js +108 -0
- package/dist/plugins/logger-rotating-file/logger-rotating-file.plugin.js.map +1 -0
- package/dist/plugins/logger-rotating-file/models/config.model.d.ts +9 -0
- package/dist/plugins/logger-rotating-file/models/config.model.js +105 -0
- package/dist/plugins/logger-rotating-file/models/config.model.js.map +1 -0
- package/dist/plugins/logger-rotating-file/services/file-logger.service.d.ts +30 -0
- package/dist/plugins/logger-rotating-file/services/file-logger.service.js +276 -0
- package/dist/plugins/logger-rotating-file/services/file-logger.service.js.map +1 -0
- package/dist/plugins/pages-cards/controllers/cards.controller.d.ts +19 -0
- package/dist/plugins/pages-cards/controllers/cards.controller.js +213 -0
- package/dist/plugins/pages-cards/controllers/cards.controller.js.map +1 -0
- package/dist/plugins/pages-cards/dto/create-card.dto.d.ts +18 -0
- package/dist/plugins/pages-cards/dto/create-card.dto.js +170 -0
- package/dist/plugins/pages-cards/dto/create-card.dto.js.map +1 -0
- package/dist/plugins/pages-cards/dto/create-page.dto.d.ts +7 -0
- package/dist/plugins/pages-cards/dto/create-page.dto.js +48 -0
- package/dist/plugins/pages-cards/dto/create-page.dto.js.map +1 -0
- package/dist/plugins/pages-cards/dto/update-card.dto.d.ts +10 -0
- package/dist/plugins/pages-cards/dto/update-card.dto.js +105 -0
- package/dist/plugins/pages-cards/dto/update-card.dto.js.map +1 -0
- package/dist/plugins/pages-cards/dto/update-config.dto.d.ts +5 -0
- package/dist/plugins/pages-cards/dto/update-config.dto.js +34 -0
- package/dist/plugins/pages-cards/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/pages-cards/dto/update-page.dto.d.ts +5 -0
- package/dist/plugins/pages-cards/dto/update-page.dto.js +31 -0
- package/dist/plugins/pages-cards/dto/update-page.dto.js.map +1 -0
- package/dist/plugins/pages-cards/entities/pages-cards.entity.d.ts +16 -0
- package/dist/plugins/pages-cards/entities/pages-cards.entity.js +176 -0
- package/dist/plugins/pages-cards/entities/pages-cards.entity.js.map +1 -0
- package/dist/plugins/pages-cards/models/config.model.d.ts +5 -0
- package/dist/plugins/pages-cards/models/config.model.js +49 -0
- package/dist/plugins/pages-cards/models/config.model.js.map +1 -0
- package/dist/plugins/pages-cards/models/pages-cards-response.model.d.ts +8 -0
- package/dist/plugins/pages-cards/models/pages-cards-response.model.js +46 -0
- package/dist/plugins/pages-cards/models/pages-cards-response.model.js.map +1 -0
- package/dist/plugins/pages-cards/pages-cards.constants.d.ts +12 -0
- package/dist/plugins/pages-cards/pages-cards.constants.js +17 -0
- package/dist/plugins/pages-cards/pages-cards.constants.js.map +1 -0
- package/dist/plugins/pages-cards/pages-cards.exceptions.d.ts +9 -0
- package/dist/plugins/pages-cards/pages-cards.exceptions.js +25 -0
- package/dist/plugins/pages-cards/pages-cards.exceptions.js.map +1 -0
- package/dist/plugins/pages-cards/pages-cards.openapi.d.ts +7 -0
- package/dist/plugins/pages-cards/pages-cards.openapi.js +24 -0
- package/dist/plugins/pages-cards/pages-cards.openapi.js.map +1 -0
- package/dist/plugins/pages-cards/pages-cards.plugin.d.ts +22 -0
- package/dist/plugins/pages-cards/pages-cards.plugin.js +156 -0
- package/dist/plugins/pages-cards/pages-cards.plugin.js.map +1 -0
- package/dist/plugins/pages-cards/services/cards.service.d.ts +25 -0
- package/dist/plugins/pages-cards/services/cards.service.js +201 -0
- package/dist/plugins/pages-cards/services/cards.service.js.map +1 -0
- package/dist/plugins/pages-cards/services/page-create-nested-builder.service.d.ts +17 -0
- package/dist/plugins/pages-cards/services/page-create-nested-builder.service.js +81 -0
- package/dist/plugins/pages-cards/services/page-create-nested-builder.service.js.map +1 -0
- package/dist/plugins/pages-cards/services/plugin-reset.service.d.ts +13 -0
- package/dist/plugins/pages-cards/services/plugin-reset.service.js +54 -0
- package/dist/plugins/pages-cards/services/plugin-reset.service.js.map +1 -0
- package/dist/plugins/pages-device-detail/dto/create-page.dto.d.ts +6 -0
- package/dist/plugins/pages-device-detail/dto/create-page.dto.js +46 -0
- package/dist/plugins/pages-device-detail/dto/create-page.dto.js.map +1 -0
- package/dist/plugins/pages-device-detail/dto/update-config.dto.d.ts +5 -0
- package/dist/plugins/pages-device-detail/dto/update-config.dto.js +34 -0
- package/dist/plugins/pages-device-detail/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/pages-device-detail/dto/update-page.dto.d.ts +6 -0
- package/dist/plugins/pages-device-detail/dto/update-page.dto.js +48 -0
- package/dist/plugins/pages-device-detail/dto/update-page.dto.js.map +1 -0
- package/dist/plugins/pages-device-detail/entities/pages-device-detail.entity.d.ts +7 -0
- package/dist/plugins/pages-device-detail/entities/pages-device-detail.entity.js +67 -0
- package/dist/plugins/pages-device-detail/entities/pages-device-detail.entity.js.map +1 -0
- package/dist/plugins/pages-device-detail/models/config.model.d.ts +5 -0
- package/dist/plugins/pages-device-detail/models/config.model.js +49 -0
- package/dist/plugins/pages-device-detail/models/config.model.js.map +1 -0
- package/dist/plugins/pages-device-detail/pages-device-detail.constants.d.ts +2 -0
- package/dist/plugins/pages-device-detail/pages-device-detail.constants.js +6 -0
- package/dist/plugins/pages-device-detail/pages-device-detail.constants.js.map +1 -0
- package/dist/plugins/pages-device-detail/pages-device-detail.openapi.d.ts +5 -0
- package/dist/plugins/pages-device-detail/pages-device-detail.openapi.js +16 -0
- package/dist/plugins/pages-device-detail/pages-device-detail.openapi.js.map +1 -0
- package/dist/plugins/pages-device-detail/pages-device-detail.plugin.d.ts +18 -0
- package/dist/plugins/pages-device-detail/pages-device-detail.plugin.js +146 -0
- package/dist/plugins/pages-device-detail/pages-device-detail.plugin.js.map +1 -0
- package/dist/plugins/pages-device-detail/services/page-relations-loader.service.d.ts +10 -0
- package/dist/plugins/pages-device-detail/services/page-relations-loader.service.js +35 -0
- package/dist/plugins/pages-device-detail/services/page-relations-loader.service.js.map +1 -0
- package/dist/plugins/pages-tiles/dto/create-page.dto.d.ts +10 -0
- package/dist/plugins/pages-tiles/dto/create-page.dto.js +96 -0
- package/dist/plugins/pages-tiles/dto/create-page.dto.js.map +1 -0
- package/dist/plugins/pages-tiles/dto/update-config.dto.d.ts +5 -0
- package/dist/plugins/pages-tiles/dto/update-config.dto.js +34 -0
- package/dist/plugins/pages-tiles/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/pages-tiles/dto/update-page.dto.d.ts +8 -0
- package/dist/plugins/pages-tiles/dto/update-page.dto.js +77 -0
- package/dist/plugins/pages-tiles/dto/update-page.dto.js.map +1 -0
- package/dist/plugins/pages-tiles/entities/pages-tiles.entity.d.ts +8 -0
- package/dist/plugins/pages-tiles/entities/pages-tiles.entity.js +91 -0
- package/dist/plugins/pages-tiles/entities/pages-tiles.entity.js.map +1 -0
- package/dist/plugins/pages-tiles/models/config.model.d.ts +5 -0
- package/dist/plugins/pages-tiles/models/config.model.js +49 -0
- package/dist/plugins/pages-tiles/models/config.model.js.map +1 -0
- package/dist/plugins/pages-tiles/pages-tiles.constants.d.ts +2 -0
- package/dist/plugins/pages-tiles/pages-tiles.constants.js +6 -0
- package/dist/plugins/pages-tiles/pages-tiles.constants.js.map +1 -0
- package/dist/plugins/pages-tiles/pages-tiles.exceptions.d.ts +9 -0
- package/dist/plugins/pages-tiles/pages-tiles.exceptions.js +25 -0
- package/dist/plugins/pages-tiles/pages-tiles.exceptions.js.map +1 -0
- package/dist/plugins/pages-tiles/pages-tiles.openapi.d.ts +5 -0
- package/dist/plugins/pages-tiles/pages-tiles.openapi.js +16 -0
- package/dist/plugins/pages-tiles/pages-tiles.openapi.js.map +1 -0
- package/dist/plugins/pages-tiles/pages-tiles.plugin.d.ts +22 -0
- package/dist/plugins/pages-tiles/pages-tiles.plugin.js +152 -0
- package/dist/plugins/pages-tiles/pages-tiles.plugin.js.map +1 -0
- package/dist/plugins/pages-tiles/services/page-create-nested-builder.service.d.ts +17 -0
- package/dist/plugins/pages-tiles/services/page-create-nested-builder.service.js +70 -0
- package/dist/plugins/pages-tiles/services/page-create-nested-builder.service.js.map +1 -0
- package/dist/plugins/pages-tiles/services/page-relations-loader.service.d.ts +10 -0
- package/dist/plugins/pages-tiles/services/page-relations-loader.service.js +35 -0
- package/dist/plugins/pages-tiles/services/page-relations-loader.service.js.map +1 -0
- package/dist/plugins/scenes-local/dto/create-local-scene-action.dto.d.ts +8 -0
- package/dist/plugins/scenes-local/dto/create-local-scene-action.dto.js +104 -0
- package/dist/plugins/scenes-local/dto/create-local-scene-action.dto.js.map +1 -0
- package/dist/plugins/scenes-local/dto/update-config.dto.d.ts +5 -0
- package/dist/plugins/scenes-local/dto/update-config.dto.js +34 -0
- package/dist/plugins/scenes-local/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/scenes-local/dto/update-local-scene-action.dto.d.ts +8 -0
- package/dist/plugins/scenes-local/dto/update-local-scene-action.dto.js +108 -0
- package/dist/plugins/scenes-local/dto/update-local-scene-action.dto.js.map +1 -0
- package/dist/plugins/scenes-local/entities/scenes-local.entity.d.ts +7 -0
- package/dist/plugins/scenes-local/entities/scenes-local.entity.js +101 -0
- package/dist/plugins/scenes-local/entities/scenes-local.entity.js.map +1 -0
- package/dist/plugins/scenes-local/models/config.model.d.ts +5 -0
- package/dist/plugins/scenes-local/models/config.model.js +49 -0
- package/dist/plugins/scenes-local/models/config.model.js.map +1 -0
- package/dist/plugins/scenes-local/platforms/local-scene.platform.d.ts +32 -0
- package/dist/plugins/scenes-local/platforms/local-scene.platform.js +228 -0
- package/dist/plugins/scenes-local/platforms/local-scene.platform.js.map +1 -0
- package/dist/plugins/scenes-local/scenes-local.constants.d.ts +2 -0
- package/dist/plugins/scenes-local/scenes-local.constants.js +6 -0
- package/dist/plugins/scenes-local/scenes-local.constants.js.map +1 -0
- package/dist/plugins/scenes-local/scenes-local.openapi.d.ts +4 -0
- package/dist/plugins/scenes-local/scenes-local.openapi.js +16 -0
- package/dist/plugins/scenes-local/scenes-local.openapi.js.map +1 -0
- package/dist/plugins/scenes-local/scenes-local.plugin.d.ts +19 -0
- package/dist/plugins/scenes-local/scenes-local.plugin.js +141 -0
- package/dist/plugins/scenes-local/scenes-local.plugin.js.map +1 -0
- package/dist/plugins/simulator/behaviors/air-conditioner.behavior.d.ts +15 -0
- package/dist/plugins/simulator/behaviors/air-conditioner.behavior.js +137 -0
- package/dist/plugins/simulator/behaviors/air-conditioner.behavior.js.map +1 -0
- package/dist/plugins/simulator/behaviors/device-behavior.interface.d.ts +54 -0
- package/dist/plugins/simulator/behaviors/device-behavior.interface.js +90 -0
- package/dist/plugins/simulator/behaviors/device-behavior.interface.js.map +1 -0
- package/dist/plugins/simulator/behaviors/door.behavior.d.ts +9 -0
- package/dist/plugins/simulator/behaviors/door.behavior.js +53 -0
- package/dist/plugins/simulator/behaviors/door.behavior.js.map +1 -0
- package/dist/plugins/simulator/behaviors/humidifier.behavior.d.ts +13 -0
- package/dist/plugins/simulator/behaviors/humidifier.behavior.js +138 -0
- package/dist/plugins/simulator/behaviors/humidifier.behavior.js.map +1 -0
- package/dist/plugins/simulator/behaviors/index.d.ts +12 -0
- package/dist/plugins/simulator/behaviors/index.js +29 -0
- package/dist/plugins/simulator/behaviors/index.js.map +1 -0
- package/dist/plugins/simulator/behaviors/lock.behavior.d.ts +10 -0
- package/dist/plugins/simulator/behaviors/lock.behavior.js +47 -0
- package/dist/plugins/simulator/behaviors/lock.behavior.js.map +1 -0
- package/dist/plugins/simulator/behaviors/projector.behavior.d.ts +10 -0
- package/dist/plugins/simulator/behaviors/projector.behavior.js +37 -0
- package/dist/plugins/simulator/behaviors/projector.behavior.js.map +1 -0
- package/dist/plugins/simulator/behaviors/speaker.behavior.d.ts +9 -0
- package/dist/plugins/simulator/behaviors/speaker.behavior.js +32 -0
- package/dist/plugins/simulator/behaviors/speaker.behavior.js.map +1 -0
- package/dist/plugins/simulator/behaviors/television.behavior.d.ts +10 -0
- package/dist/plugins/simulator/behaviors/television.behavior.js +37 -0
- package/dist/plugins/simulator/behaviors/television.behavior.js.map +1 -0
- package/dist/plugins/simulator/behaviors/thermostat.behavior.d.ts +13 -0
- package/dist/plugins/simulator/behaviors/thermostat.behavior.js +161 -0
- package/dist/plugins/simulator/behaviors/thermostat.behavior.js.map +1 -0
- package/dist/plugins/simulator/behaviors/valve.behavior.d.ts +10 -0
- package/dist/plugins/simulator/behaviors/valve.behavior.js +70 -0
- package/dist/plugins/simulator/behaviors/valve.behavior.js.map +1 -0
- package/dist/plugins/simulator/behaviors/water-heater.behavior.d.ts +14 -0
- package/dist/plugins/simulator/behaviors/water-heater.behavior.js +138 -0
- package/dist/plugins/simulator/behaviors/water-heater.behavior.js.map +1 -0
- package/dist/plugins/simulator/behaviors/window-covering.behavior.d.ts +11 -0
- package/dist/plugins/simulator/behaviors/window-covering.behavior.js +90 -0
- package/dist/plugins/simulator/behaviors/window-covering.behavior.js.map +1 -0
- package/dist/plugins/simulator/commands/generate-device.command.d.ts +31 -0
- package/dist/plugins/simulator/commands/generate-device.command.js +241 -0
- package/dist/plugins/simulator/commands/generate-device.command.js.map +1 -0
- package/dist/plugins/simulator/commands/populate-values.command.d.ts +26 -0
- package/dist/plugins/simulator/commands/populate-values.command.js +208 -0
- package/dist/plugins/simulator/commands/populate-values.command.js.map +1 -0
- package/dist/plugins/simulator/commands/scenario.command.d.ts +35 -0
- package/dist/plugins/simulator/commands/scenario.command.js +391 -0
- package/dist/plugins/simulator/commands/scenario.command.js.map +1 -0
- package/dist/plugins/simulator/commands/set-connection-state.command.d.ts +24 -0
- package/dist/plugins/simulator/commands/set-connection-state.command.js +216 -0
- package/dist/plugins/simulator/commands/set-connection-state.command.js.map +1 -0
- package/dist/plugins/simulator/commands/simulate.command.d.ts +38 -0
- package/dist/plugins/simulator/commands/simulate.command.js +361 -0
- package/dist/plugins/simulator/commands/simulate.command.js.map +1 -0
- package/dist/plugins/simulator/controllers/simulator.controller.d.ts +27 -0
- package/dist/plugins/simulator/controllers/simulator.controller.js +295 -0
- package/dist/plugins/simulator/controllers/simulator.controller.js.map +1 -0
- package/dist/plugins/simulator/dto/create-channel-property.dto.d.ts +5 -0
- package/dist/plugins/simulator/dto/create-channel-property.dto.js +35 -0
- package/dist/plugins/simulator/dto/create-channel-property.dto.js.map +1 -0
- package/dist/plugins/simulator/dto/create-channel.dto.d.ts +5 -0
- package/dist/plugins/simulator/dto/create-channel.dto.js +35 -0
- package/dist/plugins/simulator/dto/create-channel.dto.js.map +1 -0
- package/dist/plugins/simulator/dto/create-device.dto.d.ts +8 -0
- package/dist/plugins/simulator/dto/create-device.dto.js +84 -0
- package/dist/plugins/simulator/dto/create-device.dto.js.map +1 -0
- package/dist/plugins/simulator/dto/generate-device.dto.d.ts +15 -0
- package/dist/plugins/simulator/dto/generate-device.dto.js +162 -0
- package/dist/plugins/simulator/dto/generate-device.dto.js.map +1 -0
- package/dist/plugins/simulator/dto/simulate-value.dto.d.ts +7 -0
- package/dist/plugins/simulator/dto/simulate-value.dto.js +58 -0
- package/dist/plugins/simulator/dto/simulate-value.dto.js.map +1 -0
- package/dist/plugins/simulator/dto/update-channel-property.dto.d.ts +5 -0
- package/dist/plugins/simulator/dto/update-channel-property.dto.js +35 -0
- package/dist/plugins/simulator/dto/update-channel-property.dto.js.map +1 -0
- package/dist/plugins/simulator/dto/update-channel.dto.d.ts +5 -0
- package/dist/plugins/simulator/dto/update-channel.dto.js +35 -0
- package/dist/plugins/simulator/dto/update-channel.dto.js.map +1 -0
- package/dist/plugins/simulator/dto/update-config.dto.d.ts +11 -0
- package/dist/plugins/simulator/dto/update-config.dto.js +104 -0
- package/dist/plugins/simulator/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/simulator/dto/update-device.dto.d.ts +8 -0
- package/dist/plugins/simulator/dto/update-device.dto.js +81 -0
- package/dist/plugins/simulator/dto/update-device.dto.js.map +1 -0
- package/dist/plugins/simulator/entities/simulator.entity.d.ts +13 -0
- package/dist/plugins/simulator/entities/simulator.entity.js +119 -0
- package/dist/plugins/simulator/entities/simulator.entity.js.map +1 -0
- package/dist/plugins/simulator/models/config.model.d.ts +11 -0
- package/dist/plugins/simulator/models/config.model.js +118 -0
- package/dist/plugins/simulator/models/config.model.js.map +1 -0
- package/dist/plugins/simulator/models/simulator-response.model.d.ts +29 -0
- package/dist/plugins/simulator/models/simulator-response.model.js +171 -0
- package/dist/plugins/simulator/models/simulator-response.model.js.map +1 -0
- package/dist/plugins/simulator/platforms/simulator-device.platform.d.ts +16 -0
- package/dist/plugins/simulator/platforms/simulator-device.platform.js +85 -0
- package/dist/plugins/simulator/platforms/simulator-device.platform.js.map +1 -0
- package/dist/plugins/simulator/scenarios/definitions/large-house.yaml +2293 -0
- package/dist/plugins/simulator/scenarios/definitions/luxury-apartment.yaml +1171 -0
- package/dist/plugins/simulator/scenarios/definitions/office.yaml +278 -0
- package/dist/plugins/simulator/scenarios/definitions/penthouse.yaml +608 -0
- package/dist/plugins/simulator/scenarios/definitions/small-apartment.yaml +231 -0
- package/dist/plugins/simulator/scenarios/definitions/small-house.yaml +454 -0
- package/dist/plugins/simulator/scenarios/definitions/smart-house-max-plus.yaml +2291 -0
- package/dist/plugins/simulator/scenarios/definitions/smart-house-max.yaml +2601 -0
- package/dist/plugins/simulator/scenarios/definitions/smart-house-stress.yaml +8616 -0
- package/dist/plugins/simulator/scenarios/definitions/smart-house.yaml +1795 -0
- package/dist/plugins/simulator/scenarios/scenario.types.d.ts +85 -0
- package/dist/plugins/simulator/scenarios/scenario.types.js +3 -0
- package/dist/plugins/simulator/scenarios/scenario.types.js.map +1 -0
- package/dist/plugins/simulator/scenarios/schema/scenario-schema.json +293 -0
- package/dist/plugins/simulator/services/device-behavior-manager.service.d.ts +43 -0
- package/dist/plugins/simulator/services/device-behavior-manager.service.js +254 -0
- package/dist/plugins/simulator/services/device-behavior-manager.service.js.map +1 -0
- package/dist/plugins/simulator/services/device-generator.service.d.ts +30 -0
- package/dist/plugins/simulator/services/device-generator.service.js +261 -0
- package/dist/plugins/simulator/services/device-generator.service.js.map +1 -0
- package/dist/plugins/simulator/services/scenario-executor.service.d.ts +55 -0
- package/dist/plugins/simulator/services/scenario-executor.service.js +568 -0
- package/dist/plugins/simulator/services/scenario-executor.service.js.map +1 -0
- package/dist/plugins/simulator/services/scenario-loader.service.d.ts +34 -0
- package/dist/plugins/simulator/services/scenario-loader.service.js +295 -0
- package/dist/plugins/simulator/services/scenario-loader.service.js.map +1 -0
- package/dist/plugins/simulator/services/simulation.service.d.ts +65 -0
- package/dist/plugins/simulator/services/simulation.service.js +432 -0
- package/dist/plugins/simulator/services/simulation.service.js.map +1 -0
- package/dist/plugins/simulator/services/simulator-actions.service.d.ts +27 -0
- package/dist/plugins/simulator/services/simulator-actions.service.js +331 -0
- package/dist/plugins/simulator/services/simulator-actions.service.js.map +1 -0
- package/dist/plugins/simulator/simulator.constants.d.ts +5 -0
- package/dist/plugins/simulator/simulator.constants.js +9 -0
- package/dist/plugins/simulator/simulator.constants.js.map +1 -0
- package/dist/plugins/simulator/simulator.openapi.d.ts +10 -0
- package/dist/plugins/simulator/simulator.openapi.js +36 -0
- package/dist/plugins/simulator/simulator.openapi.js.map +1 -0
- package/dist/plugins/simulator/simulator.plugin.d.ts +28 -0
- package/dist/plugins/simulator/simulator.plugin.js +315 -0
- package/dist/plugins/simulator/simulator.plugin.js.map +1 -0
- package/dist/plugins/simulator/simulators/air-conditioner.simulator.d.ts +16 -0
- package/dist/plugins/simulator/simulators/air-conditioner.simulator.js +206 -0
- package/dist/plugins/simulator/simulators/air-conditioner.simulator.js.map +1 -0
- package/dist/plugins/simulator/simulators/device-simulator.interface.d.ts +25 -0
- package/dist/plugins/simulator/simulators/device-simulator.interface.js +39 -0
- package/dist/plugins/simulator/simulators/device-simulator.interface.js.map +1 -0
- package/dist/plugins/simulator/simulators/fan.simulator.d.ts +10 -0
- package/dist/plugins/simulator/simulators/fan.simulator.js +75 -0
- package/dist/plugins/simulator/simulators/fan.simulator.js.map +1 -0
- package/dist/plugins/simulator/simulators/heating-unit.simulator.d.ts +14 -0
- package/dist/plugins/simulator/simulators/heating-unit.simulator.js +135 -0
- package/dist/plugins/simulator/simulators/heating-unit.simulator.js.map +1 -0
- package/dist/plugins/simulator/simulators/index.d.ts +11 -0
- package/dist/plugins/simulator/simulators/index.js +28 -0
- package/dist/plugins/simulator/simulators/index.js.map +1 -0
- package/dist/plugins/simulator/simulators/lighting.simulator.d.ts +14 -0
- package/dist/plugins/simulator/simulators/lighting.simulator.js +190 -0
- package/dist/plugins/simulator/simulators/lighting.simulator.js.map +1 -0
- package/dist/plugins/simulator/simulators/lock.simulator.d.ts +11 -0
- package/dist/plugins/simulator/simulators/lock.simulator.js +78 -0
- package/dist/plugins/simulator/simulators/lock.simulator.js.map +1 -0
- package/dist/plugins/simulator/simulators/outlet.simulator.d.ts +13 -0
- package/dist/plugins/simulator/simulators/outlet.simulator.js +126 -0
- package/dist/plugins/simulator/simulators/outlet.simulator.js.map +1 -0
- package/dist/plugins/simulator/simulators/sensor.simulator.d.ts +22 -0
- package/dist/plugins/simulator/simulators/sensor.simulator.js +271 -0
- package/dist/plugins/simulator/simulators/sensor.simulator.js.map +1 -0
- package/dist/plugins/simulator/simulators/simulation-context.d.ts +15 -0
- package/dist/plugins/simulator/simulators/simulation-context.js +86 -0
- package/dist/plugins/simulator/simulators/simulation-context.js.map +1 -0
- package/dist/plugins/simulator/simulators/thermostat.simulator.d.ts +16 -0
- package/dist/plugins/simulator/simulators/thermostat.simulator.js +177 -0
- package/dist/plugins/simulator/simulators/thermostat.simulator.js.map +1 -0
- package/dist/plugins/simulator/simulators/window-covering.simulator.d.ts +11 -0
- package/dist/plugins/simulator/simulators/window-covering.simulator.js +86 -0
- package/dist/plugins/simulator/simulators/window-covering.simulator.js.map +1 -0
- package/dist/plugins/tiles-device-preview/dto/create-tile.dto.d.ts +10 -0
- package/dist/plugins/tiles-device-preview/dto/create-tile.dto.js +76 -0
- package/dist/plugins/tiles-device-preview/dto/create-tile.dto.js.map +1 -0
- package/dist/plugins/tiles-device-preview/dto/update-config.dto.d.ts +5 -0
- package/dist/plugins/tiles-device-preview/dto/update-config.dto.js +34 -0
- package/dist/plugins/tiles-device-preview/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/tiles-device-preview/dto/update-tile.dto.d.ts +10 -0
- package/dist/plugins/tiles-device-preview/dto/update-tile.dto.js +78 -0
- package/dist/plugins/tiles-device-preview/dto/update-tile.dto.js.map +1 -0
- package/dist/plugins/tiles-device-preview/entities/tiles-device-preview.entity.d.ts +8 -0
- package/dist/plugins/tiles-device-preview/entities/tiles-device-preview.entity.js +80 -0
- package/dist/plugins/tiles-device-preview/entities/tiles-device-preview.entity.js.map +1 -0
- package/dist/plugins/tiles-device-preview/models/config.model.d.ts +5 -0
- package/dist/plugins/tiles-device-preview/models/config.model.js +49 -0
- package/dist/plugins/tiles-device-preview/models/config.model.js.map +1 -0
- package/dist/plugins/tiles-device-preview/services/tile-relations-loader.service.d.ts +10 -0
- package/dist/plugins/tiles-device-preview/services/tile-relations-loader.service.js +35 -0
- package/dist/plugins/tiles-device-preview/services/tile-relations-loader.service.js.map +1 -0
- package/dist/plugins/tiles-device-preview/tiles-device-preview.constants.d.ts +2 -0
- package/dist/plugins/tiles-device-preview/tiles-device-preview.constants.js +6 -0
- package/dist/plugins/tiles-device-preview/tiles-device-preview.constants.js.map +1 -0
- package/dist/plugins/tiles-device-preview/tiles-device-preview.openapi.d.ts +5 -0
- package/dist/plugins/tiles-device-preview/tiles-device-preview.openapi.js +18 -0
- package/dist/plugins/tiles-device-preview/tiles-device-preview.openapi.js.map +1 -0
- package/dist/plugins/tiles-device-preview/tiles-device-preview.plugin.d.ts +18 -0
- package/dist/plugins/tiles-device-preview/tiles-device-preview.plugin.js +143 -0
- package/dist/plugins/tiles-device-preview/tiles-device-preview.plugin.js.map +1 -0
- package/dist/plugins/tiles-scene/dto/create-tile.dto.d.ts +10 -0
- package/dist/plugins/tiles-scene/dto/create-tile.dto.js +76 -0
- package/dist/plugins/tiles-scene/dto/create-tile.dto.js.map +1 -0
- package/dist/plugins/tiles-scene/dto/update-config.dto.d.ts +5 -0
- package/dist/plugins/tiles-scene/dto/update-config.dto.js +34 -0
- package/dist/plugins/tiles-scene/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/tiles-scene/dto/update-tile.dto.d.ts +10 -0
- package/dist/plugins/tiles-scene/dto/update-tile.dto.js +78 -0
- package/dist/plugins/tiles-scene/dto/update-tile.dto.js.map +1 -0
- package/dist/plugins/tiles-scene/entities/tiles-scene.entity.d.ts +8 -0
- package/dist/plugins/tiles-scene/entities/tiles-scene.entity.js +80 -0
- package/dist/plugins/tiles-scene/entities/tiles-scene.entity.js.map +1 -0
- package/dist/plugins/tiles-scene/index.d.ts +2 -0
- package/dist/plugins/tiles-scene/index.js +19 -0
- package/dist/plugins/tiles-scene/index.js.map +1 -0
- package/dist/plugins/tiles-scene/models/config.model.d.ts +5 -0
- package/dist/plugins/tiles-scene/models/config.model.js +49 -0
- package/dist/plugins/tiles-scene/models/config.model.js.map +1 -0
- package/dist/plugins/tiles-scene/services/tile-relations-loader.service.d.ts +10 -0
- package/dist/plugins/tiles-scene/services/tile-relations-loader.service.js +35 -0
- package/dist/plugins/tiles-scene/services/tile-relations-loader.service.js.map +1 -0
- package/dist/plugins/tiles-scene/tiles-scene.constants.d.ts +2 -0
- package/dist/plugins/tiles-scene/tiles-scene.constants.js +6 -0
- package/dist/plugins/tiles-scene/tiles-scene.constants.js.map +1 -0
- package/dist/plugins/tiles-scene/tiles-scene.openapi.d.ts +5 -0
- package/dist/plugins/tiles-scene/tiles-scene.openapi.js +18 -0
- package/dist/plugins/tiles-scene/tiles-scene.openapi.js.map +1 -0
- package/dist/plugins/tiles-scene/tiles-scene.plugin.d.ts +18 -0
- package/dist/plugins/tiles-scene/tiles-scene.plugin.js +143 -0
- package/dist/plugins/tiles-scene/tiles-scene.plugin.js.map +1 -0
- package/dist/plugins/tiles-time/dto/create-tile.dto.d.ts +8 -0
- package/dist/plugins/tiles-time/dto/create-tile.dto.js +49 -0
- package/dist/plugins/tiles-time/dto/create-tile.dto.js.map +1 -0
- package/dist/plugins/tiles-time/dto/update-config.dto.d.ts +5 -0
- package/dist/plugins/tiles-time/dto/update-config.dto.js +34 -0
- package/dist/plugins/tiles-time/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/tiles-time/dto/update-tile.dto.d.ts +8 -0
- package/dist/plugins/tiles-time/dto/update-tile.dto.js +49 -0
- package/dist/plugins/tiles-time/dto/update-tile.dto.js.map +1 -0
- package/dist/plugins/tiles-time/entities/tiles-time.entity.d.ts +4 -0
- package/dist/plugins/tiles-time/entities/tiles-time.entity.js +39 -0
- package/dist/plugins/tiles-time/entities/tiles-time.entity.js.map +1 -0
- package/dist/plugins/tiles-time/models/config.model.d.ts +5 -0
- package/dist/plugins/tiles-time/models/config.model.js +49 -0
- package/dist/plugins/tiles-time/models/config.model.js.map +1 -0
- package/dist/plugins/tiles-time/tiles-time.constants.d.ts +3 -0
- package/dist/plugins/tiles-time/tiles-time.constants.js +7 -0
- package/dist/plugins/tiles-time/tiles-time.constants.js.map +1 -0
- package/dist/plugins/tiles-time/tiles-time.openapi.d.ts +5 -0
- package/dist/plugins/tiles-time/tiles-time.openapi.js +18 -0
- package/dist/plugins/tiles-time/tiles-time.openapi.js.map +1 -0
- package/dist/plugins/tiles-time/tiles-time.plugin.d.ts +14 -0
- package/dist/plugins/tiles-time/tiles-time.plugin.js +124 -0
- package/dist/plugins/tiles-time/tiles-time.plugin.js.map +1 -0
- package/dist/plugins/tiles-weather/dto/create-tile.dto.d.ts +16 -0
- package/dist/plugins/tiles-weather/dto/create-tile.dto.js +108 -0
- package/dist/plugins/tiles-weather/dto/create-tile.dto.js.map +1 -0
- package/dist/plugins/tiles-weather/dto/update-config.dto.d.ts +5 -0
- package/dist/plugins/tiles-weather/dto/update-config.dto.js +34 -0
- package/dist/plugins/tiles-weather/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/tiles-weather/dto/update-tile.dto.d.ts +16 -0
- package/dist/plugins/tiles-weather/dto/update-tile.dto.js +108 -0
- package/dist/plugins/tiles-weather/dto/update-tile.dto.js.map +1 -0
- package/dist/plugins/tiles-weather/entities/tiles-weather.entity.d.ts +9 -0
- package/dist/plugins/tiles-weather/entities/tiles-weather.entity.js +95 -0
- package/dist/plugins/tiles-weather/entities/tiles-weather.entity.js.map +1 -0
- package/dist/plugins/tiles-weather/models/config.model.d.ts +5 -0
- package/dist/plugins/tiles-weather/models/config.model.js +49 -0
- package/dist/plugins/tiles-weather/models/config.model.js.map +1 -0
- package/dist/plugins/tiles-weather/tiles-weather.constants.d.ts +3 -0
- package/dist/plugins/tiles-weather/tiles-weather.constants.js +7 -0
- package/dist/plugins/tiles-weather/tiles-weather.constants.js.map +1 -0
- package/dist/plugins/tiles-weather/tiles-weather.openapi.d.ts +5 -0
- package/dist/plugins/tiles-weather/tiles-weather.openapi.js +23 -0
- package/dist/plugins/tiles-weather/tiles-weather.openapi.js.map +1 -0
- package/dist/plugins/tiles-weather/tiles-weather.plugin.d.ts +14 -0
- package/dist/plugins/tiles-weather/tiles-weather.plugin.js +157 -0
- package/dist/plugins/tiles-weather/tiles-weather.plugin.js.map +1 -0
- package/dist/plugins/weather-open-meteo/controllers/geolocation.controller.d.ts +7 -0
- package/dist/plugins/weather-open-meteo/controllers/geolocation.controller.js +59 -0
- package/dist/plugins/weather-open-meteo/controllers/geolocation.controller.js.map +1 -0
- package/dist/plugins/weather-open-meteo/dto/create-location.dto.d.ts +8 -0
- package/dist/plugins/weather-open-meteo/dto/create-location.dto.js +77 -0
- package/dist/plugins/weather-open-meteo/dto/create-location.dto.js.map +1 -0
- package/dist/plugins/weather-open-meteo/dto/open-meteo-response.dto.d.ts +55 -0
- package/dist/plugins/weather-open-meteo/dto/open-meteo-response.dto.js +306 -0
- package/dist/plugins/weather-open-meteo/dto/open-meteo-response.dto.js.map +1 -0
- package/dist/plugins/weather-open-meteo/dto/update-config.dto.d.ts +8 -0
- package/dist/plugins/weather-open-meteo/dto/update-config.dto.js +59 -0
- package/dist/plugins/weather-open-meteo/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/weather-open-meteo/dto/update-location.dto.d.ts +6 -0
- package/dist/plugins/weather-open-meteo/dto/update-location.dto.js +67 -0
- package/dist/plugins/weather-open-meteo/dto/update-location.dto.js.map +1 -0
- package/dist/plugins/weather-open-meteo/entities/locations-open-meteo.entity.d.ts +7 -0
- package/dist/plugins/weather-open-meteo/entities/locations-open-meteo.entity.js +80 -0
- package/dist/plugins/weather-open-meteo/entities/locations-open-meteo.entity.js.map +1 -0
- package/dist/plugins/weather-open-meteo/models/config.model.d.ts +7 -0
- package/dist/plugins/weather-open-meteo/models/config.model.js +59 -0
- package/dist/plugins/weather-open-meteo/models/config.model.js.map +1 -0
- package/dist/plugins/weather-open-meteo/models/geolocation.model.d.ts +12 -0
- package/dist/plugins/weather-open-meteo/models/geolocation.model.js +91 -0
- package/dist/plugins/weather-open-meteo/models/geolocation.model.js.map +1 -0
- package/dist/plugins/weather-open-meteo/platforms/open-meteo.provider.d.ts +24 -0
- package/dist/plugins/weather-open-meteo/platforms/open-meteo.provider.js +126 -0
- package/dist/plugins/weather-open-meteo/platforms/open-meteo.provider.js.map +1 -0
- package/dist/plugins/weather-open-meteo/services/open-meteo-geolocation.service.d.ts +7 -0
- package/dist/plugins/weather-open-meteo/services/open-meteo-geolocation.service.js +49 -0
- package/dist/plugins/weather-open-meteo/services/open-meteo-geolocation.service.js.map +1 -0
- package/dist/plugins/weather-open-meteo/services/open-meteo-http.service.d.ts +23 -0
- package/dist/plugins/weather-open-meteo/services/open-meteo-http.service.js +409 -0
- package/dist/plugins/weather-open-meteo/services/open-meteo-http.service.js.map +1 -0
- package/dist/plugins/weather-open-meteo/weather-open-meteo.constants.d.ts +5 -0
- package/dist/plugins/weather-open-meteo/weather-open-meteo.constants.js +9 -0
- package/dist/plugins/weather-open-meteo/weather-open-meteo.constants.js.map +1 -0
- package/dist/plugins/weather-open-meteo/weather-open-meteo.openapi.d.ts +7 -0
- package/dist/plugins/weather-open-meteo/weather-open-meteo.openapi.js +19 -0
- package/dist/plugins/weather-open-meteo/weather-open-meteo.openapi.js.map +1 -0
- package/dist/plugins/weather-open-meteo/weather-open-meteo.plugin.d.ts +19 -0
- package/dist/plugins/weather-open-meteo/weather-open-meteo.plugin.js +155 -0
- package/dist/plugins/weather-open-meteo/weather-open-meteo.plugin.js.map +1 -0
- package/dist/plugins/weather-openweathermap/dto/create-location.dto.d.ts +12 -0
- package/dist/plugins/weather-openweathermap/dto/create-location.dto.js +146 -0
- package/dist/plugins/weather-openweathermap/dto/create-location.dto.js.map +1 -0
- package/dist/plugins/weather-openweathermap/dto/forecast-response.dto.d.ts +68 -0
- package/dist/plugins/weather-openweathermap/dto/forecast-response.dto.js +294 -0
- package/dist/plugins/weather-openweathermap/dto/forecast-response.dto.js.map +1 -0
- package/dist/plugins/weather-openweathermap/dto/update-config.dto.d.ts +9 -0
- package/dist/plugins/weather-openweathermap/dto/update-config.dto.js +75 -0
- package/dist/plugins/weather-openweathermap/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/weather-openweathermap/dto/update-location.dto.d.ts +11 -0
- package/dist/plugins/weather-openweathermap/dto/update-location.dto.js +135 -0
- package/dist/plugins/weather-openweathermap/dto/update-location.dto.js.map +1 -0
- package/dist/plugins/weather-openweathermap/dto/weather-response.dto.d.ts +59 -0
- package/dist/plugins/weather-openweathermap/dto/weather-response.dto.js +248 -0
- package/dist/plugins/weather-openweathermap/dto/weather-response.dto.js.map +1 -0
- package/dist/plugins/weather-openweathermap/entities/locations-openweathermap.entity.d.ts +12 -0
- package/dist/plugins/weather-openweathermap/entities/locations-openweathermap.entity.js +143 -0
- package/dist/plugins/weather-openweathermap/entities/locations-openweathermap.entity.js.map +1 -0
- package/dist/plugins/weather-openweathermap/models/config.model.d.ts +8 -0
- package/dist/plugins/weather-openweathermap/models/config.model.js +76 -0
- package/dist/plugins/weather-openweathermap/models/config.model.js.map +1 -0
- package/dist/plugins/weather-openweathermap/platforms/openweathermap.provider.d.ts +16 -0
- package/dist/plugins/weather-openweathermap/platforms/openweathermap.provider.js +70 -0
- package/dist/plugins/weather-openweathermap/platforms/openweathermap.provider.js.map +1 -0
- package/dist/plugins/weather-openweathermap/services/openweathermap-config-validator.service.d.ts +10 -0
- package/dist/plugins/weather-openweathermap/services/openweathermap-config-validator.service.js +37 -0
- package/dist/plugins/weather-openweathermap/services/openweathermap-config-validator.service.js.map +1 -0
- package/dist/plugins/weather-openweathermap/services/openweathermap-http.service.d.ts +21 -0
- package/dist/plugins/weather-openweathermap/services/openweathermap-http.service.js +271 -0
- package/dist/plugins/weather-openweathermap/services/openweathermap-http.service.js.map +1 -0
- package/dist/plugins/weather-openweathermap/weather-openweathermap.constants.d.ts +11 -0
- package/dist/plugins/weather-openweathermap/weather-openweathermap.constants.js +16 -0
- package/dist/plugins/weather-openweathermap/weather-openweathermap.constants.js.map +1 -0
- package/dist/plugins/weather-openweathermap/weather-openweathermap.openapi.d.ts +6 -0
- package/dist/plugins/weather-openweathermap/weather-openweathermap.openapi.js +16 -0
- package/dist/plugins/weather-openweathermap/weather-openweathermap.openapi.js.map +1 -0
- package/dist/plugins/weather-openweathermap/weather-openweathermap.plugin.d.ts +19 -0
- package/dist/plugins/weather-openweathermap/weather-openweathermap.plugin.js +157 -0
- package/dist/plugins/weather-openweathermap/weather-openweathermap.plugin.js.map +1 -0
- package/dist/plugins/weather-openweathermap-onecall/controllers/geolocation.controller.d.ts +10 -0
- package/dist/plugins/weather-openweathermap-onecall/controllers/geolocation.controller.js +124 -0
- package/dist/plugins/weather-openweathermap-onecall/controllers/geolocation.controller.js.map +1 -0
- package/dist/plugins/weather-openweathermap-onecall/dto/create-location.dto.d.ts +8 -0
- package/dist/plugins/weather-openweathermap-onecall/dto/create-location.dto.js +77 -0
- package/dist/plugins/weather-openweathermap-onecall/dto/create-location.dto.js.map +1 -0
- package/dist/plugins/weather-openweathermap-onecall/dto/onecall-response.dto.d.ts +93 -0
- package/dist/plugins/weather-openweathermap-onecall/dto/onecall-response.dto.js +434 -0
- package/dist/plugins/weather-openweathermap-onecall/dto/onecall-response.dto.js.map +1 -0
- package/dist/plugins/weather-openweathermap-onecall/dto/update-config.dto.d.ts +9 -0
- package/dist/plugins/weather-openweathermap-onecall/dto/update-config.dto.js +75 -0
- package/dist/plugins/weather-openweathermap-onecall/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/weather-openweathermap-onecall/dto/update-location.dto.d.ts +6 -0
- package/dist/plugins/weather-openweathermap-onecall/dto/update-location.dto.js +67 -0
- package/dist/plugins/weather-openweathermap-onecall/dto/update-location.dto.js.map +1 -0
- package/dist/plugins/weather-openweathermap-onecall/entities/locations-openweathermap-onecall.entity.d.ts +7 -0
- package/dist/plugins/weather-openweathermap-onecall/entities/locations-openweathermap-onecall.entity.js +80 -0
- package/dist/plugins/weather-openweathermap-onecall/entities/locations-openweathermap-onecall.entity.js.map +1 -0
- package/dist/plugins/weather-openweathermap-onecall/models/config.model.d.ts +8 -0
- package/dist/plugins/weather-openweathermap-onecall/models/config.model.js +76 -0
- package/dist/plugins/weather-openweathermap-onecall/models/config.model.js.map +1 -0
- package/dist/plugins/weather-openweathermap-onecall/models/geolocation.model.d.ts +25 -0
- package/dist/plugins/weather-openweathermap-onecall/models/geolocation.model.js +171 -0
- package/dist/plugins/weather-openweathermap-onecall/models/geolocation.model.js.map +1 -0
- package/dist/plugins/weather-openweathermap-onecall/platforms/openweathermap-onecall.provider.d.ts +24 -0
- package/dist/plugins/weather-openweathermap-onecall/platforms/openweathermap-onecall.provider.js +118 -0
- package/dist/plugins/weather-openweathermap-onecall/platforms/openweathermap-onecall.provider.js.map +1 -0
- package/dist/plugins/weather-openweathermap-onecall/services/openweathermap-onecall-config-validator.service.d.ts +10 -0
- package/dist/plugins/weather-openweathermap-onecall/services/openweathermap-onecall-config-validator.service.js +37 -0
- package/dist/plugins/weather-openweathermap-onecall/services/openweathermap-onecall-config-validator.service.js.map +1 -0
- package/dist/plugins/weather-openweathermap-onecall/services/openweathermap-onecall-geolocation.service.d.ts +13 -0
- package/dist/plugins/weather-openweathermap-onecall/services/openweathermap-onecall-geolocation.service.js +132 -0
- package/dist/plugins/weather-openweathermap-onecall/services/openweathermap-onecall-geolocation.service.js.map +1 -0
- package/dist/plugins/weather-openweathermap-onecall/services/openweathermap-onecall-http.service.d.ts +24 -0
- package/dist/plugins/weather-openweathermap-onecall/services/openweathermap-onecall-http.service.js +207 -0
- package/dist/plugins/weather-openweathermap-onecall/services/openweathermap-onecall-http.service.js.map +1 -0
- package/dist/plugins/weather-openweathermap-onecall/weather-openweathermap-onecall.constants.d.ts +5 -0
- package/dist/plugins/weather-openweathermap-onecall/weather-openweathermap-onecall.constants.js +9 -0
- package/dist/plugins/weather-openweathermap-onecall/weather-openweathermap-onecall.constants.js.map +1 -0
- package/dist/plugins/weather-openweathermap-onecall/weather-openweathermap-onecall.openapi.d.ts +7 -0
- package/dist/plugins/weather-openweathermap-onecall/weather-openweathermap-onecall.openapi.js +22 -0
- package/dist/plugins/weather-openweathermap-onecall/weather-openweathermap-onecall.openapi.js.map +1 -0
- package/dist/plugins/weather-openweathermap-onecall/weather-openweathermap-onecall.plugin.d.ts +19 -0
- package/dist/plugins/weather-openweathermap-onecall/weather-openweathermap-onecall.plugin.js +164 -0
- package/dist/plugins/weather-openweathermap-onecall/weather-openweathermap-onecall.plugin.js.map +1 -0
- package/dist/spec/channels.d.ts +2732 -0
- package/dist/spec/channels.js +4101 -0
- package/dist/spec/channels.js.map +1 -0
- package/dist/spec/devices.d.ts +1293 -0
- package/dist/spec/devices.js +1309 -0
- package/dist/spec/devices.js.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/package.json +179 -0
- package/static/index.html +50 -0
|
@@ -0,0 +1,1117 @@
|
|
|
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.DelegatesManagerService = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const common_1 = require("@nestjs/common");
|
|
15
|
+
const logger_1 = require("../../../common/logger");
|
|
16
|
+
const transform_utils_1 = require("../../../common/utils/transform.utils");
|
|
17
|
+
const devices_constants_1 = require("../../../modules/devices/devices.constants");
|
|
18
|
+
const channels_properties_service_1 = require("../../../modules/devices/services/channels.properties.service");
|
|
19
|
+
const channels_service_1 = require("../../../modules/devices/services/channels.service");
|
|
20
|
+
const device_connectivity_service_1 = require("../../../modules/devices/services/device-connectivity.service");
|
|
21
|
+
const devices_service_1 = require("../../../modules/devices/services/devices.service");
|
|
22
|
+
const devices_shelly_ng_constants_1 = require("../devices-shelly-ng.constants");
|
|
23
|
+
const devices_shelly_ng_exceptions_1 = require("../devices-shelly-ng.exceptions");
|
|
24
|
+
const update_channel_property_dto_1 = require("../dto/update-channel-property.dto");
|
|
25
|
+
const mappings_1 = require("../mappings");
|
|
26
|
+
const transformers_1 = require("../mappings/transformers/transformers");
|
|
27
|
+
const device_manager_service_1 = require("../services/device-manager.service");
|
|
28
|
+
const transform_utils_2 = require("../utils/transform.utils");
|
|
29
|
+
const shelly_device_delegate_1 = require("./shelly-device.delegate");
|
|
30
|
+
let DelegatesManagerService = class DelegatesManagerService {
|
|
31
|
+
constructor(devicesService, channelsService, channelsPropertiesService, deviceConnectivityService, deviceManagerService, propertyMappingStorage, transformerRegistry) {
|
|
32
|
+
this.devicesService = devicesService;
|
|
33
|
+
this.channelsService = channelsService;
|
|
34
|
+
this.channelsPropertiesService = channelsPropertiesService;
|
|
35
|
+
this.deviceConnectivityService = deviceConnectivityService;
|
|
36
|
+
this.deviceManagerService = deviceManagerService;
|
|
37
|
+
this.propertyMappingStorage = propertyMappingStorage;
|
|
38
|
+
this.transformerRegistry = transformerRegistry;
|
|
39
|
+
this.logger = (0, logger_1.createExtensionLogger)(devices_shelly_ng_constants_1.DEVICES_SHELLY_NG_PLUGIN_NAME, 'DelegatesManagerService');
|
|
40
|
+
this.delegates = new Map();
|
|
41
|
+
this.delegateValueHandlers = new Map();
|
|
42
|
+
this.delegateConnectionHandlers = new Map();
|
|
43
|
+
this.changeHandlers = new Map();
|
|
44
|
+
this.setChannelsHandlers = new Map();
|
|
45
|
+
this.setPropertiesHandlers = new Map();
|
|
46
|
+
this.pendingWrites = new Map();
|
|
47
|
+
this.propertiesMap = new Map();
|
|
48
|
+
this.delegateDeviceIds = new Map();
|
|
49
|
+
this.insertGeneration = new Map();
|
|
50
|
+
this.deviceLocks = new Map();
|
|
51
|
+
}
|
|
52
|
+
get(id) {
|
|
53
|
+
return this.delegates.get(id);
|
|
54
|
+
}
|
|
55
|
+
async insert(shelly, force = false) {
|
|
56
|
+
return this.withDeviceLock(shelly.id, () => this.performInsert(shelly, force));
|
|
57
|
+
}
|
|
58
|
+
async performInsert(shelly, force = false) {
|
|
59
|
+
if (this.delegates.has(shelly.id)) {
|
|
60
|
+
if (force) {
|
|
61
|
+
this.performRemove(shelly.id);
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
64
|
+
return this.delegates.get(shelly.id);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
const generation = (this.insertGeneration.get(shelly.id) ?? 0) + 1;
|
|
68
|
+
this.insertGeneration.set(shelly.id, generation);
|
|
69
|
+
const delegate = new shelly_device_delegate_1.ShellyDeviceDelegate(shelly);
|
|
70
|
+
this.delegates.set(shelly.id, delegate);
|
|
71
|
+
const hostname = shelly.wifi?.sta_ip ?? shelly.ethernet?.ip ?? null;
|
|
72
|
+
if (hostname === null) {
|
|
73
|
+
throw new devices_shelly_ng_exceptions_1.DevicesShellyNgException('Missing device hostname or IP address');
|
|
74
|
+
}
|
|
75
|
+
let device = await this.devicesService.findOneBy('identifier', shelly.id, devices_shelly_ng_constants_1.DEVICES_SHELLY_NG_TYPE);
|
|
76
|
+
let isNewDevice = false;
|
|
77
|
+
if (device === null) {
|
|
78
|
+
try {
|
|
79
|
+
device = await this.devicesService.create({
|
|
80
|
+
type: devices_shelly_ng_constants_1.DEVICES_SHELLY_NG_TYPE,
|
|
81
|
+
category: this.determineCategory(delegate),
|
|
82
|
+
identifier: shelly.id,
|
|
83
|
+
hostname,
|
|
84
|
+
name: shelly.system.config.device.name ?? shelly.modelName,
|
|
85
|
+
});
|
|
86
|
+
isNewDevice = true;
|
|
87
|
+
}
|
|
88
|
+
catch (error) {
|
|
89
|
+
device = await this.devicesService.findOneBy('identifier', shelly.id, devices_shelly_ng_constants_1.DEVICES_SHELLY_NG_TYPE);
|
|
90
|
+
if (device === null) {
|
|
91
|
+
throw error;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
this.delegateDeviceIds.set(delegate.id, device.id);
|
|
96
|
+
if (isNewDevice) {
|
|
97
|
+
await this.deviceManagerService.createOrUpdate(device.id);
|
|
98
|
+
device = await this.devicesService.findOneBy('identifier', shelly.id, devices_shelly_ng_constants_1.DEVICES_SHELLY_NG_TYPE);
|
|
99
|
+
if (device === null) {
|
|
100
|
+
throw new devices_shelly_ng_exceptions_1.DevicesShellyNgException('Device not found after provisioning');
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
if (this.insertGeneration.get(shelly.id) !== generation) {
|
|
104
|
+
this.logger.warn(`Insert for device=${shelly.id} cancelled (device removed or re-inserted)`);
|
|
105
|
+
return delegate;
|
|
106
|
+
}
|
|
107
|
+
const deviceInformation = await this.channelsService.findOneBy('category', devices_constants_1.ChannelCategory.DEVICE_INFORMATION, device.id, devices_shelly_ng_constants_1.DEVICES_SHELLY_NG_TYPE);
|
|
108
|
+
if (deviceInformation === null) {
|
|
109
|
+
}
|
|
110
|
+
else {
|
|
111
|
+
const statusProperty = await this.channelsPropertiesService.findOneBy('category', devices_constants_1.PropertyCategory.STATUS, deviceInformation.id);
|
|
112
|
+
if (statusProperty === null) {
|
|
113
|
+
}
|
|
114
|
+
const linkQuality = await this.channelsPropertiesService.findOneBy('category', devices_constants_1.PropertyCategory.LINK_QUALITY, deviceInformation.id);
|
|
115
|
+
if (linkQuality !== null) {
|
|
116
|
+
if (devices_shelly_ng_constants_1.ComponentType.WIFI in shelly) {
|
|
117
|
+
const comp = shelly.wifi;
|
|
118
|
+
await this.setDefaultPropertyValue(device.id, linkQuality, (0, transform_utils_1.clampNumber)((0, transform_utils_2.rssiToQuality)(comp.rssi), 0, 100));
|
|
119
|
+
}
|
|
120
|
+
this.changeHandlers.set(`${delegate.id}|${deviceInformation.identifier}|rssi`, (val) => {
|
|
121
|
+
const n = (0, transform_utils_1.coerceNumberSafe)(val);
|
|
122
|
+
if (n === null || Number.isNaN(n)) {
|
|
123
|
+
this.logger.warn(`Dropping invalid numeric update for link quality -> ${(0, transform_utils_1.safeToString)(val)} (property=${linkQuality.id})`);
|
|
124
|
+
return;
|
|
125
|
+
}
|
|
126
|
+
this.handleChange(linkQuality, (0, transform_utils_1.clampNumber)((0, transform_utils_2.rssiToQuality)(n), 0, 100)).catch((err) => {
|
|
127
|
+
this.logger.error(`Failed to set value for component=${deviceInformation.identifier} attribute=rssi and property=${linkQuality.id}`, {
|
|
128
|
+
resource: device.id,
|
|
129
|
+
message: err.message,
|
|
130
|
+
stack: err.stack,
|
|
131
|
+
});
|
|
132
|
+
});
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
else {
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
if (this.insertGeneration.get(shelly.id) !== generation)
|
|
139
|
+
return delegate;
|
|
140
|
+
for (const comp of delegate.switches.values()) {
|
|
141
|
+
const switcher = await this.channelsService.findOneBy('identifier', `switch:${comp.id}`, device.id, devices_shelly_ng_constants_1.DEVICES_SHELLY_NG_TYPE);
|
|
142
|
+
if (switcher === null) {
|
|
143
|
+
continue;
|
|
144
|
+
}
|
|
145
|
+
let switcherOn = await this.channelsPropertiesService.findOneBy('identifier', 'output', switcher.id);
|
|
146
|
+
if (switcherOn === null) {
|
|
147
|
+
const switcherOnAlt = await this.channelsPropertiesService.findOneBy('identifier', 'on', switcher.id);
|
|
148
|
+
if (switcherOnAlt === null) {
|
|
149
|
+
continue;
|
|
150
|
+
}
|
|
151
|
+
switcherOn = switcherOnAlt;
|
|
152
|
+
}
|
|
153
|
+
await this.setDefaultPropertyValue(device.id, switcherOn, comp.output);
|
|
154
|
+
this.changeHandlers.set(`${delegate.id}|${comp.key}|output`, (val) => {
|
|
155
|
+
this.handleChange(switcherOn, (0, transform_utils_1.coerceBooleanSafe)(val)).catch((err) => {
|
|
156
|
+
this.logger.error(`Failed to set value for component=${comp.key} attribute=output and property=${switcherOn.id}`, {
|
|
157
|
+
resource: device.id,
|
|
158
|
+
message: err.message,
|
|
159
|
+
stack: err.stack,
|
|
160
|
+
});
|
|
161
|
+
});
|
|
162
|
+
});
|
|
163
|
+
this.setPropertiesHandlers.set(`${delegate.id}|${switcherOn.id}`, async (val) => {
|
|
164
|
+
if (typeof val !== 'boolean') {
|
|
165
|
+
return false;
|
|
166
|
+
}
|
|
167
|
+
await comp.set(val);
|
|
168
|
+
return true;
|
|
169
|
+
});
|
|
170
|
+
if (typeof comp.aenergy !== 'undefined') {
|
|
171
|
+
const electricalEnergy = await this.channelsService.findOneBy('identifier', `energy:${comp.id}`, device.id, devices_shelly_ng_constants_1.DEVICES_SHELLY_NG_TYPE);
|
|
172
|
+
if (electricalEnergy === null) {
|
|
173
|
+
}
|
|
174
|
+
else {
|
|
175
|
+
const consumption = await this.channelsPropertiesService.findOneBy('identifier', 'aenergy', electricalEnergy.id);
|
|
176
|
+
if (consumption === null) {
|
|
177
|
+
}
|
|
178
|
+
else {
|
|
179
|
+
await this.setDefaultPropertyValue(device.id, consumption, (0, transform_utils_2.toEnergy)(comp.aenergy));
|
|
180
|
+
this.changeHandlers.set(`${delegate.id}|${comp.key}|aenergy`, (val) => {
|
|
181
|
+
this.handleNumericChange(comp.key, 'aenergy', consumption.id, val, (n) => this.handleChange(consumption, (0, transform_utils_2.toEnergy)(n), false));
|
|
182
|
+
});
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
if (typeof comp.apower !== 'undefined') {
|
|
187
|
+
const electricalPower = await this.channelsService.findOneBy('identifier', `power:${comp.id}`, device.id, devices_shelly_ng_constants_1.DEVICES_SHELLY_NG_TYPE);
|
|
188
|
+
if (electricalPower === null) {
|
|
189
|
+
}
|
|
190
|
+
else {
|
|
191
|
+
const power = await this.channelsPropertiesService.findOneBy('identifier', 'apower', electricalPower.id);
|
|
192
|
+
if (power === null) {
|
|
193
|
+
}
|
|
194
|
+
else {
|
|
195
|
+
await this.setDefaultPropertyValue(device.id, power, Math.max(0, comp.apower));
|
|
196
|
+
this.changeHandlers.set(`${delegate.id}|${comp.key}|apower`, (val) => {
|
|
197
|
+
this.handleNumericChange(comp.key, 'apower', power.id, val, (n) => this.handleChange(power, Math.max(0, n), false));
|
|
198
|
+
});
|
|
199
|
+
if (typeof comp.voltage !== 'undefined') {
|
|
200
|
+
const voltage = await this.channelsPropertiesService.findOneBy('identifier', 'voltage', electricalPower.id);
|
|
201
|
+
if (voltage === null) {
|
|
202
|
+
}
|
|
203
|
+
else {
|
|
204
|
+
await this.setDefaultPropertyValue(device.id, voltage, comp.voltage);
|
|
205
|
+
this.changeHandlers.set(`${delegate.id}|${comp.key}|voltage`, (val) => {
|
|
206
|
+
this.handleNumericChange(comp.key, 'voltage', voltage.id, val, (n) => this.handleChange(voltage, n, false));
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
if (typeof comp.current !== 'undefined') {
|
|
211
|
+
const current = await this.channelsPropertiesService.findOneBy('identifier', 'current', electricalPower.id);
|
|
212
|
+
if (current === null) {
|
|
213
|
+
}
|
|
214
|
+
else {
|
|
215
|
+
await this.setDefaultPropertyValue(device.id, current, comp.current);
|
|
216
|
+
this.changeHandlers.set(`${delegate.id}|${comp.key}|current`, (val) => {
|
|
217
|
+
this.handleNumericChange(comp.key, 'current', current.id, val, (n) => this.handleChange(current, n, false));
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
if (this.insertGeneration.get(shelly.id) !== generation)
|
|
226
|
+
return delegate;
|
|
227
|
+
for (const comp of delegate.covers.values()) {
|
|
228
|
+
const cover = await this.channelsService.findOneBy('identifier', `cover:${comp.id}`, device.id, devices_shelly_ng_constants_1.DEVICES_SHELLY_NG_TYPE);
|
|
229
|
+
if (cover === null) {
|
|
230
|
+
continue;
|
|
231
|
+
}
|
|
232
|
+
const coverState = await this.channelsPropertiesService.findOneBy('identifier', 'state', cover.id);
|
|
233
|
+
if (coverState === null) {
|
|
234
|
+
throw new devices_shelly_ng_exceptions_1.DevicesShellyNgNotFoundException('Failed to load cover state channel property');
|
|
235
|
+
}
|
|
236
|
+
await this.setDefaultPropertyValue(device.id, coverState, comp.state);
|
|
237
|
+
this.changeHandlers.set(`${delegate.id}|${comp.key}|state`, (val) => {
|
|
238
|
+
if (typeof val !== 'string') {
|
|
239
|
+
return;
|
|
240
|
+
}
|
|
241
|
+
if (val === 'calibrating')
|
|
242
|
+
return;
|
|
243
|
+
this.handleChange(coverState, val).catch((err) => {
|
|
244
|
+
this.logger.error(`Failed to set value for component=${comp.key} attribute=state and property=${coverState.id}`, {
|
|
245
|
+
resource: device.id,
|
|
246
|
+
message: err.message,
|
|
247
|
+
stack: err.stack,
|
|
248
|
+
});
|
|
249
|
+
});
|
|
250
|
+
});
|
|
251
|
+
const coverPosition = await this.channelsPropertiesService.findOneBy('identifier', 'current_pos', cover.id);
|
|
252
|
+
if (coverPosition === null) {
|
|
253
|
+
throw new devices_shelly_ng_exceptions_1.DevicesShellyNgNotFoundException('Failed to load cover position channel property');
|
|
254
|
+
}
|
|
255
|
+
await this.setDefaultPropertyValue(device.id, coverPosition, (0, transform_utils_1.clampNumber)(comp.current_pos, 0, 100));
|
|
256
|
+
this.changeHandlers.set(`${delegate.id}|${comp.key}|current_pos`, (val) => {
|
|
257
|
+
this.handleNumericChange(comp.key, 'current_pos', coverPosition.id, val, (n) => this.handleChange(coverPosition, n, false), { clamp: { min: 0, max: 100 } });
|
|
258
|
+
});
|
|
259
|
+
this.setPropertiesHandlers.set(`${delegate.id}|${coverPosition.id}`, async (val) => {
|
|
260
|
+
const n = (0, transform_utils_1.coerceNumberSafe)(val);
|
|
261
|
+
if (n === null || Number.isNaN(n)) {
|
|
262
|
+
this.logger.warn(`Dropping invalid numeric update for ${comp.key}.current_pos -> ${String(val)} (property=${coverPosition.id})`);
|
|
263
|
+
return;
|
|
264
|
+
}
|
|
265
|
+
await comp.goToPosition(Math.round((0, transform_utils_1.clampNumber)(n, 0, 100)));
|
|
266
|
+
return true;
|
|
267
|
+
});
|
|
268
|
+
const coverCommand = await this.channelsPropertiesService.findOneBy('category', devices_constants_1.PropertyCategory.COMMAND, cover.id);
|
|
269
|
+
if (coverCommand === null) {
|
|
270
|
+
throw new devices_shelly_ng_exceptions_1.DevicesShellyNgNotFoundException('Failed to load cover command channel property');
|
|
271
|
+
}
|
|
272
|
+
await this.setDefaultPropertyValue(device.id, coverCommand, 'stop');
|
|
273
|
+
this.setPropertiesHandlers.set(`${delegate.id}|${coverCommand.id}`, async (val) => {
|
|
274
|
+
if (typeof val !== 'string') {
|
|
275
|
+
return false;
|
|
276
|
+
}
|
|
277
|
+
if (val === 'open')
|
|
278
|
+
await comp.open();
|
|
279
|
+
if (val === 'close')
|
|
280
|
+
await comp.close();
|
|
281
|
+
if (val === 'stop')
|
|
282
|
+
await comp.stop();
|
|
283
|
+
return true;
|
|
284
|
+
});
|
|
285
|
+
}
|
|
286
|
+
if (this.insertGeneration.get(shelly.id) !== generation)
|
|
287
|
+
return delegate;
|
|
288
|
+
for (const comp of delegate.lights.values()) {
|
|
289
|
+
const light = await this.channelsService.findOneBy('identifier', `light:${comp.id}`, device.id, devices_shelly_ng_constants_1.DEVICES_SHELLY_NG_TYPE);
|
|
290
|
+
if (light === null) {
|
|
291
|
+
continue;
|
|
292
|
+
}
|
|
293
|
+
const lightOn = await this.channelsPropertiesService.findOneBy('identifier', 'output', light.id);
|
|
294
|
+
if (lightOn === null) {
|
|
295
|
+
throw new devices_shelly_ng_exceptions_1.DevicesShellyNgNotFoundException('Failed to load light on channel property');
|
|
296
|
+
}
|
|
297
|
+
await this.setDefaultPropertyValue(device.id, lightOn, comp.output);
|
|
298
|
+
this.changeHandlers.set(`${delegate.id}|${comp.key}|output`, (val) => {
|
|
299
|
+
this.handleChange(lightOn, (0, transform_utils_1.coerceBooleanSafe)(val)).catch((err) => {
|
|
300
|
+
this.logger.error(`Failed to set value for component=${comp.key} attribute=output and property=${lightOn.id}`, {
|
|
301
|
+
resource: device.id,
|
|
302
|
+
message: err.message,
|
|
303
|
+
stack: err.stack,
|
|
304
|
+
});
|
|
305
|
+
});
|
|
306
|
+
});
|
|
307
|
+
this.setPropertiesHandlers.set(`${delegate.id}|${lightOn.id}`, async (val) => {
|
|
308
|
+
if (typeof val !== 'boolean') {
|
|
309
|
+
return false;
|
|
310
|
+
}
|
|
311
|
+
await comp.set(val);
|
|
312
|
+
return true;
|
|
313
|
+
});
|
|
314
|
+
if (typeof comp.brightness !== 'undefined') {
|
|
315
|
+
const brightness = await this.channelsPropertiesService.findOneBy('identifier', 'brightness', light.id);
|
|
316
|
+
if (brightness === null) {
|
|
317
|
+
throw new devices_shelly_ng_exceptions_1.DevicesShellyNgNotFoundException('Failed to load light brightness channel property');
|
|
318
|
+
}
|
|
319
|
+
await this.setDefaultPropertyValue(device.id, brightness, (0, transform_utils_1.clampNumber)(comp.brightness, 0, 100));
|
|
320
|
+
this.changeHandlers.set(`${delegate.id}|${comp.key}|brightness`, (val) => {
|
|
321
|
+
this.handleNumericChange(comp.key, 'brightness', brightness.id, val, (n) => this.handleChange(brightness, n, false), { clamp: { min: 0, max: 100 } });
|
|
322
|
+
});
|
|
323
|
+
this.setPropertiesHandlers.set(`${delegate.id}|${brightness.id}`, async (val) => {
|
|
324
|
+
const n = (0, transform_utils_1.coerceNumberSafe)(val);
|
|
325
|
+
if (n === null || Number.isNaN(n)) {
|
|
326
|
+
this.logger.warn(`Dropping invalid numeric update for ${comp.key}.brightness -> ${String(val)} (property=${brightness.id})`);
|
|
327
|
+
return;
|
|
328
|
+
}
|
|
329
|
+
await comp.set(true, Math.round((0, transform_utils_1.clampNumber)(n, 0, 100)));
|
|
330
|
+
return true;
|
|
331
|
+
});
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
if (this.insertGeneration.get(shelly.id) !== generation)
|
|
335
|
+
return delegate;
|
|
336
|
+
for (const comp of delegate.rgb.values()) {
|
|
337
|
+
const rgb = await this.channelsService.findOneBy('identifier', `rgb:${comp.id}`, device.id, devices_shelly_ng_constants_1.DEVICES_SHELLY_NG_TYPE);
|
|
338
|
+
if (rgb === null) {
|
|
339
|
+
continue;
|
|
340
|
+
}
|
|
341
|
+
const rgbOn = await this.channelsPropertiesService.findOneBy('identifier', 'output', rgb.id);
|
|
342
|
+
if (rgbOn === null) {
|
|
343
|
+
throw new devices_shelly_ng_exceptions_1.DevicesShellyNgNotFoundException('Failed to load rgb on channel property');
|
|
344
|
+
}
|
|
345
|
+
await this.setDefaultPropertyValue(device.id, rgbOn, comp.output);
|
|
346
|
+
this.changeHandlers.set(`${delegate.id}|${comp.key}|output`, (val) => {
|
|
347
|
+
this.handleChange(rgbOn, (0, transform_utils_1.coerceBooleanSafe)(val)).catch((err) => {
|
|
348
|
+
this.logger.error(`Failed to set value for component=${comp.key} attribute=output and property=${rgbOn.id}`, {
|
|
349
|
+
resource: device.id,
|
|
350
|
+
message: err.message,
|
|
351
|
+
stack: err.stack,
|
|
352
|
+
});
|
|
353
|
+
});
|
|
354
|
+
});
|
|
355
|
+
this.setPropertiesHandlers.set(`${delegate.id}|${rgbOn.id}`, async (val) => {
|
|
356
|
+
if (typeof val !== 'boolean') {
|
|
357
|
+
return false;
|
|
358
|
+
}
|
|
359
|
+
await comp.set(val);
|
|
360
|
+
return true;
|
|
361
|
+
});
|
|
362
|
+
if (typeof comp.brightness !== 'undefined') {
|
|
363
|
+
const brightness = await this.channelsPropertiesService.findOneBy('identifier', 'brightness', rgb.id);
|
|
364
|
+
if (brightness === null) {
|
|
365
|
+
throw new devices_shelly_ng_exceptions_1.DevicesShellyNgNotFoundException('Failed to load rgb brightness channel property');
|
|
366
|
+
}
|
|
367
|
+
await this.setDefaultPropertyValue(device.id, brightness, (0, transform_utils_1.clampNumber)(comp.brightness, 0, 100));
|
|
368
|
+
this.changeHandlers.set(`${delegate.id}|${comp.key}|brightness`, (val) => {
|
|
369
|
+
this.handleNumericChange(comp.key, 'brightness', brightness.id, val, (n) => this.handleChange(brightness, n, false), { clamp: { min: 0, max: 100 } });
|
|
370
|
+
});
|
|
371
|
+
this.setPropertiesHandlers.set(`${delegate.id}|${brightness.id}`, async (val) => {
|
|
372
|
+
const n = (0, transform_utils_1.coerceNumberSafe)(val);
|
|
373
|
+
if (n === null || Number.isNaN(n)) {
|
|
374
|
+
this.logger.warn(`Dropping invalid numeric update for ${comp.key}.brightness -> ${String(val)} (property=${brightness.id})`);
|
|
375
|
+
return;
|
|
376
|
+
}
|
|
377
|
+
await comp.set(true, Math.round((0, transform_utils_1.clampNumber)(n, 0, 100)));
|
|
378
|
+
return true;
|
|
379
|
+
});
|
|
380
|
+
}
|
|
381
|
+
if (typeof comp.rgb !== 'undefined') {
|
|
382
|
+
const colorRed = await this.channelsPropertiesService.findOneBy('identifier', 'rgb:red', rgb.id);
|
|
383
|
+
const colorGreen = await this.channelsPropertiesService.findOneBy('identifier', 'rgb:green', rgb.id);
|
|
384
|
+
const colorBlue = await this.channelsPropertiesService.findOneBy('identifier', 'rgb:blue', rgb.id);
|
|
385
|
+
if (colorRed === null || colorGreen === null || colorBlue === null) {
|
|
386
|
+
this.logger.warn(`RGB color properties not found for device=${device.id} rgb=${comp.id}, skipping RGB color handling. Properties may not be created yet.`, { resource: device.id });
|
|
387
|
+
}
|
|
388
|
+
else {
|
|
389
|
+
await this.setDefaultPropertyValue(device.id, colorRed, (0, transform_utils_1.clampNumber)(comp.rgb[0], 0, 255));
|
|
390
|
+
await this.setDefaultPropertyValue(device.id, colorGreen, (0, transform_utils_1.clampNumber)(comp.rgb[1], 0, 255));
|
|
391
|
+
await this.setDefaultPropertyValue(device.id, colorBlue, (0, transform_utils_1.clampNumber)(comp.rgb[2], 0, 255));
|
|
392
|
+
this.changeHandlers.set(`${delegate.id}|${comp.key}|rgb`, (val) => {
|
|
393
|
+
this.handleNumericChange(comp.key, 'rgb:red', colorRed.id, val[0], (n) => this.handleChange(colorRed, n, false), { clamp: { min: 0, max: 255 } });
|
|
394
|
+
this.handleNumericChange(comp.key, 'rgb:green', colorGreen.id, val[1], (n) => this.handleChange(colorGreen, n, false), { clamp: { min: 0, max: 255 } });
|
|
395
|
+
this.handleNumericChange(comp.key, 'rgb:blue', colorBlue.id, val[2], (n) => this.handleChange(colorBlue, n, false), { clamp: { min: 0, max: 255 } });
|
|
396
|
+
});
|
|
397
|
+
this.setPropertiesHandlers.set(`${delegate.id}|${colorRed.id}`, async (val) => {
|
|
398
|
+
const n = (0, transform_utils_1.coerceNumberSafe)(val);
|
|
399
|
+
if (n === null || Number.isNaN(n)) {
|
|
400
|
+
this.logger.warn(`Dropping invalid numeric update for ${comp.key}.rgb:red -> ${String(val)} (property=${colorRed.id})`);
|
|
401
|
+
return;
|
|
402
|
+
}
|
|
403
|
+
await comp.set(true, comp.brightness, [Math.round((0, transform_utils_1.clampNumber)(n, 0, 255)), comp.rgb[1], comp.rgb[2]]);
|
|
404
|
+
return true;
|
|
405
|
+
});
|
|
406
|
+
this.setPropertiesHandlers.set(`${delegate.id}|${colorGreen.id}`, async (val) => {
|
|
407
|
+
const n = (0, transform_utils_1.coerceNumberSafe)(val);
|
|
408
|
+
if (n === null || Number.isNaN(n)) {
|
|
409
|
+
this.logger.warn(`Dropping invalid numeric update for ${comp.key}.rgb:green -> ${String(val)} (property=${colorGreen.id})`);
|
|
410
|
+
return;
|
|
411
|
+
}
|
|
412
|
+
await comp.set(true, comp.brightness, [comp.rgb[0], Math.round((0, transform_utils_1.clampNumber)(n, 0, 255)), comp.rgb[2]]);
|
|
413
|
+
return true;
|
|
414
|
+
});
|
|
415
|
+
this.setPropertiesHandlers.set(`${delegate.id}|${colorBlue.id}`, async (val) => {
|
|
416
|
+
const n = (0, transform_utils_1.coerceNumberSafe)(val);
|
|
417
|
+
if (n === null || Number.isNaN(n)) {
|
|
418
|
+
this.logger.warn(`Dropping invalid numeric update for ${comp.key}.rgb:blue -> ${String(val)} (property=${colorBlue.id})`);
|
|
419
|
+
return;
|
|
420
|
+
}
|
|
421
|
+
await comp.set(true, comp.brightness, [comp.rgb[0], comp.rgb[1], Math.round((0, transform_utils_1.clampNumber)(n, 0, 255))]);
|
|
422
|
+
return true;
|
|
423
|
+
});
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
this.setChannelsHandlers.set(`${delegate.id}|${rgb.id}`, async (updates) => {
|
|
427
|
+
const outputUpdate = updates.find((u) => u.property.identifier === 'output');
|
|
428
|
+
const brightnessUpdate = updates.find((u) => u.property.identifier === 'brightness');
|
|
429
|
+
const colorRedUpdate = updates.find((u) => u.property.identifier === 'rgb:red');
|
|
430
|
+
const colorGreenUpdate = updates.find((u) => u.property.identifier === 'rgb:green');
|
|
431
|
+
const colorBlueUpdate = updates.find((u) => u.property.identifier === 'rgb:blue');
|
|
432
|
+
const hasBrightnessOrColorUpdate = brightnessUpdate || colorRedUpdate || colorGreenUpdate || colorBlueUpdate;
|
|
433
|
+
const outputValue = outputUpdate
|
|
434
|
+
? (0, transform_utils_1.coerceBooleanSafe)(outputUpdate.val)
|
|
435
|
+
: hasBrightnessOrColorUpdate
|
|
436
|
+
? true
|
|
437
|
+
: (0, transform_utils_1.coerceBooleanSafe)(comp.output);
|
|
438
|
+
const brightnessValue = brightnessUpdate
|
|
439
|
+
? (0, transform_utils_1.coerceNumberSafe)(brightnessUpdate.val)
|
|
440
|
+
: (0, transform_utils_1.coerceNumberSafe)(comp.brightness);
|
|
441
|
+
const colorRedValue = colorRedUpdate ? (0, transform_utils_1.coerceNumberSafe)(colorRedUpdate.val) : (0, transform_utils_1.coerceNumberSafe)(comp.rgb[0]);
|
|
442
|
+
const colorGreenValue = colorGreenUpdate
|
|
443
|
+
? (0, transform_utils_1.coerceNumberSafe)(colorGreenUpdate.val)
|
|
444
|
+
: (0, transform_utils_1.coerceNumberSafe)(comp.rgb[1]);
|
|
445
|
+
const colorBlueValue = colorBlueUpdate ? (0, transform_utils_1.coerceNumberSafe)(colorBlueUpdate.val) : (0, transform_utils_1.coerceNumberSafe)(comp.rgb[2]);
|
|
446
|
+
if (outputValue === null ||
|
|
447
|
+
typeof outputValue !== 'boolean' ||
|
|
448
|
+
brightnessValue === null ||
|
|
449
|
+
Number.isNaN(brightnessValue) ||
|
|
450
|
+
colorRedValue === null ||
|
|
451
|
+
Number.isNaN(colorRedValue) ||
|
|
452
|
+
colorGreenValue === null ||
|
|
453
|
+
Number.isNaN(colorGreenValue) ||
|
|
454
|
+
colorBlueValue === null ||
|
|
455
|
+
Number.isNaN(colorBlueValue)) {
|
|
456
|
+
this.logger.warn(`Dropping invalid batch update for ${comp.key} (channel=${rgb.id})`);
|
|
457
|
+
return;
|
|
458
|
+
}
|
|
459
|
+
await comp.set(outputValue, Math.round((0, transform_utils_1.clampNumber)(brightnessValue, 0, 100)), [
|
|
460
|
+
Math.round((0, transform_utils_1.clampNumber)(colorRedValue, 0, 255)),
|
|
461
|
+
Math.round((0, transform_utils_1.clampNumber)(colorGreenValue, 0, 255)),
|
|
462
|
+
Math.round((0, transform_utils_1.clampNumber)(colorBlueValue, 0, 255)),
|
|
463
|
+
]);
|
|
464
|
+
return true;
|
|
465
|
+
});
|
|
466
|
+
}
|
|
467
|
+
if (this.insertGeneration.get(shelly.id) !== generation)
|
|
468
|
+
return delegate;
|
|
469
|
+
for (const comp of delegate.rgbw.values()) {
|
|
470
|
+
const rgbw = await this.channelsService.findOneBy('identifier', `rgbw:${comp.id}`, device.id, devices_shelly_ng_constants_1.DEVICES_SHELLY_NG_TYPE);
|
|
471
|
+
if (rgbw === null) {
|
|
472
|
+
continue;
|
|
473
|
+
}
|
|
474
|
+
const rgbwOn = await this.channelsPropertiesService.findOneBy('identifier', 'output', rgbw.id);
|
|
475
|
+
if (rgbwOn === null) {
|
|
476
|
+
throw new devices_shelly_ng_exceptions_1.DevicesShellyNgNotFoundException('Failed to load rgbw on channel property');
|
|
477
|
+
}
|
|
478
|
+
await this.setDefaultPropertyValue(device.id, rgbwOn, comp.output);
|
|
479
|
+
this.changeHandlers.set(`${delegate.id}|${comp.key}|output`, (val) => {
|
|
480
|
+
this.handleChange(rgbwOn, (0, transform_utils_1.coerceBooleanSafe)(val)).catch((err) => {
|
|
481
|
+
this.logger.error(`Failed to set value for component=${comp.key} attribute=output and property=${rgbwOn.id}`, {
|
|
482
|
+
resource: device.id,
|
|
483
|
+
message: err.message,
|
|
484
|
+
stack: err.stack,
|
|
485
|
+
});
|
|
486
|
+
});
|
|
487
|
+
});
|
|
488
|
+
this.setPropertiesHandlers.set(`${delegate.id}|${rgbwOn.id}`, async (val) => {
|
|
489
|
+
if (typeof val !== 'boolean') {
|
|
490
|
+
return false;
|
|
491
|
+
}
|
|
492
|
+
await comp.set(val);
|
|
493
|
+
return true;
|
|
494
|
+
});
|
|
495
|
+
if (typeof comp.brightness !== 'undefined') {
|
|
496
|
+
const brightness = await this.channelsPropertiesService.findOneBy('identifier', 'brightness', rgbw.id);
|
|
497
|
+
if (brightness === null) {
|
|
498
|
+
throw new devices_shelly_ng_exceptions_1.DevicesShellyNgNotFoundException('Failed to load rgbw brightness channel property');
|
|
499
|
+
}
|
|
500
|
+
await this.setDefaultPropertyValue(device.id, brightness, (0, transform_utils_1.clampNumber)(comp.brightness, 0, 100));
|
|
501
|
+
this.changeHandlers.set(`${delegate.id}|${comp.key}|brightness`, (val) => {
|
|
502
|
+
this.handleNumericChange(comp.key, 'brightness', brightness.id, val, (n) => this.handleChange(brightness, n, false), { clamp: { min: 0, max: 100 } });
|
|
503
|
+
});
|
|
504
|
+
this.setPropertiesHandlers.set(`${delegate.id}|${brightness.id}`, async (val) => {
|
|
505
|
+
const n = (0, transform_utils_1.coerceNumberSafe)(val);
|
|
506
|
+
if (n === null || Number.isNaN(n)) {
|
|
507
|
+
this.logger.warn(`Dropping invalid numeric update for ${comp.key}.brightness -> ${String(val)} (property=${brightness.id})`);
|
|
508
|
+
return;
|
|
509
|
+
}
|
|
510
|
+
await comp.set(true, Math.round((0, transform_utils_1.clampNumber)(n, 0, 100)));
|
|
511
|
+
return true;
|
|
512
|
+
});
|
|
513
|
+
}
|
|
514
|
+
if (typeof comp.rgb !== 'undefined') {
|
|
515
|
+
const colorRed = await this.channelsPropertiesService.findOneBy('identifier', 'rgb:red', rgbw.id);
|
|
516
|
+
const colorGreen = await this.channelsPropertiesService.findOneBy('identifier', 'rgb:green', rgbw.id);
|
|
517
|
+
const colorBlue = await this.channelsPropertiesService.findOneBy('identifier', 'rgb:blue', rgbw.id);
|
|
518
|
+
if (colorRed === null || colorGreen === null || colorBlue === null) {
|
|
519
|
+
this.logger.warn(`RGB color properties not found for device=${device.id} rgbw=${comp.id}, skipping RGB color handling. Properties may not be created yet or device doesn't support RGB.`, { resource: device.id });
|
|
520
|
+
}
|
|
521
|
+
else {
|
|
522
|
+
await this.setDefaultPropertyValue(device.id, colorRed, (0, transform_utils_1.clampNumber)(comp.rgb[0], 0, 255));
|
|
523
|
+
await this.setDefaultPropertyValue(device.id, colorGreen, (0, transform_utils_1.clampNumber)(comp.rgb[1], 0, 255));
|
|
524
|
+
await this.setDefaultPropertyValue(device.id, colorBlue, (0, transform_utils_1.clampNumber)(comp.rgb[2], 0, 255));
|
|
525
|
+
this.changeHandlers.set(`${delegate.id}|${comp.key}|rgb`, (val) => {
|
|
526
|
+
this.handleNumericChange(comp.key, 'rgb:red', colorRed.id, val[0], (n) => this.handleChange(colorRed, n, false), { clamp: { min: 0, max: 255 } });
|
|
527
|
+
this.handleNumericChange(comp.key, 'rgb:green', colorGreen.id, val[1], (n) => this.handleChange(colorGreen, n, false), { clamp: { min: 0, max: 255 } });
|
|
528
|
+
this.handleNumericChange(comp.key, 'rgb:blue', colorBlue.id, val[2], (n) => this.handleChange(colorBlue, n, false), { clamp: { min: 0, max: 255 } });
|
|
529
|
+
});
|
|
530
|
+
this.setPropertiesHandlers.set(`${delegate.id}|${colorRed.id}`, async (val) => {
|
|
531
|
+
const n = (0, transform_utils_1.coerceNumberSafe)(val);
|
|
532
|
+
if (n === null || Number.isNaN(n)) {
|
|
533
|
+
this.logger.warn(`Dropping invalid numeric update for ${comp.key}.rgb:red -> ${String(val)} (property=${colorRed.id})`);
|
|
534
|
+
return;
|
|
535
|
+
}
|
|
536
|
+
await comp.set(true, comp.brightness, [Math.round((0, transform_utils_1.clampNumber)(n, 0, 255)), comp.rgb[1], comp.rgb[2]]);
|
|
537
|
+
return true;
|
|
538
|
+
});
|
|
539
|
+
this.setPropertiesHandlers.set(`${delegate.id}|${colorGreen.id}`, async (val) => {
|
|
540
|
+
const n = (0, transform_utils_1.coerceNumberSafe)(val);
|
|
541
|
+
if (n === null || Number.isNaN(n)) {
|
|
542
|
+
this.logger.warn(`Dropping invalid numeric update for ${comp.key}.rgb:green -> ${String(val)} (property=${colorGreen.id})`);
|
|
543
|
+
return;
|
|
544
|
+
}
|
|
545
|
+
await comp.set(true, comp.brightness, [comp.rgb[0], Math.round((0, transform_utils_1.clampNumber)(n, 0, 255)), comp.rgb[2]]);
|
|
546
|
+
return true;
|
|
547
|
+
});
|
|
548
|
+
this.setPropertiesHandlers.set(`${delegate.id}|${colorBlue.id}`, async (val) => {
|
|
549
|
+
const n = (0, transform_utils_1.coerceNumberSafe)(val);
|
|
550
|
+
if (n === null || Number.isNaN(n)) {
|
|
551
|
+
this.logger.warn(`Dropping invalid numeric update for ${comp.key}.rgb:blue -> ${String(val)} (property=${colorBlue.id})`);
|
|
552
|
+
return;
|
|
553
|
+
}
|
|
554
|
+
await comp.set(true, comp.brightness, [comp.rgb[0], comp.rgb[1], Math.round((0, transform_utils_1.clampNumber)(n, 0, 255))]);
|
|
555
|
+
return true;
|
|
556
|
+
});
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
if (typeof comp.white !== 'undefined') {
|
|
560
|
+
const white = await this.channelsPropertiesService.findOneBy('identifier', 'white', rgbw.id);
|
|
561
|
+
if (white === null) {
|
|
562
|
+
throw new devices_shelly_ng_exceptions_1.DevicesShellyNgNotFoundException('Failed to load rgbw white channel property');
|
|
563
|
+
}
|
|
564
|
+
await this.setDefaultPropertyValue(device.id, white, (0, transform_utils_1.clampNumber)(comp.white, 0, 255));
|
|
565
|
+
this.changeHandlers.set(`${delegate.id}|${comp.key}|white`, (val) => {
|
|
566
|
+
this.handleNumericChange(comp.key, 'white', white.id, val, (n) => this.handleChange(white, n, false), {
|
|
567
|
+
clamp: { min: 0, max: 255 },
|
|
568
|
+
});
|
|
569
|
+
});
|
|
570
|
+
this.setPropertiesHandlers.set(`${delegate.id}|${white.id}`, async (val) => {
|
|
571
|
+
const n = (0, transform_utils_1.coerceNumberSafe)(val);
|
|
572
|
+
if (n === null || Number.isNaN(n)) {
|
|
573
|
+
this.logger.warn(`Dropping invalid numeric update for ${comp.key}.white -> ${String(val)} (property=${white.id})`);
|
|
574
|
+
return;
|
|
575
|
+
}
|
|
576
|
+
await comp.set(true, Math.round((0, transform_utils_1.clampNumber)(n, 0, 255)));
|
|
577
|
+
return true;
|
|
578
|
+
});
|
|
579
|
+
}
|
|
580
|
+
this.setChannelsHandlers.set(`${delegate.id}|${rgbw.id}`, async (updates) => {
|
|
581
|
+
const outputUpdate = updates.find((u) => u.property.identifier === 'output');
|
|
582
|
+
const brightnessUpdate = updates.find((u) => u.property.identifier === 'brightness');
|
|
583
|
+
const colorRedUpdate = updates.find((u) => u.property.identifier === 'rgb:red');
|
|
584
|
+
const colorGreenUpdate = updates.find((u) => u.property.identifier === 'rgb:green');
|
|
585
|
+
const colorBlueUpdate = updates.find((u) => u.property.identifier === 'rgb:blue');
|
|
586
|
+
const whiteUpdate = updates.find((u) => u.property.identifier === 'white');
|
|
587
|
+
const hasBrightnessOrColorUpdate = brightnessUpdate || colorRedUpdate || colorGreenUpdate || colorBlueUpdate || whiteUpdate;
|
|
588
|
+
const outputValue = outputUpdate
|
|
589
|
+
? (0, transform_utils_1.coerceBooleanSafe)(outputUpdate.val)
|
|
590
|
+
: hasBrightnessOrColorUpdate
|
|
591
|
+
? true
|
|
592
|
+
: (0, transform_utils_1.coerceBooleanSafe)(comp.output);
|
|
593
|
+
const brightnessValue = brightnessUpdate
|
|
594
|
+
? (0, transform_utils_1.coerceNumberSafe)(brightnessUpdate.val)
|
|
595
|
+
: (0, transform_utils_1.coerceNumberSafe)(comp.brightness);
|
|
596
|
+
const colorRedValue = colorRedUpdate ? (0, transform_utils_1.coerceNumberSafe)(colorRedUpdate.val) : (0, transform_utils_1.coerceNumberSafe)(comp.rgb[0]);
|
|
597
|
+
const colorGreenValue = colorGreenUpdate
|
|
598
|
+
? (0, transform_utils_1.coerceNumberSafe)(colorGreenUpdate.val)
|
|
599
|
+
: (0, transform_utils_1.coerceNumberSafe)(comp.rgb[1]);
|
|
600
|
+
const colorBlueValue = colorBlueUpdate ? (0, transform_utils_1.coerceNumberSafe)(colorBlueUpdate.val) : (0, transform_utils_1.coerceNumberSafe)(comp.rgb[2]);
|
|
601
|
+
const whiteValue = whiteUpdate ? (0, transform_utils_1.coerceNumberSafe)(whiteUpdate.val) : (0, transform_utils_1.coerceNumberSafe)(comp.white);
|
|
602
|
+
if (outputValue === null ||
|
|
603
|
+
typeof outputValue !== 'boolean' ||
|
|
604
|
+
brightnessValue === null ||
|
|
605
|
+
Number.isNaN(brightnessValue) ||
|
|
606
|
+
colorRedValue === null ||
|
|
607
|
+
Number.isNaN(colorRedValue) ||
|
|
608
|
+
colorGreenValue === null ||
|
|
609
|
+
Number.isNaN(colorGreenValue) ||
|
|
610
|
+
colorBlueValue === null ||
|
|
611
|
+
Number.isNaN(colorBlueValue) ||
|
|
612
|
+
whiteValue === null ||
|
|
613
|
+
Number.isNaN(whiteValue)) {
|
|
614
|
+
this.logger.warn(`Dropping invalid batch update for ${comp.key} (channel=${rgbw.id})`);
|
|
615
|
+
return;
|
|
616
|
+
}
|
|
617
|
+
await comp.set(outputValue, Math.round((0, transform_utils_1.clampNumber)(brightnessValue, 0, 100)), [
|
|
618
|
+
Math.round((0, transform_utils_1.clampNumber)(colorRedValue, 0, 255)),
|
|
619
|
+
Math.round((0, transform_utils_1.clampNumber)(colorGreenValue, 0, 255)),
|
|
620
|
+
Math.round((0, transform_utils_1.clampNumber)(colorBlueValue, 0, 255)),
|
|
621
|
+
], Math.round((0, transform_utils_1.clampNumber)(whiteValue, 0, 255)));
|
|
622
|
+
return true;
|
|
623
|
+
});
|
|
624
|
+
}
|
|
625
|
+
if (this.insertGeneration.get(shelly.id) !== generation)
|
|
626
|
+
return delegate;
|
|
627
|
+
for (const comp of delegate.cct.values()) {
|
|
628
|
+
const cct = await this.channelsService.findOneBy('identifier', `cct:${comp.id}`, device.id, devices_shelly_ng_constants_1.DEVICES_SHELLY_NG_TYPE);
|
|
629
|
+
if (cct === null) {
|
|
630
|
+
continue;
|
|
631
|
+
}
|
|
632
|
+
const cctOn = await this.channelsPropertiesService.findOneBy('identifier', 'output', cct.id);
|
|
633
|
+
if (cctOn === null) {
|
|
634
|
+
throw new devices_shelly_ng_exceptions_1.DevicesShellyNgNotFoundException('Failed to load cct on channel property');
|
|
635
|
+
}
|
|
636
|
+
await this.setDefaultPropertyValue(device.id, cctOn, comp.output);
|
|
637
|
+
this.changeHandlers.set(`${delegate.id}|${comp.key}|output`, (val) => {
|
|
638
|
+
this.handleChange(cctOn, (0, transform_utils_1.coerceBooleanSafe)(val)).catch((err) => {
|
|
639
|
+
this.logger.error(`Failed to set value for component=${comp.key} attribute=output and property=${cctOn.id}`, {
|
|
640
|
+
resource: device.id,
|
|
641
|
+
message: err.message,
|
|
642
|
+
stack: err.stack,
|
|
643
|
+
});
|
|
644
|
+
});
|
|
645
|
+
});
|
|
646
|
+
this.setPropertiesHandlers.set(`${delegate.id}|${cctOn.id}`, async (val) => {
|
|
647
|
+
if (typeof val !== 'boolean') {
|
|
648
|
+
return false;
|
|
649
|
+
}
|
|
650
|
+
await comp.set(val);
|
|
651
|
+
return true;
|
|
652
|
+
});
|
|
653
|
+
if (typeof comp.brightness !== 'undefined') {
|
|
654
|
+
const brightness = await this.channelsPropertiesService.findOneBy('identifier', 'brightness', cct.id);
|
|
655
|
+
if (brightness === null) {
|
|
656
|
+
throw new devices_shelly_ng_exceptions_1.DevicesShellyNgNotFoundException('Failed to load cct brightness channel property');
|
|
657
|
+
}
|
|
658
|
+
await this.setDefaultPropertyValue(device.id, brightness, (0, transform_utils_1.clampNumber)(comp.brightness, 0, 100));
|
|
659
|
+
this.changeHandlers.set(`${delegate.id}|${comp.key}|brightness`, (val) => {
|
|
660
|
+
this.handleNumericChange(comp.key, 'brightness', brightness.id, val, (n) => this.handleChange(brightness, n, false), { clamp: { min: 0, max: 100 } });
|
|
661
|
+
});
|
|
662
|
+
this.setPropertiesHandlers.set(`${delegate.id}|${brightness.id}`, async (val) => {
|
|
663
|
+
const n = (0, transform_utils_1.coerceNumberSafe)(val);
|
|
664
|
+
if (n === null || Number.isNaN(n)) {
|
|
665
|
+
this.logger.warn(`Dropping invalid numeric update for ${comp.key}.brightness -> ${String(val)} (property=${brightness.id})`);
|
|
666
|
+
return;
|
|
667
|
+
}
|
|
668
|
+
await comp.set(true, Math.round((0, transform_utils_1.clampNumber)(n, 0, 100)));
|
|
669
|
+
return true;
|
|
670
|
+
});
|
|
671
|
+
}
|
|
672
|
+
if (typeof comp.ct !== 'undefined') {
|
|
673
|
+
const ct = await this.channelsPropertiesService.findOneBy('identifier', 'temperature', cct.id);
|
|
674
|
+
if (ct === null) {
|
|
675
|
+
throw new devices_shelly_ng_exceptions_1.DevicesShellyNgNotFoundException('Failed to load cct ct channel property');
|
|
676
|
+
}
|
|
677
|
+
await this.setDefaultPropertyValue(device.id, ct, (0, transform_utils_1.clampNumber)(comp.ct, 2_700, 6_500));
|
|
678
|
+
this.changeHandlers.set(`${delegate.id}|${comp.key}|ct`, (val) => {
|
|
679
|
+
this.handleNumericChange(comp.key, 'ct', ct.id, val, (n) => this.handleChange(ct, n, false), {
|
|
680
|
+
clamp: { min: 0, max: 100 },
|
|
681
|
+
});
|
|
682
|
+
});
|
|
683
|
+
this.setPropertiesHandlers.set(`${delegate.id}|${ct.id}`, async (val) => {
|
|
684
|
+
const n = (0, transform_utils_1.coerceNumberSafe)(val);
|
|
685
|
+
if (n === null || Number.isNaN(n)) {
|
|
686
|
+
this.logger.warn(`Dropping invalid numeric update for ${comp.key}.ct -> ${String(val)} (property=${ct.id})`);
|
|
687
|
+
return;
|
|
688
|
+
}
|
|
689
|
+
await comp.set(true, Math.round((0, transform_utils_1.clampNumber)(n, 2_700, 6_500)));
|
|
690
|
+
return true;
|
|
691
|
+
});
|
|
692
|
+
}
|
|
693
|
+
this.setChannelsHandlers.set(`${delegate.id}|${cct.id}`, async (updates) => {
|
|
694
|
+
const outputUpdate = updates.find((u) => u.property.identifier === 'output');
|
|
695
|
+
const brightnessUpdate = updates.find((u) => u.property.identifier === 'brightness');
|
|
696
|
+
const ctUpdate = updates.find((u) => u.property.identifier === 'temperature');
|
|
697
|
+
const hasBrightnessOrCtUpdate = brightnessUpdate || ctUpdate;
|
|
698
|
+
const outputValue = outputUpdate
|
|
699
|
+
? (0, transform_utils_1.coerceBooleanSafe)(outputUpdate.val)
|
|
700
|
+
: hasBrightnessOrCtUpdate
|
|
701
|
+
? true
|
|
702
|
+
: comp.output;
|
|
703
|
+
const brightnessValue = brightnessUpdate ? (0, transform_utils_1.coerceNumberSafe)(brightnessUpdate.val) : comp.brightness;
|
|
704
|
+
const ctValue = ctUpdate ? (0, transform_utils_1.coerceNumberSafe)(ctUpdate.val) : comp.ct;
|
|
705
|
+
if (outputValue === null ||
|
|
706
|
+
typeof outputValue !== 'boolean' ||
|
|
707
|
+
brightnessValue === null ||
|
|
708
|
+
Number.isNaN(brightnessValue) ||
|
|
709
|
+
ctValue === null ||
|
|
710
|
+
Number.isNaN(ctValue)) {
|
|
711
|
+
this.logger.warn(`Dropping invalid batch update for ${comp.key} (channel=${cct.id})`);
|
|
712
|
+
return;
|
|
713
|
+
}
|
|
714
|
+
await comp.set(outputValue, Math.round((0, transform_utils_1.clampNumber)(brightnessValue, 0, 100)), Math.round((0, transform_utils_1.clampNumber)(ctValue, 2_700, 6_500)));
|
|
715
|
+
return true;
|
|
716
|
+
});
|
|
717
|
+
}
|
|
718
|
+
if (this.insertGeneration.get(shelly.id) !== generation)
|
|
719
|
+
return delegate;
|
|
720
|
+
for (const comp of delegate.humidity.values()) {
|
|
721
|
+
const humidity = await this.channelsService.findOneBy('identifier', `humidity:${comp.id}`, device.id, devices_shelly_ng_constants_1.DEVICES_SHELLY_NG_TYPE);
|
|
722
|
+
if (humidity === null) {
|
|
723
|
+
continue;
|
|
724
|
+
}
|
|
725
|
+
const relativeHumidity = await this.channelsPropertiesService.findOneBy('identifier', 'rh', humidity.id);
|
|
726
|
+
if (relativeHumidity === null) {
|
|
727
|
+
throw new devices_shelly_ng_exceptions_1.DevicesShellyNgNotFoundException('Failed to load humidity channel property');
|
|
728
|
+
}
|
|
729
|
+
await this.setDefaultPropertyValue(device.id, relativeHumidity, (0, transform_utils_1.clampNumber)(comp.rh, 0, 100));
|
|
730
|
+
this.changeHandlers.set(`${delegate.id}|${comp.key}|rh`, (val) => {
|
|
731
|
+
this.handleNumericChange(comp.key, 'rh', relativeHumidity.id, val, (n) => this.handleChange(relativeHumidity, n, false), { clamp: { min: 0, max: 100 } });
|
|
732
|
+
});
|
|
733
|
+
}
|
|
734
|
+
if (this.insertGeneration.get(shelly.id) !== generation)
|
|
735
|
+
return delegate;
|
|
736
|
+
for (const comp of delegate.temperature.values()) {
|
|
737
|
+
const temperature = await this.channelsService.findOneBy('identifier', `temperature:${comp.id}`, device.id, devices_shelly_ng_constants_1.DEVICES_SHELLY_NG_TYPE);
|
|
738
|
+
if (temperature === null) {
|
|
739
|
+
continue;
|
|
740
|
+
}
|
|
741
|
+
const relativeTemperature = await this.channelsPropertiesService.findOneBy('identifier', 'tC', temperature.id);
|
|
742
|
+
if (relativeTemperature === null) {
|
|
743
|
+
throw new devices_shelly_ng_exceptions_1.DevicesShellyNgNotFoundException('Failed to load temperature channel property');
|
|
744
|
+
}
|
|
745
|
+
await this.setDefaultPropertyValue(device.id, relativeTemperature, comp.tC);
|
|
746
|
+
this.changeHandlers.set(`${delegate.id}|${comp.key}|tC`, (val) => {
|
|
747
|
+
this.handleNumericChange(comp.key, 'tC', relativeTemperature.id, val, (n) => this.handleChange(relativeTemperature, n, false));
|
|
748
|
+
});
|
|
749
|
+
}
|
|
750
|
+
if (this.insertGeneration.get(shelly.id) !== generation)
|
|
751
|
+
return delegate;
|
|
752
|
+
for (const comp of delegate.devPwr.values()) {
|
|
753
|
+
const devicePower = await this.channelsService.findOneBy('identifier', `devicePower:${comp.id}`, device.id, devices_shelly_ng_constants_1.DEVICES_SHELLY_NG_TYPE);
|
|
754
|
+
if (devicePower === null) {
|
|
755
|
+
continue;
|
|
756
|
+
}
|
|
757
|
+
if (comp.battery) {
|
|
758
|
+
const battery = await this.channelsPropertiesService.findOneBy('identifier', 'battery', devicePower.id);
|
|
759
|
+
if (battery === null) {
|
|
760
|
+
throw new devices_shelly_ng_exceptions_1.DevicesShellyNgNotFoundException('Failed to load device power battery channel property');
|
|
761
|
+
}
|
|
762
|
+
await this.setDefaultPropertyValue(device.id, battery, (0, transform_utils_1.clampNumber)(comp.battery.percent, 0, 100));
|
|
763
|
+
this.changeHandlers.set(`${delegate.id}|${comp.key}|battery.percent`, (val) => {
|
|
764
|
+
this.handleNumericChange(comp.key, 'battery.percent', battery.id, val, (n) => this.handleChange(battery, n, false), { clamp: { min: 0, max: 100 } });
|
|
765
|
+
});
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
if (this.insertGeneration.get(shelly.id) !== generation)
|
|
769
|
+
return delegate;
|
|
770
|
+
for (const comp of delegate.pm1.values()) {
|
|
771
|
+
const electricalPower = await this.channelsService.findOneBy('identifier', `power:${comp.id}`, device.id, devices_shelly_ng_constants_1.DEVICES_SHELLY_NG_TYPE);
|
|
772
|
+
if (electricalPower === null) {
|
|
773
|
+
continue;
|
|
774
|
+
}
|
|
775
|
+
const power = await this.channelsPropertiesService.findOneBy('identifier', 'apower', electricalPower.id);
|
|
776
|
+
if (power === null) {
|
|
777
|
+
throw new devices_shelly_ng_exceptions_1.DevicesShellyNgNotFoundException('Failed to load electrical power channel property');
|
|
778
|
+
}
|
|
779
|
+
await this.setDefaultPropertyValue(device.id, power, Math.max(0, comp.apower));
|
|
780
|
+
this.changeHandlers.set(`${delegate.id}|${comp.key}|apower`, (val) => {
|
|
781
|
+
this.handleNumericChange(comp.key, 'apower', power.id, val, (n) => this.handleChange(power, Math.max(0, n), false));
|
|
782
|
+
});
|
|
783
|
+
if (typeof comp.voltage !== 'undefined') {
|
|
784
|
+
const voltage = await this.channelsPropertiesService.findOneBy('identifier', 'voltage', electricalPower.id);
|
|
785
|
+
if (voltage === null) {
|
|
786
|
+
throw new devices_shelly_ng_exceptions_1.DevicesShellyNgNotFoundException('Failed to load electrical power voltage channel property');
|
|
787
|
+
}
|
|
788
|
+
await this.setDefaultPropertyValue(device.id, voltage, comp.voltage);
|
|
789
|
+
this.changeHandlers.set(`${delegate.id}|${comp.key}|voltage`, (val) => {
|
|
790
|
+
this.handleNumericChange(comp.key, 'voltage', voltage.id, val, (n) => this.handleChange(voltage, n, false));
|
|
791
|
+
});
|
|
792
|
+
}
|
|
793
|
+
if (typeof comp.current !== 'undefined') {
|
|
794
|
+
const current = await this.channelsPropertiesService.findOneBy('identifier', 'current', electricalPower.id);
|
|
795
|
+
if (current === null) {
|
|
796
|
+
throw new devices_shelly_ng_exceptions_1.DevicesShellyNgNotFoundException('Failed to load electrical power current channel property');
|
|
797
|
+
}
|
|
798
|
+
await this.setDefaultPropertyValue(device.id, current, comp.current);
|
|
799
|
+
this.changeHandlers.set(`${delegate.id}|${comp.key}|current`, (val) => {
|
|
800
|
+
this.handleNumericChange(comp.key, 'current', current.id, val, (n) => this.handleChange(current, n, false));
|
|
801
|
+
});
|
|
802
|
+
}
|
|
803
|
+
if (typeof comp.aenergy !== 'undefined') {
|
|
804
|
+
const electricalEnergy = await this.channelsService.findOneBy('identifier', `energy:${comp.id}`, device.id, devices_shelly_ng_constants_1.DEVICES_SHELLY_NG_TYPE);
|
|
805
|
+
if (electricalEnergy === null) {
|
|
806
|
+
}
|
|
807
|
+
else {
|
|
808
|
+
const consumption = await this.channelsPropertiesService.findOneBy('identifier', 'aenergy', electricalEnergy.id);
|
|
809
|
+
if (consumption === null) {
|
|
810
|
+
}
|
|
811
|
+
else {
|
|
812
|
+
await this.setDefaultPropertyValue(device.id, consumption, (0, transform_utils_2.toEnergy)(comp.aenergy));
|
|
813
|
+
this.changeHandlers.set(`${delegate.id}|${comp.key}|aenergy`, (val) => {
|
|
814
|
+
this.handleNumericChange(comp.key, 'aenergy', consumption.id, val, (n) => this.handleChange(consumption, (0, transform_utils_2.toEnergy)(n), false));
|
|
815
|
+
});
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
if (this.insertGeneration.get(shelly.id) !== generation)
|
|
821
|
+
return delegate;
|
|
822
|
+
const valueHandler = (compKey, attr, val) => {
|
|
823
|
+
const handler = this.changeHandlers.get(`${delegate.id}|${compKey}|${attr}`);
|
|
824
|
+
if (!handler) {
|
|
825
|
+
return;
|
|
826
|
+
}
|
|
827
|
+
try {
|
|
828
|
+
handler(val);
|
|
829
|
+
}
|
|
830
|
+
catch (error) {
|
|
831
|
+
const err = error;
|
|
832
|
+
this.logger.error(`Shelly handler error for component=${compKey} attribute=${attr}`, {
|
|
833
|
+
resource: device.id,
|
|
834
|
+
message: err.message,
|
|
835
|
+
stack: err.stack,
|
|
836
|
+
});
|
|
837
|
+
}
|
|
838
|
+
};
|
|
839
|
+
delegate.on('value', valueHandler);
|
|
840
|
+
this.delegateValueHandlers.set(delegate.id, valueHandler);
|
|
841
|
+
const connectionHandler = (state) => {
|
|
842
|
+
this.deviceConnectivityService
|
|
843
|
+
.setConnectionState(device.id, {
|
|
844
|
+
state: state === null ? devices_constants_1.ConnectionState.UNKNOWN : state ? devices_constants_1.ConnectionState.CONNECTED : devices_constants_1.ConnectionState.DISCONNECTED,
|
|
845
|
+
})
|
|
846
|
+
.then(() => {
|
|
847
|
+
if (state) {
|
|
848
|
+
}
|
|
849
|
+
else {
|
|
850
|
+
}
|
|
851
|
+
})
|
|
852
|
+
.catch((err) => {
|
|
853
|
+
this.logger.error(`Failed to set state=${state ? devices_constants_1.ConnectionState.CONNECTED : devices_constants_1.ConnectionState.DISCONNECTED} for device=${delegate.id}`, {
|
|
854
|
+
resource: device.id,
|
|
855
|
+
message: err.message,
|
|
856
|
+
stack: err.stack,
|
|
857
|
+
});
|
|
858
|
+
});
|
|
859
|
+
};
|
|
860
|
+
delegate.on('connected', connectionHandler);
|
|
861
|
+
this.delegateConnectionHandlers.set(delegate.id, connectionHandler);
|
|
862
|
+
connectionHandler(true);
|
|
863
|
+
this.logger.log(`Attached Shelly device=${delegate.id}`, { resource: device.id });
|
|
864
|
+
return delegate;
|
|
865
|
+
}
|
|
866
|
+
remove(deviceId) {
|
|
867
|
+
return this.withDeviceLock(deviceId, () => {
|
|
868
|
+
this.performRemove(deviceId);
|
|
869
|
+
return Promise.resolve();
|
|
870
|
+
});
|
|
871
|
+
}
|
|
872
|
+
performRemove(deviceId) {
|
|
873
|
+
const delegate = this.delegates.get(deviceId);
|
|
874
|
+
if (!delegate) {
|
|
875
|
+
return;
|
|
876
|
+
}
|
|
877
|
+
const valueHandler = this.delegateValueHandlers.get(delegate.id);
|
|
878
|
+
const connectionHandler = this.delegateConnectionHandlers.get(delegate.id);
|
|
879
|
+
if (connectionHandler) {
|
|
880
|
+
connectionHandler(null);
|
|
881
|
+
}
|
|
882
|
+
else {
|
|
883
|
+
const deviceDbId = this.delegateDeviceIds.get(deviceId) ?? deviceId;
|
|
884
|
+
void this.deviceConnectivityService
|
|
885
|
+
.setConnectionState(deviceDbId, { state: devices_constants_1.ConnectionState.UNKNOWN })
|
|
886
|
+
.catch((err) => {
|
|
887
|
+
this.logger.warn(`Failed to mark device=${delegate.id} as disconnected while removing delegate`, {
|
|
888
|
+
resource: delegate.id,
|
|
889
|
+
message: err.message,
|
|
890
|
+
stack: err.stack,
|
|
891
|
+
});
|
|
892
|
+
});
|
|
893
|
+
}
|
|
894
|
+
if (valueHandler) {
|
|
895
|
+
delegate.off('value', valueHandler);
|
|
896
|
+
}
|
|
897
|
+
if (connectionHandler) {
|
|
898
|
+
delegate.off('connected', connectionHandler);
|
|
899
|
+
}
|
|
900
|
+
this.delegateValueHandlers.delete(delegate.id);
|
|
901
|
+
this.delegateConnectionHandlers.delete(delegate.id);
|
|
902
|
+
for (const key of Array.from(this.changeHandlers.keys())) {
|
|
903
|
+
if (key.startsWith(`${deviceId}|`)) {
|
|
904
|
+
this.changeHandlers.delete(key);
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
for (const key of Array.from(this.setPropertiesHandlers.keys())) {
|
|
908
|
+
if (key.startsWith(`${deviceId}|`)) {
|
|
909
|
+
this.setPropertiesHandlers.delete(key);
|
|
910
|
+
}
|
|
911
|
+
}
|
|
912
|
+
for (const key of Array.from(this.setChannelsHandlers.keys())) {
|
|
913
|
+
if (key.startsWith(`${deviceId}|`)) {
|
|
914
|
+
this.setChannelsHandlers.delete(key);
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
const ids = this.propertiesMap.get(deviceId);
|
|
918
|
+
if (ids) {
|
|
919
|
+
for (const pid of ids) {
|
|
920
|
+
clearTimeout(this.pendingWrites.get(pid));
|
|
921
|
+
this.pendingWrites.delete(pid);
|
|
922
|
+
}
|
|
923
|
+
this.propertiesMap.delete(deviceId);
|
|
924
|
+
}
|
|
925
|
+
this.delegateDeviceIds.delete(deviceId);
|
|
926
|
+
this.insertGeneration.delete(deviceId);
|
|
927
|
+
this.delegates.delete(deviceId);
|
|
928
|
+
this.logger.log(`Detached Shelly device=${deviceId}`, { resource: deviceId });
|
|
929
|
+
}
|
|
930
|
+
async setChannelValue(device, channel, updates) {
|
|
931
|
+
const handler = this.setChannelsHandlers.get(`${device.identifier}|${channel.id}`);
|
|
932
|
+
if (!handler) {
|
|
933
|
+
return Promise.reject(new devices_shelly_ng_exceptions_1.DevicesShellyNgNotImplementedException('Multiple property writes are not supported by the component.'));
|
|
934
|
+
}
|
|
935
|
+
const transformedUpdates = updates.map((row) => {
|
|
936
|
+
const propertyMapping = this.propertyMappingStorage.get(row.property.id);
|
|
937
|
+
let transformedValue = row.value;
|
|
938
|
+
if (propertyMapping) {
|
|
939
|
+
transformedValue = this.applyTransformer(propertyMapping, row.value, 'write');
|
|
940
|
+
this.logger.debug(`Applied transformer for property=${row.property.id}: ${row.value} -> ${transformedValue}`, {
|
|
941
|
+
resource: device.id,
|
|
942
|
+
});
|
|
943
|
+
}
|
|
944
|
+
return { property: row.property, val: transformedValue };
|
|
945
|
+
});
|
|
946
|
+
return handler(transformedUpdates);
|
|
947
|
+
}
|
|
948
|
+
async setPropertyValue(device, property, value) {
|
|
949
|
+
const handler = this.setPropertiesHandlers.get(`${device.identifier}|${property.id}`);
|
|
950
|
+
if (!handler) {
|
|
951
|
+
this.logger.warn(`Trying to write to device=${device.identifier} to not writable property=${property.id} value=${value}`, { resource: device.id });
|
|
952
|
+
return Promise.resolve(false);
|
|
953
|
+
}
|
|
954
|
+
const propertyMapping = this.propertyMappingStorage.get(property.id);
|
|
955
|
+
let transformedValue = value;
|
|
956
|
+
if (propertyMapping) {
|
|
957
|
+
transformedValue = this.applyTransformer(propertyMapping, value, 'write');
|
|
958
|
+
this.logger.debug(`Applied transformer for property=${property.id}: ${value} -> ${transformedValue}`, {
|
|
959
|
+
resource: device.id,
|
|
960
|
+
});
|
|
961
|
+
}
|
|
962
|
+
return handler(transformedValue);
|
|
963
|
+
}
|
|
964
|
+
applyTransformer(propertyMapping, value, direction = 'read') {
|
|
965
|
+
let transformer = null;
|
|
966
|
+
if (propertyMapping.transformerName) {
|
|
967
|
+
transformer = this.transformerRegistry.get(propertyMapping.transformerName);
|
|
968
|
+
}
|
|
969
|
+
else if (propertyMapping.inlineTransform) {
|
|
970
|
+
transformer = (0, transformers_1.createInlineTransformer)(propertyMapping.inlineTransform);
|
|
971
|
+
}
|
|
972
|
+
if (!transformer) {
|
|
973
|
+
return value;
|
|
974
|
+
}
|
|
975
|
+
if (direction === 'read' && !transformer.canRead()) {
|
|
976
|
+
this.logger.warn(`Transformer does not support read operation for property mapping`);
|
|
977
|
+
return value;
|
|
978
|
+
}
|
|
979
|
+
if (direction === 'write' && !transformer.canWrite()) {
|
|
980
|
+
this.logger.warn(`Transformer does not support write operation for property mapping`);
|
|
981
|
+
return value;
|
|
982
|
+
}
|
|
983
|
+
try {
|
|
984
|
+
return direction === 'read' ? transformer.read(value) : transformer.write(value);
|
|
985
|
+
}
|
|
986
|
+
catch (error) {
|
|
987
|
+
this.logger.warn(`Failed to apply transformer: ${error instanceof Error ? error.message : String(error)}`);
|
|
988
|
+
return value;
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
async handleChange(property, value, immediately = true) {
|
|
992
|
+
if (immediately) {
|
|
993
|
+
await this.writeValueToProperty(property, value);
|
|
994
|
+
}
|
|
995
|
+
else {
|
|
996
|
+
this.scheduleWrite(property, value);
|
|
997
|
+
}
|
|
998
|
+
}
|
|
999
|
+
async setDefaultPropertyValue(deviceId, property, value) {
|
|
1000
|
+
try {
|
|
1001
|
+
await this.writeValueToProperty(property, value);
|
|
1002
|
+
}
|
|
1003
|
+
catch (error) {
|
|
1004
|
+
this.logger.warn(`Skipping default value write for property=${property.id} (entity may have been removed)`, {
|
|
1005
|
+
resource: deviceId,
|
|
1006
|
+
message: error.message,
|
|
1007
|
+
});
|
|
1008
|
+
return;
|
|
1009
|
+
}
|
|
1010
|
+
let set = this.propertiesMap.get(deviceId);
|
|
1011
|
+
if (!set) {
|
|
1012
|
+
this.propertiesMap.set(deviceId, (set = new Set()));
|
|
1013
|
+
}
|
|
1014
|
+
set.add(property.id);
|
|
1015
|
+
}
|
|
1016
|
+
determineCategory(delegate) {
|
|
1017
|
+
if (delegate.covers.size > 0) {
|
|
1018
|
+
return devices_constants_1.DeviceCategory.WINDOW_COVERING;
|
|
1019
|
+
}
|
|
1020
|
+
else if (delegate.lights.size > 0 || delegate.rgb.size > 0 || delegate.rgbw.size > 0 || delegate.cct.size > 0) {
|
|
1021
|
+
return devices_constants_1.DeviceCategory.LIGHTING;
|
|
1022
|
+
}
|
|
1023
|
+
else if (delegate.switches.size > 0) {
|
|
1024
|
+
return devices_constants_1.DeviceCategory.SWITCHER;
|
|
1025
|
+
}
|
|
1026
|
+
else if (delegate.inputs.size > 0 ||
|
|
1027
|
+
delegate.temperature.size > 0 ||
|
|
1028
|
+
delegate.humidity.size > 0 ||
|
|
1029
|
+
delegate.pm1.size > 0) {
|
|
1030
|
+
return devices_constants_1.DeviceCategory.SENSOR;
|
|
1031
|
+
}
|
|
1032
|
+
return devices_constants_1.DeviceCategory.GENERIC;
|
|
1033
|
+
}
|
|
1034
|
+
handleNumericChange(compKey, attr, propertyId, val, write, opts) {
|
|
1035
|
+
const n = (0, transform_utils_1.coerceNumberSafe)(val, opts);
|
|
1036
|
+
if (n === null || Number.isNaN(n)) {
|
|
1037
|
+
this.logger.warn(`Dropping invalid numeric update for ${compKey}.${attr} -> ${(0, transform_utils_1.safeToString)(val)} (property=${propertyId})`);
|
|
1038
|
+
return;
|
|
1039
|
+
}
|
|
1040
|
+
void write(n).catch((err) => {
|
|
1041
|
+
this.logger.error(`Failed to set value for component=${compKey} attribute=${attr} property=${propertyId}`, {
|
|
1042
|
+
message: err.message,
|
|
1043
|
+
stack: err.stack,
|
|
1044
|
+
});
|
|
1045
|
+
});
|
|
1046
|
+
}
|
|
1047
|
+
scheduleWrite(property, value) {
|
|
1048
|
+
const existing = this.pendingWrites.get(property.id);
|
|
1049
|
+
if (existing) {
|
|
1050
|
+
clearTimeout(existing);
|
|
1051
|
+
}
|
|
1052
|
+
const t = setTimeout(() => {
|
|
1053
|
+
const current = this.pendingWrites.get(property.id);
|
|
1054
|
+
if (current) {
|
|
1055
|
+
clearTimeout(current);
|
|
1056
|
+
this.pendingWrites.delete(property.id);
|
|
1057
|
+
}
|
|
1058
|
+
this.writeValueToProperty(property, value).catch((err) => {
|
|
1059
|
+
this.logger.error(`Failed to process scheduled write of value=${(0, transform_utils_1.safeToString)(value)} to property=${property.id}`, { message: err.message, stack: err.stack });
|
|
1060
|
+
});
|
|
1061
|
+
}, 250);
|
|
1062
|
+
this.pendingWrites.set(property.id, t);
|
|
1063
|
+
}
|
|
1064
|
+
async writeValueToProperty(property, value) {
|
|
1065
|
+
return await this.channelsPropertiesService.update(property.id, (0, transform_utils_1.toInstance)(update_channel_property_dto_1.UpdateShellyNgChannelPropertyDto, {
|
|
1066
|
+
...(0, class_transformer_1.instanceToPlain)(property),
|
|
1067
|
+
value,
|
|
1068
|
+
}));
|
|
1069
|
+
}
|
|
1070
|
+
detach() {
|
|
1071
|
+
for (const [deviceId] of this.delegates.entries()) {
|
|
1072
|
+
this.performRemove(deviceId);
|
|
1073
|
+
}
|
|
1074
|
+
this.changeHandlers.clear();
|
|
1075
|
+
this.setPropertiesHandlers.clear();
|
|
1076
|
+
this.setChannelsHandlers.clear();
|
|
1077
|
+
this.propertiesMap.clear();
|
|
1078
|
+
for (const pendingWrite of this.pendingWrites.values()) {
|
|
1079
|
+
clearTimeout(pendingWrite);
|
|
1080
|
+
}
|
|
1081
|
+
this.pendingWrites.clear();
|
|
1082
|
+
this.deviceLocks.clear();
|
|
1083
|
+
}
|
|
1084
|
+
destroy() {
|
|
1085
|
+
this.detach();
|
|
1086
|
+
}
|
|
1087
|
+
async withDeviceLock(deviceId, fn) {
|
|
1088
|
+
const pending = this.deviceLocks.get(deviceId) ?? Promise.resolve();
|
|
1089
|
+
let resolveLock;
|
|
1090
|
+
const lock = new Promise((r) => {
|
|
1091
|
+
resolveLock = r;
|
|
1092
|
+
});
|
|
1093
|
+
this.deviceLocks.set(deviceId, lock);
|
|
1094
|
+
await pending.catch(() => { });
|
|
1095
|
+
try {
|
|
1096
|
+
return await fn();
|
|
1097
|
+
}
|
|
1098
|
+
finally {
|
|
1099
|
+
resolveLock();
|
|
1100
|
+
if (this.deviceLocks.get(deviceId) === lock) {
|
|
1101
|
+
this.deviceLocks.delete(deviceId);
|
|
1102
|
+
}
|
|
1103
|
+
}
|
|
1104
|
+
}
|
|
1105
|
+
};
|
|
1106
|
+
exports.DelegatesManagerService = DelegatesManagerService;
|
|
1107
|
+
exports.DelegatesManagerService = DelegatesManagerService = __decorate([
|
|
1108
|
+
(0, common_1.Injectable)(),
|
|
1109
|
+
__metadata("design:paramtypes", [devices_service_1.DevicesService,
|
|
1110
|
+
channels_service_1.ChannelsService,
|
|
1111
|
+
channels_properties_service_1.ChannelsPropertiesService,
|
|
1112
|
+
device_connectivity_service_1.DeviceConnectivityService,
|
|
1113
|
+
device_manager_service_1.DeviceManagerService,
|
|
1114
|
+
mappings_1.PropertyMappingStorageService,
|
|
1115
|
+
mappings_1.TransformerRegistry])
|
|
1116
|
+
], DelegatesManagerService);
|
|
1117
|
+
//# sourceMappingURL=delegates-manager.service.js.map
|