@fastybird/smart-panel-backend 1.0.0-beta.3 → 1.1.0-alpha.1
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/dist/app.module.js +61 -0
- package/dist/app.module.js.map +1 -1
- package/dist/common/utils/shared-lock-socket-path.utils.d.ts +1 -0
- package/dist/common/utils/shared-lock-socket-path.utils.js +34 -0
- package/dist/common/utils/shared-lock-socket-path.utils.js.map +1 -0
- package/dist/common/utils/sqlite-fts.utils.d.ts +17 -0
- package/dist/common/utils/sqlite-fts.utils.js +63 -0
- package/dist/common/utils/sqlite-fts.utils.js.map +1 -0
- package/dist/common/utils/transform.utils.d.ts +2 -0
- package/dist/common/utils/transform.utils.js +17 -2
- package/dist/common/utils/transform.utils.js.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.js +14 -1
- package/dist/index.js.map +1 -1
- package/dist/main.js +9 -2
- package/dist/main.js.map +1 -1
- package/dist/migrations/1000000000007-AddVirtualDevicesSupport.d.ts +6 -0
- package/dist/migrations/1000000000007-AddVirtualDevicesSupport.js +26 -0
- package/dist/migrations/1000000000007-AddVirtualDevicesSupport.js.map +1 -0
- package/dist/migrations/1000000000008-AddMcpClients.d.ts +6 -0
- package/dist/migrations/1000000000008-AddMcpClients.js +41 -0
- package/dist/migrations/1000000000008-AddMcpClients.js.map +1 -0
- package/dist/migrations/1000000000009-AddDeviceHiddenBy.d.ts +6 -0
- package/dist/migrations/1000000000009-AddDeviceHiddenBy.js +19 -0
- package/dist/migrations/1000000000009-AddDeviceHiddenBy.js.map +1 -0
- package/dist/migrations/1000000000010-AddEnergyClaimToProjections.d.ts +7 -0
- package/dist/migrations/1000000000010-AddEnergyClaimToProjections.js +59 -0
- package/dist/migrations/1000000000010-AddEnergyClaimToProjections.js.map +1 -0
- package/dist/migrations/1000000000010-AddMcpOAuthFoundation.d.ts +6 -0
- package/dist/migrations/1000000000010-AddMcpOAuthFoundation.js +124 -0
- package/dist/migrations/1000000000010-AddMcpOAuthFoundation.js.map +1 -0
- package/dist/migrations/1000000000011-AddMcpOAuthProviderArtifacts.d.ts +6 -0
- package/dist/migrations/1000000000011-AddMcpOAuthProviderArtifacts.js +33 -0
- package/dist/migrations/1000000000011-AddMcpOAuthProviderArtifacts.js.map +1 -0
- package/dist/migrations/1000000000012-LinkMcpOAuthProviderGrants.d.ts +6 -0
- package/dist/migrations/1000000000012-LinkMcpOAuthProviderGrants.js +18 -0
- package/dist/migrations/1000000000012-LinkMcpOAuthProviderGrants.js.map +1 -0
- package/dist/migrations/1000000000013-AddMcpOAuthProviderManagementIds.d.ts +8 -0
- package/dist/migrations/1000000000013-AddMcpOAuthProviderManagementIds.js +80 -0
- package/dist/migrations/1000000000013-AddMcpOAuthProviderManagementIds.js.map +1 -0
- package/dist/migrations/1000000000014-AddMcpOAuthProviderRefreshFamilyRevocations.d.ts +6 -0
- package/dist/migrations/1000000000014-AddMcpOAuthProviderRefreshFamilyRevocations.js +18 -0
- package/dist/migrations/1000000000014-AddMcpOAuthProviderRefreshFamilyRevocations.js.map +1 -0
- package/dist/migrations/1000000000015-AddMcpOAuthProviderRefreshFamilyLineage.d.ts +6 -0
- package/dist/migrations/1000000000015-AddMcpOAuthProviderRefreshFamilyLineage.js +26 -0
- package/dist/migrations/1000000000015-AddMcpOAuthProviderRefreshFamilyLineage.js.map +1 -0
- package/dist/migrations/1000000000016-AddMcpOAuthApproverAuthorities.d.ts +6 -0
- package/dist/migrations/1000000000016-AddMcpOAuthApproverAuthorities.js +20 -0
- package/dist/migrations/1000000000016-AddMcpOAuthApproverAuthorities.js.map +1 -0
- package/dist/migrations/1000000000017-AddMcpOAuthAuthorizationSnapshots.d.ts +6 -0
- package/dist/migrations/1000000000017-AddMcpOAuthAuthorizationSnapshots.js +69 -0
- package/dist/migrations/1000000000017-AddMcpOAuthAuthorizationSnapshots.js.map +1 -0
- package/dist/migrations/1000000000018-AddWledHardwareIdentity.d.ts +6 -0
- package/dist/migrations/1000000000018-AddWledHardwareIdentity.js +23 -0
- package/dist/migrations/1000000000018-AddWledHardwareIdentity.js.map +1 -0
- package/dist/migrations/1000000000019-EnforceUniqueWledHardwareIdentity.d.ts +6 -0
- package/dist/migrations/1000000000019-EnforceUniqueWledHardwareIdentity.js +31 -0
- package/dist/migrations/1000000000019-EnforceUniqueWledHardwareIdentity.js.map +1 -0
- package/dist/migrations/1000000000020-AddHomeEntitySearchIndex.d.ts +7 -0
- package/dist/migrations/1000000000020-AddHomeEntitySearchIndex.js +106 -0
- package/dist/migrations/1000000000020-AddHomeEntitySearchIndex.js.map +1 -0
- package/dist/migrations/1000000000021-AddHomeyCapabilityIdentity.d.ts +6 -0
- package/dist/migrations/1000000000021-AddHomeyCapabilityIdentity.js +22 -0
- package/dist/migrations/1000000000021-AddHomeyCapabilityIdentity.js.map +1 -0
- package/dist/migrations/1000000000022-AddHomeyAdoptionLocks.d.ts +6 -0
- package/dist/migrations/1000000000022-AddHomeyAdoptionLocks.js +20 -0
- package/dist/migrations/1000000000022-AddHomeyAdoptionLocks.js.map +1 -0
- package/dist/migrations/1000000000023-AddPropertyValueLocks.d.ts +6 -0
- package/dist/migrations/1000000000023-AddPropertyValueLocks.js +20 -0
- package/dist/migrations/1000000000023-AddPropertyValueLocks.js.map +1 -0
- package/dist/migrations/1000000000024-MigrateHomeyDiscriminators.d.ts +6 -0
- package/dist/migrations/1000000000024-MigrateHomeyDiscriminators.js +26 -0
- package/dist/migrations/1000000000024-MigrateHomeyDiscriminators.js.map +1 -0
- package/dist/migrations/1000000000025-AddNotifications.d.ts +6 -0
- package/dist/migrations/1000000000025-AddNotifications.js +44 -0
- package/dist/migrations/1000000000025-AddNotifications.js.map +1 -0
- package/dist/modules/api/api.constants.d.ts +2 -0
- package/dist/modules/api/api.constants.js +3 -1
- package/dist/modules/api/api.constants.js.map +1 -1
- package/dist/modules/api/api.module.d.ts +8 -1
- package/dist/modules/api/api.module.js +40 -2
- package/dist/modules/api/api.module.js.map +1 -1
- package/dist/modules/api/api.openapi.d.ts +2 -1
- package/dist/modules/api/api.openapi.js +3 -0
- package/dist/modules/api/api.openapi.js.map +1 -1
- package/dist/modules/api/interceptors/location-replace.interceptor.js +2 -2
- package/dist/modules/api/interceptors/location-replace.interceptor.js.map +1 -1
- package/dist/modules/api/models/bulk.model.d.ts +8 -0
- package/dist/modules/api/models/bulk.model.js +65 -0
- package/dist/modules/api/models/bulk.model.js.map +1 -0
- package/dist/modules/api/services/client-address.service.d.ts +29 -0
- package/dist/modules/api/services/client-address.service.js +146 -0
- package/dist/modules/api/services/client-address.service.js.map +1 -0
- package/dist/modules/api/services/trusted-proxy-registry.service.d.ts +10 -0
- package/dist/modules/api/services/trusted-proxy-registry.service.js +40 -0
- package/dist/modules/api/services/trusted-proxy-registry.service.js.map +1 -0
- package/dist/modules/api/utils/bulk.utils.d.ts +10 -0
- package/dist/modules/api/utils/bulk.utils.js +74 -0
- package/dist/modules/api/utils/bulk.utils.js.map +1 -0
- package/dist/modules/api/utils/ip-match.utils.d.ts +3 -0
- package/dist/modules/api/utils/ip-match.utils.js +115 -0
- package/dist/modules/api/utils/ip-match.utils.js.map +1 -0
- package/dist/modules/auth/auth.constants.d.ts +2 -1
- package/dist/modules/auth/auth.constants.js +1 -0
- package/dist/modules/auth/auth.constants.js.map +1 -1
- package/dist/modules/auth/auth.module.js +3 -1
- package/dist/modules/auth/auth.module.js.map +1 -1
- package/dist/modules/auth/auth.openapi.d.ts +2 -1
- package/dist/modules/auth/auth.openapi.js +4 -0
- package/dist/modules/auth/auth.openapi.js.map +1 -1
- package/dist/modules/auth/commands/reset-password.command.d.ts +3 -1
- package/dist/modules/auth/commands/reset-password.command.js +30 -14
- package/dist/modules/auth/commands/reset-password.command.js.map +1 -1
- package/dist/modules/auth/controllers/auth.controller.d.ts +5 -2
- package/dist/modules/auth/controllers/auth.controller.js +10 -5
- package/dist/modules/auth/controllers/auth.controller.js.map +1 -1
- package/dist/modules/auth/controllers/tokens.controller.js +7 -0
- package/dist/modules/auth/controllers/tokens.controller.js.map +1 -1
- package/dist/modules/auth/guards/auth.guard.d.ts +11 -1
- package/dist/modules/auth/guards/auth.guard.js +76 -7
- package/dist/modules/auth/guards/auth.guard.js.map +1 -1
- package/dist/modules/auth/guards/display-aware-throttler.guard.d.ts +4 -1
- package/dist/modules/auth/guards/display-aware-throttler.guard.js +8 -2
- package/dist/modules/auth/guards/display-aware-throttler.guard.js.map +1 -1
- package/dist/modules/auth/services/auth.service.d.ts +11 -2
- package/dist/modules/auth/services/auth.service.js +60 -9
- package/dist/modules/auth/services/auth.service.js.map +1 -1
- package/dist/modules/auth/services/tokens.service.d.ts +12 -2
- package/dist/modules/auth/services/tokens.service.js +25 -3
- package/dist/modules/auth/services/tokens.service.js.map +1 -1
- package/dist/modules/buddy/buddy.constants.d.ts +8 -0
- package/dist/modules/buddy/buddy.constants.js +10 -1
- package/dist/modules/buddy/buddy.constants.js.map +1 -1
- package/dist/modules/buddy/buddy.module.d.ts +7 -1
- package/dist/modules/buddy/buddy.module.js +20 -2
- package/dist/modules/buddy/buddy.module.js.map +1 -1
- package/dist/modules/buddy/buddy.openapi.d.ts +2 -1
- package/dist/modules/buddy/buddy.openapi.js +2 -0
- package/dist/modules/buddy/buddy.openapi.js.map +1 -1
- package/dist/modules/buddy/models/context-plan.model.d.ts +47 -0
- package/dist/modules/{extensions/services/managed-plugin-service.interface.js → buddy/models/context-plan.model.js} +1 -1
- package/dist/modules/buddy/models/context-plan.model.js.map +1 -0
- package/dist/modules/buddy/platforms/anthropic-sdk.utils.d.ts +3 -2
- package/dist/modules/buddy/platforms/anthropic-sdk.utils.js +55 -12
- package/dist/modules/buddy/platforms/anthropic-sdk.utils.js.map +1 -1
- package/dist/modules/buddy/platforms/llm-conversation-bounds.utils.d.ts +20 -0
- package/dist/modules/buddy/platforms/llm-conversation-bounds.utils.js +155 -0
- package/dist/modules/buddy/platforms/llm-conversation-bounds.utils.js.map +1 -0
- package/dist/modules/buddy/platforms/llm-conversation.utils.d.ts +8 -0
- package/dist/modules/buddy/platforms/llm-conversation.utils.js +90 -0
- package/dist/modules/buddy/platforms/llm-conversation.utils.js.map +1 -0
- package/dist/modules/buddy/platforms/llm-provider.platform.d.ts +115 -1
- package/dist/modules/buddy/platforms/openai-sdk.utils.d.ts +3 -2
- package/dist/modules/buddy/platforms/openai-sdk.utils.js +48 -14
- package/dist/modules/buddy/platforms/openai-sdk.utils.js.map +1 -1
- package/dist/modules/buddy/services/buddy-context-planner.service.d.ts +4 -0
- package/dist/modules/buddy/services/buddy-context-planner.service.js +21 -0
- package/dist/modules/buddy/services/buddy-context-planner.service.js.map +1 -0
- package/dist/modules/buddy/services/buddy-conversation.service.d.ts +7 -1
- package/dist/modules/buddy/services/buddy-conversation.service.js +251 -42
- package/dist/modules/buddy/services/buddy-conversation.service.js.map +1 -1
- package/dist/modules/buddy/services/buddy-tool-selection.service.d.ts +16 -0
- package/dist/modules/buddy/services/buddy-tool-selection.service.js +711 -0
- package/dist/modules/buddy/services/buddy-tool-selection.service.js.map +1 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-action-policy.d.ts +22 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-action-policy.js +451 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-action-policy.js.map +1 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-language.d.ts +51 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-language.js +559 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-language.js.map +1 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-message-analysis.d.ts +42 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-message-analysis.js +673 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-message-analysis.js.map +1 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-plan-policy.d.ts +11 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-plan-policy.js +39 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-plan-policy.js.map +1 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-planner-grammar.d.ts +128 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-planner-grammar.js +220 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-planner-grammar.js.map +1 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-planning-pipeline.d.ts +2 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-planning-pipeline.js +304 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-planning-pipeline.js.map +1 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-query-builder.d.ts +12 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-query-builder.js +35 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-query-builder.js.map +1 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-retrieval-planner.d.ts +31 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-retrieval-planner.js +97 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-retrieval-planner.js.map +1 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-scope-resolver.d.ts +8 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-scope-resolver.js +186 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-scope-resolver.js.map +1 -0
- package/dist/modules/buddy/services/heartbeat.service.d.ts +17 -4
- package/dist/modules/buddy/services/heartbeat.service.js +85 -15
- package/dist/modules/buddy/services/heartbeat.service.js.map +1 -1
- package/dist/modules/buddy/services/home-context-tool-provider.service.d.ts +165 -0
- package/dist/modules/buddy/services/home-context-tool-provider.service.js +257 -0
- package/dist/modules/buddy/services/home-context-tool-provider.service.js.map +1 -0
- package/dist/modules/buddy/services/llm-provider.service.d.ts +4 -3
- package/dist/modules/buddy/services/llm-provider.service.js +20 -1
- package/dist/modules/buddy/services/llm-provider.service.js.map +1 -1
- package/dist/modules/buddy/services/module-reset.service.d.ts +3 -1
- package/dist/modules/buddy/services/module-reset.service.js +6 -2
- package/dist/modules/buddy/services/module-reset.service.js.map +1 -1
- package/dist/modules/buddy/testing/buddy-context-evaluation.fixtures.d.ts +13 -0
- package/dist/modules/buddy/testing/buddy-context-evaluation.fixtures.js +119 -0
- package/dist/modules/buddy/testing/buddy-context-evaluation.fixtures.js.map +1 -0
- package/dist/modules/buddy/testing/buddy-context-evaluation.matrix.d.ts +36 -0
- package/dist/modules/buddy/testing/buddy-context-evaluation.matrix.js +230 -0
- package/dist/modules/buddy/testing/buddy-context-evaluation.matrix.js.map +1 -0
- package/dist/modules/buddy/testing/llm-request-measurement.helper.d.ts +33 -0
- package/dist/modules/buddy/testing/llm-request-measurement.helper.js +144 -0
- package/dist/modules/buddy/testing/llm-request-measurement.helper.js.map +1 -0
- package/dist/modules/config/config.module.js +18 -2
- package/dist/modules/config/config.module.js.map +1 -1
- package/dist/modules/config/controllers/config.controller.d.ts +3 -1
- package/dist/modules/config/controllers/config.controller.js +43 -18
- package/dist/modules/config/controllers/config.controller.js.map +1 -1
- package/dist/modules/config/interfaces/config-secret.interface.d.ts +5 -0
- package/dist/modules/config/interfaces/config-secret.interface.js +3 -0
- package/dist/modules/config/interfaces/config-secret.interface.js.map +1 -0
- package/dist/modules/config/services/config-secrets.service.d.ts +18 -0
- package/dist/modules/config/services/config-secrets.service.js +167 -0
- package/dist/modules/config/services/config-secrets.service.js.map +1 -0
- package/dist/modules/config/services/config.service.d.ts +19 -3
- package/dist/modules/config/services/config.service.js +105 -39
- package/dist/modules/config/services/config.service.js.map +1 -1
- package/dist/modules/config/services/module-config-mutation-registry.service.d.ts +8 -0
- package/dist/modules/config/services/module-config-mutation-registry.service.js +35 -0
- package/dist/modules/config/services/module-config-mutation-registry.service.js.map +1 -0
- package/dist/modules/config/services/modules-type-mapper.service.d.ts +2 -0
- package/dist/modules/config/services/modules-type-mapper.service.js.map +1 -1
- package/dist/modules/config/services/plugin-config-mutation-registry.service.d.ts +9 -0
- package/dist/modules/config/services/plugin-config-mutation-registry.service.js +50 -0
- package/dist/modules/config/services/plugin-config-mutation-registry.service.js.map +1 -0
- package/dist/modules/config/services/plugin-config-validator.service.d.ts +1 -0
- package/dist/modules/config/services/plugin-config-validator.service.js +4 -4
- package/dist/modules/config/services/plugin-config-validator.service.js.map +1 -1
- package/dist/modules/config/services/plugins-type-mapper.service.d.ts +2 -0
- package/dist/modules/config/services/plugins-type-mapper.service.js.map +1 -1
- package/dist/modules/dashboard/controllers/pages.controller.d.ts +6 -2
- package/dist/modules/dashboard/controllers/pages.controller.js +29 -2
- package/dist/modules/dashboard/controllers/pages.controller.js.map +1 -1
- package/dist/modules/dashboard/dashboard.module.js +2 -0
- package/dist/modules/dashboard/dashboard.module.js.map +1 -1
- package/dist/modules/dashboard/dashboard.openapi.d.ts +2 -2
- package/dist/modules/dashboard/dashboard.openapi.js +5 -0
- package/dist/modules/dashboard/dashboard.openapi.js.map +1 -1
- package/dist/modules/dashboard/dto/bulk-pages.dto.d.ts +7 -0
- package/dist/modules/dashboard/dto/bulk-pages.dto.js +53 -0
- package/dist/modules/dashboard/dto/bulk-pages.dto.js.map +1 -0
- package/dist/modules/dashboard/models/dashboard-response.model.d.ts +4 -0
- package/dist/modules/dashboard/models/dashboard-response.model.js +16 -1
- package/dist/modules/dashboard/models/dashboard-response.model.js.map +1 -1
- package/dist/modules/dashboard/services/pages-bulk.service.d.ts +8 -0
- package/dist/modules/dashboard/services/pages-bulk.service.js +35 -0
- package/dist/modules/dashboard/services/pages-bulk.service.js.map +1 -0
- package/dist/modules/devices/controllers/channels.properties.controller.js +9 -2
- package/dist/modules/devices/controllers/channels.properties.controller.js.map +1 -1
- package/dist/modules/devices/controllers/devices.channels.properties.controller.js +9 -2
- package/dist/modules/devices/controllers/devices.channels.properties.controller.js.map +1 -1
- package/dist/modules/devices/controllers/devices.controller.d.ts +9 -3
- package/dist/modules/devices/controllers/devices.controller.js +86 -8
- package/dist/modules/devices/controllers/devices.controller.js.map +1 -1
- package/dist/modules/devices/devices.constants.d.ts +10 -0
- package/dist/modules/devices/devices.constants.js +13 -1
- package/dist/modules/devices/devices.constants.js.map +1 -1
- package/dist/modules/devices/devices.module.js +20 -0
- package/dist/modules/devices/devices.module.js.map +1 -1
- package/dist/modules/devices/devices.openapi.d.ts +3 -2
- package/dist/modules/devices/devices.openapi.js +5 -0
- package/dist/modules/devices/devices.openapi.js.map +1 -1
- package/dist/modules/devices/dto/bulk-devices.dto.d.ts +14 -0
- package/dist/modules/devices/dto/bulk-devices.dto.js +99 -0
- package/dist/modules/devices/dto/bulk-devices.dto.js.map +1 -0
- package/dist/modules/devices/dto/create-device.dto.d.ts +3 -1
- package/dist/modules/devices/dto/create-device.dto.js +25 -0
- package/dist/modules/devices/dto/create-device.dto.js.map +1 -1
- package/dist/modules/devices/dto/list-devices-query.dto.d.ts +4 -0
- package/dist/modules/devices/dto/list-devices-query.dto.js +31 -0
- package/dist/modules/devices/dto/list-devices-query.dto.js.map +1 -0
- package/dist/modules/devices/dto/update-device.dto.d.ts +3 -1
- package/dist/modules/devices/dto/update-device.dto.js +25 -0
- package/dist/modules/devices/dto/update-device.dto.js.map +1 -1
- package/dist/modules/devices/entities/devices.entity.d.ts +3 -1
- package/dist/modules/devices/entities/devices.entity.js +30 -0
- package/dist/modules/devices/entities/devices.entity.js.map +1 -1
- package/dist/modules/devices/entities/property-value-lock.entity.d.ts +5 -0
- package/dist/modules/devices/entities/property-value-lock.entity.js +32 -0
- package/dist/modules/devices/entities/property-value-lock.entity.js.map +1 -0
- package/dist/modules/devices/models/devices-response.model.d.ts +4 -0
- package/dist/modules/devices/models/devices-response.model.js +16 -1
- package/dist/modules/devices/models/devices-response.model.js.map +1 -1
- package/dist/modules/devices/platforms/device.platform.d.ts +3 -0
- package/dist/modules/devices/services/channels-type-mapper.service.d.ts +1 -0
- package/dist/modules/devices/services/channels-type-mapper.service.js.map +1 -1
- package/dist/modules/devices/services/channels.properties-type-mapper.service.d.ts +2 -0
- package/dist/modules/devices/services/channels.properties-type-mapper.service.js.map +1 -1
- package/dist/modules/devices/services/channels.properties.service.d.ts +86 -2
- package/dist/modules/devices/services/channels.properties.service.js +377 -41
- package/dist/modules/devices/services/channels.properties.service.js.map +1 -1
- package/dist/modules/devices/services/channels.service.d.ts +14 -1
- package/dist/modules/devices/services/channels.service.js +125 -25
- package/dist/modules/devices/services/channels.service.js.map +1 -1
- package/dist/modules/devices/services/device-connection-state.service.d.ts +14 -5
- package/dist/modules/devices/services/device-connection-state.service.js +101 -20
- package/dist/modules/devices/services/device-connection-state.service.js.map +1 -1
- package/dist/modules/devices/services/device-connectivity.service.d.ts +5 -0
- package/dist/modules/devices/services/device-connectivity.service.js +9 -5
- package/dist/modules/devices/services/device-connectivity.service.js.map +1 -1
- package/dist/modules/devices/services/device-control-tool.service.d.ts +5 -13
- package/dist/modules/devices/services/device-control-tool.service.js +71 -115
- package/dist/modules/devices/services/device-control-tool.service.js.map +1 -1
- package/dist/modules/devices/services/device-structure-lock.service.d.ts +5 -0
- package/dist/modules/devices/services/device-structure-lock.service.js +30 -0
- package/dist/modules/devices/services/device-structure-lock.service.js.map +1 -0
- package/dist/modules/devices/services/device-zones.service.d.ts +4 -1
- package/dist/modules/devices/services/device-zones.service.js +63 -25
- package/dist/modules/devices/services/device-zones.service.js.map +1 -1
- package/dist/modules/devices/services/devices-bulk.service.d.ts +12 -0
- package/dist/modules/devices/services/devices-bulk.service.js +74 -0
- package/dist/modules/devices/services/devices-bulk.service.js.map +1 -0
- package/dist/modules/devices/services/devices-type-mapper.service.d.ts +1 -0
- package/dist/modules/devices/services/devices-type-mapper.service.js.map +1 -1
- package/dist/modules/devices/services/devices.service.d.ts +58 -2
- package/dist/modules/devices/services/devices.service.js +359 -20
- package/dist/modules/devices/services/devices.service.js.map +1 -1
- package/dist/modules/devices/services/platform.registry.service.d.ts +7 -1
- package/dist/modules/devices/services/platform.registry.service.js +19 -0
- package/dist/modules/devices/services/platform.registry.service.js.map +1 -1
- package/dist/modules/devices/services/property-command.service.d.ts +31 -1
- package/dist/modules/devices/services/property-command.service.js +239 -50
- package/dist/modules/devices/services/property-command.service.js.map +1 -1
- package/dist/modules/devices/services/property-timeseries.service.d.ts +4 -1
- package/dist/modules/devices/services/property-timeseries.service.js +25 -13
- package/dist/modules/devices/services/property-timeseries.service.js.map +1 -1
- package/dist/modules/devices/services/property-value-lock.service.d.ts +20 -0
- package/dist/modules/devices/services/property-value-lock.service.js +147 -0
- package/dist/modules/devices/services/property-value-lock.service.js.map +1 -0
- package/dist/modules/devices/services/property-value-source.registry.service.d.ts +13 -0
- package/dist/modules/devices/services/property-value-source.registry.service.js +42 -0
- package/dist/modules/devices/services/property-value-source.registry.service.js.map +1 -0
- package/dist/modules/devices/services/property-value.service.d.ts +86 -3
- package/dist/modules/devices/services/property-value.service.js +527 -76
- package/dist/modules/devices/services/property-value.service.js.map +1 -1
- package/dist/modules/devices/subscribers/channel-property-entity.subscriber.d.ts +0 -1
- package/dist/modules/devices/subscribers/channel-property-entity.subscriber.js +2 -19
- package/dist/modules/devices/subscribers/channel-property-entity.subscriber.js.map +1 -1
- package/dist/modules/devices/utils/property-command-value.utils.d.ts +13 -0
- package/dist/modules/devices/utils/property-command-value.utils.js +147 -0
- package/dist/modules/devices/utils/property-command-value.utils.js.map +1 -0
- package/dist/modules/devices/utils/property-metadata.utils.d.ts +2 -0
- package/dist/modules/devices/utils/property-metadata.utils.js +22 -0
- package/dist/modules/devices/utils/property-metadata.utils.js.map +1 -0
- package/dist/modules/devices/utils/schema.utils.js +25 -151
- package/dist/modules/devices/utils/schema.utils.js.map +1 -1
- package/dist/modules/devices/utils/unique-constraint.utils.d.ts +1 -0
- package/dist/modules/devices/utils/unique-constraint.utils.js +27 -0
- package/dist/modules/devices/utils/unique-constraint.utils.js.map +1 -0
- package/dist/modules/devices/validators/channel-exists-constraint.validator.js +1 -1
- package/dist/modules/devices/validators/channel-exists-constraint.validator.js.map +1 -1
- package/dist/modules/devices/validators/device-exists-constraint.validator.js +1 -1
- package/dist/modules/devices/validators/device-exists-constraint.validator.js.map +1 -1
- package/dist/modules/devices/validators/device-not-hidden-constraint.validator.d.ts +9 -0
- package/dist/modules/devices/validators/device-not-hidden-constraint.validator.js +47 -0
- package/dist/modules/devices/validators/device-not-hidden-constraint.validator.js.map +1 -0
- package/dist/modules/displays/controllers/displays.controller.d.ts +6 -2
- package/dist/modules/displays/controllers/displays.controller.js +30 -1
- package/dist/modules/displays/controllers/displays.controller.js.map +1 -1
- package/dist/modules/displays/controllers/registration.controller.d.ts +6 -4
- package/dist/modules/displays/controllers/registration.controller.js +8 -5
- package/dist/modules/displays/controllers/registration.controller.js.map +1 -1
- package/dist/modules/displays/displays.module.js +5 -0
- package/dist/modules/displays/displays.module.js.map +1 -1
- package/dist/modules/displays/displays.openapi.d.ts +4 -2
- package/dist/modules/displays/displays.openapi.js +5 -0
- package/dist/modules/displays/displays.openapi.js.map +1 -1
- package/dist/modules/displays/dto/bulk-displays.dto.d.ts +7 -0
- package/dist/modules/displays/dto/bulk-displays.dto.js +53 -0
- package/dist/modules/displays/dto/bulk-displays.dto.js.map +1 -0
- package/dist/modules/displays/guards/registration.guard.d.ts +4 -1
- package/dist/modules/displays/guards/registration.guard.js +18 -5
- package/dist/modules/displays/guards/registration.guard.js.map +1 -1
- package/dist/modules/displays/models/displays-response.model.d.ts +4 -0
- package/dist/modules/displays/models/displays-response.model.js +16 -1
- package/dist/modules/displays/models/displays-response.model.js.map +1 -1
- package/dist/modules/displays/services/displays-bulk.service.d.ts +8 -0
- package/dist/modules/displays/services/displays-bulk.service.js +39 -0
- package/dist/modules/displays/services/displays-bulk.service.js.map +1 -0
- package/dist/modules/displays/utils/ip.utils.d.ts +0 -2
- package/dist/modules/displays/utils/ip.utils.js +0 -25
- package/dist/modules/displays/utils/ip.utils.js.map +1 -1
- package/dist/modules/energy/energy.module.js +6 -2
- package/dist/modules/energy/energy.module.js.map +1 -1
- package/dist/modules/energy/energy.openapi.d.ts +3 -1
- package/dist/modules/energy/energy.openapi.js +4 -0
- package/dist/modules/energy/energy.openapi.js.map +1 -1
- package/dist/modules/energy/listeners/energy-ingestion.listener.d.ts +8 -1
- package/dist/modules/energy/listeners/energy-ingestion.listener.js +72 -28
- package/dist/modules/energy/listeners/energy-ingestion.listener.js.map +1 -1
- package/dist/modules/energy/services/energy-claim.registry.service.d.ts +16 -0
- package/dist/modules/energy/services/energy-claim.registry.service.js +41 -0
- package/dist/modules/energy/services/energy-claim.registry.service.js.map +1 -0
- package/dist/modules/energy/services/energy-data.service.d.ts +2 -0
- package/dist/modules/energy/services/energy-data.service.js +22 -6
- package/dist/modules/energy/services/energy-data.service.js.map +1 -1
- package/dist/modules/energy/utils/energy-source-type.utils.d.ts +8 -0
- package/dist/modules/energy/utils/energy-source-type.utils.js +30 -0
- package/dist/modules/energy/utils/energy-source-type.utils.js.map +1 -0
- package/dist/modules/extensions/commands/services.command.d.ts +9 -9
- package/dist/modules/extensions/commands/services.command.js +73 -60
- package/dist/modules/extensions/commands/services.command.js.map +1 -1
- package/dist/modules/extensions/controllers/extensions.controller.d.ts +7 -3
- package/dist/modules/extensions/controllers/extensions.controller.js +31 -5
- package/dist/modules/extensions/controllers/extensions.controller.js.map +1 -1
- package/dist/modules/extensions/controllers/services.controller.d.ts +8 -7
- package/dist/modules/extensions/controllers/services.controller.js +79 -59
- package/dist/modules/extensions/controllers/services.controller.js.map +1 -1
- package/dist/modules/extensions/dto/bulk-extensions.dto.d.ts +8 -0
- package/dist/modules/extensions/dto/bulk-extensions.dto.js +63 -0
- package/dist/modules/extensions/dto/bulk-extensions.dto.js.map +1 -0
- package/dist/modules/extensions/dto/update-config.dto.js +1 -1
- package/dist/modules/extensions/dto/update-config.dto.js.map +1 -1
- package/dist/modules/extensions/extensions.constants.js +2 -2
- package/dist/modules/extensions/extensions.constants.js.map +1 -1
- package/dist/modules/extensions/extensions.exceptions.d.ts +3 -0
- package/dist/modules/extensions/extensions.exceptions.js +7 -1
- package/dist/modules/extensions/extensions.exceptions.js.map +1 -1
- package/dist/modules/extensions/extensions.module.js +13 -11
- package/dist/modules/extensions/extensions.module.js.map +1 -1
- package/dist/modules/extensions/extensions.openapi.d.ts +3 -2
- package/dist/modules/extensions/extensions.openapi.js +5 -0
- package/dist/modules/extensions/extensions.openapi.js.map +1 -1
- package/dist/modules/extensions/models/extensions-response.model.d.ts +4 -0
- package/dist/modules/extensions/models/extensions-response.model.js +16 -1
- package/dist/modules/extensions/models/extensions-response.model.js.map +1 -1
- package/dist/modules/extensions/models/service-status.model.d.ts +5 -2
- package/dist/modules/extensions/models/service-status.model.js +36 -6
- package/dist/modules/extensions/models/service-status.model.js.map +1 -1
- package/dist/modules/extensions/providers/extensions-stats.provider.d.ts +3 -3
- package/dist/modules/extensions/providers/extensions-stats.provider.js +6 -6
- package/dist/modules/extensions/providers/extensions-stats.provider.js.map +1 -1
- package/dist/modules/extensions/services/{base-managed-plugin.service.d.ts → base-managed-extension.service.d.ts} +3 -3
- package/dist/modules/extensions/services/{base-managed-plugin.service.js → base-managed-extension.service.js} +4 -4
- package/dist/modules/extensions/services/base-managed-extension.service.js.map +1 -0
- package/dist/modules/extensions/services/extensions-bulk.service.d.ts +8 -0
- package/dist/modules/extensions/services/extensions-bulk.service.js +41 -0
- package/dist/modules/extensions/services/extensions-bulk.service.js.map +1 -0
- package/dist/modules/extensions/services/extensions.service.d.ts +1 -1
- package/dist/modules/extensions/services/extensions.service.js +14 -5
- package/dist/modules/extensions/services/extensions.service.js.map +1 -1
- package/dist/modules/extensions/services/{managed-plugin-service.interface.d.ts → managed-extension-service.interface.d.ts} +16 -5
- package/dist/modules/extensions/services/managed-extension-service.interface.js +3 -0
- package/dist/modules/extensions/services/managed-extension-service.interface.js.map +1 -0
- package/dist/modules/extensions/services/managed-service-manager.service.d.ts +57 -0
- package/dist/modules/extensions/services/{plugin-service-manager.service.js → managed-service-manager.service.js} +260 -73
- package/dist/modules/extensions/services/managed-service-manager.service.js.map +1 -0
- package/dist/modules/home-context/home-context-pagination.errors.d.ts +5 -0
- package/dist/modules/home-context/home-context-pagination.errors.js +13 -0
- package/dist/modules/home-context/home-context-pagination.errors.js.map +1 -0
- package/dist/modules/home-context/home-context.constants.d.ts +66 -0
- package/dist/modules/home-context/home-context.constants.js +81 -0
- package/dist/modules/home-context/home-context.constants.js.map +1 -0
- package/dist/modules/home-context/home-context.errors.d.ts +5 -0
- package/dist/modules/home-context/home-context.errors.js +13 -0
- package/dist/modules/home-context/home-context.errors.js.map +1 -0
- package/dist/modules/home-context/home-context.module.d.ts +2 -0
- package/dist/modules/home-context/home-context.module.js +44 -0
- package/dist/modules/home-context/home-context.module.js.map +1 -0
- package/dist/modules/home-context/home-current-state.errors.d.ts +5 -0
- package/dist/modules/home-context/home-current-state.errors.js +13 -0
- package/dist/modules/home-context/home-current-state.errors.js.map +1 -0
- package/dist/modules/home-context/home-search.errors.d.ts +11 -0
- package/dist/modules/home-context/home-search.errors.js +25 -0
- package/dist/modules/home-context/home-search.errors.js.map +1 -0
- package/dist/modules/home-context/home-state.errors.d.ts +24 -0
- package/dist/modules/home-context/home-state.errors.js +44 -0
- package/dist/modules/home-context/home-state.errors.js.map +1 -0
- package/dist/modules/home-context/models/home-context-query.model.d.ts +10 -0
- package/dist/modules/home-context/models/home-context-query.model.js +3 -0
- package/dist/modules/home-context/models/home-context-query.model.js.map +1 -0
- package/dist/modules/home-context/models/home-context-result.model.d.ts +124 -0
- package/dist/modules/home-context/models/home-context-result.model.js +3 -0
- package/dist/modules/home-context/models/home-context-result.model.js.map +1 -0
- package/dist/modules/home-context/models/home-current-state-query.model.d.ts +33 -0
- package/dist/modules/home-context/models/home-current-state-query.model.js +3 -0
- package/dist/modules/home-context/models/home-current-state-query.model.js.map +1 -0
- package/dist/modules/home-context/models/home-current-state-result.model.d.ts +70 -0
- package/dist/modules/home-context/models/home-current-state-result.model.js +3 -0
- package/dist/modules/home-context/models/home-current-state-result.model.js.map +1 -0
- package/dist/modules/home-context/models/home-search-query.model.d.ts +11 -0
- package/dist/modules/home-context/models/home-search-query.model.js +3 -0
- package/dist/modules/home-context/models/home-search-query.model.js.map +1 -0
- package/dist/modules/home-context/models/home-search-result.model.d.ts +71 -0
- package/dist/modules/home-context/models/home-search-result.model.js +3 -0
- package/dist/modules/home-context/models/home-search-result.model.js.map +1 -0
- package/dist/modules/home-context/models/home-state-query.model.d.ts +26 -0
- package/dist/modules/home-context/models/home-state-query.model.js +3 -0
- package/dist/modules/home-context/models/home-state-query.model.js.map +1 -0
- package/dist/modules/home-context/models/home-state-result.model.d.ts +48 -0
- package/dist/modules/home-context/models/home-state-result.model.js +3 -0
- package/dist/modules/home-context/models/home-state-result.model.js.map +1 -0
- package/dist/modules/home-context/models/home-target-query.model.d.ts +9 -0
- package/dist/modules/home-context/models/home-target-query.model.js +3 -0
- package/dist/modules/home-context/models/home-target-query.model.js.map +1 -0
- package/dist/modules/home-context/models/home-target-result.model.d.ts +43 -0
- package/dist/modules/home-context/models/home-target-result.model.js +3 -0
- package/dist/modules/home-context/models/home-target-result.model.js.map +1 -0
- package/dist/modules/home-context/schemas/home-context-input.schemas.d.ts +9 -0
- package/dist/modules/home-context/schemas/home-context-input.schemas.js +22 -0
- package/dist/modules/home-context/schemas/home-context-input.schemas.js.map +1 -0
- package/dist/modules/home-context/schemas/home-context-output.schemas.d.ts +125 -0
- package/dist/modules/home-context/schemas/home-context-output.schemas.js +147 -0
- package/dist/modules/home-context/schemas/home-context-output.schemas.js.map +1 -0
- package/dist/modules/home-context/schemas/home-current-state-input.schemas.d.ts +150 -0
- package/dist/modules/home-context/schemas/home-current-state-input.schemas.js +59 -0
- package/dist/modules/home-context/schemas/home-current-state-input.schemas.js.map +1 -0
- package/dist/modules/home-context/schemas/home-current-state-output.schemas.d.ts +275 -0
- package/dist/modules/home-context/schemas/home-current-state-output.schemas.js +139 -0
- package/dist/modules/home-context/schemas/home-current-state-output.schemas.js.map +1 -0
- package/dist/modules/home-context/schemas/home-search-input.schemas.d.ts +20 -0
- package/dist/modules/home-context/schemas/home-search-input.schemas.js +29 -0
- package/dist/modules/home-context/schemas/home-search-input.schemas.js.map +1 -0
- package/dist/modules/home-context/schemas/home-search-output.schemas.d.ts +112 -0
- package/dist/modules/home-context/schemas/home-search-output.schemas.js +84 -0
- package/dist/modules/home-context/schemas/home-search-output.schemas.js.map +1 -0
- package/dist/modules/home-context/schemas/home-state-input.schemas.d.ts +30 -0
- package/dist/modules/home-context/schemas/home-state-input.schemas.js +37 -0
- package/dist/modules/home-context/schemas/home-state-input.schemas.js.map +1 -0
- package/dist/modules/home-context/schemas/home-state-output.schemas.d.ts +116 -0
- package/dist/modules/home-context/schemas/home-state-output.schemas.js +129 -0
- package/dist/modules/home-context/schemas/home-state-output.schemas.js.map +1 -0
- package/dist/modules/home-context/schemas/home-target-input.schemas.d.ts +9 -0
- package/dist/modules/home-context/schemas/home-target-input.schemas.js +15 -0
- package/dist/modules/home-context/schemas/home-target-input.schemas.js.map +1 -0
- package/dist/modules/home-context/schemas/home-target-output.schemas.d.ts +40 -0
- package/dist/modules/home-context/schemas/home-target-output.schemas.js +61 -0
- package/dist/modules/home-context/schemas/home-target-output.schemas.js.map +1 -0
- package/dist/modules/home-context/services/home-context-query.service.d.ts +31 -0
- package/dist/modules/home-context/services/home-context-query.service.js +264 -0
- package/dist/modules/home-context/services/home-context-query.service.js.map +1 -0
- package/dist/modules/home-context/services/home-current-state-query.service.d.ts +17 -0
- package/dist/modules/home-context/services/home-current-state-query.service.js +256 -0
- package/dist/modules/home-context/services/home-current-state-query.service.js.map +1 -0
- package/dist/modules/home-context/services/home-search-query.service.d.ts +30 -0
- package/dist/modules/home-context/services/home-search-query.service.js +443 -0
- package/dist/modules/home-context/services/home-search-query.service.js.map +1 -0
- package/dist/modules/home-context/services/home-state-query.service.d.ts +35 -0
- package/dist/modules/home-context/services/home-state-query.service.js +263 -0
- package/dist/modules/home-context/services/home-state-query.service.js.map +1 -0
- package/dist/modules/home-context/services/home-target-query.service.d.ts +21 -0
- package/dist/modules/home-context/services/home-target-query.service.js +149 -0
- package/dist/modules/home-context/services/home-target-query.service.js.map +1 -0
- package/dist/modules/mcp/controllers/mcp-clients.controller.d.ts +17 -0
- package/dist/modules/mcp/controllers/mcp-clients.controller.js +201 -0
- package/dist/modules/mcp/controllers/mcp-clients.controller.js.map +1 -0
- package/dist/modules/mcp/controllers/mcp-oauth-clients.controller.d.ts +17 -0
- package/dist/modules/mcp/controllers/mcp-oauth-clients.controller.js +162 -0
- package/dist/modules/mcp/controllers/mcp-oauth-clients.controller.js.map +1 -0
- package/dist/modules/mcp/controllers/mcp-oauth-interactions.controller.d.ts +15 -0
- package/dist/modules/mcp/controllers/mcp-oauth-interactions.controller.js +136 -0
- package/dist/modules/mcp/controllers/mcp-oauth-interactions.controller.js.map +1 -0
- package/dist/modules/mcp/controllers/mcp-oauth-management.controller.d.ts +20 -0
- package/dist/modules/mcp/controllers/mcp-oauth-management.controller.js +271 -0
- package/dist/modules/mcp/controllers/mcp-oauth-management.controller.js.map +1 -0
- package/dist/modules/mcp/controllers/mcp.controller.d.ts +17 -0
- package/dist/modules/mcp/controllers/mcp.controller.js +87 -0
- package/dist/modules/mcp/controllers/mcp.controller.js.map +1 -0
- package/dist/modules/mcp/decorators/mcp-endpoint.decorator.d.ts +1 -0
- package/dist/modules/mcp/decorators/mcp-endpoint.decorator.js +8 -0
- package/dist/modules/mcp/decorators/mcp-endpoint.decorator.js.map +1 -0
- package/dist/modules/mcp/dto/mcp-client.dto.d.ts +25 -0
- package/dist/modules/mcp/dto/mcp-client.dto.js +185 -0
- package/dist/modules/mcp/dto/mcp-client.dto.js.map +1 -0
- package/dist/modules/mcp/dto/mcp-oauth-client.dto.d.ts +18 -0
- package/dist/modules/mcp/dto/mcp-oauth-client.dto.js +135 -0
- package/dist/modules/mcp/dto/mcp-oauth-client.dto.js.map +1 -0
- package/dist/modules/mcp/dto/mcp-oauth-grant.dto.d.ts +7 -0
- package/dist/modules/mcp/dto/mcp-oauth-grant.dto.js +51 -0
- package/dist/modules/mcp/dto/mcp-oauth-grant.dto.js.map +1 -0
- package/dist/modules/mcp/dto/mcp-oauth-interaction.dto.d.ts +8 -0
- package/dist/modules/mcp/dto/mcp-oauth-interaction.dto.js +68 -0
- package/dist/modules/mcp/dto/mcp-oauth-interaction.dto.js.map +1 -0
- package/dist/modules/mcp/dto/update-config.dto.d.ts +9 -0
- package/dist/modules/mcp/dto/update-config.dto.js +102 -0
- package/dist/modules/mcp/dto/update-config.dto.js.map +1 -0
- package/dist/modules/mcp/entities/mcp-client.entity.d.ts +17 -0
- package/dist/modules/mcp/entities/mcp-client.entity.js +154 -0
- package/dist/modules/mcp/entities/mcp-client.entity.js.map +1 -0
- package/dist/modules/mcp/entities/mcp-installation.entity.d.ts +5 -0
- package/dist/modules/mcp/entities/mcp-installation.entity.js +32 -0
- package/dist/modules/mcp/entities/mcp-installation.entity.js.map +1 -0
- package/dist/modules/mcp/entities/mcp-oauth.entity.d.ts +143 -0
- package/dist/modules/mcp/entities/mcp-oauth.entity.js +602 -0
- package/dist/modules/mcp/entities/mcp-oauth.entity.js.map +1 -0
- package/dist/modules/mcp/guards/mcp-client.guard.d.ts +14 -0
- package/dist/modules/mcp/guards/mcp-client.guard.js +73 -0
- package/dist/modules/mcp/guards/mcp-client.guard.js.map +1 -0
- package/dist/modules/mcp/guards/mcp-throttle.guard.d.ts +26 -0
- package/dist/modules/mcp/guards/mcp-throttle.guard.js +161 -0
- package/dist/modules/mcp/guards/mcp-throttle.guard.js.map +1 -0
- package/dist/modules/mcp/listeners/mcp-config.listener.d.ts +22 -0
- package/dist/modules/mcp/listeners/mcp-config.listener.js +104 -0
- package/dist/modules/mcp/listeners/mcp-config.listener.js.map +1 -0
- package/dist/modules/mcp/mcp.constants.d.ts +68 -0
- package/dist/modules/mcp/mcp.constants.js +77 -0
- package/dist/modules/mcp/mcp.constants.js.map +1 -0
- package/dist/modules/mcp/mcp.exceptions.d.ts +4 -0
- package/dist/modules/mcp/mcp.exceptions.js +11 -0
- package/dist/modules/mcp/mcp.exceptions.js.map +1 -0
- package/dist/modules/mcp/mcp.module.d.ts +23 -0
- package/dist/modules/mcp/mcp.module.js +272 -0
- package/dist/modules/mcp/mcp.module.js.map +1 -0
- package/dist/modules/mcp/mcp.openapi.d.ts +13 -0
- package/dist/modules/mcp/mcp.openapi.js +60 -0
- package/dist/modules/mcp/mcp.openapi.js.map +1 -0
- package/dist/modules/mcp/models/config.model.d.ts +10 -0
- package/dist/modules/mcp/models/config.model.js +106 -0
- package/dist/modules/mcp/models/config.model.js.map +1 -0
- package/dist/modules/mcp/models/mcp-client-response.model.d.ts +12 -0
- package/dist/modules/mcp/models/mcp-client-response.model.js +51 -0
- package/dist/modules/mcp/models/mcp-client-response.model.js.map +1 -0
- package/dist/modules/mcp/models/mcp-client.model.d.ts +5 -0
- package/dist/modules/mcp/models/mcp-client.model.js +35 -0
- package/dist/modules/mcp/models/mcp-client.model.js.map +1 -0
- package/dist/modules/mcp/models/mcp-oauth-client-response.model.d.ts +8 -0
- package/dist/modules/mcp/models/mcp-oauth-client-response.model.js +39 -0
- package/dist/modules/mcp/models/mcp-oauth-client-response.model.js.map +1 -0
- package/dist/modules/mcp/models/mcp-oauth-client.model.d.ts +13 -0
- package/dist/modules/mcp/models/mcp-oauth-client.model.js +85 -0
- package/dist/modules/mcp/models/mcp-oauth-client.model.js.map +1 -0
- package/dist/modules/mcp/models/mcp-oauth-interaction-response.model.d.ts +8 -0
- package/dist/modules/mcp/models/mcp-oauth-interaction-response.model.js +39 -0
- package/dist/modules/mcp/models/mcp-oauth-interaction-response.model.js.map +1 -0
- package/dist/modules/mcp/models/mcp-oauth-interaction.model.d.ts +23 -0
- package/dist/modules/mcp/models/mcp-oauth-interaction.model.js +111 -0
- package/dist/modules/mcp/models/mcp-oauth-interaction.model.js.map +1 -0
- package/dist/modules/mcp/models/mcp-oauth-management-response.model.d.ts +23 -0
- package/dist/modules/mcp/models/mcp-oauth-management-response.model.js +94 -0
- package/dist/modules/mcp/models/mcp-oauth-management-response.model.js.map +1 -0
- package/dist/modules/mcp/models/mcp-oauth-management.model.d.ts +35 -0
- package/dist/modules/mcp/models/mcp-oauth-management.model.js +189 -0
- package/dist/modules/mcp/models/mcp-oauth-management.model.js.map +1 -0
- package/dist/modules/mcp/oauth/mcp-oauth-metadata.d.ts +15 -0
- package/dist/modules/mcp/oauth/mcp-oauth-metadata.js +18 -0
- package/dist/modules/mcp/oauth/mcp-oauth-metadata.js.map +1 -0
- package/dist/modules/mcp/oauth/mcp-oauth-provider.adapter.d.ts +21 -0
- package/dist/modules/mcp/oauth/mcp-oauth-provider.adapter.js +297 -0
- package/dist/modules/mcp/oauth/mcp-oauth-provider.adapter.js.map +1 -0
- package/dist/modules/mcp/oauth/mcp-oauth-provider.factory.d.ts +49 -0
- package/dist/modules/mcp/oauth/mcp-oauth-provider.factory.js +324 -0
- package/dist/modules/mcp/oauth/mcp-oauth-provider.factory.js.map +1 -0
- package/dist/modules/mcp/oauth/mcp-oauth-provider.loader.d.ts +4 -0
- package/dist/modules/mcp/oauth/mcp-oauth-provider.loader.js +7 -0
- package/dist/modules/mcp/oauth/mcp-oauth-provider.loader.js.map +1 -0
- package/dist/modules/mcp/oauth/mcp-oauth-redaction.d.ts +1 -0
- package/dist/modules/mcp/oauth/mcp-oauth-redaction.js +17 -0
- package/dist/modules/mcp/oauth/mcp-oauth-redaction.js.map +1 -0
- package/dist/modules/mcp/oauth/mcp-oauth-scope.utils.d.ts +3 -0
- package/dist/modules/mcp/oauth/mcp-oauth-scope.utils.js +29 -0
- package/dist/modules/mcp/oauth/mcp-oauth-scope.utils.js.map +1 -0
- package/dist/modules/mcp/oauth/mcp-oauth.types.d.ts +31 -0
- package/dist/modules/mcp/oauth/mcp-oauth.types.js +3 -0
- package/dist/modules/mcp/oauth/mcp-oauth.types.js.map +1 -0
- package/dist/modules/mcp/providers/mcp-stats.provider.d.ts +19 -0
- package/dist/modules/mcp/providers/mcp-stats.provider.js +38 -0
- package/dist/modules/mcp/providers/mcp-stats.provider.js.map +1 -0
- package/dist/modules/mcp/services/mcp-audit.service.d.ts +74 -0
- package/dist/modules/mcp/services/mcp-audit.service.js +161 -0
- package/dist/modules/mcp/services/mcp-audit.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-client.service.d.ts +34 -0
- package/dist/modules/mcp/services/mcp-client.service.js +241 -0
- package/dist/modules/mcp/services/mcp-client.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-context.service.d.ts +32 -0
- package/dist/modules/mcp/services/mcp-context.service.js +136 -0
- package/dist/modules/mcp/services/mcp-context.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-installation.service.d.ts +9 -0
- package/dist/modules/mcp/services/mcp-installation.service.js +55 -0
- package/dist/modules/mcp/services/mcp-installation.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-approver-authority.service.d.ts +20 -0
- package/dist/modules/mcp/services/mcp-oauth-approver-authority.service.js +128 -0
- package/dist/modules/mcp/services/mcp-oauth-approver-authority.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-artifact.service.d.ts +69 -0
- package/dist/modules/mcp/services/mcp-oauth-artifact.service.js +200 -0
- package/dist/modules/mcp/services/mcp-oauth-artifact.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-bootstrap.service.d.ts +22 -0
- package/dist/modules/mcp/services/mcp-oauth-bootstrap.service.js +116 -0
- package/dist/modules/mcp/services/mcp-oauth-bootstrap.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-client.service.d.ts +20 -0
- package/dist/modules/mcp/services/mcp-oauth-client.service.js +107 -0
- package/dist/modules/mcp/services/mcp-oauth-client.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-endpoint-rate-limit.service.d.ts +15 -0
- package/dist/modules/mcp/services/mcp-oauth-endpoint-rate-limit.service.js +52 -0
- package/dist/modules/mcp/services/mcp-oauth-endpoint-rate-limit.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-global-invalidation.service.d.ts +12 -0
- package/dist/modules/mcp/services/mcp-oauth-global-invalidation.service.js +82 -0
- package/dist/modules/mcp/services/mcp-oauth-global-invalidation.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-interaction.service.d.ts +36 -0
- package/dist/modules/mcp/services/mcp-oauth-interaction.service.js +312 -0
- package/dist/modules/mcp/services/mcp-oauth-interaction.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-lifecycle.service.d.ts +18 -0
- package/dist/modules/mcp/services/mcp-oauth-lifecycle.service.js +88 -0
- package/dist/modules/mcp/services/mcp-oauth-lifecycle.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-management.service.d.ts +45 -0
- package/dist/modules/mcp/services/mcp-oauth-management.service.js +381 -0
- package/dist/modules/mcp/services/mcp-oauth-management.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-module-config-mutation.service.d.ts +28 -0
- package/dist/modules/mcp/services/mcp-oauth-module-config-mutation.service.js +253 -0
- package/dist/modules/mcp/services/mcp-oauth-module-config-mutation.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-provider-material.service.d.ts +21 -0
- package/dist/modules/mcp/services/mcp-oauth-provider-material.service.js +130 -0
- package/dist/modules/mcp/services/mcp-oauth-provider-material.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-proxy-policy.service.d.ts +11 -0
- package/dist/modules/mcp/services/mcp-oauth-proxy-policy.service.js +53 -0
- package/dist/modules/mcp/services/mcp-oauth-proxy-policy.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-public-url.service.d.ts +7 -0
- package/dist/modules/mcp/services/mcp-oauth-public-url.service.js +47 -0
- package/dist/modules/mcp/services/mcp-oauth-public-url.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-readiness-registration.service.d.ts +25 -0
- package/dist/modules/mcp/services/mcp-oauth-readiness-registration.service.js +69 -0
- package/dist/modules/mcp/services/mcp-oauth-readiness-registration.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-readiness.service.d.ts +32 -0
- package/dist/modules/mcp/services/mcp-oauth-readiness.service.js +71 -0
- package/dist/modules/mcp/services/mcp-oauth-readiness.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-refresh-token.service.d.ts +13 -0
- package/dist/modules/mcp/services/mcp-oauth-refresh-token.service.js +91 -0
- package/dist/modules/mcp/services/mcp-oauth-refresh-token.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-resource-server.service.d.ts +40 -0
- package/dist/modules/mcp/services/mcp-oauth-resource-server.service.js +233 -0
- package/dist/modules/mcp/services/mcp-oauth-resource-server.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-route-gate.service.d.ts +12 -0
- package/dist/modules/mcp/services/mcp-oauth-route-gate.service.js +50 -0
- package/dist/modules/mcp/services/mcp-oauth-route-gate.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-runtime.service.d.ts +15 -0
- package/dist/modules/mcp/services/mcp-oauth-runtime.service.js +70 -0
- package/dist/modules/mcp/services/mcp-oauth-runtime.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-switch-off.service.d.ts +18 -0
- package/dist/modules/mcp/services/mcp-oauth-switch-off.service.js +74 -0
- package/dist/modules/mcp/services/mcp-oauth-switch-off.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-policy.service.d.ts +51 -0
- package/dist/modules/mcp/services/mcp-policy.service.js +162 -0
- package/dist/modules/mcp/services/mcp-policy.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-server.service.d.ts +50 -0
- package/dist/modules/mcp/services/mcp-server.service.js +513 -0
- package/dist/modules/mcp/services/mcp-server.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-subscription-registry.service.d.ts +76 -0
- package/dist/modules/mcp/services/mcp-subscription-registry.service.js +287 -0
- package/dist/modules/mcp/services/mcp-subscription-registry.service.js.map +1 -0
- package/dist/modules/mcp/tools/mcp-read-tool.service.d.ts +23 -0
- package/dist/modules/mcp/tools/mcp-read-tool.service.js +361 -0
- package/dist/modules/mcp/tools/mcp-read-tool.service.js.map +1 -0
- package/dist/modules/mcp/tools/mcp-target-discovery-tool.service.d.ts +35 -0
- package/dist/modules/mcp/tools/mcp-target-discovery-tool.service.js +374 -0
- package/dist/modules/mcp/tools/mcp-target-discovery-tool.service.js.map +1 -0
- package/dist/modules/mcp/validators/is-mcp-oauth-public-base-url.validator.d.ts +6 -0
- package/dist/modules/mcp/validators/is-mcp-oauth-public-base-url.validator.js +46 -0
- package/dist/modules/mcp/validators/is-mcp-oauth-public-base-url.validator.js.map +1 -0
- package/dist/modules/mcp/validators/is-mcp-oauth-redirect-uri.validator.d.ts +7 -0
- package/dist/modules/mcp/validators/is-mcp-oauth-redirect-uri.validator.js +65 -0
- package/dist/modules/mcp/validators/is-mcp-oauth-redirect-uri.validator.js.map +1 -0
- package/dist/modules/mcp/validators/is-mcp-origin.validator.d.ts +5 -0
- package/dist/modules/mcp/validators/is-mcp-origin.validator.js +35 -0
- package/dist/modules/mcp/validators/is-mcp-origin.validator.js.map +1 -0
- package/dist/modules/mdns/mdns.openapi.d.ts +1 -1
- package/dist/modules/mdns/services/mdns.service.d.ts +21 -4
- package/dist/modules/mdns/services/mdns.service.js +151 -69
- package/dist/modules/mdns/services/mdns.service.js.map +1 -1
- package/dist/modules/notifications/controllers/notifications.controller.d.ts +19 -0
- package/dist/modules/notifications/controllers/notifications.controller.js +312 -0
- package/dist/modules/notifications/controllers/notifications.controller.js.map +1 -0
- package/dist/modules/notifications/dto/bulk-remove-notifications.dto.d.ts +6 -0
- package/dist/modules/notifications/dto/bulk-remove-notifications.dto.js +56 -0
- package/dist/modules/notifications/dto/bulk-remove-notifications.dto.js.map +1 -0
- package/dist/modules/notifications/dto/bulk-update-notifications.dto.d.ts +8 -0
- package/dist/modules/notifications/dto/bulk-update-notifications.dto.js +78 -0
- package/dist/modules/notifications/dto/bulk-update-notifications.dto.js.map +1 -0
- package/dist/modules/notifications/dto/update-config.dto.d.ts +7 -0
- package/dist/modules/notifications/dto/update-config.dto.js +79 -0
- package/dist/modules/notifications/dto/update-config.dto.js.map +1 -0
- package/dist/modules/notifications/dto/update-notification.dto.d.ts +7 -0
- package/dist/modules/notifications/dto/update-notification.dto.js +58 -0
- package/dist/modules/notifications/dto/update-notification.dto.js.map +1 -0
- package/dist/modules/notifications/entities/notifications.entity.d.ts +19 -0
- package/dist/modules/notifications/entities/notifications.entity.js +209 -0
- package/dist/modules/notifications/entities/notifications.entity.js.map +1 -0
- package/dist/modules/notifications/models/config.model.d.ts +7 -0
- package/dist/modules/notifications/models/config.model.js +81 -0
- package/dist/modules/notifications/models/config.model.js.map +1 -0
- package/dist/modules/notifications/models/notification-action.model.d.ts +36 -0
- package/dist/modules/notifications/models/notification-action.model.js +132 -0
- package/dist/modules/notifications/models/notification-action.model.js.map +1 -0
- package/dist/modules/notifications/models/notifications-response.model.d.ts +13 -0
- package/dist/modules/notifications/models/notifications-response.model.js +69 -0
- package/dist/modules/notifications/models/notifications-response.model.js.map +1 -0
- package/dist/modules/notifications/notifications.constants.d.ts +43 -0
- package/dist/modules/notifications/notifications.constants.js +57 -0
- package/dist/modules/notifications/notifications.constants.js.map +1 -0
- package/dist/modules/notifications/notifications.exceptions.d.ts +6 -0
- package/dist/modules/notifications/notifications.exceptions.js +18 -0
- package/dist/modules/notifications/notifications.exceptions.js.map +1 -0
- package/dist/modules/notifications/notifications.module.d.ts +11 -0
- package/dist/modules/notifications/notifications.module.js +112 -0
- package/dist/modules/notifications/notifications.module.js.map +1 -0
- package/dist/modules/notifications/notifications.openapi.d.ts +6 -0
- package/dist/modules/notifications/notifications.openapi.js +18 -0
- package/dist/modules/notifications/notifications.openapi.js.map +1 -0
- package/dist/modules/notifications/notifications.utils.d.ts +1 -0
- package/dist/modules/notifications/notifications.utils.js +28 -0
- package/dist/modules/notifications/notifications.utils.js.map +1 -0
- package/dist/modules/notifications/platforms/notification-channel.platform.d.ts +31 -0
- package/dist/modules/notifications/platforms/notification-channel.platform.js +108 -0
- package/dist/modules/notifications/platforms/notification-channel.platform.js.map +1 -0
- package/dist/modules/notifications/services/notification-channel-registry.service.d.ts +8 -0
- package/dist/modules/notifications/services/notification-channel-registry.service.js +36 -0
- package/dist/modules/notifications/services/notification-channel-registry.service.js.map +1 -0
- package/dist/modules/notifications/services/notification-dispatcher.service.d.ts +28 -0
- package/dist/modules/notifications/services/notification-dispatcher.service.js +173 -0
- package/dist/modules/notifications/services/notification-dispatcher.service.js.map +1 -0
- package/dist/modules/notifications/services/notification-input.validator.d.ts +29 -0
- package/dist/modules/notifications/services/notification-input.validator.js +148 -0
- package/dist/modules/notifications/services/notification-input.validator.js.map +1 -0
- package/dist/modules/notifications/services/notifications-retention.service.d.ts +19 -0
- package/dist/modules/notifications/services/notifications-retention.service.js +151 -0
- package/dist/modules/notifications/services/notifications-retention.service.js.map +1 -0
- package/dist/modules/notifications/services/notifications.service.d.ts +67 -0
- package/dist/modules/notifications/services/notifications.service.js +348 -0
- package/dist/modules/notifications/services/notifications.service.js.map +1 -0
- package/dist/modules/platform/services/platform.service.d.ts +7 -0
- package/dist/modules/platform/services/platform.service.js +53 -1
- package/dist/modules/platform/services/platform.service.js.map +1 -1
- package/dist/modules/remote-access/controllers/remote-access.controller.d.ts +20 -0
- package/dist/modules/remote-access/controllers/remote-access.controller.js +160 -0
- package/dist/modules/remote-access/controllers/remote-access.controller.js.map +1 -0
- package/dist/modules/remote-access/dto/update-config.dto.d.ts +8 -0
- package/dist/modules/remote-access/dto/update-config.dto.js +104 -0
- package/dist/modules/remote-access/dto/update-config.dto.js.map +1 -0
- package/dist/modules/remote-access/models/config.model.d.ts +9 -0
- package/dist/modules/remote-access/models/config.model.js +113 -0
- package/dist/modules/remote-access/models/config.model.js.map +1 -0
- package/dist/modules/remote-access/models/provider.model.d.ts +38 -0
- package/dist/modules/remote-access/models/provider.model.js +311 -0
- package/dist/modules/remote-access/models/provider.model.js.map +1 -0
- package/dist/modules/remote-access/models/status.model.d.ts +12 -0
- package/dist/modules/remote-access/models/status.model.js +83 -0
- package/dist/modules/remote-access/models/status.model.js.map +1 -0
- package/dist/modules/remote-access/models/urls.model.d.ts +11 -0
- package/dist/modules/remote-access/models/urls.model.js +84 -0
- package/dist/modules/remote-access/models/urls.model.js.map +1 -0
- package/dist/modules/remote-access/platforms/remote-access-provider.platform.d.ts +38 -0
- package/dist/modules/remote-access/platforms/remote-access-provider.platform.js +3 -0
- package/dist/modules/remote-access/platforms/remote-access-provider.platform.js.map +1 -0
- package/dist/modules/remote-access/remote-access.constants.d.ts +11 -0
- package/dist/modules/remote-access/remote-access.constants.js +16 -0
- package/dist/modules/remote-access/remote-access.constants.js.map +1 -0
- package/dist/modules/remote-access/remote-access.exceptions.d.ts +12 -0
- package/dist/modules/remote-access/remote-access.exceptions.js +32 -0
- package/dist/modules/remote-access/remote-access.exceptions.js.map +1 -0
- package/dist/modules/remote-access/remote-access.module.d.ts +11 -0
- package/dist/modules/remote-access/remote-access.module.js +108 -0
- package/dist/modules/remote-access/remote-access.module.js.map +1 -0
- package/dist/modules/remote-access/remote-access.openapi.d.ts +6 -0
- package/dist/modules/remote-access/remote-access.openapi.js +23 -0
- package/dist/modules/remote-access/remote-access.openapi.js.map +1 -0
- package/dist/modules/remote-access/services/remote-access-posture.service.d.ts +12 -0
- package/dist/modules/remote-access/services/remote-access-posture.service.js +56 -0
- package/dist/modules/remote-access/services/remote-access-posture.service.js.map +1 -0
- package/dist/modules/remote-access/services/remote-access-provider-registry.service.d.ts +7 -0
- package/dist/modules/remote-access/services/remote-access-provider-registry.service.js +33 -0
- package/dist/modules/remote-access/services/remote-access-provider-registry.service.js.map +1 -0
- package/dist/modules/remote-access/services/remote-access-proxy-contribution.service.d.ts +29 -0
- package/dist/modules/remote-access/services/remote-access-proxy-contribution.service.js +141 -0
- package/dist/modules/remote-access/services/remote-access-proxy-contribution.service.js.map +1 -0
- package/dist/modules/remote-access/services/remote-access-status.service.d.ts +22 -0
- package/dist/modules/remote-access/services/remote-access-status.service.js +155 -0
- package/dist/modules/remote-access/services/remote-access-status.service.js.map +1 -0
- package/dist/modules/remote-access/services/remote-access-url.service.d.ts +41 -0
- package/dist/modules/remote-access/services/remote-access-url.service.js +205 -0
- package/dist/modules/remote-access/services/remote-access-url.service.js.map +1 -0
- package/dist/modules/remote-access/validators/is-remote-access-url.validator.d.ts +6 -0
- package/dist/modules/remote-access/validators/is-remote-access-url.validator.js +46 -0
- package/dist/modules/remote-access/validators/is-remote-access-url.validator.js.map +1 -0
- package/dist/modules/remote-access/validators/is-trusted-proxy-entry.validator.d.ts +5 -0
- package/dist/modules/remote-access/validators/is-trusted-proxy-entry.validator.js +26 -0
- package/dist/modules/remote-access/validators/is-trusted-proxy-entry.validator.js.map +1 -0
- package/dist/modules/scenes/controllers/scenes.controller.d.ts +7 -2
- package/dist/modules/scenes/controllers/scenes.controller.js +52 -2
- package/dist/modules/scenes/controllers/scenes.controller.js.map +1 -1
- package/dist/modules/scenes/dto/bulk-scenes.dto.d.ts +14 -0
- package/dist/modules/scenes/dto/bulk-scenes.dto.js +99 -0
- package/dist/modules/scenes/dto/bulk-scenes.dto.js.map +1 -0
- package/dist/modules/scenes/models/scenes-response.model.d.ts +4 -0
- package/dist/modules/scenes/models/scenes-response.model.js +16 -1
- package/dist/modules/scenes/models/scenes-response.model.js.map +1 -1
- package/dist/modules/scenes/scenes.module.js +3 -0
- package/dist/modules/scenes/scenes.module.js.map +1 -1
- package/dist/modules/scenes/scenes.openapi.d.ts +4 -2
- package/dist/modules/scenes/scenes.openapi.js +5 -0
- package/dist/modules/scenes/scenes.openapi.js.map +1 -1
- package/dist/modules/scenes/services/scene-executor.service.d.ts +4 -1
- package/dist/modules/scenes/services/scene-executor.service.js +28 -3
- package/dist/modules/scenes/services/scene-executor.service.js.map +1 -1
- package/dist/modules/scenes/services/scene-tool.service.d.ts +2 -3
- package/dist/modules/scenes/services/scene-tool.service.js +84 -25
- package/dist/modules/scenes/services/scene-tool.service.js.map +1 -1
- package/dist/modules/scenes/services/scenes-bulk.service.d.ts +9 -0
- package/dist/modules/scenes/services/scenes-bulk.service.js +42 -0
- package/dist/modules/scenes/services/scenes-bulk.service.js.map +1 -0
- package/dist/modules/scenes/services/scenes.service.d.ts +35 -0
- package/dist/modules/scenes/services/scenes.service.js +117 -0
- package/dist/modules/scenes/services/scenes.service.js.map +1 -1
- package/dist/modules/scenes/validators/scene-exists-constraint.validator.js +1 -1
- package/dist/modules/scenes/validators/scene-exists-constraint.validator.js.map +1 -1
- package/dist/modules/security/listeners/security-state.listener.d.ts +1 -0
- package/dist/modules/security/listeners/security-state.listener.js +9 -1
- package/dist/modules/security/listeners/security-state.listener.js.map +1 -1
- package/dist/modules/security/providers/security-sensors.provider.d.ts +12 -1
- package/dist/modules/security/providers/security-sensors.provider.js +132 -12
- package/dist/modules/security/providers/security-sensors.provider.js.map +1 -1
- package/dist/modules/security/security.openapi.d.ts +2 -1
- package/dist/modules/security/security.openapi.js +4 -0
- package/dist/modules/security/security.openapi.js.map +1 -1
- package/dist/modules/security/services/security-aggregator.service.d.ts +12 -2
- package/dist/modules/security/services/security-aggregator.service.js +33 -2
- package/dist/modules/security/services/security-aggregator.service.js.map +1 -1
- package/dist/modules/security/services/security-events.service.d.ts +7 -1
- package/dist/modules/security/services/security-events.service.js +38 -2
- package/dist/modules/security/services/security-events.service.js.map +1 -1
- package/dist/modules/security/services/security.service.d.ts +4 -1
- package/dist/modules/security/services/security.service.js +8 -0
- package/dist/modules/security/services/security.service.js.map +1 -1
- package/dist/modules/spaces/controllers/spaces.controller.d.ts +6 -2
- package/dist/modules/spaces/controllers/spaces.controller.js +43 -4
- package/dist/modules/spaces/controllers/spaces.controller.js.map +1 -1
- package/dist/modules/spaces/dto/bulk-assign.dto.js +1 -0
- package/dist/modules/spaces/dto/bulk-assign.dto.js.map +1 -1
- package/dist/modules/spaces/dto/bulk-spaces.dto.d.ts +7 -0
- package/dist/modules/spaces/dto/bulk-spaces.dto.js +53 -0
- package/dist/modules/spaces/dto/bulk-spaces.dto.js.map +1 -0
- package/dist/modules/spaces/dto/update-config.dto.js +1 -1
- package/dist/modules/spaces/models/config.model.js +1 -1
- package/dist/modules/spaces/models/spaces-response.model.d.ts +4 -0
- package/dist/modules/spaces/models/spaces-response.model.js +16 -1
- package/dist/modules/spaces/models/spaces-response.model.js.map +1 -1
- package/dist/modules/spaces/services/spaces-bulk.service.d.ts +8 -0
- package/dist/modules/spaces/services/spaces-bulk.service.js +35 -0
- package/dist/modules/spaces/services/spaces-bulk.service.js.map +1 -0
- package/dist/modules/spaces/services/spaces.service.d.ts +51 -1
- package/dist/modules/spaces/services/spaces.service.js +326 -19
- package/dist/modules/spaces/services/spaces.service.js.map +1 -1
- package/dist/modules/spaces/spaces.module.js +3 -0
- package/dist/modules/spaces/spaces.module.js.map +1 -1
- package/dist/modules/spaces/spaces.openapi.d.ts +4 -2
- package/dist/modules/spaces/spaces.openapi.js +5 -0
- package/dist/modules/spaces/spaces.openapi.js.map +1 -1
- package/dist/modules/storage/interfaces/storage-plugin.interface.d.ts +1 -0
- package/dist/modules/storage/models/config.model.js +2 -0
- package/dist/modules/storage/models/config.model.js.map +1 -1
- package/dist/modules/storage/services/storage-fallback-monitor.service.d.ts +14 -0
- package/dist/modules/storage/services/storage-fallback-monitor.service.js +110 -0
- package/dist/modules/storage/services/storage-fallback-monitor.service.js.map +1 -0
- package/dist/modules/storage/services/storage.service.d.ts +15 -0
- package/dist/modules/storage/services/storage.service.js +112 -0
- package/dist/modules/storage/services/storage.service.js.map +1 -1
- package/dist/modules/storage/storage.module.js +2 -1
- package/dist/modules/storage/storage.module.js.map +1 -1
- package/dist/modules/storage/storage.types.d.ts +1 -0
- package/dist/modules/swagger/decorators/api-documentation.decorator.d.ts +1 -0
- package/dist/modules/swagger/decorators/api-documentation.decorator.js +19 -1
- package/dist/modules/swagger/decorators/api-documentation.decorator.js.map +1 -1
- package/dist/modules/system/commands/command.utils.d.ts +2 -0
- package/dist/modules/system/commands/command.utils.js +14 -0
- package/dist/modules/system/commands/command.utils.js.map +1 -1
- package/dist/modules/system/commands/update-check.command.js +2 -3
- package/dist/modules/system/commands/update-check.command.js.map +1 -1
- package/dist/modules/system/commands/update-panel.command.js +2 -2
- package/dist/modules/system/commands/update-panel.command.js.map +1 -1
- package/dist/modules/system/commands/update-server.command.d.ts +1 -0
- package/dist/modules/system/commands/update-server.command.js +36 -11
- package/dist/modules/system/commands/update-server.command.js.map +1 -1
- package/dist/modules/system/dto/update-config.dto.d.ts +2 -1
- package/dist/modules/system/dto/update-config.dto.js +15 -0
- package/dist/modules/system/dto/update-config.dto.js.map +1 -1
- package/dist/modules/system/models/config.model.d.ts +2 -1
- package/dist/modules/system/models/config.model.js +14 -0
- package/dist/modules/system/models/config.model.js.map +1 -1
- package/dist/modules/system/privileged-worker.module.d.ts +2 -0
- package/dist/modules/system/privileged-worker.module.js +24 -0
- package/dist/modules/system/privileged-worker.module.js.map +1 -0
- package/dist/modules/system/services/privileged-worker.service.d.ts +35 -0
- package/dist/modules/system/services/privileged-worker.service.js +200 -0
- package/dist/modules/system/services/privileged-worker.service.js.map +1 -0
- package/dist/modules/system/services/system-command.service.d.ts +3 -3
- package/dist/modules/system/services/system-command.service.js +5 -5
- package/dist/modules/system/services/system-command.service.js.map +1 -1
- package/dist/modules/system/services/system-throttle-monitor.service.d.ts +11 -0
- package/dist/modules/system/services/system-throttle-monitor.service.js +107 -0
- package/dist/modules/system/services/system-throttle-monitor.service.js.map +1 -0
- package/dist/modules/system/services/update-executor.service.d.ts +10 -5
- package/dist/modules/system/services/update-executor.service.js +131 -175
- package/dist/modules/system/services/update-executor.service.js.map +1 -1
- package/dist/modules/system/services/update.service.d.ts +16 -1
- package/dist/modules/system/services/update.service.js +132 -37
- package/dist/modules/system/services/update.service.js.map +1 -1
- package/dist/modules/system/system.constants.d.ts +6 -0
- package/dist/modules/system/system.constants.js +8 -1
- package/dist/modules/system/system.constants.js.map +1 -1
- package/dist/modules/system/system.exceptions.d.ts +3 -0
- package/dist/modules/system/system.exceptions.js +8 -1
- package/dist/modules/system/system.exceptions.js.map +1 -1
- package/dist/modules/system/system.module.js +2 -0
- package/dist/modules/system/system.module.js.map +1 -1
- package/dist/modules/tools/platforms/tool-provider.platform.d.ts +48 -1
- package/dist/modules/tools/platforms/tool-provider.platform.js +39 -0
- package/dist/modules/tools/platforms/tool-provider.platform.js.map +1 -1
- package/dist/modules/tools/services/base-tool-provider.service.d.ts +3 -3
- package/dist/modules/tools/services/base-tool-provider.service.js +43 -10
- package/dist/modules/tools/services/base-tool-provider.service.js.map +1 -1
- package/dist/modules/tools/services/short-id-mapping.service.d.ts +24 -0
- package/dist/modules/tools/services/short-id-mapping.service.js +119 -1
- package/dist/modules/tools/services/short-id-mapping.service.js.map +1 -1
- package/dist/modules/tools/services/tool-provider-registry.service.d.ts +7 -3
- package/dist/modules/tools/services/tool-provider-registry.service.js +125 -15
- package/dist/modules/tools/services/tool-provider-registry.service.js.map +1 -1
- package/dist/modules/tools/tools.constants.d.ts +3 -0
- package/dist/modules/tools/tools.constants.js +4 -1
- package/dist/modules/tools/tools.constants.js.map +1 -1
- package/dist/modules/users/controllers/users.controller.d.ts +6 -2
- package/dist/modules/users/controllers/users.controller.js +33 -2
- package/dist/modules/users/controllers/users.controller.js.map +1 -1
- package/dist/modules/users/dto/bulk-users.dto.d.ts +7 -0
- package/dist/modules/users/dto/bulk-users.dto.js +53 -0
- package/dist/modules/users/dto/bulk-users.dto.js.map +1 -0
- package/dist/modules/users/models/users-response.model.d.ts +4 -0
- package/dist/modules/users/models/users-response.model.js +16 -1
- package/dist/modules/users/models/users-response.model.js.map +1 -1
- package/dist/modules/users/services/user-lifecycle-mutation-registry.service.d.ts +28 -0
- package/dist/modules/users/services/user-lifecycle-mutation-registry.service.js +79 -0
- package/dist/modules/users/services/user-lifecycle-mutation-registry.service.js.map +1 -0
- package/dist/modules/users/services/users-bulk.service.d.ts +8 -0
- package/dist/modules/users/services/users-bulk.service.js +44 -0
- package/dist/modules/users/services/users-bulk.service.js.map +1 -0
- package/dist/modules/users/services/users.service.d.ts +3 -1
- package/dist/modules/users/services/users.service.js +12 -5
- package/dist/modules/users/services/users.service.js.map +1 -1
- package/dist/modules/users/users.exceptions.d.ts +3 -0
- package/dist/modules/users/users.exceptions.js +8 -1
- package/dist/modules/users/users.exceptions.js.map +1 -1
- package/dist/modules/users/users.module.js +5 -1
- package/dist/modules/users/users.module.js.map +1 -1
- package/dist/modules/users/users.openapi.d.ts +3 -2
- package/dist/modules/users/users.openapi.js +5 -0
- package/dist/modules/users/users.openapi.js.map +1 -1
- package/dist/modules/users/validators/user-exists-constraint.validator.js +1 -1
- package/dist/modules/users/validators/user-exists-constraint.validator.js.map +1 -1
- package/dist/modules/weather/controllers/locations.controller.d.ts +6 -2
- package/dist/modules/weather/controllers/locations.controller.js +39 -3
- package/dist/modules/weather/controllers/locations.controller.js.map +1 -1
- package/dist/modules/weather/dto/bulk-locations.dto.d.ts +7 -0
- package/dist/modules/weather/dto/bulk-locations.dto.js +53 -0
- package/dist/modules/weather/dto/bulk-locations.dto.js.map +1 -0
- package/dist/modules/weather/models/locations-response.model.d.ts +4 -0
- package/dist/modules/weather/models/locations-response.model.js +16 -1
- package/dist/modules/weather/models/locations-response.model.js.map +1 -1
- package/dist/modules/weather/services/locations-bulk.service.d.ts +8 -0
- package/dist/modules/weather/services/locations-bulk.service.js +35 -0
- package/dist/modules/weather/services/locations-bulk.service.js.map +1 -0
- package/dist/modules/weather/services/weather.service.d.ts +13 -3
- package/dist/modules/weather/services/weather.service.js +57 -4
- package/dist/modules/weather/services/weather.service.js.map +1 -1
- package/dist/modules/weather/weather.module.d.ts +5 -1
- package/dist/modules/weather/weather.module.js +9 -1
- package/dist/modules/weather/weather.module.js.map +1 -1
- package/dist/modules/weather/weather.openapi.d.ts +4 -2
- package/dist/modules/weather/weather.openapi.js +5 -0
- package/dist/modules/weather/weather.openapi.js.map +1 -1
- package/dist/modules/websocket/gateway/websocket.gateway.d.ts +7 -1
- package/dist/modules/websocket/gateway/websocket.gateway.js +62 -10
- package/dist/modules/websocket/gateway/websocket.gateway.js.map +1 -1
- package/dist/modules/websocket/services/ws-auth.service.js +7 -0
- package/dist/modules/websocket/services/ws-auth.service.js.map +1 -1
- package/dist/modules/websocket/websocket.constants.d.ts +1 -0
- package/dist/modules/websocket/websocket.constants.js +2 -1
- package/dist/modules/websocket/websocket.constants.js.map +1 -1
- package/dist/modules/websocket/websocket.module.js +2 -0
- package/dist/modules/websocket/websocket.module.js.map +1 -1
- package/dist/plugins/buddy-claude/buddy-claude.plugin.js +7 -0
- package/dist/plugins/buddy-claude/buddy-claude.plugin.js.map +1 -1
- package/dist/plugins/buddy-claude/dto/update-config.dto.js +2 -3
- package/dist/plugins/buddy-claude/dto/update-config.dto.js.map +1 -1
- package/dist/plugins/buddy-claude/models/config.model.d.ts +1 -0
- package/dist/plugins/buddy-claude/models/config.model.js +12 -1
- package/dist/plugins/buddy-claude/models/config.model.js.map +1 -1
- package/dist/plugins/buddy-claude/platforms/claude.provider.d.ts +3 -2
- package/dist/plugins/buddy-claude/platforms/claude.provider.js +3 -0
- package/dist/plugins/buddy-claude/platforms/claude.provider.js.map +1 -1
- package/dist/plugins/buddy-claude-setup-token/buddy-claude-setup-token.plugin.js +7 -0
- package/dist/plugins/buddy-claude-setup-token/buddy-claude-setup-token.plugin.js.map +1 -1
- package/dist/plugins/buddy-claude-setup-token/dto/update-config.dto.js +2 -1
- package/dist/plugins/buddy-claude-setup-token/dto/update-config.dto.js.map +1 -1
- package/dist/plugins/buddy-claude-setup-token/models/config.model.d.ts +1 -0
- package/dist/plugins/buddy-claude-setup-token/models/config.model.js +12 -1
- package/dist/plugins/buddy-claude-setup-token/models/config.model.js.map +1 -1
- package/dist/plugins/buddy-claude-setup-token/platforms/claude-setup-token.provider.d.ts +3 -2
- package/dist/plugins/buddy-claude-setup-token/platforms/claude-setup-token.provider.js +3 -0
- package/dist/plugins/buddy-claude-setup-token/platforms/claude-setup-token.provider.js.map +1 -1
- package/dist/plugins/buddy-discord/buddy-discord.plugin.d.ts +3 -3
- package/dist/plugins/buddy-discord/buddy-discord.plugin.js +12 -5
- package/dist/plugins/buddy-discord/buddy-discord.plugin.js.map +1 -1
- package/dist/plugins/buddy-discord/dto/update-config.dto.js +2 -1
- package/dist/plugins/buddy-discord/dto/update-config.dto.js.map +1 -1
- package/dist/plugins/buddy-discord/models/config.model.d.ts +1 -0
- package/dist/plugins/buddy-discord/models/config.model.js +12 -1
- package/dist/plugins/buddy-discord/models/config.model.js.map +1 -1
- package/dist/plugins/buddy-discord/platforms/discord-bot.provider.d.ts +7 -3
- package/dist/plugins/buddy-discord/platforms/discord-bot.provider.js +4 -1
- package/dist/plugins/buddy-discord/platforms/discord-bot.provider.js.map +1 -1
- package/dist/plugins/buddy-elevenlabs/buddy-elevenlabs.plugin.js +7 -0
- package/dist/plugins/buddy-elevenlabs/buddy-elevenlabs.plugin.js.map +1 -1
- package/dist/plugins/buddy-elevenlabs/dto/update-config.dto.js +2 -3
- package/dist/plugins/buddy-elevenlabs/dto/update-config.dto.js.map +1 -1
- package/dist/plugins/buddy-elevenlabs/models/config.model.d.ts +1 -0
- package/dist/plugins/buddy-elevenlabs/models/config.model.js +12 -1
- package/dist/plugins/buddy-elevenlabs/models/config.model.js.map +1 -1
- package/dist/plugins/buddy-ollama/platforms/ollama.provider.d.ts +5 -3
- package/dist/plugins/buddy-ollama/platforms/ollama.provider.js +55 -24
- package/dist/plugins/buddy-ollama/platforms/ollama.provider.js.map +1 -1
- package/dist/plugins/buddy-openai/buddy-openai.plugin.js +7 -0
- package/dist/plugins/buddy-openai/buddy-openai.plugin.js.map +1 -1
- package/dist/plugins/buddy-openai/dto/update-config.dto.js +2 -3
- package/dist/plugins/buddy-openai/dto/update-config.dto.js.map +1 -1
- package/dist/plugins/buddy-openai/models/config.model.d.ts +1 -0
- package/dist/plugins/buddy-openai/models/config.model.js +12 -1
- package/dist/plugins/buddy-openai/models/config.model.js.map +1 -1
- package/dist/plugins/buddy-openai/platforms/openai.provider.d.ts +3 -2
- package/dist/plugins/buddy-openai/platforms/openai.provider.js +3 -0
- package/dist/plugins/buddy-openai/platforms/openai.provider.js.map +1 -1
- package/dist/plugins/buddy-openai-codex/buddy-openai-codex.plugin.js +17 -0
- package/dist/plugins/buddy-openai-codex/buddy-openai-codex.plugin.js.map +1 -1
- package/dist/plugins/buddy-openai-codex/dto/update-config.dto.js +4 -3
- package/dist/plugins/buddy-openai-codex/dto/update-config.dto.js.map +1 -1
- package/dist/plugins/buddy-openai-codex/models/config.model.d.ts +3 -0
- package/dist/plugins/buddy-openai-codex/models/config.model.js +36 -3
- package/dist/plugins/buddy-openai-codex/models/config.model.js.map +1 -1
- package/dist/plugins/buddy-openai-codex/platforms/openai-codex.provider.d.ts +5 -3
- package/dist/plugins/buddy-openai-codex/platforms/openai-codex.provider.js +429 -48
- package/dist/plugins/buddy-openai-codex/platforms/openai-codex.provider.js.map +1 -1
- package/dist/plugins/buddy-telegram/buddy-telegram.plugin.d.ts +3 -3
- package/dist/plugins/buddy-telegram/buddy-telegram.plugin.js +12 -5
- package/dist/plugins/buddy-telegram/buddy-telegram.plugin.js.map +1 -1
- package/dist/plugins/buddy-telegram/dto/update-config.dto.js +2 -1
- package/dist/plugins/buddy-telegram/dto/update-config.dto.js.map +1 -1
- package/dist/plugins/buddy-telegram/models/config.model.d.ts +1 -0
- package/dist/plugins/buddy-telegram/models/config.model.js +12 -1
- package/dist/plugins/buddy-telegram/models/config.model.js.map +1 -1
- package/dist/plugins/buddy-telegram/platforms/telegram-bot.provider.d.ts +7 -3
- package/dist/plugins/buddy-telegram/platforms/telegram-bot.provider.js +4 -1
- package/dist/plugins/buddy-telegram/platforms/telegram-bot.provider.js.map +1 -1
- package/dist/plugins/buddy-voiceai/buddy-voiceai.plugin.js +7 -0
- package/dist/plugins/buddy-voiceai/buddy-voiceai.plugin.js.map +1 -1
- package/dist/plugins/buddy-voiceai/dto/update-config.dto.js +2 -3
- package/dist/plugins/buddy-voiceai/dto/update-config.dto.js.map +1 -1
- package/dist/plugins/buddy-voiceai/models/config.model.d.ts +1 -0
- package/dist/plugins/buddy-voiceai/models/config.model.js +12 -1
- package/dist/plugins/buddy-voiceai/models/config.model.js.map +1 -1
- package/dist/plugins/buddy-whatsapp/buddy-whatsapp.plugin.d.ts +3 -3
- package/dist/plugins/buddy-whatsapp/buddy-whatsapp.plugin.js +5 -5
- package/dist/plugins/buddy-whatsapp/buddy-whatsapp.plugin.js.map +1 -1
- package/dist/plugins/buddy-whatsapp/platforms/whatsapp-bot.provider.d.ts +10 -6
- package/dist/plugins/buddy-whatsapp/platforms/whatsapp-bot.provider.js +9 -6
- package/dist/plugins/buddy-whatsapp/platforms/whatsapp-bot.provider.js.map +1 -1
- package/dist/plugins/data-sources-device-channel/dto/create-data-source.dto.js +2 -0
- package/dist/plugins/data-sources-device-channel/dto/create-data-source.dto.js.map +1 -1
- package/dist/plugins/data-sources-device-channel/dto/update-data-source.dto.js +2 -0
- package/dist/plugins/data-sources-device-channel/dto/update-data-source.dto.js.map +1 -1
- package/dist/plugins/data-sources-device-channel/validators/device-channel-exists-constraint.validator.js +1 -1
- package/dist/plugins/data-sources-device-channel/validators/device-channel-exists-constraint.validator.js.map +1 -1
- package/dist/plugins/devices-home-assistant/controllers/home-assistant-discovery.controller.d.ts +4 -2
- package/dist/plugins/devices-home-assistant/controllers/home-assistant-discovery.controller.js +17 -5
- package/dist/plugins/devices-home-assistant/controllers/home-assistant-discovery.controller.js.map +1 -1
- package/dist/plugins/devices-home-assistant/controllers/home-assistant-wizard.controller.d.ts +12 -0
- package/dist/plugins/devices-home-assistant/controllers/home-assistant-wizard.controller.js +147 -0
- package/dist/plugins/devices-home-assistant/controllers/home-assistant-wizard.controller.js.map +1 -0
- package/dist/plugins/devices-home-assistant/devices-home-assistant.openapi.d.ts +4 -2
- package/dist/plugins/devices-home-assistant/devices-home-assistant.openapi.js +10 -0
- package/dist/plugins/devices-home-assistant/devices-home-assistant.openapi.js.map +1 -1
- package/dist/plugins/devices-home-assistant/devices-home-assistant.plugin.d.ts +5 -3
- package/dist/plugins/devices-home-assistant/devices-home-assistant.plugin.js +19 -5
- package/dist/plugins/devices-home-assistant/devices-home-assistant.plugin.js.map +1 -1
- package/dist/plugins/devices-home-assistant/dto/wizard-adopt.dto.d.ts +6 -0
- package/dist/plugins/devices-home-assistant/dto/wizard-adopt.dto.js +49 -0
- package/dist/plugins/devices-home-assistant/dto/wizard-adopt.dto.js.map +1 -0
- package/dist/plugins/devices-home-assistant/models/config.model.d.ts +1 -0
- package/dist/plugins/devices-home-assistant/models/config.model.js +12 -1
- package/dist/plugins/devices-home-assistant/models/config.model.js.map +1 -1
- package/dist/plugins/devices-home-assistant/models/helper-mapping-preview.model.d.ts +1 -0
- package/dist/plugins/devices-home-assistant/models/helper-mapping-preview.model.js +12 -0
- package/dist/plugins/devices-home-assistant/models/helper-mapping-preview.model.js.map +1 -1
- package/dist/plugins/devices-home-assistant/models/wizard.model.d.ts +39 -0
- package/dist/plugins/devices-home-assistant/models/wizard.model.js +221 -0
- package/dist/plugins/devices-home-assistant/models/wizard.model.js.map +1 -0
- package/dist/plugins/devices-home-assistant/services/device-adoption.service.d.ts +2 -1
- package/dist/plugins/devices-home-assistant/services/device-adoption.service.js +5 -4
- package/dist/plugins/devices-home-assistant/services/device-adoption.service.js.map +1 -1
- package/dist/plugins/devices-home-assistant/services/ha-mdns-discoverer.service.d.ts +15 -7
- package/dist/plugins/devices-home-assistant/services/ha-mdns-discoverer.service.js +69 -56
- package/dist/plugins/devices-home-assistant/services/ha-mdns-discoverer.service.js.map +1 -1
- package/dist/plugins/devices-home-assistant/services/helper-adoption.service.d.ts +7 -2
- package/dist/plugins/devices-home-assistant/services/helper-adoption.service.js +33 -7
- package/dist/plugins/devices-home-assistant/services/helper-adoption.service.js.map +1 -1
- package/dist/plugins/devices-home-assistant/services/helper-mapping-preview.service.d.ts +9 -0
- package/dist/plugins/devices-home-assistant/services/helper-mapping-preview.service.js +23 -0
- package/dist/plugins/devices-home-assistant/services/helper-mapping-preview.service.js.map +1 -1
- package/dist/plugins/devices-home-assistant/services/home-assistant.http.service.d.ts +6 -1
- package/dist/plugins/devices-home-assistant/services/home-assistant.http.service.js +76 -11
- package/dist/plugins/devices-home-assistant/services/home-assistant.http.service.js.map +1 -1
- package/dist/plugins/devices-home-assistant/services/home-assistant.ws.service.d.ts +18 -5
- package/dist/plugins/devices-home-assistant/services/home-assistant.ws.service.js +94 -7
- package/dist/plugins/devices-home-assistant/services/home-assistant.ws.service.js.map +1 -1
- package/dist/plugins/devices-home-assistant/services/mapping-preview.service.d.ts +10 -0
- package/dist/plugins/devices-home-assistant/services/mapping-preview.service.js +28 -0
- package/dist/plugins/devices-home-assistant/services/mapping-preview.service.js.map +1 -1
- package/dist/plugins/devices-home-assistant/services/wizard.service.d.ts +34 -0
- package/dist/plugins/devices-home-assistant/services/wizard.service.js +372 -0
- package/dist/plugins/devices-home-assistant/services/wizard.service.js.map +1 -0
- package/dist/plugins/devices-home-assistant/utils/helper-structure.utils.d.ts +3 -0
- package/dist/plugins/devices-home-assistant/utils/helper-structure.utils.js +44 -0
- package/dist/plugins/devices-home-assistant/utils/helper-structure.utils.js.map +1 -0
- package/dist/plugins/devices-homekit/controllers/homekit-bridge.controller.d.ts +14 -0
- package/dist/plugins/devices-homekit/controllers/homekit-bridge.controller.js +125 -0
- package/dist/plugins/devices-homekit/controllers/homekit-bridge.controller.js.map +1 -0
- package/dist/plugins/devices-homekit/devices-homekit.constants.d.ts +16 -0
- package/dist/plugins/devices-homekit/devices-homekit.constants.js +57 -0
- package/dist/plugins/devices-homekit/devices-homekit.constants.js.map +1 -0
- package/dist/plugins/devices-homekit/devices-homekit.exceptions.d.ts +12 -0
- package/dist/plugins/devices-homekit/devices-homekit.exceptions.js +32 -0
- package/dist/plugins/devices-homekit/devices-homekit.exceptions.js.map +1 -0
- package/dist/plugins/devices-homekit/devices-homekit.openapi.d.ts +6 -0
- package/dist/plugins/devices-homekit/devices-homekit.openapi.js +19 -0
- package/dist/plugins/devices-homekit/devices-homekit.openapi.js.map +1 -0
- package/dist/plugins/devices-homekit/devices-homekit.plugin.d.ts +24 -0
- package/dist/plugins/devices-homekit/devices-homekit.plugin.js +183 -0
- package/dist/plugins/devices-homekit/devices-homekit.plugin.js.map +1 -0
- package/dist/plugins/devices-homekit/dto/bridge-map.dto.d.ts +6 -0
- package/dist/plugins/devices-homekit/dto/bridge-map.dto.js +50 -0
- package/dist/plugins/devices-homekit/dto/bridge-map.dto.js.map +1 -0
- package/dist/plugins/devices-homekit/dto/update-config.dto.d.ts +11 -0
- package/dist/plugins/devices-homekit/dto/update-config.dto.js +138 -0
- package/dist/plugins/devices-homekit/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/devices-homekit/listeners/homekit-event.listener.d.ts +8 -0
- package/dist/plugins/devices-homekit/listeners/homekit-event.listener.js +72 -0
- package/dist/plugins/devices-homekit/listeners/homekit-event.listener.js.map +1 -0
- package/dist/plugins/devices-homekit/mappers/base.mapper.d.ts +15 -0
- package/dist/plugins/devices-homekit/mappers/base.mapper.js +74 -0
- package/dist/plugins/devices-homekit/mappers/base.mapper.js.map +1 -0
- package/dist/plugins/devices-homekit/mappers/battery.mapper.d.ts +6 -0
- package/dist/plugins/devices-homekit/mappers/battery.mapper.js +130 -0
- package/dist/plugins/devices-homekit/mappers/battery.mapper.js.map +1 -0
- package/dist/plugins/devices-homekit/mappers/homekit-mapper.interface.d.ts +28 -0
- package/dist/plugins/devices-homekit/mappers/homekit-mapper.interface.js +3 -0
- package/dist/plugins/devices-homekit/mappers/homekit-mapper.interface.js.map +1 -0
- package/dist/plugins/devices-homekit/mappers/lightbulb.mapper.d.ts +9 -0
- package/dist/plugins/devices-homekit/mappers/lightbulb.mapper.js +115 -0
- package/dist/plugins/devices-homekit/mappers/lightbulb.mapper.js.map +1 -0
- package/dist/plugins/devices-homekit/mappers/lock.mapper.d.ts +10 -0
- package/dist/plugins/devices-homekit/mappers/lock.mapper.js +59 -0
- package/dist/plugins/devices-homekit/mappers/lock.mapper.js.map +1 -0
- package/dist/plugins/devices-homekit/mappers/outlet.mapper.d.ts +9 -0
- package/dist/plugins/devices-homekit/mappers/outlet.mapper.js +44 -0
- package/dist/plugins/devices-homekit/mappers/outlet.mapper.js.map +1 -0
- package/dist/plugins/devices-homekit/mappers/sensor.mapper.d.ts +10 -0
- package/dist/plugins/devices-homekit/mappers/sensor.mapper.js +168 -0
- package/dist/plugins/devices-homekit/mappers/sensor.mapper.js.map +1 -0
- package/dist/plugins/devices-homekit/mappers/switch.mapper.d.ts +9 -0
- package/dist/plugins/devices-homekit/mappers/switch.mapper.js +35 -0
- package/dist/plugins/devices-homekit/mappers/switch.mapper.js.map +1 -0
- package/dist/plugins/devices-homekit/mappers/thermostat-coordinator.d.ts +43 -0
- package/dist/plugins/devices-homekit/mappers/thermostat-coordinator.js +430 -0
- package/dist/plugins/devices-homekit/mappers/thermostat-coordinator.js.map +1 -0
- package/dist/plugins/devices-homekit/mappers/thermostat.mapper.d.ts +11 -0
- package/dist/plugins/devices-homekit/mappers/thermostat.mapper.js +97 -0
- package/dist/plugins/devices-homekit/mappers/thermostat.mapper.js.map +1 -0
- package/dist/plugins/devices-homekit/mappers/window-covering.mapper.d.ts +10 -0
- package/dist/plugins/devices-homekit/mappers/window-covering.mapper.js +94 -0
- package/dist/plugins/devices-homekit/mappers/window-covering.mapper.js.map +1 -0
- package/dist/plugins/devices-homekit/models/bridge-candidate.model.d.ts +15 -0
- package/dist/plugins/devices-homekit/models/bridge-candidate.model.js +150 -0
- package/dist/plugins/devices-homekit/models/bridge-candidate.model.js.map +1 -0
- package/dist/plugins/devices-homekit/models/bridge-status.model.d.ts +16 -0
- package/dist/plugins/devices-homekit/models/bridge-status.model.js +156 -0
- package/dist/plugins/devices-homekit/models/bridge-status.model.js.map +1 -0
- package/dist/plugins/devices-homekit/models/config.model.d.ts +12 -0
- package/dist/plugins/devices-homekit/models/config.model.js +134 -0
- package/dist/plugins/devices-homekit/models/config.model.js.map +1 -0
- package/dist/plugins/devices-homekit/services/homekit-actions.service.d.ts +14 -0
- package/dist/plugins/devices-homekit/services/homekit-actions.service.js +92 -0
- package/dist/plugins/devices-homekit/services/homekit-actions.service.js.map +1 -0
- package/dist/plugins/devices-homekit/services/homekit-bridge.service.d.ts +43 -0
- package/dist/plugins/devices-homekit/services/homekit-bridge.service.js +497 -0
- package/dist/plugins/devices-homekit/services/homekit-bridge.service.js.map +1 -0
- package/dist/plugins/devices-homekit/services/homekit-command.dispatcher.d.ts +11 -0
- package/dist/plugins/devices-homekit/services/homekit-command.dispatcher.js +68 -0
- package/dist/plugins/devices-homekit/services/homekit-command.dispatcher.js.map +1 -0
- package/dist/plugins/devices-homekit/services/homekit-mapper-registry.service.d.ts +34 -0
- package/dist/plugins/devices-homekit/services/homekit-mapper-registry.service.js +179 -0
- package/dist/plugins/devices-homekit/services/homekit-mapper-registry.service.js.map +1 -0
- package/dist/plugins/devices-homekit/services/homekit-wizard.service.d.ts +15 -0
- package/dist/plugins/devices-homekit/services/homekit-wizard.service.js +75 -0
- package/dist/plugins/devices-homekit/services/homekit-wizard.service.js.map +1 -0
- package/dist/plugins/devices-homekit/validators/is-not-forbidden-homekit-pin.validator.d.ts +2 -0
- package/dist/plugins/devices-homekit/validators/is-not-forbidden-homekit-pin.validator.js +30 -0
- package/dist/plugins/devices-homekit/validators/is-not-forbidden-homekit-pin.validator.js.map +1 -0
- package/dist/plugins/devices-homey/connectors/homey-connector.factory.d.ts +9 -0
- package/dist/plugins/devices-homey/connectors/homey-connector.factory.js +3 -0
- package/dist/plugins/devices-homey/connectors/homey-connector.factory.js.map +1 -0
- package/dist/plugins/devices-homey/connectors/homey-connector.interface.d.ts +14 -0
- package/dist/plugins/devices-homey/connectors/homey-connector.interface.js +3 -0
- package/dist/plugins/devices-homey/connectors/homey-connector.interface.js.map +1 -0
- package/dist/plugins/devices-homey/connectors/homey-connector.types.d.ts +3 -0
- package/dist/plugins/devices-homey/connectors/homey-connector.types.js +3 -0
- package/dist/plugins/devices-homey/connectors/homey-connector.types.js.map +1 -0
- package/dist/plugins/devices-homey/connectors/homey-local-connector.factory.d.ts +8 -0
- package/dist/plugins/devices-homey/connectors/homey-local-connector.factory.js +36 -0
- package/dist/plugins/devices-homey/connectors/homey-local-connector.factory.js.map +1 -0
- package/dist/plugins/devices-homey/connectors/homey-local.connector.d.ts +36 -0
- package/dist/plugins/devices-homey/connectors/homey-local.connector.js +266 -0
- package/dist/plugins/devices-homey/connectors/homey-local.connector.js.map +1 -0
- package/dist/plugins/devices-homey/connectors/homey-local.error-mapper.d.ts +3 -0
- package/dist/plugins/devices-homey/connectors/homey-local.error-mapper.js +63 -0
- package/dist/plugins/devices-homey/connectors/homey-local.error-mapper.js.map +1 -0
- package/dist/plugins/devices-homey/connectors/homey-local.transformer.d.ts +10 -0
- package/dist/plugins/devices-homey/connectors/homey-local.transformer.js +264 -0
- package/dist/plugins/devices-homey/connectors/homey-local.transformer.js.map +1 -0
- package/dist/plugins/devices-homey/connectors/homey-local.transport.d.ts +6 -0
- package/dist/plugins/devices-homey/connectors/homey-local.transport.js +3 -0
- package/dist/plugins/devices-homey/connectors/homey-local.transport.js.map +1 -0
- package/dist/plugins/devices-homey/connectors/homey-sdk.client.d.ts +59 -0
- package/dist/plugins/devices-homey/connectors/homey-sdk.client.js +25 -0
- package/dist/plugins/devices-homey/connectors/homey-sdk.client.js.map +1 -0
- package/dist/plugins/devices-homey/connectors/homey-sdk.transport.d.ts +45 -0
- package/dist/plugins/devices-homey/connectors/homey-sdk.transport.js +384 -0
- package/dist/plugins/devices-homey/connectors/homey-sdk.transport.js.map +1 -0
- package/dist/plugins/devices-homey/connectors/homey-transport.interface.d.ts +18 -0
- package/dist/plugins/devices-homey/connectors/homey-transport.interface.js +3 -0
- package/dist/plugins/devices-homey/connectors/homey-transport.interface.js.map +1 -0
- package/dist/plugins/devices-homey/controllers/homey-adoption.controller.d.ts +9 -0
- package/dist/plugins/devices-homey/controllers/homey-adoption.controller.js +86 -0
- package/dist/plugins/devices-homey/controllers/homey-adoption.controller.js.map +1 -0
- package/dist/plugins/devices-homey/controllers/homey-devices.controller.d.ts +9 -0
- package/dist/plugins/devices-homey/controllers/homey-devices.controller.js +104 -0
- package/dist/plugins/devices-homey/controllers/homey-devices.controller.js.map +1 -0
- package/dist/plugins/devices-homey/controllers/homey-mapping-preview.controller.d.ts +8 -0
- package/dist/plugins/devices-homey/controllers/homey-mapping-preview.controller.js +74 -0
- package/dist/plugins/devices-homey/controllers/homey-mapping-preview.controller.js.map +1 -0
- package/dist/plugins/devices-homey/controllers/homey-status.controller.d.ts +7 -0
- package/dist/plugins/devices-homey/controllers/homey-status.controller.js +52 -0
- package/dist/plugins/devices-homey/controllers/homey-status.controller.js.map +1 -0
- package/dist/plugins/devices-homey/controllers/homey-test-connection.controller.d.ts +8 -0
- package/dist/plugins/devices-homey/controllers/homey-test-connection.controller.js +60 -0
- package/dist/plugins/devices-homey/controllers/homey-test-connection.controller.js.map +1 -0
- package/dist/plugins/devices-homey/devices-homey.constants.d.ts +29 -0
- package/dist/plugins/devices-homey/devices-homey.constants.js +34 -0
- package/dist/plugins/devices-homey/devices-homey.constants.js.map +1 -0
- package/dist/plugins/devices-homey/devices-homey.openapi.d.ts +17 -0
- package/dist/plugins/devices-homey/devices-homey.openapi.js +67 -0
- package/dist/plugins/devices-homey/devices-homey.openapi.js.map +1 -0
- package/dist/plugins/devices-homey/devices-homey.plugin.d.ts +30 -0
- package/dist/plugins/devices-homey/devices-homey.plugin.js +288 -0
- package/dist/plugins/devices-homey/devices-homey.plugin.js.map +1 -0
- package/dist/plugins/devices-homey/dto/adoption.dto.d.ts +9 -0
- package/dist/plugins/devices-homey/dto/adoption.dto.js +79 -0
- package/dist/plugins/devices-homey/dto/adoption.dto.js.map +1 -0
- package/dist/plugins/devices-homey/dto/create-channel-property.dto.d.ts +3 -0
- package/dist/plugins/devices-homey/dto/create-channel-property.dto.js +18 -0
- package/dist/plugins/devices-homey/dto/create-channel-property.dto.js.map +1 -0
- package/dist/plugins/devices-homey/dto/create-channel.dto.d.ts +7 -0
- package/dist/plugins/devices-homey/dto/create-channel.dto.js +45 -0
- package/dist/plugins/devices-homey/dto/create-channel.dto.js.map +1 -0
- package/dist/plugins/devices-homey/dto/create-device-channel-property.dto.d.ts +7 -0
- package/dist/plugins/devices-homey/dto/create-device-channel-property.dto.js +59 -0
- package/dist/plugins/devices-homey/dto/create-device-channel-property.dto.js.map +1 -0
- package/dist/plugins/devices-homey/dto/create-device-channel.dto.d.ts +7 -0
- package/dist/plugins/devices-homey/dto/create-device-channel.dto.js +45 -0
- package/dist/plugins/devices-homey/dto/create-device-channel.dto.js.map +1 -0
- package/dist/plugins/devices-homey/dto/create-device.dto.d.ts +7 -0
- package/dist/plugins/devices-homey/dto/create-device.dto.js +45 -0
- package/dist/plugins/devices-homey/dto/create-device.dto.js.map +1 -0
- package/dist/plugins/devices-homey/dto/list-homey-devices.dto.d.ts +24 -0
- package/dist/plugins/devices-homey/dto/list-homey-devices.dto.js +89 -0
- package/dist/plugins/devices-homey/dto/list-homey-devices.dto.js.map +1 -0
- package/dist/plugins/devices-homey/dto/mapping-preview.dto.d.ts +5 -0
- package/dist/plugins/devices-homey/dto/mapping-preview.dto.js +46 -0
- package/dist/plugins/devices-homey/dto/mapping-preview.dto.js.map +1 -0
- package/dist/plugins/devices-homey/dto/test-connection.dto.d.ts +18 -0
- package/dist/plugins/devices-homey/dto/test-connection.dto.js +146 -0
- package/dist/plugins/devices-homey/dto/test-connection.dto.js.map +1 -0
- package/dist/plugins/devices-homey/dto/update-channel-property.dto.d.ts +9 -0
- package/dist/plugins/devices-homey/dto/update-channel-property.dto.js +77 -0
- package/dist/plugins/devices-homey/dto/update-channel-property.dto.js.map +1 -0
- package/dist/plugins/devices-homey/dto/update-channel.dto.d.ts +7 -0
- package/dist/plugins/devices-homey/dto/update-channel.dto.js +51 -0
- package/dist/plugins/devices-homey/dto/update-channel.dto.js.map +1 -0
- package/dist/plugins/devices-homey/dto/update-config.dto.d.ts +9 -0
- package/dist/plugins/devices-homey/dto/update-config.dto.js +103 -0
- package/dist/plugins/devices-homey/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/devices-homey/dto/update-device.dto.d.ts +5 -0
- package/dist/plugins/devices-homey/dto/update-device.dto.js +35 -0
- package/dist/plugins/devices-homey/dto/update-device.dto.js.map +1 -0
- package/dist/plugins/devices-homey/entities/devices-homey.entity.d.ts +15 -0
- package/dist/plugins/devices-homey/entities/devices-homey.entity.js +121 -0
- package/dist/plugins/devices-homey/entities/devices-homey.entity.js.map +1 -0
- package/dist/plugins/devices-homey/entities/homey-adoption-lock.entity.d.ts +5 -0
- package/dist/plugins/devices-homey/entities/homey-adoption-lock.entity.js +32 -0
- package/dist/plugins/devices-homey/entities/homey-adoption-lock.entity.js.map +1 -0
- package/dist/plugins/devices-homey/errors/homey-connector.error.d.ts +25 -0
- package/dist/plugins/devices-homey/errors/homey-connector.error.js +39 -0
- package/dist/plugins/devices-homey/errors/homey-connector.error.js.map +1 -0
- package/dist/plugins/devices-homey/errors/homey-inventory.error.d.ts +6 -0
- package/dist/plugins/devices-homey/errors/homey-inventory.error.js +18 -0
- package/dist/plugins/devices-homey/errors/homey-inventory.error.js.map +1 -0
- package/dist/plugins/devices-homey/errors/homey-mapping-preview.error.d.ts +6 -0
- package/dist/plugins/devices-homey/errors/homey-mapping-preview.error.js +18 -0
- package/dist/plugins/devices-homey/errors/homey-mapping-preview.error.js.map +1 -0
- package/dist/plugins/devices-homey/index.d.ts +26 -0
- package/dist/plugins/devices-homey/index.js +43 -0
- package/dist/plugins/devices-homey/index.js.map +1 -0
- package/dist/plugins/devices-homey/mappings/definitions/channels.yaml +214 -0
- package/dist/plugins/devices-homey/mappings/definitions/devices.yaml +75 -0
- package/dist/plugins/devices-homey/mappings/definitions/properties.yaml +551 -0
- package/dist/plugins/devices-homey/mappings/device-support.d.ts +8 -0
- package/dist/plugins/devices-homey/mappings/device-support.js +50 -0
- package/dist/plugins/devices-homey/mappings/device-support.js.map +1 -0
- package/dist/plugins/devices-homey/mappings/homey-mapping.error.d.ts +11 -0
- package/dist/plugins/devices-homey/mappings/homey-mapping.error.js +23 -0
- package/dist/plugins/devices-homey/mappings/homey-mapping.error.js.map +1 -0
- package/dist/plugins/devices-homey/mappings/index.d.ts +6 -0
- package/dist/plugins/devices-homey/mappings/index.js +23 -0
- package/dist/plugins/devices-homey/mappings/index.js.map +1 -0
- package/dist/plugins/devices-homey/mappings/mapping-loader.service.d.ts +43 -0
- package/dist/plugins/devices-homey/mappings/mapping-loader.service.js +453 -0
- package/dist/plugins/devices-homey/mappings/mapping-loader.service.js.map +1 -0
- package/dist/plugins/devices-homey/mappings/mapping-transformer.service.d.ts +17 -0
- package/dist/plugins/devices-homey/mappings/mapping-transformer.service.js +156 -0
- package/dist/plugins/devices-homey/mappings/mapping-transformer.service.js.map +1 -0
- package/dist/plugins/devices-homey/mappings/mapping.constants.d.ts +12 -0
- package/dist/plugins/devices-homey/mappings/mapping.constants.js +16 -0
- package/dist/plugins/devices-homey/mappings/mapping.constants.js.map +1 -0
- package/dist/plugins/devices-homey/mappings/mapping.types.d.ts +202 -0
- package/dist/plugins/devices-homey/mappings/mapping.types.js +3 -0
- package/dist/plugins/devices-homey/mappings/mapping.types.js.map +1 -0
- package/dist/plugins/devices-homey/mappings/property-mapping-storage.service.d.ts +10 -0
- package/dist/plugins/devices-homey/mappings/property-mapping-storage.service.js +38 -0
- package/dist/plugins/devices-homey/mappings/property-mapping-storage.service.js.map +1 -0
- package/dist/plugins/devices-homey/mappings/schema/mapping-schema.json +302 -0
- package/dist/plugins/devices-homey/models/adoption.model.d.ts +30 -0
- package/dist/plugins/devices-homey/models/adoption.model.js +122 -0
- package/dist/plugins/devices-homey/models/adoption.model.js.map +1 -0
- package/dist/plugins/devices-homey/models/config.model.d.ts +9 -0
- package/dist/plugins/devices-homey/models/config.model.js +107 -0
- package/dist/plugins/devices-homey/models/config.model.js.map +1 -0
- package/dist/plugins/devices-homey/models/homey-capability.model.d.ts +31 -0
- package/dist/plugins/devices-homey/models/homey-capability.model.js +24 -0
- package/dist/plugins/devices-homey/models/homey-capability.model.js.map +1 -0
- package/dist/plugins/devices-homey/models/homey-device.model.d.ts +23 -0
- package/dist/plugins/devices-homey/models/homey-device.model.js +3 -0
- package/dist/plugins/devices-homey/models/homey-device.model.js.map +1 -0
- package/dist/plugins/devices-homey/models/homey-event.model.d.ts +54 -0
- package/dist/plugins/devices-homey/models/homey-event.model.js +15 -0
- package/dist/plugins/devices-homey/models/homey-event.model.js.map +1 -0
- package/dist/plugins/devices-homey/models/homey-system-info.model.d.ts +7 -0
- package/dist/plugins/devices-homey/models/homey-system-info.model.js +3 -0
- package/dist/plugins/devices-homey/models/homey-system-info.model.js.map +1 -0
- package/dist/plugins/devices-homey/models/homey-zone.model.d.ts +7 -0
- package/dist/plugins/devices-homey/models/homey-zone.model.js +3 -0
- package/dist/plugins/devices-homey/models/homey-zone.model.js.map +1 -0
- package/dist/plugins/devices-homey/models/inventory.model.d.ts +50 -0
- package/dist/plugins/devices-homey/models/inventory.model.js +236 -0
- package/dist/plugins/devices-homey/models/inventory.model.js.map +1 -0
- package/dist/plugins/devices-homey/models/mapping-preview.model.d.ts +123 -0
- package/dist/plugins/devices-homey/models/mapping-preview.model.js +576 -0
- package/dist/plugins/devices-homey/models/mapping-preview.model.js.map +1 -0
- package/dist/plugins/devices-homey/models/status.model.d.ts +32 -0
- package/dist/plugins/devices-homey/models/status.model.js +242 -0
- package/dist/plugins/devices-homey/models/status.model.js.map +1 -0
- package/dist/plugins/devices-homey/models/test-connection.model.d.ts +15 -0
- package/dist/plugins/devices-homey/models/test-connection.model.js +88 -0
- package/dist/plugins/devices-homey/models/test-connection.model.js.map +1 -0
- package/dist/plugins/devices-homey/platforms/homey-command-value.d.ts +7 -0
- package/dist/plugins/devices-homey/platforms/homey-command-value.js +65 -0
- package/dist/plugins/devices-homey/platforms/homey-command-value.js.map +1 -0
- package/dist/plugins/devices-homey/platforms/homey-device.platform.d.ts +41 -0
- package/dist/plugins/devices-homey/platforms/homey-device.platform.js +427 -0
- package/dist/plugins/devices-homey/platforms/homey-device.platform.js.map +1 -0
- package/dist/plugins/devices-homey/services/homey-adoption-lock.service.d.ts +20 -0
- package/dist/plugins/devices-homey/services/homey-adoption-lock.service.js +147 -0
- package/dist/plugins/devices-homey/services/homey-adoption-lock.service.js.map +1 -0
- package/dist/plugins/devices-homey/services/homey-config-validator.service.d.ts +11 -0
- package/dist/plugins/devices-homey/services/homey-config-validator.service.js +76 -0
- package/dist/plugins/devices-homey/services/homey-config-validator.service.js.map +1 -0
- package/dist/plugins/devices-homey/services/homey-connection-test.service.d.ts +14 -0
- package/dist/plugins/devices-homey/services/homey-connection-test.service.js +134 -0
- package/dist/plugins/devices-homey/services/homey-connection-test.service.js.map +1 -0
- package/dist/plugins/devices-homey/services/homey-device-adoption.service.d.ts +52 -0
- package/dist/plugins/devices-homey/services/homey-device-adoption.service.js +711 -0
- package/dist/plugins/devices-homey/services/homey-device-adoption.service.js.map +1 -0
- package/dist/plugins/devices-homey/services/homey-device-inventory.service.d.ts +20 -0
- package/dist/plugins/devices-homey/services/homey-device-inventory.service.js +159 -0
- package/dist/plugins/devices-homey/services/homey-device-inventory.service.js.map +1 -0
- package/dist/plugins/devices-homey/services/homey-failure-log-limiter.d.ts +9 -0
- package/dist/plugins/devices-homey/services/homey-failure-log-limiter.js +23 -0
- package/dist/plugins/devices-homey/services/homey-failure-log-limiter.js.map +1 -0
- package/dist/plugins/devices-homey/services/homey-mapping-preview.service.d.ts +53 -0
- package/dist/plugins/devices-homey/services/homey-mapping-preview.service.js +999 -0
- package/dist/plugins/devices-homey/services/homey-mapping-preview.service.js.map +1 -0
- package/dist/plugins/devices-homey/services/homey-reconnect-backoff.d.ts +1 -0
- package/dist/plugins/devices-homey/services/homey-reconnect-backoff.js +16 -0
- package/dist/plugins/devices-homey/services/homey-reconnect-backoff.js.map +1 -0
- package/dist/plugins/devices-homey/services/homey-synchronizer.service.d.ts +90 -0
- package/dist/plugins/devices-homey/services/homey-synchronizer.service.js +628 -0
- package/dist/plugins/devices-homey/services/homey-synchronizer.service.js.map +1 -0
- package/dist/plugins/devices-homey/services/homey.service.d.ts +129 -0
- package/dist/plugins/devices-homey/services/homey.service.js +1216 -0
- package/dist/plugins/devices-homey/services/homey.service.js.map +1 -0
- package/dist/plugins/devices-homey/validators/homey-url.validator.d.ts +4 -0
- package/dist/plugins/devices-homey/validators/homey-url.validator.js +27 -0
- package/dist/plugins/devices-homey/validators/homey-url.validator.js.map +1 -0
- package/dist/plugins/devices-reterminal/devices-reterminal.plugin.d.ts +3 -3
- package/dist/plugins/devices-reterminal/devices-reterminal.plugin.js +5 -5
- package/dist/plugins/devices-reterminal/devices-reterminal.plugin.js.map +1 -1
- package/dist/plugins/devices-reterminal/services/reterminal.service.d.ts +7 -3
- package/dist/plugins/devices-reterminal/services/reterminal.service.js +4 -1
- package/dist/plugins/devices-reterminal/services/reterminal.service.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/controllers/shelly-ng-devices.controller.d.ts +6 -2
- package/dist/plugins/devices-shelly-ng/controllers/shelly-ng-devices.controller.js +31 -2
- package/dist/plugins/devices-shelly-ng/controllers/shelly-ng-devices.controller.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/delegates/shelly-device.delegate.d.ts +2 -2
- package/dist/plugins/devices-shelly-ng/delegates/shelly-device.delegate.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.constants.d.ts +22 -2
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.constants.js +61 -1
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.constants.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.openapi.d.ts +4 -3
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.openapi.js +5 -0
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.openapi.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.plugin.d.ts +3 -3
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.plugin.js +7 -5
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.plugin.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/dto/adopt-devices.dto.d.ts +15 -0
- package/dist/plugins/devices-shelly-ng/dto/adopt-devices.dto.js +113 -0
- package/dist/plugins/devices-shelly-ng/dto/adopt-devices.dto.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/mappings/definitions/sensors.yaml +1 -1
- package/dist/plugins/devices-shelly-ng/mappings/definitions/switches.yaml +23 -2
- package/dist/plugins/devices-shelly-ng/models/shelly-ng-response.model.d.ts +4 -1
- package/dist/plugins/devices-shelly-ng/models/shelly-ng-response.model.js +16 -1
- package/dist/plugins/devices-shelly-ng/models/shelly-ng-response.model.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/models/shelly-ng.model.d.ts +7 -0
- package/dist/plugins/devices-shelly-ng/models/shelly-ng.model.js +57 -1
- package/dist/plugins/devices-shelly-ng/models/shelly-ng.model.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/services/device-manager.service.d.ts +1 -0
- package/dist/plugins/devices-shelly-ng/services/device-manager.service.js +208 -0
- package/dist/plugins/devices-shelly-ng/services/device-manager.service.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/services/shelly-ng-adoption.service.d.ts +19 -0
- package/dist/plugins/devices-shelly-ng/services/shelly-ng-adoption.service.js +114 -0
- package/dist/plugins/devices-shelly-ng/services/shelly-ng-adoption.service.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/services/shelly-ng.service.d.ts +11 -7
- package/dist/plugins/devices-shelly-ng/services/shelly-ng.service.js +15 -8
- package/dist/plugins/devices-shelly-ng/services/shelly-ng.service.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/services/shelly-rpc-client.service.d.ts +87 -0
- package/dist/plugins/devices-shelly-ng/services/shelly-rpc-client.service.js +18 -0
- package/dist/plugins/devices-shelly-ng/services/shelly-rpc-client.service.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/services/shelly-ws-server.service.d.ts +1 -0
- package/dist/plugins/devices-shelly-ng/services/shelly-ws-server.service.js +3 -0
- package/dist/plugins/devices-shelly-ng/services/shelly-ws-server.service.js.map +1 -1
- package/dist/plugins/devices-shelly-v1/controllers/shelly-v1-devices.controller.d.ts +6 -2
- package/dist/plugins/devices-shelly-v1/controllers/shelly-v1-devices.controller.js +29 -2
- package/dist/plugins/devices-shelly-v1/controllers/shelly-v1-devices.controller.js.map +1 -1
- package/dist/plugins/devices-shelly-v1/devices-shelly-v1.openapi.d.ts +5 -4
- package/dist/plugins/devices-shelly-v1/devices-shelly-v1.openapi.js +5 -0
- package/dist/plugins/devices-shelly-v1/devices-shelly-v1.openapi.js.map +1 -1
- package/dist/plugins/devices-shelly-v1/devices-shelly-v1.plugin.d.ts +3 -3
- package/dist/plugins/devices-shelly-v1/devices-shelly-v1.plugin.js +7 -5
- package/dist/plugins/devices-shelly-v1/devices-shelly-v1.plugin.js.map +1 -1
- package/dist/plugins/devices-shelly-v1/dto/adopt-devices.dto.d.ts +15 -0
- package/dist/plugins/devices-shelly-v1/dto/adopt-devices.dto.js +113 -0
- package/dist/plugins/devices-shelly-v1/dto/adopt-devices.dto.js.map +1 -0
- package/dist/plugins/devices-shelly-v1/models/shelly-v1-response.model.d.ts +4 -1
- package/dist/plugins/devices-shelly-v1/models/shelly-v1-response.model.js +16 -1
- package/dist/plugins/devices-shelly-v1/models/shelly-v1-response.model.js.map +1 -1
- package/dist/plugins/devices-shelly-v1/models/shelly-v1.model.d.ts +7 -0
- package/dist/plugins/devices-shelly-v1/models/shelly-v1.model.js +57 -1
- package/dist/plugins/devices-shelly-v1/models/shelly-v1.model.js.map +1 -1
- package/dist/plugins/devices-shelly-v1/services/shellies-adapter.service.d.ts +1 -0
- package/dist/plugins/devices-shelly-v1/services/shellies-adapter.service.js +3 -0
- package/dist/plugins/devices-shelly-v1/services/shellies-adapter.service.js.map +1 -1
- package/dist/plugins/devices-shelly-v1/services/shelly-v1-adoption.service.d.ts +19 -0
- package/dist/plugins/devices-shelly-v1/services/shelly-v1-adoption.service.js +114 -0
- package/dist/plugins/devices-shelly-v1/services/shelly-v1-adoption.service.js.map +1 -0
- package/dist/plugins/devices-shelly-v1/services/shelly-v1.service.d.ts +8 -4
- package/dist/plugins/devices-shelly-v1/services/shelly-v1.service.js +6 -3
- package/dist/plugins/devices-shelly-v1/services/shelly-v1.service.js.map +1 -1
- package/dist/plugins/devices-virtual/controllers/virtual-devices.controller.d.ts +15 -0
- package/dist/plugins/devices-virtual/controllers/virtual-devices.controller.js +170 -0
- package/dist/plugins/devices-virtual/controllers/virtual-devices.controller.js.map +1 -0
- package/dist/plugins/devices-virtual/devices-virtual.constants.d.ts +8 -0
- package/dist/plugins/devices-virtual/devices-virtual.constants.js +19 -0
- package/dist/plugins/devices-virtual/devices-virtual.constants.js.map +1 -0
- package/dist/plugins/devices-virtual/devices-virtual.exceptions.d.ts +33 -0
- package/dist/plugins/devices-virtual/devices-virtual.exceptions.js +81 -0
- package/dist/plugins/devices-virtual/devices-virtual.exceptions.js.map +1 -0
- package/dist/plugins/devices-virtual/devices-virtual.openapi.d.ts +13 -0
- package/dist/plugins/devices-virtual/devices-virtual.openapi.js +37 -0
- package/dist/plugins/devices-virtual/devices-virtual.openapi.js.map +1 -0
- package/dist/plugins/devices-virtual/devices-virtual.plugin.d.ts +34 -0
- package/dist/plugins/devices-virtual/devices-virtual.plugin.js +317 -0
- package/dist/plugins/devices-virtual/devices-virtual.plugin.js.map +1 -0
- package/dist/plugins/devices-virtual/dto/compatibility-request.dto.d.ts +13 -0
- package/dist/plugins/devices-virtual/dto/compatibility-request.dto.js +109 -0
- package/dist/plugins/devices-virtual/dto/compatibility-request.dto.js.map +1 -0
- package/dist/plugins/devices-virtual/dto/create-channel-property.dto.d.ts +10 -0
- package/dist/plugins/devices-virtual/dto/create-channel-property.dto.js +91 -0
- package/dist/plugins/devices-virtual/dto/create-channel-property.dto.js.map +1 -0
- package/dist/plugins/devices-virtual/dto/create-channel.dto.d.ts +8 -0
- package/dist/plugins/devices-virtual/dto/create-channel.dto.js +65 -0
- package/dist/plugins/devices-virtual/dto/create-channel.dto.js.map +1 -0
- package/dist/plugins/devices-virtual/dto/create-device-channel.dto.d.ts +7 -0
- package/dist/plugins/devices-virtual/dto/create-device-channel.dto.js +50 -0
- package/dist/plugins/devices-virtual/dto/create-device-channel.dto.js.map +1 -0
- package/dist/plugins/devices-virtual/dto/create-device.dto.d.ts +9 -0
- package/dist/plugins/devices-virtual/dto/create-device.dto.js +64 -0
- package/dist/plugins/devices-virtual/dto/create-device.dto.js.map +1 -0
- package/dist/plugins/devices-virtual/dto/update-channel-property.dto.d.ts +10 -0
- package/dist/plugins/devices-virtual/dto/update-channel-property.dto.js +91 -0
- package/dist/plugins/devices-virtual/dto/update-channel-property.dto.js.map +1 -0
- package/dist/plugins/devices-virtual/dto/update-channel.dto.d.ts +5 -0
- package/dist/plugins/devices-virtual/dto/update-channel.dto.js +35 -0
- package/dist/plugins/devices-virtual/dto/update-channel.dto.js.map +1 -0
- package/dist/plugins/devices-virtual/dto/update-config.dto.d.ts +5 -0
- package/dist/plugins/devices-virtual/dto/update-config.dto.js +33 -0
- package/dist/plugins/devices-virtual/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/devices-virtual/dto/update-device.dto.d.ts +7 -0
- package/dist/plugins/devices-virtual/dto/update-device.dto.js +55 -0
- package/dist/plugins/devices-virtual/dto/update-device.dto.js.map +1 -0
- package/dist/plugins/devices-virtual/entities/devices-virtual.entity.d.ts +25 -0
- package/dist/plugins/devices-virtual/entities/devices-virtual.entity.js +153 -0
- package/dist/plugins/devices-virtual/entities/devices-virtual.entity.js.map +1 -0
- package/dist/plugins/devices-virtual/listeners/virtual-device-information.listener.d.ts +20 -0
- package/dist/plugins/devices-virtual/listeners/virtual-device-information.listener.js +191 -0
- package/dist/plugins/devices-virtual/listeners/virtual-device-information.listener.js.map +1 -0
- package/dist/plugins/devices-virtual/listeners/virtual-index-maintenance.listener.d.ts +55 -0
- package/dist/plugins/devices-virtual/listeners/virtual-index-maintenance.listener.js +542 -0
- package/dist/plugins/devices-virtual/listeners/virtual-index-maintenance.listener.js.map +1 -0
- package/dist/plugins/devices-virtual/listeners/virtual-projection.listener.d.ts +10 -0
- package/dist/plugins/devices-virtual/listeners/virtual-projection.listener.js +50 -0
- package/dist/plugins/devices-virtual/listeners/virtual-projection.listener.js.map +1 -0
- package/dist/plugins/devices-virtual/listeners/virtual-status.listener.d.ts +20 -0
- package/dist/plugins/devices-virtual/listeners/virtual-status.listener.js +89 -0
- package/dist/plugins/devices-virtual/listeners/virtual-status.listener.js.map +1 -0
- package/dist/plugins/devices-virtual/models/compatibility-response.model.d.ts +12 -0
- package/dist/plugins/devices-virtual/models/compatibility-response.model.js +95 -0
- package/dist/plugins/devices-virtual/models/compatibility-response.model.js.map +1 -0
- package/dist/plugins/devices-virtual/models/config.model.d.ts +5 -0
- package/dist/plugins/devices-virtual/models/config.model.js +47 -0
- package/dist/plugins/devices-virtual/models/config.model.js.map +1 -0
- package/dist/plugins/devices-virtual/models/virtual-response.model.d.ts +5 -0
- package/dist/plugins/devices-virtual/models/virtual-response.model.js +32 -0
- package/dist/plugins/devices-virtual/models/virtual-response.model.js.map +1 -0
- package/dist/plugins/devices-virtual/platforms/virtual-device.platform.d.ts +17 -0
- package/dist/plugins/devices-virtual/platforms/virtual-device.platform.js +121 -0
- package/dist/plugins/devices-virtual/platforms/virtual-device.platform.js.map +1 -0
- package/dist/plugins/devices-virtual/services/virtual-devices.service.d.ts +52 -0
- package/dist/plugins/devices-virtual/services/virtual-devices.service.js +424 -0
- package/dist/plugins/devices-virtual/services/virtual-devices.service.js.map +1 -0
- package/dist/plugins/devices-virtual/services/virtual-energy-claim.service.d.ts +7 -0
- package/dist/plugins/devices-virtual/services/virtual-energy-claim.service.js +43 -0
- package/dist/plugins/devices-virtual/services/virtual-energy-claim.service.js.map +1 -0
- package/dist/plugins/devices-virtual/services/virtual-property-index.service.d.ts +38 -0
- package/dist/plugins/devices-virtual/services/virtual-property-index.service.js +203 -0
- package/dist/plugins/devices-virtual/services/virtual-property-index.service.js.map +1 -0
- package/dist/plugins/devices-virtual/services/virtual-value-source.service.d.ts +6 -0
- package/dist/plugins/devices-virtual/services/virtual-value-source.service.js +31 -0
- package/dist/plugins/devices-virtual/services/virtual-value-source.service.js.map +1 -0
- package/dist/plugins/devices-virtual/validators/category-allowed-constraint.validator.d.ts +10 -0
- package/dist/plugins/devices-virtual/validators/category-allowed-constraint.validator.js +56 -0
- package/dist/plugins/devices-virtual/validators/category-allowed-constraint.validator.js.map +1 -0
- package/dist/plugins/devices-virtual/validators/device-is-virtual-constraint.validator.d.ts +9 -0
- package/dist/plugins/devices-virtual/validators/device-is-virtual-constraint.validator.js +56 -0
- package/dist/plugins/devices-virtual/validators/device-is-virtual-constraint.validator.js.map +1 -0
- package/dist/plugins/devices-virtual/validators/owned-property-has-no-source-constraint.validator.d.ts +6 -0
- package/dist/plugins/devices-virtual/validators/owned-property-has-no-source-constraint.validator.js +38 -0
- package/dist/plugins/devices-virtual/validators/owned-property-has-no-source-constraint.validator.js.map +1 -0
- package/dist/plugins/devices-virtual/validators/owned-property-not-writable-constraint.validator.d.ts +7 -0
- package/dist/plugins/devices-virtual/validators/owned-property-not-writable-constraint.validator.js +38 -0
- package/dist/plugins/devices-virtual/validators/owned-property-not-writable-constraint.validator.js.map +1 -0
- package/dist/plugins/devices-virtual/validators/source-not-virtual-constraint.validator.d.ts +9 -0
- package/dist/plugins/devices-virtual/validators/source-not-virtual-constraint.validator.js +56 -0
- package/dist/plugins/devices-virtual/validators/source-not-virtual-constraint.validator.js.map +1 -0
- package/dist/plugins/devices-wled/controllers/wled-discovery.controller.d.ts +6 -3
- package/dist/plugins/devices-wled/controllers/wled-discovery.controller.js +78 -20
- package/dist/plugins/devices-wled/controllers/wled-discovery.controller.js.map +1 -1
- package/dist/plugins/devices-wled/devices-wled.exceptions.d.ts +3 -0
- package/dist/plugins/devices-wled/devices-wled.exceptions.js +7 -1
- package/dist/plugins/devices-wled/devices-wled.exceptions.js.map +1 -1
- package/dist/plugins/devices-wled/devices-wled.openapi.d.ts +3 -2
- package/dist/plugins/devices-wled/devices-wled.openapi.js +11 -1
- package/dist/plugins/devices-wled/devices-wled.openapi.js.map +1 -1
- package/dist/plugins/devices-wled/devices-wled.plugin.d.ts +3 -3
- package/dist/plugins/devices-wled/devices-wled.plugin.js +10 -6
- package/dist/plugins/devices-wled/devices-wled.plugin.js.map +1 -1
- package/dist/plugins/devices-wled/dto/wled-adoption.dto.d.ts +19 -0
- package/dist/plugins/devices-wled/dto/wled-adoption.dto.js +108 -0
- package/dist/plugins/devices-wled/dto/wled-adoption.dto.js.map +1 -0
- package/dist/plugins/devices-wled/entities/devices-wled.entity.d.ts +1 -0
- package/dist/plugins/devices-wled/entities/devices-wled.entity.js +14 -0
- package/dist/plugins/devices-wled/entities/devices-wled.entity.js.map +1 -1
- package/dist/plugins/devices-wled/models/config.model.js +2 -2
- package/dist/plugins/devices-wled/models/config.model.js.map +1 -1
- package/dist/plugins/devices-wled/models/wled-discovery.model.d.ts +22 -3
- package/dist/plugins/devices-wled/models/wled-discovery.model.js +104 -29
- package/dist/plugins/devices-wled/models/wled-discovery.model.js.map +1 -1
- package/dist/plugins/devices-wled/services/adoption-snapshot.service.d.ts +16 -0
- package/dist/plugins/devices-wled/services/adoption-snapshot.service.js +109 -0
- package/dist/plugins/devices-wled/services/adoption-snapshot.service.js.map +1 -0
- package/dist/plugins/devices-wled/services/device-mapper.service.d.ts +5 -2
- package/dist/plugins/devices-wled/services/device-mapper.service.js +49 -19
- package/dist/plugins/devices-wled/services/device-mapper.service.js.map +1 -1
- package/dist/plugins/devices-wled/services/hardware-identity.service.d.ts +9 -0
- package/dist/plugins/devices-wled/services/hardware-identity.service.js +50 -0
- package/dist/plugins/devices-wled/services/hardware-identity.service.js.map +1 -0
- package/dist/plugins/devices-wled/services/wled-client-adapter.service.d.ts +4 -2
- package/dist/plugins/devices-wled/services/wled-client-adapter.service.js +43 -24
- package/dist/plugins/devices-wled/services/wled-client-adapter.service.js.map +1 -1
- package/dist/plugins/devices-wled/services/wled-mdns-discoverer.service.d.ts +2 -0
- package/dist/plugins/devices-wled/services/wled-mdns-discoverer.service.js +6 -0
- package/dist/plugins/devices-wled/services/wled-mdns-discoverer.service.js.map +1 -1
- package/dist/plugins/devices-wled/services/wled.service.d.ts +40 -7
- package/dist/plugins/devices-wled/services/wled.service.js +759 -26
- package/dist/plugins/devices-wled/services/wled.service.js.map +1 -1
- package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.plugin.d.ts +3 -3
- package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.plugin.js +15 -5
- package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.plugin.js.map +1 -1
- package/dist/plugins/devices-zigbee2mqtt/models/config.model.d.ts +2 -0
- package/dist/plugins/devices-zigbee2mqtt/models/config.model.js +24 -2
- package/dist/plugins/devices-zigbee2mqtt/models/config.model.js.map +1 -1
- package/dist/plugins/devices-zigbee2mqtt/services/zigbee2mqtt.service.d.ts +11 -7
- package/dist/plugins/devices-zigbee2mqtt/services/zigbee2mqtt.service.js +11 -8
- package/dist/plugins/devices-zigbee2mqtt/services/zigbee2mqtt.service.js.map +1 -1
- package/dist/plugins/influx-v1/dto/update-config.dto.d.ts +1 -1
- package/dist/plugins/influx-v1/dto/update-config.dto.js +1 -0
- package/dist/plugins/influx-v1/dto/update-config.dto.js.map +1 -1
- package/dist/plugins/influx-v1/influx-v1.plugin.d.ts +3 -3
- package/dist/plugins/influx-v1/influx-v1.plugin.js +11 -5
- package/dist/plugins/influx-v1/influx-v1.plugin.js.map +1 -1
- package/dist/plugins/influx-v1/models/config.model.d.ts +1 -0
- package/dist/plugins/influx-v1/models/config.model.js +12 -1
- package/dist/plugins/influx-v1/models/config.model.js.map +1 -1
- package/dist/plugins/influx-v1/services/influx-v1-managed.service.d.ts +7 -4
- package/dist/plugins/influx-v1/services/influx-v1-managed.service.js +3 -3
- package/dist/plugins/influx-v1/services/influx-v1-managed.service.js.map +1 -1
- package/dist/plugins/influx-v1/services/influx-v1.storage.d.ts +1 -0
- package/dist/plugins/influx-v1/services/influx-v1.storage.js +15 -0
- package/dist/plugins/influx-v1/services/influx-v1.storage.js.map +1 -1
- package/dist/plugins/influx-v2/dto/update-config.dto.d.ts +1 -1
- package/dist/plugins/influx-v2/dto/update-config.dto.js +1 -0
- package/dist/plugins/influx-v2/dto/update-config.dto.js.map +1 -1
- package/dist/plugins/influx-v2/influx-v2.plugin.d.ts +3 -3
- package/dist/plugins/influx-v2/influx-v2.plugin.js +11 -5
- package/dist/plugins/influx-v2/influx-v2.plugin.js.map +1 -1
- package/dist/plugins/influx-v2/models/config.model.d.ts +1 -0
- package/dist/plugins/influx-v2/models/config.model.js +12 -1
- package/dist/plugins/influx-v2/models/config.model.js.map +1 -1
- package/dist/plugins/influx-v2/services/influx-v2-managed.service.d.ts +7 -4
- package/dist/plugins/influx-v2/services/influx-v2-managed.service.js +3 -3
- package/dist/plugins/influx-v2/services/influx-v2-managed.service.js.map +1 -1
- package/dist/plugins/influx-v2/services/influx-v2.storage.d.ts +4 -1
- package/dist/plugins/influx-v2/services/influx-v2.storage.js +159 -2
- package/dist/plugins/influx-v2/services/influx-v2.storage.js.map +1 -1
- package/dist/plugins/logger-rotating-file/logger-rotating-file.plugin.d.ts +3 -3
- package/dist/plugins/logger-rotating-file/logger-rotating-file.plugin.js +5 -5
- package/dist/plugins/logger-rotating-file/logger-rotating-file.plugin.js.map +1 -1
- package/dist/plugins/logger-rotating-file/services/file-logger.service.d.ts +7 -3
- package/dist/plugins/logger-rotating-file/services/file-logger.service.js +12 -1
- package/dist/plugins/logger-rotating-file/services/file-logger.service.js.map +1 -1
- package/dist/plugins/memory-storage/memory-storage.plugin.d.ts +3 -3
- package/dist/plugins/memory-storage/memory-storage.plugin.js +5 -5
- package/dist/plugins/memory-storage/memory-storage.plugin.js.map +1 -1
- package/dist/plugins/memory-storage/services/in-memory-timeseries.store.d.ts +1 -1
- package/dist/plugins/memory-storage/services/in-memory-timeseries.store.js +5 -3
- package/dist/plugins/memory-storage/services/in-memory-timeseries.store.js.map +1 -1
- package/dist/plugins/memory-storage/services/influxql-parser.js +21 -1
- package/dist/plugins/memory-storage/services/influxql-parser.js.map +1 -1
- package/dist/plugins/memory-storage/services/memory-storage-managed.service.d.ts +6 -3
- package/dist/plugins/memory-storage/services/memory-storage-managed.service.js +3 -3
- package/dist/plugins/memory-storage/services/memory-storage-managed.service.js.map +1 -1
- package/dist/plugins/notifications-discord/dto/update-config.dto.d.ts +10 -0
- package/dist/plugins/notifications-discord/dto/update-config.dto.js +90 -0
- package/dist/plugins/notifications-discord/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/notifications-discord/models/config.model.d.ts +10 -0
- package/dist/plugins/notifications-discord/models/config.model.js +99 -0
- package/dist/plugins/notifications-discord/models/config.model.js.map +1 -0
- package/dist/plugins/notifications-discord/notifications-discord.constants.d.ts +4 -0
- package/dist/plugins/notifications-discord/notifications-discord.constants.js +8 -0
- package/dist/plugins/notifications-discord/notifications-discord.constants.js.map +1 -0
- package/dist/plugins/notifications-discord/notifications-discord.openapi.d.ts +3 -0
- package/dist/plugins/notifications-discord/notifications-discord.openapi.js +10 -0
- package/dist/plugins/notifications-discord/notifications-discord.openapi.js.map +1 -0
- package/dist/plugins/notifications-discord/notifications-discord.plugin.d.ts +15 -0
- package/dist/plugins/notifications-discord/notifications-discord.plugin.js +113 -0
- package/dist/plugins/notifications-discord/notifications-discord.plugin.js.map +1 -0
- package/dist/plugins/notifications-discord/platforms/discord-channel.platform.d.ts +9 -0
- package/dist/plugins/notifications-discord/platforms/discord-channel.platform.js +67 -0
- package/dist/plugins/notifications-discord/platforms/discord-channel.platform.js.map +1 -0
- package/dist/plugins/notifications-discord/services/discord-actions.service.d.ts +13 -0
- package/dist/plugins/notifications-discord/services/discord-actions.service.js +94 -0
- package/dist/plugins/notifications-discord/services/discord-actions.service.js.map +1 -0
- package/dist/plugins/notifications-discord/validators/discord-webhook-url.validator.d.ts +4 -0
- package/dist/plugins/notifications-discord/validators/discord-webhook-url.validator.js +38 -0
- package/dist/plugins/notifications-discord/validators/discord-webhook-url.validator.js.map +1 -0
- package/dist/plugins/notifications-slack/dto/update-config.dto.d.ts +9 -0
- package/dist/plugins/notifications-slack/dto/update-config.dto.js +79 -0
- package/dist/plugins/notifications-slack/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/notifications-slack/models/config.model.d.ts +9 -0
- package/dist/plugins/notifications-slack/models/config.model.js +87 -0
- package/dist/plugins/notifications-slack/models/config.model.js.map +1 -0
- package/dist/plugins/notifications-slack/notifications-slack.constants.d.ts +4 -0
- package/dist/plugins/notifications-slack/notifications-slack.constants.js +8 -0
- package/dist/plugins/notifications-slack/notifications-slack.constants.js.map +1 -0
- package/dist/plugins/notifications-slack/notifications-slack.openapi.d.ts +3 -0
- package/dist/plugins/notifications-slack/notifications-slack.openapi.js +10 -0
- package/dist/plugins/notifications-slack/notifications-slack.openapi.js.map +1 -0
- package/dist/plugins/notifications-slack/notifications-slack.plugin.d.ts +15 -0
- package/dist/plugins/notifications-slack/notifications-slack.plugin.js +111 -0
- package/dist/plugins/notifications-slack/notifications-slack.plugin.js.map +1 -0
- package/dist/plugins/notifications-slack/platforms/slack-channel.platform.d.ts +9 -0
- package/dist/plugins/notifications-slack/platforms/slack-channel.platform.js +63 -0
- package/dist/plugins/notifications-slack/platforms/slack-channel.platform.js.map +1 -0
- package/dist/plugins/notifications-slack/services/slack-actions.service.d.ts +13 -0
- package/dist/plugins/notifications-slack/services/slack-actions.service.js +94 -0
- package/dist/plugins/notifications-slack/services/slack-actions.service.js.map +1 -0
- package/dist/plugins/notifications-slack/validators/slack-webhook-url.validator.d.ts +4 -0
- package/dist/plugins/notifications-slack/validators/slack-webhook-url.validator.js +37 -0
- package/dist/plugins/notifications-slack/validators/slack-webhook-url.validator.js.map +1 -0
- package/dist/plugins/notifications-telegram/dto/update-config.dto.d.ts +10 -0
- package/dist/plugins/notifications-telegram/dto/update-config.dto.js +88 -0
- package/dist/plugins/notifications-telegram/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/notifications-telegram/models/config.model.d.ts +10 -0
- package/dist/plugins/notifications-telegram/models/config.model.js +98 -0
- package/dist/plugins/notifications-telegram/models/config.model.js.map +1 -0
- package/dist/plugins/notifications-telegram/notifications-telegram.constants.d.ts +4 -0
- package/dist/plugins/notifications-telegram/notifications-telegram.constants.js +8 -0
- package/dist/plugins/notifications-telegram/notifications-telegram.constants.js.map +1 -0
- package/dist/plugins/notifications-telegram/notifications-telegram.openapi.d.ts +3 -0
- package/dist/plugins/notifications-telegram/notifications-telegram.openapi.js +10 -0
- package/dist/plugins/notifications-telegram/notifications-telegram.openapi.js.map +1 -0
- package/dist/plugins/notifications-telegram/notifications-telegram.plugin.d.ts +15 -0
- package/dist/plugins/notifications-telegram/notifications-telegram.plugin.js +113 -0
- package/dist/plugins/notifications-telegram/notifications-telegram.plugin.js.map +1 -0
- package/dist/plugins/notifications-telegram/platforms/telegram-channel.platform.d.ts +12 -0
- package/dist/plugins/notifications-telegram/platforms/telegram-channel.platform.js +87 -0
- package/dist/plugins/notifications-telegram/platforms/telegram-channel.platform.js.map +1 -0
- package/dist/plugins/notifications-telegram/services/telegram-actions.service.d.ts +13 -0
- package/dist/plugins/notifications-telegram/services/telegram-actions.service.js +94 -0
- package/dist/plugins/notifications-telegram/services/telegram-actions.service.js.map +1 -0
- package/dist/plugins/notifications-webhook/dto/update-config.dto.d.ts +10 -0
- package/dist/plugins/notifications-webhook/dto/update-config.dto.js +94 -0
- package/dist/plugins/notifications-webhook/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/notifications-webhook/models/config.model.d.ts +11 -0
- package/dist/plugins/notifications-webhook/models/config.model.js +114 -0
- package/dist/plugins/notifications-webhook/models/config.model.js.map +1 -0
- package/dist/plugins/notifications-webhook/notifications-webhook.constants.d.ts +4 -0
- package/dist/plugins/notifications-webhook/notifications-webhook.constants.js +8 -0
- package/dist/plugins/notifications-webhook/notifications-webhook.constants.js.map +1 -0
- package/dist/plugins/notifications-webhook/notifications-webhook.openapi.d.ts +3 -0
- package/dist/plugins/notifications-webhook/notifications-webhook.openapi.js +10 -0
- package/dist/plugins/notifications-webhook/notifications-webhook.openapi.js.map +1 -0
- package/dist/plugins/notifications-webhook/notifications-webhook.plugin.d.ts +15 -0
- package/dist/plugins/notifications-webhook/notifications-webhook.plugin.js +134 -0
- package/dist/plugins/notifications-webhook/notifications-webhook.plugin.js.map +1 -0
- package/dist/plugins/notifications-webhook/platforms/webhook-channel.platform.d.ts +9 -0
- package/dist/plugins/notifications-webhook/platforms/webhook-channel.platform.js +63 -0
- package/dist/plugins/notifications-webhook/platforms/webhook-channel.platform.js.map +1 -0
- package/dist/plugins/notifications-webhook/services/webhook-actions.service.d.ts +13 -0
- package/dist/plugins/notifications-webhook/services/webhook-actions.service.js +94 -0
- package/dist/plugins/notifications-webhook/services/webhook-actions.service.js.map +1 -0
- package/dist/plugins/notifications-webhook/validators/webhook-headers-require-https.validator.d.ts +6 -0
- package/dist/plugins/notifications-webhook/validators/webhook-headers-require-https.validator.js +40 -0
- package/dist/plugins/notifications-webhook/validators/webhook-headers-require-https.validator.js.map +1 -0
- package/dist/plugins/notifications-webhook/validators/webhook-headers-shape.validator.d.ts +3 -0
- package/dist/plugins/notifications-webhook/validators/webhook-headers-shape.validator.js +24 -0
- package/dist/plugins/notifications-webhook/validators/webhook-headers-shape.validator.js.map +1 -0
- package/dist/plugins/notifications-webhook/validators/webhook-url.validator.d.ts +4 -0
- package/dist/plugins/notifications-webhook/validators/webhook-url.validator.js +27 -0
- package/dist/plugins/notifications-webhook/validators/webhook-url.validator.js.map +1 -0
- package/dist/plugins/pages-device-detail/dto/create-page.dto.js +2 -0
- package/dist/plugins/pages-device-detail/dto/create-page.dto.js.map +1 -1
- package/dist/plugins/pages-device-detail/dto/update-page.dto.js +2 -0
- package/dist/plugins/pages-device-detail/dto/update-page.dto.js.map +1 -1
- package/dist/plugins/remote-access-tailscale/controllers/setup.controller.d.ts +21 -0
- package/dist/plugins/remote-access-tailscale/controllers/setup.controller.js +211 -0
- package/dist/plugins/remote-access-tailscale/controllers/setup.controller.js.map +1 -0
- package/dist/plugins/remote-access-tailscale/controllers/status.controller.d.ts +13 -0
- package/dist/plugins/remote-access-tailscale/controllers/status.controller.js +88 -0
- package/dist/plugins/remote-access-tailscale/controllers/status.controller.js.map +1 -0
- package/dist/plugins/remote-access-tailscale/dto/login.dto.d.ts +3 -0
- package/dist/plugins/remote-access-tailscale/dto/login.dto.js +40 -0
- package/dist/plugins/remote-access-tailscale/dto/login.dto.js.map +1 -0
- package/dist/plugins/remote-access-tailscale/dto/update-config.dto.d.ts +12 -0
- package/dist/plugins/remote-access-tailscale/dto/update-config.dto.js +139 -0
- package/dist/plugins/remote-access-tailscale/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/remote-access-tailscale/models/config.model.d.ts +12 -0
- package/dist/plugins/remote-access-tailscale/models/config.model.js +140 -0
- package/dist/plugins/remote-access-tailscale/models/config.model.js.map +1 -0
- package/dist/plugins/remote-access-tailscale/models/login.model.d.ts +16 -0
- package/dist/plugins/remote-access-tailscale/models/login.model.js +112 -0
- package/dist/plugins/remote-access-tailscale/models/login.model.js.map +1 -0
- package/dist/plugins/remote-access-tailscale/models/status.model.d.ts +25 -0
- package/dist/plugins/remote-access-tailscale/models/status.model.js +219 -0
- package/dist/plugins/remote-access-tailscale/models/status.model.js.map +1 -0
- package/dist/plugins/remote-access-tailscale/remote-access-tailscale.constants.d.ts +20 -0
- package/dist/plugins/remote-access-tailscale/remote-access-tailscale.constants.js +24 -0
- package/dist/plugins/remote-access-tailscale/remote-access-tailscale.constants.js.map +1 -0
- package/dist/plugins/remote-access-tailscale/remote-access-tailscale.openapi.d.ts +6 -0
- package/dist/plugins/remote-access-tailscale/remote-access-tailscale.openapi.js +21 -0
- package/dist/plugins/remote-access-tailscale/remote-access-tailscale.openapi.js.map +1 -0
- package/dist/plugins/remote-access-tailscale/remote-access-tailscale.plugin.d.ts +21 -0
- package/dist/plugins/remote-access-tailscale/remote-access-tailscale.plugin.js +132 -0
- package/dist/plugins/remote-access-tailscale/remote-access-tailscale.plugin.js.map +1 -0
- package/dist/plugins/remote-access-tailscale/scripts/tailscale-setup.sh +175 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-cli.service.d.ts +75 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-cli.service.js +206 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-cli.service.js.map +1 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-login.service.d.ts +43 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-login.service.js +344 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-login.service.js.map +1 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-node-managed.service.d.ts +65 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-node-managed.service.js +471 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-node-managed.service.js.map +1 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-provider.service.d.ts +10 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-provider.service.js +37 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-provider.service.js.map +1 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-serve.service.d.ts +21 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-serve.service.js +140 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-serve.service.js.map +1 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-setup.service.d.ts +30 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-setup.service.js +130 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-setup.service.js.map +1 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-status-mapper.service.d.ts +21 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-status-mapper.service.js +106 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-status-mapper.service.js.map +1 -0
- package/dist/plugins/scenes-local/dto/create-local-scene-action.dto.js +2 -0
- package/dist/plugins/scenes-local/dto/create-local-scene-action.dto.js.map +1 -1
- package/dist/plugins/scenes-local/dto/update-local-scene-action.dto.js +2 -0
- package/dist/plugins/scenes-local/dto/update-local-scene-action.dto.js.map +1 -1
- package/dist/plugins/scenes-local/platforms/local-scene.platform.d.ts +1 -0
- package/dist/plugins/scenes-local/platforms/local-scene.platform.js +11 -0
- package/dist/plugins/scenes-local/platforms/local-scene.platform.js.map +1 -1
- package/dist/plugins/simulator/controllers/simulator.controller.js +12 -4
- package/dist/plugins/simulator/controllers/simulator.controller.js.map +1 -1
- package/dist/plugins/simulator/models/simulator-response.model.js +1 -0
- package/dist/plugins/simulator/models/simulator-response.model.js.map +1 -1
- package/dist/plugins/simulator/services/simulation.service.d.ts +7 -3
- package/dist/plugins/simulator/services/simulation.service.js +5 -2
- package/dist/plugins/simulator/services/simulation.service.js.map +1 -1
- package/dist/plugins/simulator/simulator.plugin.d.ts +3 -3
- package/dist/plugins/simulator/simulator.plugin.js +5 -5
- package/dist/plugins/simulator/simulator.plugin.js.map +1 -1
- package/dist/plugins/spaces-home-control/services/climate-intent.service.d.ts +3 -0
- package/dist/plugins/spaces-home-control/services/climate-intent.service.js +84 -16
- package/dist/plugins/spaces-home-control/services/climate-intent.service.js.map +1 -1
- package/dist/plugins/spaces-home-control/services/covers-intent.service.d.ts +1 -0
- package/dist/plugins/spaces-home-control/services/covers-intent.service.js +7 -1
- package/dist/plugins/spaces-home-control/services/covers-intent.service.js.map +1 -1
- package/dist/plugins/spaces-home-control/services/lighting-intent.service.d.ts +4 -1
- package/dist/plugins/spaces-home-control/services/lighting-intent.service.js +41 -12
- package/dist/plugins/spaces-home-control/services/lighting-intent.service.js.map +1 -1
- package/dist/plugins/spaces-home-control/services/space-climate-state.service.js +2 -2
- package/dist/plugins/spaces-home-control/services/space-climate-state.service.js.map +1 -1
- package/dist/plugins/spaces-home-control/services/space-intent.service.d.ts +2 -1
- package/dist/plugins/spaces-home-control/services/space-intent.service.js +5 -2
- package/dist/plugins/spaces-home-control/services/space-intent.service.js.map +1 -1
- package/dist/plugins/spaces-home-control/services/space-lighting-tool.service.d.ts +2 -3
- package/dist/plugins/spaces-home-control/services/space-lighting-tool.service.js +99 -40
- package/dist/plugins/spaces-home-control/services/space-lighting-tool.service.js.map +1 -1
- package/dist/plugins/spaces-home-control/services/space-suggestion-heartbeat.service.d.ts +13 -4
- package/dist/plugins/spaces-home-control/services/space-suggestion-heartbeat.service.js +63 -11
- package/dist/plugins/spaces-home-control/services/space-suggestion-heartbeat.service.js.map +1 -1
- package/dist/plugins/spaces-home-control/spaces-home-control.plugin.d.ts +5 -1
- package/dist/plugins/spaces-home-control/spaces-home-control.plugin.js +10 -2
- package/dist/plugins/spaces-home-control/spaces-home-control.plugin.js.map +1 -1
- package/dist/plugins/spaces-home-control/spec/definitions/climate-intents.yaml +94 -0
- package/dist/plugins/spaces-home-control/spec/definitions/covers-modes.yaml +83 -0
- package/dist/plugins/spaces-home-control/spec/definitions/enums.yaml +119 -0
- package/dist/plugins/spaces-home-control/spec/definitions/lighting-intents.yaml +181 -0
- package/dist/plugins/spaces-home-control/spec/definitions/lighting-modes.yaml +119 -0
- package/dist/plugins/spaces-home-control/spec/definitions/suggestions.yaml +47 -0
- package/dist/plugins/tiles-device-preview/dto/create-tile.dto.js +2 -0
- package/dist/plugins/tiles-device-preview/dto/create-tile.dto.js.map +1 -1
- package/dist/plugins/tiles-device-preview/dto/update-tile.dto.js +2 -0
- package/dist/plugins/tiles-device-preview/dto/update-tile.dto.js.map +1 -1
- package/dist/plugins/weather-openweathermap/dto/update-config.dto.js +2 -3
- package/dist/plugins/weather-openweathermap/dto/update-config.dto.js.map +1 -1
- package/dist/plugins/weather-openweathermap/models/config.model.d.ts +1 -0
- package/dist/plugins/weather-openweathermap/models/config.model.js +12 -1
- package/dist/plugins/weather-openweathermap/models/config.model.js.map +1 -1
- package/dist/plugins/weather-openweathermap/weather-openweathermap.plugin.js +7 -0
- package/dist/plugins/weather-openweathermap/weather-openweathermap.plugin.js.map +1 -1
- package/dist/plugins/weather-openweathermap-onecall/dto/update-config.dto.js +2 -3
- package/dist/plugins/weather-openweathermap-onecall/dto/update-config.dto.js.map +1 -1
- package/dist/plugins/weather-openweathermap-onecall/models/config.model.d.ts +1 -0
- package/dist/plugins/weather-openweathermap-onecall/models/config.model.js +12 -1
- package/dist/plugins/weather-openweathermap-onecall/models/config.model.js.map +1 -1
- package/dist/plugins/weather-openweathermap-onecall/weather-openweathermap-onecall.plugin.js +7 -0
- package/dist/plugins/weather-openweathermap-onecall/weather-openweathermap-onecall.plugin.js.map +1 -1
- package/dist/spec/channels.d.ts +2 -2
- package/dist/spec/channels.js +2 -2
- package/dist/spec/channels.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +35 -3
- package/dist/modules/extensions/services/base-managed-plugin.service.js.map +0 -1
- package/dist/modules/extensions/services/managed-plugin-service.interface.js.map +0 -1
- package/dist/modules/extensions/services/plugin-service-manager.service.d.ts +0 -43
- package/dist/modules/extensions/services/plugin-service-manager.service.js.map +0 -1
- package/dist/modules/websocket/utils/ip.utils.d.ts +0 -2
- package/dist/modules/websocket/utils/ip.utils.js +0 -35
- package/dist/modules/websocket/utils/ip.utils.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simulator.controller.js","sourceRoot":"","sources":["../../../../src/plugins/simulator/controllers/simulator.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAwG;AACxG,6CAA2E;AAE3E,8FAAgH;AAChH,2EAAmE;AACnE,kFAA6F;AAC7F,oFAAuF;AAEvF,mGAA6F;AAC7F,+GAA0G;AAC1G,+GAA0G;AAC1G,uFAAmF;AACnF,8EAA+E;AAC/E,iHAMyE;AACzE,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C,cAAc,CAAC,MAAM,CAA6B;YAC3E,GAAG,aAAa;SAChB,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"simulator.controller.js","sourceRoot":"","sources":["../../../../src/plugins/simulator/controllers/simulator.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAwG;AACxG,6CAA2E;AAE3E,8FAAgH;AAChH,2EAAmE;AACnE,kFAA6F;AAC7F,oFAAuF;AAEvF,mGAA6F;AAC7F,+GAA0G;AAC1G,+GAA0G;AAC1G,uFAAmF;AACnF,8EAA+E;AAC/E,iHAMyE;AACzE,oEAAkE;AAClE,kEAAgE;AAEhE,iFAO4C;AAC5C,mFAA8E;AAC9E,gEAA8G;AAIvG,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAG/B,YACkB,cAA8B,EAC9B,yBAAoD,EACpD,yBAAoD,EACpD,sBAA8C;QAH9C,mBAAc,GAAd,cAAc,CAAgB;QAC9B,8BAAyB,GAAzB,yBAAyB,CAA2B;QACpD,8BAAyB,GAAzB,yBAAyB,CAA2B;QACpD,2BAAsB,GAAtB,sBAAsB,CAAwB;QAN/C,WAAM,GAA2B,IAAA,gDAAqB,EAAC,2CAAqB,EAAE,qBAAqB,CAAC,CAAC;IAOnH,CAAC;IAUJ,aAAa;QACZ,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,sCAAsC,CAAC,CAAC;QAE1D,MAAM,UAAU,GAA0B,EAAE,CAAC;QAE7C,KAAK,MAAM,QAAQ,IAAI,MAAM,CAAC,MAAM,CAAC,kCAAc,CAAC,EAAE,CAAC;YACtD,UAAU,CAAC,IAAI,CAAC;gBACf,QAAQ;gBACR,IAAI,EAAE,IAAI,CAAC,kBAAkB,CAAC,QAAQ,CAAC;gBACvC,WAAW,EAAE,EAAE;aACf,CAAC,CAAC;QACJ,CAAC;QAED,OAAO,IAAA,4BAAU,EAAC,wDAA6B,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,uBAAuB,EA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C,WAAA,IAAA,cAAK,EAAC,UAAU,EAAE,sBAAa,CAAC,CAAA;IAChC,WAAA,IAAA,aAAI,GAAE,CAAA;;;;kEAgCP;AAkBK;IAhBL,IAAA,sBAAY,EAAC;QACb,OAAO,EAAE,2CAA2C;QACpD,WAAW,EACV,4HAA4H;QAC7H,WAAW,EAAE,sCAAsC;KACnD,CAAC;IACD,IAAA,kBAAQ,EAAC;QACT,IAAI,EAAE,UAAU;QAChB,WAAW,EAAE,aAAa;QAC1B,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,MAAM;KACd,CAAC;IACD,IAAA,gDAAkB,EAAC,4CAAmB,EAAE,gCAAgC,CAAC;IACzE,IAAA,iDAAmB,EAAC,kBAAkB,CAAC;IACvC,IAAA,mDAAqB,EAAC,kCAAkC,CAAC;IACzD,IAAA,aAAI,EAAC,wBAAwB,CAAC;IACN,WAAA,IAAA,cAAK,EAAC,UAAU,EAAE,sBAAa,CAAC,CAAA;;;;4DAwCxD;8BA5SW,mBAAmB;IAF/B,IAAA,iBAAO,EAAC,mDAA6B,CAAC;IACtC,IAAA,mBAAU,EAAC,WAAW,CAAC;qCAKW,gCAAc;QACH,uDAAyB;QACzB,uDAAyB;QAC5B,iDAAsB;GAPpD,mBAAmB,CAuT/B"}
|
|
@@ -71,6 +71,7 @@ __decorate([
|
|
|
71
71
|
items: { type: 'object' },
|
|
72
72
|
}),
|
|
73
73
|
(0, class_transformer_1.Expose)(),
|
|
74
|
+
(0, class_transformer_1.Type)(() => DeviceCategoryModel),
|
|
74
75
|
__metadata("design:type", Array)
|
|
75
76
|
], DeviceCategoriesResponseModel.prototype, "data", void 0);
|
|
76
77
|
exports.DeviceCategoriesResponseModel = DeviceCategoriesResponseModel = __decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simulator-response.model.js","sourceRoot":"","sources":["../../../../src/plugins/simulator/models/simulator-response.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"simulator-response.model.js","sourceRoot":"","sources":["../../../../src/plugins/simulator/models/simulator-response.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAEjD,6CAAyD;AAEzD,uFAA0F;AAC1F,qFAAgF;AAMzE,IAAM,4BAA4B,GAAlC,MAAM,4BAA6B,SAAQ,6CAAsC;CAOvF,CAAA;AAPY,oEAA4B;AAMhC;IALP,IAAA,qBAAW,EAAC;QACZ,WAAW,EAAE,2BAA2B;QACxC,IAAI,EAAE,GAAG,EAAE,CAAC,6BAAY;KACxB,CAAC;IACD,IAAA,0BAAM,GAAE;8BACK,6BAAY;0DAAC;uCANf,4BAA4B;IADxC,IAAA,mBAAS,EAAC,EAAE,IAAI,EAAE,mCAAmC,EAAE,CAAC;GAC5C,4BAA4B,CAOxC;AAMM,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;CAwB/B,CAAA;AAxBY,kDAAmB;AAO/B;IANC,IAAA,qBAAW,EAAC;QACZ,WAAW,EAAE,qBAAqB;QAClC,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,UAAU;KACnB,CAAC;IACD,IAAA,0BAAM,GAAE;;qDACQ;AAQjB;IANC,IAAA,qBAAW,EAAC;QACZ,WAAW,EAAE,8BAA8B;QAC3C,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,UAAU;KACnB,CAAC;IACD,IAAA,0BAAM,GAAE;;iDACI;AAQb;IANC,IAAA,qBAAW,EAAC;QACZ,WAAW,EAAE,sBAAsB;QACnC,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,2CAA2C;KACpD,CAAC;IACD,IAAA,0BAAM,GAAE;;wDACW;8BAvBR,mBAAmB;IAD/B,IAAA,mBAAS,EAAC,EAAE,IAAI,EAAE,mCAAmC,EAAE,CAAC;GAC5C,mBAAmB,CAwB/B;AAMM,IAAM,6BAA6B,GAAnC,MAAM,6BAA8B,SAAQ,6CAA+C;CASjG,CAAA;AATY,sEAA6B;AAQjC;IAPP,IA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EAAE,CAAC;GAC3C,2BAA2B,CAOvC;AAMM,IAAM,0BAA0B,GAAhC,MAAM,0BAA0B;CAuBtC,CAAA;AAvBY,gEAA0B;AAQtC;IAPC,IAAA,qBAAW,EAAC;QACZ,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,MAAM;KACd,CAAC;IACD,IAAA,0BAAM,GAAE;;6DACS;AAOlB;IALC,IAAA,qBAAW,EAAC;QACZ,WAAW,EAAE,+BAA+B;QAC5C,IAAI,EAAE,QAAQ;KACd,CAAC;IACD,IAAA,0BAAM,GAAE;;yDACK;AAOd;IALC,IAAA,qBAAW,EAAC;QACZ,WAAW,EAAE,yCAAyC;QACtD,IAAI,EAAE,SAAS;KACf,CAAC;IACD,IAAA,0BAAM,GAAE;;2DACQ;qCAtBL,0BAA0B;IADtC,IAAA,mBAAS,EAAC,EAAE,IAAI,EAAE,0CAA0C,EAAE,CAAC;GACnD,0BAA0B,CAuBtC;AAMM,IAAM,4BAA4B,GAAlC,MAAM,4BAA6B,SAAQ,6CAAoD;CAOrG,CAAA;AAPY,oEAA4B;AAMhC;IALP,IAAA,qBAAW,EAAC;QACZ,WAAW,EAAE,oCAAoC;QACjD,IAAI,EAAE,GAAG,EAAE,CAAC,0BAA0B;KACtC,CAAC;IACD,IAAA,0BAAM,GAAE;8BACK,0BAA0B;0DAAC;uCAN7B,4BAA4B;IADxC,IAAA,mBAAS,EAAC,EAAE,IAAI,EAAE,mCAAmC,EAAE,CAAC;GAC5C,4BAA4B,CAOxC"}
|
|
@@ -4,7 +4,7 @@ import { ConnectionState, DeviceCategory } from '../../../modules/devices/device
|
|
|
4
4
|
import { ChannelsPropertiesService } from '../../../modules/devices/services/channels.properties.service';
|
|
5
5
|
import { DeviceConnectivityService } from '../../../modules/devices/services/device-connectivity.service';
|
|
6
6
|
import { DevicesService } from '../../../modules/devices/services/devices.service';
|
|
7
|
-
import { ConfigChangeResult,
|
|
7
|
+
import { ConfigChangeResult, IManagedExtensionService, ServiceState } from '../../../modules/extensions/services/managed-extension-service.interface';
|
|
8
8
|
import { SimulatorDeviceEntity } from '../entities/simulator.entity';
|
|
9
9
|
import { SimulationContext } from '../simulators';
|
|
10
10
|
export interface SimulationServiceConfig {
|
|
@@ -14,13 +14,16 @@ export interface SimulationServiceConfig {
|
|
|
14
14
|
smoothTransitions: boolean;
|
|
15
15
|
connectionStateOnStart?: ConnectionState;
|
|
16
16
|
}
|
|
17
|
-
export declare class SimulationService implements OnModuleInit, OnModuleDestroy,
|
|
17
|
+
export declare class SimulationService implements OnModuleInit, OnModuleDestroy, IManagedExtensionService {
|
|
18
18
|
private readonly configService;
|
|
19
19
|
private readonly devicesService;
|
|
20
20
|
private readonly deviceConnectivityService;
|
|
21
21
|
private readonly channelsPropertiesService;
|
|
22
22
|
private readonly logger;
|
|
23
|
-
readonly
|
|
23
|
+
readonly owner: {
|
|
24
|
+
readonly kind: "plugin";
|
|
25
|
+
readonly type: "simulator-plugin";
|
|
26
|
+
};
|
|
24
27
|
readonly serviceId = "simulation";
|
|
25
28
|
private config;
|
|
26
29
|
private simulators;
|
|
@@ -35,6 +38,7 @@ export declare class SimulationService implements OnModuleInit, OnModuleDestroy,
|
|
|
35
38
|
start(): Promise<void>;
|
|
36
39
|
stop(): Promise<void>;
|
|
37
40
|
getState(): ServiceState;
|
|
41
|
+
isHealthy(): Promise<boolean>;
|
|
38
42
|
onConfigChanged(): Promise<ConfigChangeResult>;
|
|
39
43
|
configure(config: Partial<SimulationServiceConfig>): void;
|
|
40
44
|
getConfig(): SimulationServiceConfig;
|
|
@@ -33,7 +33,7 @@ let SimulationService = class SimulationService {
|
|
|
33
33
|
this.deviceConnectivityService = deviceConnectivityService;
|
|
34
34
|
this.channelsPropertiesService = channelsPropertiesService;
|
|
35
35
|
this.logger = (0, logger_1.createExtensionLogger)(simulator_constants_1.SIMULATOR_PLUGIN_NAME, 'SimulationService');
|
|
36
|
-
this.
|
|
36
|
+
this.owner = { kind: 'plugin', type: simulator_constants_1.SIMULATOR_PLUGIN_NAME };
|
|
37
37
|
this.serviceId = 'simulation';
|
|
38
38
|
this.config = { ...DEFAULT_CONFIG };
|
|
39
39
|
this.simulators = new Map();
|
|
@@ -64,7 +64,7 @@ let SimulationService = class SimulationService {
|
|
|
64
64
|
this.logger.log(`Registered ${this.simulators.size} device simulators`);
|
|
65
65
|
}
|
|
66
66
|
onModuleInit() {
|
|
67
|
-
this.logger.log('Simulation service initialized (managed by
|
|
67
|
+
this.logger.log('Simulation service initialized (managed by ManagedServiceManagerService)');
|
|
68
68
|
}
|
|
69
69
|
async start() {
|
|
70
70
|
await this.withLock(async () => {
|
|
@@ -106,6 +106,9 @@ let SimulationService = class SimulationService {
|
|
|
106
106
|
getState() {
|
|
107
107
|
return this.state;
|
|
108
108
|
}
|
|
109
|
+
isHealthy() {
|
|
110
|
+
return Promise.resolve(this.state === 'started' && (this.config.simulationInterval <= 0 || this.simulationTimer !== null));
|
|
111
|
+
}
|
|
109
112
|
async onConfigChanged() {
|
|
110
113
|
await this.withLock(async () => {
|
|
111
114
|
const newConfig = this.loadPluginConfig();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simulation.service.js","sourceRoot":"","sources":["../../../../src/plugins/simulator/services/simulation.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA2E;AAE3E,mDAAuF;AACvF,oFAAgF;AAChF,kFAA6F;AAC7F,+GAA0G;AAC1G,+GAA0G;AAC1G,uFAAmF;AACnF,8EAA+E;AAQ/E,gEAA+E;AAC/E,8CAcuB;AAqCvB,MAAM,cAAc,GAA4B;IAC/C,aAAa,EAAE,KAAK;IACpB,kBAAkB,EAAE,CAAC;IACrB,QAAQ,EAAE,IAAI;IACd,iBAAiB,EAAE,IAAI;CACvB,CAAC;AAQK,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IAc7B,YACkB,aAA4B,EAC5B,cAA8B,EAC9B,yBAAoD,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AEO,OAAO,CAAC,KAAc;QAC7B,IAAI,KAAK,YAAY,KAAK;YAAE,OAAO,KAAK,CAAC;QACzC,IAAI,OAAO,KAAK,KAAK,QAAQ;YAAE,OAAO,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC;QAEvD,IAAI,CAAC;YACJ,OAAO,IAAI,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;QACzC,CAAC;QAAC,MAAM,CAAC;YACR,OAAO,IAAI,KAAK,CAAC,eAAe,CAAC,CAAC;QACnC,CAAC;IACF,CAAC;IAEO,sBAAsB,CAAC,KAAc;QAC5C,OAAO,MAAM,CAAC,MAAM,CAAC,mCAAe,CAAC,CAAC,QAAQ,CAAC,KAAwB,CAAC,CAAC;IAC1E,CAAC;CACD,CAAA;AArgBY,8CAAiB;4BAAjB,iBAAiB;IAD7B,IAAA,mBAAU,GAAE;qCAgBqB,8BAAa;QACZ,gCAAc;QACH,uDAAyB;QACzB,uDAAyB;GAlB1D,iBAAiB,CAqgB7B"}
|
|
1
|
+
{"version":3,"file":"simulation.service.js","sourceRoot":"","sources":["../../../../src/plugins/simulator/services/simulation.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA2E;AAE3E,mDAAuF;AACvF,oFAAgF;AAChF,kFAA6F;AAC7F,+GAA0G;AAC1G,+GAA0G;AAC1G,uFAAmF;AACnF,8EAA+E;AAQ/E,gEAA+E;AAC/E,8CAcuB;AAqCvB,MAAM,cAAc,GAA4B;IAC/C,aAAa,EAAE,KAAK;IACpB,kBAAkB,EAAE,CAAC;IACrB,QAAQ,EAAE,IAAI;IACd,iBAAiB,EAAE,IAAI;CACvB,CAAC;AAQK,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IAc7B,YACkB,aAA4B,EAC5B,cAA8B,EAC9B,yBAAoD,EACpD,yBAAoD;QAHpD,kBAAa,GAAb,aAAa,CAAe;QAC5B,mBAAc,GAAd,cAAc,CAAgB;QAC9B,8BA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C,CAAC;gBAChC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,uDAAuD,MAAM,CAAC,EAAE,KAAK,GAAG,CAAC,OAAO,EAAE,CAAC,CAAC;YACtG,CAAC;QACF,CAAC;IACF,CAAC;IAEO,OAAO,CAAC,KAAc;QAC7B,IAAI,KAAK,YAAY,KAAK;YAAE,OAAO,KAAK,CAAC;QACzC,IAAI,OAAO,KAAK,KAAK,QAAQ;YAAE,OAAO,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC;QAEvD,IAAI,CAAC;YACJ,OAAO,IAAI,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;QACzC,CAAC;QAAC,MAAM,CAAC;YACR,OAAO,IAAI,KAAK,CAAC,eAAe,CAAC,CAAC;QACnC,CAAC;IACF,CAAC;IAEO,sBAAsB,CAAC,KAAc;QAC5C,OAAO,MAAM,CAAC,MAAM,CAAC,mCAAe,CAAC,CAAC,QAAQ,CAAC,KAAwB,CAAC,CAAC;IAC1E,CAAC;CACD,CAAA;AA3gBY,8CAAiB;4BAAjB,iBAAiB;IAD7B,IAAA,mBAAU,GAAE;qCAgBqB,8BAAa;QACZ,gCAAc;QACH,uDAAyB;QACzB,uDAAyB;GAlB1D,iBAAiB,CA2gB7B"}
|
|
@@ -4,7 +4,7 @@ import { ChannelsPropertiesTypeMapperService } from '../../modules/devices/servi
|
|
|
4
4
|
import { DevicesTypeMapperService } from '../../modules/devices/services/devices-type-mapper.service';
|
|
5
5
|
import { PlatformRegistryService } from '../../modules/devices/services/platform.registry.service';
|
|
6
6
|
import { ExtensionsService } from '../../modules/extensions/services/extensions.service';
|
|
7
|
-
import {
|
|
7
|
+
import { ManagedServiceManagerService } from '../../modules/extensions/services/managed-service-manager.service';
|
|
8
8
|
import { ExtendedDiscriminatorService } from '../../modules/swagger/services/extended-discriminator.service';
|
|
9
9
|
import { SwaggerModelsRegistryService } from '../../modules/swagger/services/swagger-models-registry.service';
|
|
10
10
|
import { SimulatorDevicePlatform } from './platforms/simulator-device.platform';
|
|
@@ -20,9 +20,9 @@ export declare class SimulatorPlugin {
|
|
|
20
20
|
private readonly swaggerRegistry;
|
|
21
21
|
private readonly discriminatorRegistry;
|
|
22
22
|
private readonly extensionsService;
|
|
23
|
-
private readonly
|
|
23
|
+
private readonly managedServiceManager;
|
|
24
24
|
private readonly simulationService;
|
|
25
25
|
private readonly behaviorManager;
|
|
26
|
-
constructor(configMapper: PluginsTypeMapperService, devicesMapper: DevicesTypeMapperService, channelsMapper: ChannelsTypeMapperService, channelsPropertiesMapper: ChannelsPropertiesTypeMapperService, platformRegistryService: PlatformRegistryService, simulatorDevicePlatform: SimulatorDevicePlatform, swaggerRegistry: SwaggerModelsRegistryService, discriminatorRegistry: ExtendedDiscriminatorService, extensionsService: ExtensionsService,
|
|
26
|
+
constructor(configMapper: PluginsTypeMapperService, devicesMapper: DevicesTypeMapperService, channelsMapper: ChannelsTypeMapperService, channelsPropertiesMapper: ChannelsPropertiesTypeMapperService, platformRegistryService: PlatformRegistryService, simulatorDevicePlatform: SimulatorDevicePlatform, swaggerRegistry: SwaggerModelsRegistryService, discriminatorRegistry: ExtendedDiscriminatorService, extensionsService: ExtensionsService, managedServiceManager: ManagedServiceManagerService, simulationService: SimulationService, behaviorManager: DeviceBehaviorManagerService);
|
|
27
27
|
onModuleInit(): void;
|
|
28
28
|
}
|
|
@@ -28,7 +28,7 @@ const devices_type_mapper_service_1 = require("../../modules/devices/services/de
|
|
|
28
28
|
const platform_registry_service_1 = require("../../modules/devices/services/platform.registry.service");
|
|
29
29
|
const extensions_module_1 = require("../../modules/extensions/extensions.module");
|
|
30
30
|
const extensions_service_1 = require("../../modules/extensions/services/extensions.service");
|
|
31
|
-
const
|
|
31
|
+
const managed_service_manager_service_1 = require("../../modules/extensions/services/managed-service-manager.service");
|
|
32
32
|
const scenes_module_1 = require("../../modules/scenes/scenes.module");
|
|
33
33
|
const spaces_module_1 = require("../../modules/spaces/spaces.module");
|
|
34
34
|
const api_tag_decorator_1 = require("../../modules/swagger/decorators/api-tag.decorator");
|
|
@@ -61,7 +61,7 @@ const simulator_actions_service_1 = require("./services/simulator-actions.servic
|
|
|
61
61
|
const simulator_constants_1 = require("./simulator.constants");
|
|
62
62
|
const simulator_openapi_1 = require("./simulator.openapi");
|
|
63
63
|
let SimulatorPlugin = class SimulatorPlugin {
|
|
64
|
-
constructor(configMapper, devicesMapper, channelsMapper, channelsPropertiesMapper, platformRegistryService, simulatorDevicePlatform, swaggerRegistry, discriminatorRegistry, extensionsService,
|
|
64
|
+
constructor(configMapper, devicesMapper, channelsMapper, channelsPropertiesMapper, platformRegistryService, simulatorDevicePlatform, swaggerRegistry, discriminatorRegistry, extensionsService, managedServiceManager, simulationService, behaviorManager) {
|
|
65
65
|
this.configMapper = configMapper;
|
|
66
66
|
this.devicesMapper = devicesMapper;
|
|
67
67
|
this.channelsMapper = channelsMapper;
|
|
@@ -71,7 +71,7 @@ let SimulatorPlugin = class SimulatorPlugin {
|
|
|
71
71
|
this.swaggerRegistry = swaggerRegistry;
|
|
72
72
|
this.discriminatorRegistry = discriminatorRegistry;
|
|
73
73
|
this.extensionsService = extensionsService;
|
|
74
|
-
this.
|
|
74
|
+
this.managedServiceManager = managedServiceManager;
|
|
75
75
|
this.simulationService = simulationService;
|
|
76
76
|
this.behaviorManager = behaviorManager;
|
|
77
77
|
}
|
|
@@ -253,7 +253,7 @@ pnpm run cli simulator:connection --device <id> --state lost
|
|
|
253
253
|
this.behaviorManager.registerBehavior(new behaviors_1.DoorRealisticBehavior(), true);
|
|
254
254
|
this.behaviorManager.registerBehavior(new behaviors_1.SpeakerRealisticBehavior(), true);
|
|
255
255
|
this.behaviorManager.registerBehavior(new behaviors_1.WaterHeaterRealisticBehavior(), true);
|
|
256
|
-
this.
|
|
256
|
+
this.managedServiceManager.register(this.simulationService);
|
|
257
257
|
}
|
|
258
258
|
};
|
|
259
259
|
exports.SimulatorPlugin = SimulatorPlugin;
|
|
@@ -299,7 +299,7 @@ exports.SimulatorPlugin = SimulatorPlugin = __decorate([
|
|
|
299
299
|
swagger_models_registry_service_1.SwaggerModelsRegistryService,
|
|
300
300
|
extended_discriminator_service_1.ExtendedDiscriminatorService,
|
|
301
301
|
extensions_service_1.ExtensionsService,
|
|
302
|
-
|
|
302
|
+
managed_service_manager_service_1.ManagedServiceManagerService,
|
|
303
303
|
simulation_service_1.SimulationService,
|
|
304
304
|
device_behavior_manager_service_1.DeviceBehaviorManagerService])
|
|
305
305
|
], SimulatorPlugin);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simulator.plugin.js","sourceRoot":"","sources":["../../../src/plugins/simulator/simulator.plugin.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAwC;AACxC,6CAAgD;AAEhD,sEAAkE;AAClE,2GAAqG;AACrG,yEAAqE;AACrE,uGAAiG;AACjG,qFAAgF;AAChF,mFAA8E;AAC9E,uGAAiG;AACjG,qFAAgF;AAChF,mFAA8E;AAC9E,kFAAmH;AACnH,8GAAwG;AACxG,oIAA6H;AAC7H,4GAAsG;AACtG,wGAAmG;AACnG,kFAA8E;AAC9E,6FAAyF;AACzF,
|
|
1
|
+
{"version":3,"file":"simulator.plugin.js","sourceRoot":"","sources":["../../../src/plugins/simulator/simulator.plugin.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAwC;AACxC,6CAAgD;AAEhD,sEAAkE;AAClE,2GAAqG;AACrG,yEAAqE;AACrE,uGAAiG;AACjG,qFAAgF;AAChF,mFAA8E;AAC9E,uGAAiG;AACjG,qFAAgF;AAChF,mFAA8E;AAC9E,kFAAmH;AACnH,8GAAwG;AACxG,oIAA6H;AAC7H,4GAAsG;AACtG,wGAAmG;AACnG,kFAA8E;AAC9E,6FAAyF;AACzF,uHAAiH;AACjH,sEAAkE;AAClE,sEAAkE;AAClE,0FAA4E;AAC5E,kHAA6G;AAC7G,oHAA8G;AAC9G,yEAAqE;AAErE,2CAYqB;AACrB,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AAC;QACP,OAAO,EAAE,2CAAqB;QAC9B,WAAW,EAAE,mDAA6B;QAC1C,WAAW,EAAE,0DAAoC;KACjD,CAAC;IACD,IAAA,eAAM,EAAC;QACP,OAAO,EAAE;YACR,uBAAa,CAAC,UAAU,CAAC,CAAC,wCAAqB,EAAE,yCAAsB,EAAE,iDAA8B,CAAC,CAAC;YACzG,8BAAa;YACb,4BAAY;YACZ,oCAAgB;YAChB,4BAAY;YACZ,4BAAY;YACZ,8BAAa;SACb;QACD,SAAS,EAAE;YACV,mDAAuB;YACvB,iDAAsB;YACtB,+CAAqB;YACrB,mDAAuB;YACvB,sCAAiB;YACjB,8DAA4B;YAC5B,mDAAuB;YACvB,+CAAqB;YACrB,+CAAqB;YACrB,kCAAe;YACf,wDAAyB;YACzB,kCAAe;SACf;QACD,WAAW,EAAE,CAAC,0CAAmB,CAAC;QAClC,OAAO,EAAE,CAAC,iDAAsB,EAAE,sCAAiB,EAAE,8DAA4B,CAAC;KAClF,CAAC;qCAG+B,sDAAwB;QACvB,sDAAwB;QACvB,wDAAyB;QACf,6EAAmC;QACpC,mDAAuB;QACvB,mDAAuB;QAC/B,8DAA4B;QACtB,6DAA4B;QAChC,sCAAiB;QACb,8DAA4B;QAChC,sCAAiB;QACnB,8DAA4B;GAbnD,eAAe,CAmO3B"}
|
|
@@ -32,6 +32,7 @@ export declare class ClimateIntentService extends SpaceIntentBaseService {
|
|
|
32
32
|
executeClimateIntent(spaceId: string, intent: ClimateIntentDto): Promise<ClimateIntentResult | null>;
|
|
33
33
|
private filterOfflineClimateDevices;
|
|
34
34
|
private buildClimateTargets;
|
|
35
|
+
private getClimateIntentTtlMs;
|
|
35
36
|
private mapClimateIntentType;
|
|
36
37
|
private buildClimateIntentValue;
|
|
37
38
|
private executeSetModeIntent;
|
|
@@ -39,6 +40,8 @@ export declare class ClimateIntentService extends SpaceIntentBaseService {
|
|
|
39
40
|
private executeSetpointSetIntent;
|
|
40
41
|
private executeSetpointDeltaIntent;
|
|
41
42
|
private setDeviceSetpoints;
|
|
43
|
+
private getPreparedSetpoint;
|
|
44
|
+
private getAppliedSetpointConsensus;
|
|
42
45
|
private clampSetpoint;
|
|
43
46
|
private executeClimateSetIntent;
|
|
44
47
|
private captureUndoSnapshot;
|
|
@@ -90,7 +90,7 @@ let ClimateIntentService = class ClimateIntentService extends space_intent_base_
|
|
|
90
90
|
},
|
|
91
91
|
targets,
|
|
92
92
|
value: this.buildClimateIntentValue(intent),
|
|
93
|
-
ttlMs:
|
|
93
|
+
ttlMs: this.getClimateIntentTtlMs(primaryDevices),
|
|
94
94
|
});
|
|
95
95
|
await this.captureUndoSnapshot(spaceId, intent);
|
|
96
96
|
let result;
|
|
@@ -153,6 +153,19 @@ let ClimateIntentService = class ClimateIntentService extends space_intent_base_
|
|
|
153
153
|
deviceId: device.device.id,
|
|
154
154
|
}));
|
|
155
155
|
}
|
|
156
|
+
getClimateIntentTtlMs(devices) {
|
|
157
|
+
return this.platformRegistryService.getCommandTtlMs(devices.map((device) => ({
|
|
158
|
+
device: device.device,
|
|
159
|
+
commandCount: [
|
|
160
|
+
device.heaterOnProperty,
|
|
161
|
+
device.heaterSetpointProperty,
|
|
162
|
+
device.coolerOnProperty,
|
|
163
|
+
device.coolerSetpointProperty,
|
|
164
|
+
device.thermostatLockedProperty,
|
|
165
|
+
device.fanOnProperty,
|
|
166
|
+
].filter((property) => property !== null).length,
|
|
167
|
+
})), intents_constants_1.DEFAULT_TTL_SPACE_COMMAND);
|
|
168
|
+
}
|
|
156
169
|
mapClimateIntentType(type) {
|
|
157
170
|
switch (type) {
|
|
158
171
|
case spaces_home_control_constants_1.ClimateIntentType.SET_MODE:
|
|
@@ -329,6 +342,8 @@ let ClimateIntentService = class ClimateIntentService extends space_intent_base_
|
|
|
329
342
|
let failedDevices = 0;
|
|
330
343
|
let heatingSetpoint = null;
|
|
331
344
|
let coolingSetpoint = null;
|
|
345
|
+
const appliedHeatingSetpoints = [];
|
|
346
|
+
const appliedCoolingSetpoints = [];
|
|
332
347
|
if (intent.heatingSetpoint !== undefined && intent.coolingSetpoint !== undefined) {
|
|
333
348
|
heatingSetpoint = this.clampSetpoint(intent.heatingSetpoint, climateState.minSetpoint, climateState.maxSetpoint);
|
|
334
349
|
coolingSetpoint = this.clampSetpoint(intent.coolingSetpoint, climateState.minSetpoint, climateState.maxSetpoint);
|
|
@@ -354,29 +369,38 @@ let ClimateIntentService = class ClimateIntentService extends space_intent_base_
|
|
|
354
369
|
});
|
|
355
370
|
continue;
|
|
356
371
|
}
|
|
357
|
-
const
|
|
372
|
+
const commandResult = await this.setDeviceSetpoints(device, shouldSetHeating ? heatingSetpoint : null, shouldSetCooling ? coolingSetpoint : null);
|
|
373
|
+
const success = commandResult.success;
|
|
358
374
|
targetResults.push({
|
|
359
375
|
deviceId: device.device.id,
|
|
360
376
|
status: success ? intents_constants_1.IntentTargetStatus.SUCCESS : intents_constants_1.IntentTargetStatus.FAILED,
|
|
361
377
|
});
|
|
362
378
|
if (success) {
|
|
363
379
|
affectedDevices++;
|
|
380
|
+
if (commandResult.heatingSetpoint !== null) {
|
|
381
|
+
appliedHeatingSetpoints.push(commandResult.heatingSetpoint);
|
|
382
|
+
}
|
|
383
|
+
if (commandResult.coolingSetpoint !== null) {
|
|
384
|
+
appliedCoolingSetpoints.push(commandResult.coolingSetpoint);
|
|
385
|
+
}
|
|
364
386
|
}
|
|
365
387
|
else {
|
|
366
388
|
failedDevices++;
|
|
367
389
|
}
|
|
368
390
|
}
|
|
369
391
|
const overallSuccess = failedDevices === 0 || affectedDevices > 0;
|
|
392
|
+
const appliedHeatingSetpoint = this.getAppliedSetpointConsensus(appliedHeatingSetpoints, climateState.heatingSetpoint);
|
|
393
|
+
const appliedCoolingSetpoint = this.getAppliedSetpointConsensus(appliedCoolingSetpoints, climateState.coolingSetpoint);
|
|
370
394
|
if (overallSuccess) {
|
|
371
|
-
void this.intentTimeseriesService.storeClimateModeChange(spaceId, mode,
|
|
395
|
+
void this.intentTimeseriesService.storeClimateModeChange(spaceId, mode, appliedHeatingSetpoint, appliedCoolingSetpoint, devices.length, affectedDevices, failedDevices);
|
|
372
396
|
}
|
|
373
397
|
return {
|
|
374
398
|
success: overallSuccess,
|
|
375
399
|
affectedDevices,
|
|
376
400
|
failedDevices,
|
|
377
401
|
mode,
|
|
378
|
-
heatingSetpoint,
|
|
379
|
-
coolingSetpoint,
|
|
402
|
+
heatingSetpoint: heatingSetpoint === null ? null : appliedHeatingSetpoint,
|
|
403
|
+
coolingSetpoint: coolingSetpoint === null ? null : appliedCoolingSetpoint,
|
|
380
404
|
};
|
|
381
405
|
}
|
|
382
406
|
async executeSetpointDeltaIntent(spaceId, devices, intent, climateState, targetResults) {
|
|
@@ -429,7 +453,7 @@ let ClimateIntentService = class ClimateIntentService extends space_intent_base_
|
|
|
429
453
|
const platform = this.platformRegistryService.get(device.device);
|
|
430
454
|
if (!platform) {
|
|
431
455
|
this.logger.warn(`No platform registered for device id=${device.device.id}`);
|
|
432
|
-
return false;
|
|
456
|
+
return { success: false, heatingSetpoint: null, coolingSetpoint: null };
|
|
433
457
|
}
|
|
434
458
|
const commands = [];
|
|
435
459
|
if (heatingSetpoint !== null && device.heaterSetpointProperty && device.heaterChannel) {
|
|
@@ -468,21 +492,52 @@ let ClimateIntentService = class ClimateIntentService extends space_intent_base_
|
|
|
468
492
|
}
|
|
469
493
|
if (commands.length === 0) {
|
|
470
494
|
this.logger.debug(`No setpoint commands for device id=${device.device.id}`);
|
|
471
|
-
return true;
|
|
495
|
+
return { success: true, heatingSetpoint: null, coolingSetpoint: null };
|
|
472
496
|
}
|
|
473
497
|
try {
|
|
474
|
-
const
|
|
498
|
+
const preparedCommands = platform.prepareBatch === undefined ? commands : platform.prepareBatch(commands);
|
|
499
|
+
if (preparedCommands === null) {
|
|
500
|
+
this.logger.error(`Setpoint command preparation failed for device id=${device.device.id}`);
|
|
501
|
+
return { success: false, heatingSetpoint: null, coolingSetpoint: null };
|
|
502
|
+
}
|
|
503
|
+
const success = await platform.processBatch(preparedCommands);
|
|
475
504
|
if (!success) {
|
|
476
505
|
this.logger.error(`Setpoint command execution failed for device id=${device.device.id}`);
|
|
477
|
-
return false;
|
|
506
|
+
return { success: false, heatingSetpoint: null, coolingSetpoint: null };
|
|
478
507
|
}
|
|
479
|
-
|
|
480
|
-
|
|
508
|
+
const appliedHeatingSetpoint = device.supportsHeating
|
|
509
|
+
? this.getPreparedSetpoint(preparedCommands, device.heaterSetpointProperty?.id)
|
|
510
|
+
: null;
|
|
511
|
+
const appliedCoolingSetpoint = device.supportsCooling
|
|
512
|
+
? this.getPreparedSetpoint(preparedCommands, device.coolerSetpointProperty?.id)
|
|
513
|
+
: null;
|
|
514
|
+
this.logger.debug(`Set setpoints on device id=${device.device.id} ` +
|
|
515
|
+
`heating=${appliedHeatingSetpoint} cooling=${appliedCoolingSetpoint}`);
|
|
516
|
+
return {
|
|
517
|
+
success: true,
|
|
518
|
+
heatingSetpoint: appliedHeatingSetpoint,
|
|
519
|
+
coolingSetpoint: appliedCoolingSetpoint,
|
|
520
|
+
};
|
|
481
521
|
}
|
|
482
522
|
catch (error) {
|
|
483
523
|
this.logger.error(`Error executing setpoint command for device id=${device.device.id}: ${error}`);
|
|
484
|
-
return false;
|
|
524
|
+
return { success: false, heatingSetpoint: null, coolingSetpoint: null };
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
getPreparedSetpoint(commands, propertyId) {
|
|
528
|
+
if (propertyId === undefined) {
|
|
529
|
+
return null;
|
|
485
530
|
}
|
|
531
|
+
const value = commands.find((command) => command.property.id === propertyId)?.value;
|
|
532
|
+
return typeof value === 'number' ? value : null;
|
|
533
|
+
}
|
|
534
|
+
getAppliedSetpointConsensus(values, fallback) {
|
|
535
|
+
if (values.length === 0) {
|
|
536
|
+
return fallback;
|
|
537
|
+
}
|
|
538
|
+
const minimum = Math.min(...values);
|
|
539
|
+
const maximum = Math.max(...values);
|
|
540
|
+
return maximum - minimum <= spaces_home_control_constants_1.SETPOINT_PRECISION ? values[0] : null;
|
|
486
541
|
}
|
|
487
542
|
clampSetpoint(value, min, max) {
|
|
488
543
|
let clamped = Math.max(min, Math.min(max, value));
|
|
@@ -493,6 +548,8 @@ let ClimateIntentService = class ClimateIntentService extends space_intent_base_
|
|
|
493
548
|
const mode = intent.mode ?? climateState.lastAppliedMode ?? climateState.mode;
|
|
494
549
|
let heatingSetpoint = null;
|
|
495
550
|
let coolingSetpoint = null;
|
|
551
|
+
const appliedHeatingSetpoints = [];
|
|
552
|
+
const appliedCoolingSetpoints = [];
|
|
496
553
|
const deviceResults = new Map();
|
|
497
554
|
if (intent.mode !== undefined) {
|
|
498
555
|
for (const device of devices) {
|
|
@@ -528,7 +585,16 @@ let ClimateIntentService = class ClimateIntentService extends space_intent_base_
|
|
|
528
585
|
}
|
|
529
586
|
continue;
|
|
530
587
|
}
|
|
531
|
-
const
|
|
588
|
+
const commandResult = await this.setDeviceSetpoints(device, shouldSetHeating ? heatingSetpoint : null, shouldSetCooling ? coolingSetpoint : null);
|
|
589
|
+
const success = commandResult.success;
|
|
590
|
+
if (success) {
|
|
591
|
+
if (commandResult.heatingSetpoint !== null) {
|
|
592
|
+
appliedHeatingSetpoints.push(commandResult.heatingSetpoint);
|
|
593
|
+
}
|
|
594
|
+
if (commandResult.coolingSetpoint !== null) {
|
|
595
|
+
appliedCoolingSetpoints.push(commandResult.coolingSetpoint);
|
|
596
|
+
}
|
|
597
|
+
}
|
|
532
598
|
const previousResult = deviceResults.get(device.device.id);
|
|
533
599
|
if (previousResult === undefined || previousResult === null) {
|
|
534
600
|
deviceResults.set(device.device.id, success);
|
|
@@ -556,16 +622,18 @@ let ClimateIntentService = class ClimateIntentService extends space_intent_base_
|
|
|
556
622
|
targetResults.push({ deviceId, status });
|
|
557
623
|
}
|
|
558
624
|
const overallSuccess = failedDevices === 0 || affectedDevices > 0;
|
|
625
|
+
const appliedHeatingSetpoint = this.getAppliedSetpointConsensus(appliedHeatingSetpoints, climateState.heatingSetpoint);
|
|
626
|
+
const appliedCoolingSetpoint = this.getAppliedSetpointConsensus(appliedCoolingSetpoints, climateState.coolingSetpoint);
|
|
559
627
|
if (overallSuccess) {
|
|
560
|
-
void this.intentTimeseriesService.storeClimateModeChange(spaceId, mode,
|
|
628
|
+
void this.intentTimeseriesService.storeClimateModeChange(spaceId, mode, appliedHeatingSetpoint, appliedCoolingSetpoint, devices.length, affectedDevices, failedDevices);
|
|
561
629
|
}
|
|
562
630
|
return {
|
|
563
631
|
success: overallSuccess,
|
|
564
632
|
affectedDevices,
|
|
565
633
|
failedDevices,
|
|
566
634
|
mode,
|
|
567
|
-
heatingSetpoint,
|
|
568
|
-
coolingSetpoint,
|
|
635
|
+
heatingSetpoint: heatingSetpoint === null ? null : appliedHeatingSetpoint,
|
|
636
|
+
coolingSetpoint: coolingSetpoint === null ? null : appliedCoolingSetpoint,
|
|
569
637
|
};
|
|
570
638
|
}
|
|
571
639
|
async captureUndoSnapshot(spaceId, intent) {
|