diff --git a/docs/api/controller.md b/docs/api/controller.md index 08317a027402..3070acce26eb 100644 --- a/docs/api/controller.md +++ b/docs/api/controller.md @@ -1176,6 +1176,16 @@ interface GetFirmwareUpdatesOptions { additionalUserAgentComponents?: Record; /** Whether the returned firmware upgrades should include prereleases from the `"beta"` channel. Default: `false`. */ includePrereleases?: boolean; + /** + * Can be used to specify the RF region if the Z-Wave controller + * does not support querying this information. + * + * **WARNING:** Specifying the wrong region may result in bricking the device! + * + * For this reason, the specified value is only used as a fallback + * if the RF region of the controller is not already known. + */ + rfRegion?: RFRegion; } ``` diff --git a/docs/api/driver.md b/docs/api/driver.md index 054ba83bbb0c..19f622820bda 100644 --- a/docs/api/driver.md +++ b/docs/api/driver.md @@ -415,9 +415,7 @@ interface FileSystem { file: string, data: string | Uint8Array, options?: - | { - encoding: BufferEncoding; - } + | { encoding: BufferEncoding } | BufferEncoding, ): Promise; readFile(file: string, encoding: BufferEncoding): Promise; @@ -695,7 +693,7 @@ This interface specifies the optional options object that is passed to the `Driv ````ts -interface ZWaveOptions extends ZWaveHostOptions { +interface ZWaveOptions { /** Specify timeouts in milliseconds */ timeouts: { /** how long to wait for an ACK */ @@ -802,9 +800,26 @@ interface ZWaveOptions extends ZWaveHostOptions { disableOnNodeAdded?: boolean; }; + /** Host abstractions allowing Z-Wave JS to run on different platforms */ + host?: { + /** + * Specifies which bindings are used to access the file system when + * reading or writing the cache, or loading device configuration files. + */ + fs?: FileSystem; + + /** + * Specifies which bindings are used interact with serial ports. + */ + serial?: Serial; + + /** + * Specifies which bindings are used to interact with the database used to store the cache. + */ + db?: DatabaseFactory; + }; + storage: { - /** Allows you to replace the default file system driver used to store and read the cache */ - driver: FileSystem; /** Allows you to specify a different cache directory */ cacheDir: string; /** @@ -1036,12 +1051,11 @@ interface ZWaveOptions extends ZWaveHostOptions { /** DO NOT USE! Used for testing internally */ testingHooks?: { - serialPortBinding?: typeof SerialPort; /** * A hook that allows accessing the serial port instance after opening * and before interacting with it. */ - onSerialPortOpen?: (port: ZWaveSerialPortBase) => Promise; + onSerialPortOpen?: (port: ZWaveSerialStream) => Promise; /** * Set this to true to skip the controller identification sequence. diff --git a/docs/api/zniffer.md b/docs/api/zniffer.md index a3e9c7b73e5d..6b3d42031aa0 100644 --- a/docs/api/zniffer.md +++ b/docs/api/zniffer.md @@ -29,6 +29,8 @@ interface ZnifferOptions { /** Security keys for decrypting Z-Wave Long Range traffic */ securityKeysLongRange?: ZWaveOptions["securityKeysLongRange"]; + host?: ZWaveOptions["host"]; + /** * The RSSI values reported by the Zniffer are not actual RSSI values. * They can be converted to dBm, but the conversion is chip dependent and not documented for 700/800 series Zniffers. diff --git a/packages/cc/cc.api.md b/packages/cc/cc.api.md index d8bf7e8afa31..a9433e75e94e 100644 --- a/packages/cc/cc.api.md +++ b/packages/cc/cc.api.md @@ -20,11 +20,9 @@ import { BroadcastCC } from '@zwave-js/core'; import { Bytes } from '@zwave-js/shared/safe'; import { Bytes as Bytes_2 } from '@zwave-js/shared'; import { CCAddress } from '@zwave-js/core'; -import type { CCEncodingContext } from '@zwave-js/host'; -import type { CCEncodingContext as CCEncodingContext_2 } from '@zwave-js/host/safe'; +import { CCEncodingContext as CCEncodingContext_2 } from '@zwave-js/cc'; import { CCId } from '@zwave-js/core'; -import { CCParsingContext } from '@zwave-js/host'; -import type { CCParsingContext as CCParsingContext_2 } from '@zwave-js/host/safe'; +import { CCParsingContext as CCParsingContext_2 } from '@zwave-js/cc'; import { CentralSceneCCAPI } from '../cc/CentralSceneCC.js'; import { ClimateControlScheduleCCAPI } from '../cc/ClimateControlScheduleCC.js'; import { ClockCCAPI } from '../cc/ClockCC.js'; @@ -46,8 +44,8 @@ import { DoorLockLoggingCCAPI } from '../cc/DoorLockLoggingCC.js'; import { Duration } from '@zwave-js/core/safe'; import { Duration as Duration_2 } from '@zwave-js/core'; import { EncapsulationFlags } from '@zwave-js/core'; -import { EndpointId } from '@zwave-js/core'; -import { EndpointId as EndpointId_2 } from '@zwave-js/core/safe'; +import { EndpointId } from '@zwave-js/core/safe'; +import { EndpointId as EndpointId_2 } from '@zwave-js/core'; import { EnergyProductionCCAPI } from '../cc/EnergyProductionCC.js'; import { EntryControlCCAPI } from '../cc/EntryControlCC.js'; import { FirmwareUpdateMetaDataCCAPI } from '../cc/FirmwareUpdateMetaDataCC.js'; @@ -57,21 +55,18 @@ import { FrameType } from '@zwave-js/core'; import { GetAllEndpoints } from '@zwave-js/core/safe'; import { GetAllEndpoints as GetAllEndpoints_2 } from '@zwave-js/core'; import { GetCCs } from '@zwave-js/core'; -import type { GetCommunicationTimeouts } from '@zwave-js/host'; -import { GetDeviceConfig } from '@zwave-js/host'; -import { GetDeviceConfig as GetDeviceConfig_2 } from '@zwave-js/host/safe'; +import { GetDeviceConfig } from '@zwave-js/config'; import { GetEndpoint } from '@zwave-js/core/safe'; import { GetEndpoint as GetEndpoint_2 } from '@zwave-js/core'; -import type { GetInterviewOptions } from '@zwave-js/host'; -import { GetNode } from '@zwave-js/host'; -import type { GetNode as GetNode_2 } from '@zwave-js/host/safe'; -import type { GetSafeCCVersion } from '@zwave-js/host'; -import type { GetSupportedCCVersion } from '@zwave-js/host'; -import type { GetSupportedCCVersion as GetSupportedCCVersion_2 } from '@zwave-js/host/safe'; -import type { GetUserPreferences } from '@zwave-js/host'; -import { GetValueDB } from '@zwave-js/host'; -import type { GetValueDB as GetValueDB_2 } from '@zwave-js/host/safe'; -import { HostIDs } from '@zwave-js/host'; +import { GetNode } from '@zwave-js/core/safe'; +import { GetNode as GetNode_2 } from '@zwave-js/core'; +import { GetSafeCCVersion } from '@zwave-js/core'; +import { GetSupportedCCVersion } from '@zwave-js/core'; +import { GetSupportedCCVersion as GetSupportedCCVersion_2 } from '@zwave-js/core/safe'; +import { GetValueDB } from '@zwave-js/core/safe'; +import { GetValueDB as GetValueDB_2 } from '@zwave-js/core'; +import { HostIDs } from '@zwave-js/core/safe'; +import { HostIDs as HostIDs_2 } from '@zwave-js/core'; import { HumidityControlModeCCAPI } from '../cc/HumidityControlModeCC.js'; import { HumidityControlOperatingStateCCAPI } from '../cc/HumidityControlOperatingStateCC.js'; import { HumidityControlSetpointCCAPI } from '../cc/HumidityControlSetpointCC.js'; @@ -82,8 +77,8 @@ import { JSONObject } from '@zwave-js/shared'; import { LanguageCCAPI } from '../cc/LanguageCC.js'; import { ListenBehavior } from '@zwave-js/core'; import { LockCCAPI } from '../cc/LockCC.js'; -import type { LogNode } from '@zwave-js/host'; -import type { LookupManufacturer } from '@zwave-js/host'; +import { LogNode } from '@zwave-js/core'; +import { LookupManufacturer } from '@zwave-js/config'; import { ManufacturerProprietaryCCAPI } from '../cc/ManufacturerProprietaryCC.js'; import { ManufacturerSpecificCCAPI } from '../cc/ManufacturerSpecificCC.js'; import { MaybeNotKnown } from '@zwave-js/core/safe'; @@ -127,15 +122,15 @@ import { SceneActivationCCAPI } from '../cc/SceneActivationCC.js'; import { SceneActuatorConfigurationCCAPI } from '../cc/SceneActuatorConfigurationCC.js'; import { SceneControllerConfigurationCCAPI } from '../cc/SceneControllerConfigurationCC.js'; import { ScheduleEntryLockCCAPI } from '../cc/ScheduleEntryLockCC.js'; -import type { SchedulePoll } from '@zwave-js/host'; import { Security2CCAPI } from '../cc/Security2CC.js'; import { SecurityCCAPI } from '../cc/SecurityCC.js'; import { SecurityClass } from '@zwave-js/core'; import { SecurityManager } from '@zwave-js/core'; import { SecurityManagers } from '@zwave-js/core'; import { SecurityManagers as SecurityManagers_2 } from '@zwave-js/core/safe'; -import type { SendCommand } from '@zwave-js/host'; +import { SendCommand as SendCommand_2 } from '@zwave-js/cc'; import { SendCommandOptions } from '@zwave-js/core'; +import { SendCommandReturnType } from '@zwave-js/core'; import { SetSecurityClass } from '@zwave-js/core'; import { SinglecastCC } from '@zwave-js/core'; import { SinglecastCC as SinglecastCC_2 } from '@zwave-js/core/safe'; @@ -161,10 +156,10 @@ import { TypedClassDecorator as TypedClassDecorator_2 } from '@zwave-js/shared'; import { UserCodeCCAPI } from '../cc/UserCodeCC.js'; import { ValueChangeOptions } from '@zwave-js/core'; import { ValueDB } from '@zwave-js/core'; -import { ValueID } from '@zwave-js/core'; -import { ValueID as ValueID_2 } from '@zwave-js/core/safe'; -import { ValueMetadata } from '@zwave-js/core'; -import { ValueMetadata as ValueMetadata_2 } from '@zwave-js/core/safe'; +import { ValueID } from '@zwave-js/core/safe'; +import { ValueID as ValueID_2 } from '@zwave-js/core'; +import { ValueMetadata } from '@zwave-js/core/safe'; +import { ValueMetadata as ValueMetadata_2 } from '@zwave-js/core'; import { VersionCCAPI } from '../cc/VersionCC.js'; import { VirtualEndpointId } from '@zwave-js/core'; import { WakeUpCCAPI } from '../cc/WakeUpCC.js'; @@ -180,7 +175,7 @@ import { ZWavePlusCCAPI } from '../cc/ZWavePlusCC.js'; // Warning: (ae-missing-release-tag) "addAssociations" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -function addAssociations(ctx: CCAPIHost & QuerySecurityClasses>, endpoint: EndpointId_2 & SupportsCC & ControlsCC, group: number, destinations: AssociationAddress[]): Promise; +function addAssociations(ctx: CCAPIHost & QuerySecurityClasses>, endpoint: EndpointId & SupportsCC & ControlsCC, group: number, destinations: AssociationAddress[]): Promise; // Warning: (ae-missing-release-tag) "AlarmSensorCC" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -189,8 +184,8 @@ export class AlarmSensorCC extends CommandClass { // (undocumented) ccCommand: AlarmSensorCommand; // (undocumented) - protected createMetadataForSensorType(ctx: GetValueDB_2, sensorType: AlarmSensorType): void; - static getSupportedSensorTypesCached(ctx: GetValueDB_2, endpoint: EndpointId_2): MaybeNotKnown; + protected createMetadataForSensorType(ctx: GetValueDB, sensorType: AlarmSensorType): void; + static getSupportedSensorTypesCached(ctx: GetValueDB, endpoint: EndpointId): MaybeNotKnown; // (undocumented) interview(ctx: InterviewContext): Promise; // (undocumented) @@ -209,7 +204,7 @@ export class AlarmSensorCCGet extends AlarmSensorCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "AlarmSensorCCGetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -238,7 +233,7 @@ export class AlarmSensorCCReport extends AlarmSensorCC { // (undocumented) readonly state: boolean; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "AlarmSensorCCReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -273,7 +268,7 @@ export class AlarmSensorCCSupportedReport extends AlarmSensorCC { // (undocumented) supportedSensorTypes: AlarmSensorType[]; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "AlarmSensorCCSupportedReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -298,7 +293,7 @@ export const AlarmSensorCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportedSensorTypes"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -337,7 +332,7 @@ export const AlarmSensorCCValues: Readonly<{ readonly propertyKey: AlarmSensorType; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -372,7 +367,7 @@ export const AlarmSensorCCValues: Readonly<{ readonly propertyKey: AlarmSensorType; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -405,7 +400,7 @@ export const AlarmSensorCCValues: Readonly<{ readonly propertyKey: AlarmSensorType; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -454,7 +449,7 @@ export enum AlarmSensorType { // Warning: (ae-missing-release-tag) "AlarmSensorValueMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export type AlarmSensorValueMetadata = ValueMetadata_2 & { +export type AlarmSensorValueMetadata = ValueMetadata & { ccSpecific: { sensorType: AlarmSensorType; }; @@ -479,7 +474,7 @@ export type APIMethodsOf = Omit>, // Warning: (ae-missing-release-tag) "assignLifelineIssueingCommand" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -function assignLifelineIssueingCommand(ctx: CCAPIHost & QuerySecurityClasses>, endpoint: EndpointId_2, ccId: CommandClasses, ccCommand: number): Promise; +function assignLifelineIssueingCommand(ctx: CCAPIHost & QuerySecurityClasses>, endpoint: EndpointId, ccId: CommandClasses, ccCommand: number): Promise; // Warning: (ae-missing-release-tag) "AssociationAddress" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -499,9 +494,9 @@ export class AssociationCC extends CommandClass { ccCommand: AssociationCommand; // (undocumented) determineRequiredCCInterviews(): readonly CommandClasses[]; - static getAllDestinationsCached(ctx: GetValueDB_2, endpoint: EndpointId_2): ReadonlyMap; - static getGroupCountCached(ctx: GetValueDB_2, endpoint: EndpointId_2): number; - static getMaxNodesCached(ctx: GetValueDB_2 & GetDeviceConfig_2, endpoint: EndpointId_2, groupId: number): number; + static getAllDestinationsCached(ctx: GetValueDB, endpoint: EndpointId): ReadonlyMap; + static getGroupCountCached(ctx: GetValueDB, endpoint: EndpointId): number; + static getMaxNodesCached(ctx: GetValueDB & GetDeviceConfig, endpoint: EndpointId, groupId: number): number; // (undocumented) interview(ctx: InterviewContext): Promise; // (undocumented) @@ -520,7 +515,7 @@ export class AssociationCCGet extends AssociationCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "AssociationCCGetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -545,7 +540,7 @@ export class AssociationCCRemove extends AssociationCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "AssociationCCRemoveOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -571,16 +566,20 @@ export class AssociationCCReport extends AssociationCC { groupId: number; // (undocumented) maxNodes: number; - // (undocumented) + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/cc" does not have an export "mergePartialCCsAsync" + // + // @deprecated (undocumented) mergePartialCCs(partials: AssociationCCReport[], _ctx: CCParsingContext_2): void; // (undocumented) + mergePartialCCsAsync(partials: AssociationCCReport[], _ctx: CCParsingContext_2): Promise; + // (undocumented) nodeIds: number[]; // (undocumented) reportsToFollow: number; // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "AssociationCCReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -611,7 +610,7 @@ export class AssociationCCSet extends AssociationCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "AssociationCCSetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -642,7 +641,7 @@ export class AssociationCCSpecificGroupReport extends AssociationCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "AssociationCCSpecificGroupReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -671,7 +670,7 @@ export class AssociationCCSupportedGroupingsReport extends AssociationCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "AssociationCCSupportedGroupingsReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -704,7 +703,7 @@ export const AssociationCCValues: Readonly<{ readonly propertyKey: number; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly stateful: true; readonly secret: false; @@ -732,7 +731,7 @@ export const AssociationCCValues: Readonly<{ readonly propertyKey: number; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly stateful: true; readonly secret: false; @@ -752,7 +751,7 @@ export const AssociationCCValues: Readonly<{ readonly endpoint: number; readonly property: "groupCount"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -777,7 +776,7 @@ export const AssociationCCValues: Readonly<{ readonly endpoint: number; readonly property: "hasLifeline"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -851,10 +850,10 @@ export class AssociationGroupInfoCC extends CommandClass { // (undocumented) determineRequiredCCInterviews(): readonly CommandClasses[]; // (undocumented) - static findGroupsForIssuedCommand(ctx: GetValueDB_2, endpoint: EndpointId_2 & SupportsCC, ccId: CommandClasses, command: number): number[]; - static getGroupNameCached(ctx: GetValueDB_2, endpoint: EndpointId_2, groupId: number): MaybeNotKnown; - static getGroupProfileCached(ctx: GetValueDB_2, endpoint: EndpointId_2, groupId: number): MaybeNotKnown; - static getIssuedCommandsCached(ctx: GetValueDB_2, endpoint: EndpointId_2, groupId: number): MaybeNotKnown>; + static findGroupsForIssuedCommand(ctx: GetValueDB, endpoint: EndpointId & SupportsCC, ccId: CommandClasses, command: number): number[]; + static getGroupNameCached(ctx: GetValueDB, endpoint: EndpointId, groupId: number): MaybeNotKnown; + static getGroupProfileCached(ctx: GetValueDB, endpoint: EndpointId, groupId: number): MaybeNotKnown; + static getIssuedCommandsCached(ctx: GetValueDB, endpoint: EndpointId, groupId: number): MaybeNotKnown>; // (undocumented) interview(ctx: InterviewContext): Promise; // (undocumented) @@ -875,7 +874,7 @@ export class AssociationGroupInfoCCCommandListGet extends AssociationGroupInfoCC // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "AssociationGroupInfoCCCommandListGetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -902,7 +901,7 @@ export class AssociationGroupInfoCCCommandListReport extends AssociationGroupInf // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "AssociationGroupInfoCCCommandListReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -931,7 +930,7 @@ export class AssociationGroupInfoCCInfoGet extends AssociationGroupInfoCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "AssociationGroupInfoCCInfoGetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -965,7 +964,7 @@ export class AssociationGroupInfoCCInfoReport extends AssociationGroupInfoCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "AssociationGroupInfoCCInfoReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -992,7 +991,7 @@ export class AssociationGroupInfoCCNameGet extends AssociationGroupInfoCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "AssociationGroupInfoCCNameGetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -1019,7 +1018,7 @@ export class AssociationGroupInfoCCNameReport extends AssociationGroupInfoCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "AssociationGroupInfoCCNameReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -1054,7 +1053,7 @@ export const AssociationGroupInfoCCValues: Readonly<{ readonly propertyKey: number; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly stateful: true; readonly secret: false; @@ -1082,7 +1081,7 @@ export const AssociationGroupInfoCCValues: Readonly<{ readonly propertyKey: number; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly stateful: true; readonly secret: false; @@ -1110,7 +1109,7 @@ export const AssociationGroupInfoCCValues: Readonly<{ readonly propertyKey: number; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly stateful: true; readonly secret: false; @@ -1130,7 +1129,7 @@ export const AssociationGroupInfoCCValues: Readonly<{ readonly endpoint: number; readonly property: "hasDynamicInfo"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -1541,7 +1540,7 @@ export class BarrierOperatorCCEventSignalingGet extends BarrierOperatorCC { // (undocumented) subsystemType: SubsystemType; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "BarrierOperatorCCEventSignalingGetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -1566,7 +1565,7 @@ export class BarrierOperatorCCEventSignalingReport extends BarrierOperatorCC { // (undocumented) readonly subsystemType: SubsystemType; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "BarrierOperatorCCEventSignalingReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -1593,7 +1592,7 @@ export class BarrierOperatorCCEventSignalingSet extends BarrierOperatorCC { // (undocumented) subsystemType: SubsystemType; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "BarrierOperatorCCEventSignalingSetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -1624,7 +1623,7 @@ export class BarrierOperatorCCReport extends BarrierOperatorCC { // (undocumented) readonly position: MaybeUnknown; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "BarrierOperatorCCReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -1649,7 +1648,7 @@ export class BarrierOperatorCCSet extends BarrierOperatorCC { // (undocumented) targetState: BarrierState.Open | BarrierState.Closed; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "BarrierOperatorCCSetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -1676,7 +1675,7 @@ export class BarrierOperatorCCSignalingCapabilitiesReport extends BarrierOperato // (undocumented) readonly supportedSubsystemTypes: readonly SubsystemType[]; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "BarrierOperatorCCSignalingCapabilitiesReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -1715,7 +1714,7 @@ export const BarrierOperatorCCValues: Readonly<{ readonly propertyKey: SubsystemType; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -1735,7 +1734,7 @@ export const BarrierOperatorCCValues: Readonly<{ readonly endpoint: number; readonly property: "currentState"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Current Barrier State"; readonly states: { @@ -1766,7 +1765,7 @@ export const BarrierOperatorCCValues: Readonly<{ readonly endpoint: number; readonly property: "targetState"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Target Barrier State"; readonly states: { @@ -1797,7 +1796,7 @@ export const BarrierOperatorCCValues: Readonly<{ readonly endpoint: number; readonly property: "position"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Barrier Position"; readonly unit: "%"; @@ -1826,7 +1825,7 @@ export const BarrierOperatorCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportedSubsystemTypes"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -1888,7 +1887,7 @@ export class BasicCC extends CommandClass { // (undocumented) ccCommand: BasicCommand; // (undocumented) - getDefinedValueIDs(ctx: GetValueDB_2 & GetSupportedCCVersion_2 & GetDeviceConfig_2 & GetNode_2>): ValueID_2[]; + getDefinedValueIDs(ctx: GetValueDB & GetSupportedCCVersion_2 & GetDeviceConfig & GetNode>): ValueID[]; // (undocumented) interview(ctx: InterviewContext): Promise; // (undocumented) @@ -1919,7 +1918,7 @@ export class BasicCCReport extends BasicCC { // (undocumented) readonly targetValue: MaybeUnknown | undefined; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "BasicCCReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -1946,7 +1945,7 @@ export class BasicCCSet extends BasicCC { // (undocumented) targetValue: number; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "BasicCCSetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -1971,7 +1970,7 @@ export const BasicCCValues: Readonly<{ readonly endpoint: number; readonly property: "event"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Event value"; readonly writeable: false; @@ -1999,7 +1998,7 @@ export const BasicCCValues: Readonly<{ readonly endpoint: number; readonly property: "restorePrevious"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Restore previous value"; readonly states: { @@ -2028,7 +2027,7 @@ export const BasicCCValues: Readonly<{ readonly endpoint: number; readonly property: "duration"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Remaining duration"; readonly minVersion: number; @@ -2055,7 +2054,7 @@ export const BasicCCValues: Readonly<{ readonly endpoint: number; readonly property: "targetValue"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Target value"; readonly forceCreation: boolean; @@ -2084,7 +2083,7 @@ export const BasicCCValues: Readonly<{ readonly endpoint: number; readonly property: "currentValue"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Current value"; readonly writeable: false; @@ -2127,7 +2126,7 @@ export class BatteryCC extends CommandClass { // (undocumented) refreshValues(ctx: RefreshValuesContext): Promise; // (undocumented) - shouldRefreshValues(this: SinglecastCC_2, ctx: GetValueDB_2 & GetSupportedCCVersion_2 & GetDeviceConfig_2 & GetNode_2>): boolean; + shouldRefreshValues(this: SinglecastCC_2, ctx: GetValueDB_2 & GetSupportedCCVersion & GetDeviceConfig & GetNode_2>): boolean; } // Warning: (ae-missing-release-tag) "BatteryCCGet" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -2241,7 +2240,7 @@ export const BatteryCCValues: Readonly<{ readonly endpoint: number; readonly property: "lowTemperatureStatus"; }; - readonly is: (valueId: ValueID) => boolean; + readonly is: (valueId: ValueID_2) => boolean; readonly meta: { readonly label: "Battery temperature is low"; readonly writeable: false; @@ -2267,7 +2266,7 @@ export const BatteryCCValues: Readonly<{ readonly endpoint: number; readonly property: "disconnected"; }; - readonly is: (valueId: ValueID) => boolean; + readonly is: (valueId: ValueID_2) => boolean; readonly meta: { readonly label: "Battery is disconnected"; readonly writeable: false; @@ -2293,7 +2292,7 @@ export const BatteryCCValues: Readonly<{ readonly endpoint: number; readonly property: "rechargeOrReplace"; }; - readonly is: (valueId: ValueID) => boolean; + readonly is: (valueId: ValueID_2) => boolean; readonly meta: { readonly label: "Recharge or replace"; readonly states: { @@ -2324,7 +2323,7 @@ export const BatteryCCValues: Readonly<{ readonly endpoint: number; readonly property: "lowFluid"; }; - readonly is: (valueId: ValueID) => boolean; + readonly is: (valueId: ValueID_2) => boolean; readonly meta: { readonly label: "Fluid is low"; readonly writeable: false; @@ -2350,7 +2349,7 @@ export const BatteryCCValues: Readonly<{ readonly endpoint: number; readonly property: "overheating"; }; - readonly is: (valueId: ValueID) => boolean; + readonly is: (valueId: ValueID_2) => boolean; readonly meta: { readonly label: "Overheating"; readonly writeable: false; @@ -2376,7 +2375,7 @@ export const BatteryCCValues: Readonly<{ readonly endpoint: number; readonly property: "backup"; }; - readonly is: (valueId: ValueID) => boolean; + readonly is: (valueId: ValueID_2) => boolean; readonly meta: { readonly label: "Used as backup"; readonly writeable: false; @@ -2402,7 +2401,7 @@ export const BatteryCCValues: Readonly<{ readonly endpoint: number; readonly property: "rechargeable"; }; - readonly is: (valueId: ValueID) => boolean; + readonly is: (valueId: ValueID_2) => boolean; readonly meta: { readonly label: "Rechargeable"; readonly writeable: false; @@ -2428,7 +2427,7 @@ export const BatteryCCValues: Readonly<{ readonly endpoint: number; readonly property: "chargingStatus"; }; - readonly is: (valueId: ValueID) => boolean; + readonly is: (valueId: ValueID_2) => boolean; readonly meta: { readonly label: "Charging status"; readonly states: { @@ -2459,7 +2458,7 @@ export const BatteryCCValues: Readonly<{ readonly endpoint: number; readonly property: "temperature"; }; - readonly is: (valueId: ValueID) => boolean; + readonly is: (valueId: ValueID_2) => boolean; readonly meta: { readonly label: "Temperature"; readonly writeable: false; @@ -2487,7 +2486,7 @@ export const BatteryCCValues: Readonly<{ readonly endpoint: number; readonly property: "maximumCapacity"; }; - readonly is: (valueId: ValueID) => boolean; + readonly is: (valueId: ValueID_2) => boolean; readonly meta: { readonly max: 100; readonly unit: "%"; @@ -2516,7 +2515,7 @@ export const BatteryCCValues: Readonly<{ readonly endpoint: number; readonly property: "isLow"; }; - readonly is: (valueId: ValueID) => boolean; + readonly is: (valueId: ValueID_2) => boolean; readonly meta: { readonly label: "Low battery level"; readonly writeable: false; @@ -2542,7 +2541,7 @@ export const BatteryCCValues: Readonly<{ readonly endpoint: number; readonly property: "level"; }; - readonly is: (valueId: ValueID) => boolean; + readonly is: (valueId: ValueID_2) => boolean; readonly meta: { readonly max: 100; readonly unit: "%"; @@ -2607,13 +2606,13 @@ export enum BatteryReplacementStatus { export class BinarySensorCC extends CommandClass { // (undocumented) ccCommand: BinarySensorCommand; - static getSupportedSensorTypesCached(ctx: GetValueDB_2, endpoint: EndpointId_2): MaybeNotKnown; + static getSupportedSensorTypesCached(ctx: GetValueDB, endpoint: EndpointId): MaybeNotKnown; // (undocumented) interview(ctx: InterviewContext): Promise; // (undocumented) refreshValues(ctx: RefreshValuesContext): Promise; // (undocumented) - setMappedBasicValue(ctx: GetValueDB_2, value: number): boolean; + setMappedBasicValue(ctx: GetValueDB, value: number): boolean; } // Warning: (ae-missing-release-tag) "BinarySensorCCGet" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -2628,7 +2627,7 @@ export class BinarySensorCCGet extends BinarySensorCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "BinarySensorCCGetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -2651,7 +2650,7 @@ export class BinarySensorCCReport extends BinarySensorCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) type: BinarySensorType; // (undocumented) @@ -2686,7 +2685,7 @@ export class BinarySensorCCSupportedReport extends BinarySensorCC { // (undocumented) supportedSensorTypes: BinarySensorType[]; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "BinarySensorCCSupportedReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -2721,7 +2720,7 @@ export const BinarySensorCCValues: Readonly<{ readonly property: string; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -2741,7 +2740,7 @@ export const BinarySensorCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportedSensorTypes"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -2809,7 +2808,7 @@ export enum BinarySensorType { // Warning: (ae-missing-release-tag) "BinarySensorValueMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export type BinarySensorValueMetadata = ValueMetadata_2 & { +export type BinarySensorValueMetadata = ValueMetadata & { ccSpecific: { sensorType: BinarySensorType; }; @@ -2826,7 +2825,7 @@ export class BinarySwitchCC extends CommandClass { // (undocumented) refreshValues(ctx: RefreshValuesContext): Promise; // (undocumented) - setMappedBasicValue(ctx: GetValueDB_2, value: number): boolean; + setMappedBasicValue(ctx: GetValueDB, value: number): boolean; } // Warning: (ae-missing-release-tag) "BinarySwitchCCGet" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -2851,7 +2850,7 @@ export class BinarySwitchCCReport extends BinarySwitchCC { // (undocumented) readonly targetValue: MaybeUnknown | undefined; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "BinarySwitchCCReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -2880,7 +2879,7 @@ export class BinarySwitchCCSet extends BinarySwitchCC { // (undocumented) targetValue: boolean; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "BinarySwitchCCSetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -2907,7 +2906,7 @@ export const BinarySwitchCCValues: Readonly<{ readonly endpoint: number; readonly property: "duration"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Remaining duration"; readonly writeable: false; @@ -2933,7 +2932,7 @@ export const BinarySwitchCCValues: Readonly<{ readonly endpoint: number; readonly property: "targetValue"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Target value"; readonly valueChangeOptions: readonly ["transitionDuration"]; @@ -2960,7 +2959,7 @@ export const BinarySwitchCCValues: Readonly<{ readonly endpoint: number; readonly property: "currentValue"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Current value"; readonly writeable: false; @@ -3003,7 +3002,7 @@ export class CCAPI { protected [SET_VALUE_HOOKS]: SetValueImplementationHooksFactory | undefined; constructor(host: CCAPIHost, endpoint: CCAPIEndpoint); // (undocumented) - protected assertPhysicalEndpoint(endpoint: EndpointId | VirtualEndpointId): asserts endpoint is EndpointId; + protected assertPhysicalEndpoint(endpoint: EndpointId_2 | VirtualEndpointId): asserts endpoint is EndpointId_2; // (undocumented) protected assertSupportsCommand(commandEnum: unknown, command: number): void; readonly ccId: CommandClasses_2; @@ -3027,14 +3026,14 @@ export class CCAPI { nodeId: number[]; }; }; - isSetValueOptimistic(valueId: ValueID): boolean; + isSetValueOptimistic(valueId: ValueID_2): boolean; // (undocumented) protected isSinglecast(): this is this & { endpoint: PhysicalCCAPIEndpoint; }; isSupported(): boolean; get pollValue(): PollValueImplementation | undefined; - protected schedulePoll({ property, propertyKey }: ValueIDProperties, expectedValue: unknown, { duration, transition }?: SchedulePollOptions): boolean; + protected schedulePoll({ property, propertyKey }: ValueIDProperties, expectedValue: unknown, { duration, transition }?: CCAPISchedulePollOptions): boolean; get setValue(): SetValueImplementation | undefined; get setValueHooks(): SetValueImplementationHooksFactory | undefined; // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/cc" does not have an export "NOT_KNOWN" @@ -3048,14 +3047,14 @@ export class CCAPI { // Warning: (ae-missing-release-tag) "CCAPIEndpoint" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export type CCAPIEndpoint = ((EndpointId & ControlsCC_2) | (VirtualEndpointId & { - node: PhysicalNodes>; +export type CCAPIEndpoint = ((EndpointId_2 & ControlsCC_2) | (VirtualEndpointId & { + node: PhysicalNodes>; })) & SupportsCC_2; // Warning: (ae-missing-release-tag) "CCAPIHost" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export type CCAPIHost = HostIDs & GetNode & GetValueDB & GetSupportedCCVersion & GetSafeCCVersion & SecurityManagers & GetDeviceConfig & SendCommand & GetCommunicationTimeouts & GetUserPreferences & SchedulePoll & LogNode; +export type CCAPIHost = HostIDs_2 & GetNode_2 & GetValueDB_2 & GetSupportedCCVersion & GetSafeCCVersion & SecurityManagers & GetDeviceConfig & SendCommand_2 & GetRefreshValueTimeouts & GetUserPreferences & SchedulePoll & LogNode; // Warning: (ae-missing-release-tag) "CCAPINode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -3194,6 +3193,16 @@ export interface CCAPIs { Version: VersionCCAPI; } +// Warning: (ae-missing-release-tag) "CCAPISchedulePollOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface CCAPISchedulePollOptions { + // (undocumented) + duration?: Duration_2; + // (undocumented) + transition?: "fast" | "slow"; +} + // Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration // Warning: (ae-missing-release-tag) "CCCommand" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -3207,10 +3216,22 @@ export type CCConstructor = typeof CommandClass & { new (options: any): T; }; +// Warning: (ae-missing-release-tag) "CCEncodingContext" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface CCEncodingContext extends Readonly, GetDeviceConfig, HostIDs_2, GetSupportedCCVersion { + // (undocumented) + getHighestSecurityClass(nodeId: number): MaybeNotKnown_2; + // (undocumented) + hasSecurityClass(nodeId: number, securityClass: SecurityClass): MaybeNotKnown_2; + // (undocumented) + setSecurityClass(nodeId: number, securityClass: SecurityClass, granted: boolean): void; +} + // Warning: (ae-missing-release-tag) "CCEndpoint" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export type CCEndpoint = EndpointId & SupportsCC_2 & ControlsCC_2 & GetCCs & ModifyCCs; +export type CCEndpoint = EndpointId_2 & SupportsCC_2 & ControlsCC_2 & GetCCs & ModifyCCs; // Warning: (ae-missing-release-tag) "CCNameOrId" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -3222,6 +3243,23 @@ export type CCNameOrId = CommandClasses_2 | Extract; // @public (undocumented) export type CCNode = NodeId_2 & SupportsCC_2 & ControlsCC_2 & GetCCs & GetEndpoint_2 & GetAllEndpoints_2 & QuerySecurityClasses_2 & SetSecurityClass & ListenBehavior & QueryNodeStatus; +// Warning: (ae-missing-release-tag) "CCParsingContext" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface CCParsingContext extends Readonly, GetDeviceConfig, HostIDs_2 { + // (undocumented) + __internalIsMockNode?: boolean; + frameType: FrameType; + // (undocumented) + getHighestSecurityClass(nodeId: number): MaybeNotKnown_2; + // (undocumented) + hasSecurityClass(nodeId: number, securityClass: SecurityClass): MaybeNotKnown_2; + // (undocumented) + setSecurityClass(nodeId: number, securityClass: SecurityClass, granted: boolean): void; + // (undocumented) + sourceNodeId: number; +} + // Warning: (ae-missing-release-tag) "CCRaw" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) @@ -3329,7 +3367,7 @@ export class CentralSceneCCConfigurationReport extends CentralSceneCC { // (undocumented) readonly slowRefresh: boolean; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "CentralSceneCCConfigurationReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -3352,7 +3390,7 @@ export class CentralSceneCCConfigurationSet extends CentralSceneCC { // (undocumented) slowRefresh: boolean; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "CentralSceneCCConfigurationSetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -3381,7 +3419,7 @@ export class CentralSceneCCNotification extends CentralSceneCC { // (undocumented) readonly slowRefresh: boolean | undefined; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "CentralSceneCCNotificationOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -3420,7 +3458,7 @@ export class CentralSceneCCSupportedReport extends CentralSceneCC { // (undocumented) readonly supportsSlowRefresh: MaybeNotKnown; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "CentralSceneCCSupportedReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -3460,7 +3498,7 @@ export const CentralSceneCCValues: Readonly<{ readonly propertyKey: string; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly secret: false; readonly internal: false; @@ -3480,7 +3518,7 @@ export const CentralSceneCCValues: Readonly<{ readonly endpoint: number; readonly property: "slowRefresh"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Send held down notifications at a slow rate"; readonly description: "When this is true, KeyHeldDown notifications are sent every 55s. When this is false, the notifications are sent every 200ms."; @@ -3507,7 +3545,7 @@ export const CentralSceneCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportedKeyAttributes"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -3532,7 +3570,7 @@ export const CentralSceneCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportsSlowRefresh"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -3557,7 +3595,7 @@ export const CentralSceneCCValues: Readonly<{ readonly endpoint: number; readonly property: "sceneCount"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -3615,7 +3653,7 @@ export enum CentralSceneKeys { // Warning: (ae-missing-release-tag) "checkAssociation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -function checkAssociation(ctx: HostIDs & GetValueDB & GetNode & QuerySecurityClasses>, endpoint: EndpointId_2 & SupportsCC & ControlsCC, group: number, destination: AssociationAddress): AssociationCheckResult; +function checkAssociation(ctx: HostIDs & GetValueDB & GetNode & QuerySecurityClasses>, endpoint: EndpointId & SupportsCC & ControlsCC, group: number, destination: AssociationAddress): AssociationCheckResult; // Warning: (ae-missing-release-tag) "ClimateControlScheduleCC" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -3641,7 +3679,7 @@ export class ClimateControlScheduleCCChangedReport extends ClimateControlSchedul // (undocumented) static from(raw: CCRaw, ctx: CCParsingContext_2): ClimateControlScheduleCCChangedReport; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "ClimateControlScheduleCCChangedReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -3662,7 +3700,7 @@ export class ClimateControlScheduleCCGet extends ClimateControlScheduleCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) weekday: Weekday; } @@ -3693,7 +3731,7 @@ export class ClimateControlScheduleCCOverrideReport extends ClimateControlSchedu // (undocumented) readonly overrideType: ScheduleOverrideType; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "ClimateControlScheduleCCOverrideReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -3720,7 +3758,7 @@ export class ClimateControlScheduleCCOverrideSet extends ClimateControlScheduleC // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "ClimateControlScheduleCCOverrideSetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -3743,7 +3781,7 @@ export class ClimateControlScheduleCCReport extends ClimateControlScheduleCC { // (undocumented) readonly schedule: readonly Switchpoint[]; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) readonly weekday: Weekday; } @@ -3770,7 +3808,7 @@ export class ClimateControlScheduleCCSet extends ClimateControlScheduleCC { // (undocumented) switchPoints: Switchpoint[]; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) weekday: Weekday; } @@ -3808,7 +3846,7 @@ export const ClimateControlScheduleCCValues: Readonly<{ readonly propertyKey: Weekday; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -3828,7 +3866,7 @@ export const ClimateControlScheduleCCValues: Readonly<{ readonly endpoint: number; readonly property: "overrideState"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Override state"; readonly min: -12.8; @@ -3855,7 +3893,7 @@ export const ClimateControlScheduleCCValues: Readonly<{ readonly endpoint: number; readonly property: "overrideType"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Override type"; readonly states: { @@ -3928,7 +3966,7 @@ export class ClockCCReport extends ClockCC { // (undocumented) readonly minute: number; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) readonly weekday: Weekday; } @@ -3959,7 +3997,7 @@ export class ClockCCSet extends ClockCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) weekday: Weekday; } @@ -4251,7 +4289,7 @@ export const ColorSwitchCCValues: Readonly<{ readonly propertyKey: ColorComponent; }; }) & { - is: (valueId: ValueID) => boolean; + is: (valueId: ValueID_2) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -4283,7 +4321,7 @@ export const ColorSwitchCCValues: Readonly<{ readonly propertyKey: ColorComponent; }; }) & { - is: (valueId: ValueID) => boolean; + is: (valueId: ValueID_2) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -4303,7 +4341,7 @@ export const ColorSwitchCCValues: Readonly<{ readonly endpoint: number; readonly property: "hexColor"; }; - readonly is: (valueId: ValueID) => boolean; + readonly is: (valueId: ValueID_2) => boolean; readonly meta: { readonly minLength: 6; readonly maxLength: 7; @@ -4332,7 +4370,7 @@ export const ColorSwitchCCValues: Readonly<{ readonly endpoint: number; readonly property: "duration"; }; - readonly is: (valueId: ValueID) => boolean; + readonly is: (valueId: ValueID_2) => boolean; readonly meta: { readonly label: "Remaining duration"; readonly writeable: false; @@ -4358,7 +4396,7 @@ export const ColorSwitchCCValues: Readonly<{ readonly endpoint: number; readonly property: "targetColor"; }; - readonly is: (valueId: ValueID) => boolean; + readonly is: (valueId: ValueID_2) => boolean; readonly meta: { readonly label: "Target color"; readonly valueChangeOptions: readonly ["transitionDuration"]; @@ -4385,7 +4423,7 @@ export const ColorSwitchCCValues: Readonly<{ readonly endpoint: number; readonly property: "currentColor"; }; - readonly is: (valueId: ValueID) => boolean; + readonly is: (valueId: ValueID_2) => boolean; readonly meta: { readonly label: "Current color"; readonly writeable: false; @@ -4411,7 +4449,7 @@ export const ColorSwitchCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportsHexColor"; }; - readonly is: (valueId: ValueID) => boolean; + readonly is: (valueId: ValueID_2) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -4436,7 +4474,7 @@ export const ColorSwitchCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportedColorComponents"; }; - readonly is: (valueId: ValueID) => boolean; + readonly is: (valueId: ValueID_2) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -4489,33 +4527,37 @@ export class CommandClass implements CCId { // (undocumented) get ccName(): string; protected computeEncapsulationOverhead(): number; - static createInstanceUnchecked(endpoint: EndpointId, cc: CommandClasses_2 | CCConstructor): T | undefined; + static createInstanceUnchecked(endpoint: EndpointId_2, cc: CommandClasses_2 | CCConstructor): T | undefined; determineRequiredCCInterviews(): readonly CommandClasses_2[]; encapsulatingCC?: EncapsulatingCommandClass; encapsulationFlags: EncapsulationFlags; endpointIndex: number; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-forgotten-export) The symbol "CCValue" needs to be exported by the entry point index.d.ts - protected ensureMetadata(ctx: GetValueDB, ccValue: CCValue, meta?: ValueMetadata): void; + protected ensureMetadata(ctx: GetValueDB_2, ccValue: CCValue, meta?: ValueMetadata_2): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen expectMoreMessages(_session: CommandClass[]): boolean; expectsCCResponse(): boolean; readonly frameType?: FrameType; + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/cc" does not have an export "fromAsync" + // + // @deprecated (undocumented) + static from(raw: CCRaw, ctx: CCParsingContext_2): CommandClass; // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): CommandClass; - protected getCCValue(valueId: ValueID): StaticCCValue | DynamicCCValue | undefined; - getDefinedValueIDs(ctx: GetValueDB & GetSupportedCCVersion & GetDeviceConfig & GetNode>, includeInternal?: boolean): ValueID[]; + static fromAsync(raw: CCRaw, ctx: CCParsingContext_2): Promise; + protected getCCValue(valueId: ValueID_2): StaticCCValue | DynamicCCValue | undefined; + getDefinedValueIDs(ctx: GetValueDB_2 & GetSupportedCCVersion & GetDeviceConfig & GetNode_2>, includeInternal?: boolean): ValueID_2[]; getEncapsulatedCC(ccId: CommandClasses_2, ccCommand?: number): CommandClass | undefined; getEncapsulatingCC(ccId: CommandClasses_2, ccCommand?: number): CommandClass | undefined; // (undocumented) - getEndpoint(ctx: GetNode>): T | undefined; + getEndpoint(ctx: GetNode_2>): T | undefined; getMaxPayloadLength(baseLength: number): number; - protected getMetadata(ctx: GetValueDB, ccValue: CCValue): T | undefined; - getNode(ctx: GetNode): T | undefined; + protected getMetadata(ctx: GetValueDB_2, ccValue: CCValue): T | undefined; + getNode(ctx: GetNode_2): T | undefined; getPartialCCSessionId(): Record | undefined; - protected getValue(ctx: GetValueDB, ccValue: CCValue): T | undefined; - protected getValueDB(ctx: GetValueDB): ValueDB; - protected getValueTimestamp(ctx: GetValueDB, ccValue: CCValue): number | undefined; + protected getValue(ctx: GetValueDB_2, ccValue: CCValue): T | undefined; + protected getValueDB(ctx: GetValueDB_2): ValueDB; + protected getValueTimestamp(ctx: GetValueDB_2, ccValue: CCValue): number | undefined; interview(_ctx: InterviewContext): Promise; // (undocumented) isBroadcast(): this is BroadcastCC; @@ -4524,17 +4566,25 @@ export class CommandClass implements CCId { isExpectedCCResponse(received: CommandClass): boolean; isExtended(): boolean; isInternalValue(properties: ValueIDProperties): boolean; - isInterviewComplete(host: GetValueDB): boolean; + isInterviewComplete(host: GetValueDB_2): boolean; // (undocumented) isMulticast(): this is MulticastCC; isSecretValue(properties: ValueIDProperties): boolean; // (undocumented) isSinglecast(): this is SinglecastCC; isStatefulValue(properties: ValueIDProperties): boolean; - mergePartialCCs(_partials: CommandClass[], _ctx: CCParsingContext): void; + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/cc" does not have an export "mergePartialCCsAsync" + // + // @deprecated + mergePartialCCs(_partials: CommandClass[], _ctx: CCParsingContext_2): void; + mergePartialCCsAsync(_partials: CommandClass[], _ctx: CCParsingContext_2): Promise; nodeId: number | MulticastDestination; + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/cc" does not have an export "parseAsync" + // + // @deprecated (undocumented) + static parse(data: Uint8Array, ctx: CCParsingContext_2): CommandClass; // (undocumented) - static parse(data: Uint8Array, ctx: CCParsingContext): CommandClass; + static parseAsync(data: Uint8Array, ctx: CCParsingContext_2): Promise; // (undocumented) payload: Bytes_2; // Warning: (tsdoc-characters-after-block-tag) The token "@ccValue" looks like a TSDoc tag but contains an invalid character "."; if it is not a tag, use a backslash to escape the "@" @@ -4542,28 +4592,32 @@ export class CommandClass implements CCId { // (undocumented) prepareRetransmission(): void; refreshValues(_ctx: RefreshValuesContext): Promise; - protected removeMetadata(ctx: GetValueDB, ccValue: CCValue): void; - protected removeValue(ctx: GetValueDB, ccValue: CCValue): void; - serialize(ctx: CCEncodingContext): Bytes_2; - setInterviewComplete(host: GetValueDB, complete: boolean): void; + protected removeMetadata(ctx: GetValueDB_2, ccValue: CCValue): void; + protected removeValue(ctx: GetValueDB_2, ccValue: CCValue): void; + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/cc" does not have an export "serializeAsync" + // + // @deprecated + serialize(ctx: CCEncodingContext_2): Bytes_2; + serializeAsync(ctx: CCEncodingContext_2): Promise; + setInterviewComplete(host: GetValueDB_2, complete: boolean): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - setMappedBasicValue(_ctx: GetValueDB, _value: number): boolean; + setMappedBasicValue(_ctx: GetValueDB_2, _value: number): boolean; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - protected setMetadata(ctx: GetValueDB, ccValue: CCValue, meta?: ValueMetadata): void; - protected setValue(ctx: GetValueDB, ccValue: CCValue, value: unknown): void; - shouldRefreshValues(this: SinglecastCC, _ctx: GetValueDB & GetSupportedCCVersion & GetDeviceConfig & GetNode>): boolean; + protected setMetadata(ctx: GetValueDB_2, ccValue: CCValue, meta?: ValueMetadata_2): void; + protected setValue(ctx: GetValueDB_2, ccValue: CCValue, value: unknown): void; + shouldRefreshValues(this: SinglecastCC, _ctx: GetValueDB_2 & GetSupportedCCVersion & GetDeviceConfig & GetNode_2>): boolean; skipEndpointInterview(): boolean; // (undocumented) protected throwMissingCriticalInterviewResponse(): never; toggleEncapsulationFlag(flag: EncapsulationFlags, active: boolean): void; toJSON(): JSONObject; - toLogEntry(_ctx?: GetValueDB): MessageOrCCLogEntry; + toLogEntry(_ctx?: GetValueDB_2): MessageOrCCLogEntry; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - translateProperty(_ctx: GetValueDB, property: string | number, _propertyKey?: string | number): string; + translateProperty(_ctx: GetValueDB_2, property: string | number, _propertyKey?: string | number): string; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - translatePropertyKey(_ctx: GetValueDB, _property: string | number, propertyKey: string | number): string | undefined; + translatePropertyKey(_ctx: GetValueDB_2, _property: string | number, propertyKey: string | number): string | undefined; } // Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration @@ -4590,25 +4644,25 @@ export interface CommandClassOptions extends CCAddress { export class ConfigurationCC extends CommandClass { // (undocumented) ccCommand: ConfigurationCommand; - composePartialParamValue(ctx: GetValueDB_2, parameter: number, bitMask: number, partialValue: number): number; - composePartialParamValues(ctx: GetValueDB_2, parameter: number, partials: { + composePartialParamValue(ctx: GetValueDB, parameter: number, bitMask: number, partialValue: number): number; + composePartialParamValues(ctx: GetValueDB, parameter: number, partials: { bitMask: number; partialValue: number; }[]): number; - deserializeParamInformationFromConfig(ctx: GetValueDB_2 & GetDeviceConfig_2, config: ParamInfoMap): void; - getPartialParamInfos(ctx: GetValueDB_2, parameter: number): (ValueID_2 & { + deserializeParamInformationFromConfig(ctx: GetValueDB & GetDeviceConfig, config: ParamInfoMap): void; + getPartialParamInfos(ctx: GetValueDB, parameter: number): (ValueID & { metadata: ConfigurationMetadata; })[]; - getQueriedParamInfos(ctx: GetValueDB_2 & GetSupportedCCVersion_2 & GetDeviceConfig_2 & GetNode_2>): Record; + getQueriedParamInfos(ctx: GetValueDB & GetSupportedCCVersion_2 & GetDeviceConfig & GetNode>): Record; // (undocumented) interview(ctx: InterviewContext): Promise; - protected paramExistsInConfigFile(ctx: GetValueDB_2 & GetDeviceConfig_2, parameter: number, valueBitMask?: number): boolean; + protected paramExistsInConfigFile(ctx: GetValueDB & GetDeviceConfig, parameter: number, valueBitMask?: number): boolean; // (undocumented) refreshValues(ctx: RefreshValuesContext): Promise; // (undocumented) - translateProperty(ctx: GetValueDB_2, property: string | number, propertyKey?: string | number): string; + translateProperty(ctx: GetValueDB, property: string | number, propertyKey?: string | number): string; // (undocumented) - translatePropertyKey(ctx: GetValueDB_2, property: string | number, propertyKey?: string | number): string | undefined; + translatePropertyKey(ctx: GetValueDB, property: string | number, propertyKey?: string | number): string | undefined; } // Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration @@ -4642,7 +4696,7 @@ export class ConfigurationCCBulkGet extends ConfigurationCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "ConfigurationCCBulkGetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -4673,7 +4727,7 @@ export class ConfigurationCCBulkReport extends ConfigurationCC { // (undocumented) reportsToFollow: number; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) get values(): ReadonlyMap; // (undocumented) @@ -4712,7 +4766,7 @@ export class ConfigurationCCBulkSet extends ConfigurationCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) get valueFormat(): ConfigValueFormat; // (undocumented) @@ -4756,7 +4810,7 @@ export class ConfigurationCCGet extends ConfigurationCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "ConfigurationCCGetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -4780,7 +4834,7 @@ export class ConfigurationCCInfoGet extends ConfigurationCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "ConfigurationCCInfoReport" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -4796,9 +4850,13 @@ export class ConfigurationCCInfoReport extends ConfigurationCC { getPartialCCSessionId(): Record | undefined; // (undocumented) info: string; - // (undocumented) + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/cc" does not have an export "mergePartialCCsAsync" + // + // @deprecated (undocumented) mergePartialCCs(partials: ConfigurationCCInfoReport[], _ctx: CCParsingContext_2): void; // (undocumented) + mergePartialCCsAsync(partials: ConfigurationCCInfoReport[], _ctx: CCParsingContext_2): Promise; + // (undocumented) readonly parameter: number; // (undocumented) persistValues(ctx: PersistValuesContext): boolean; @@ -4807,7 +4865,7 @@ export class ConfigurationCCInfoReport extends ConfigurationCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration @@ -4835,7 +4893,7 @@ export class ConfigurationCCNameGet extends ConfigurationCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "ConfigurationCCNameReport" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -4849,9 +4907,13 @@ export class ConfigurationCCNameReport extends ConfigurationCC { static from(raw: CCRaw, ctx: CCParsingContext_2): ConfigurationCCNameReport; // (undocumented) getPartialCCSessionId(): Record | undefined; - // (undocumented) + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/cc" does not have an export "mergePartialCCsAsync" + // + // @deprecated (undocumented) mergePartialCCs(partials: ConfigurationCCNameReport[], _ctx: CCParsingContext_2): void; // (undocumented) + mergePartialCCsAsync(partials: ConfigurationCCNameReport[], _ctx: CCParsingContext_2): Promise; + // (undocumented) name: string; // (undocumented) readonly parameter: number; @@ -4862,7 +4924,7 @@ export class ConfigurationCCNameReport extends ConfigurationCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration @@ -4890,7 +4952,7 @@ export class ConfigurationCCPropertiesGet extends ConfigurationCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "ConfigurationCCPropertiesReport" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -4923,7 +4985,7 @@ export class ConfigurationCCPropertiesReport extends ConfigurationCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) valueFormat: ConfigValueFormat; // (undocumented) @@ -4973,7 +5035,7 @@ export class ConfigurationCCReport extends ConfigurationCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) value: ConfigValue; // (undocumented) @@ -5009,7 +5071,7 @@ export class ConfigurationCCSet extends ConfigurationCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) value: ConfigValue | undefined; // (undocumented) @@ -5054,7 +5116,7 @@ export const ConfigurationCCValues: Readonly<{ readonly propertyKey: number | undefined; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -5074,7 +5136,7 @@ export const ConfigurationCCValues: Readonly<{ readonly endpoint: number; readonly property: "isParamInformationFromConfig"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -5126,7 +5188,7 @@ export enum ConfigurationCommand { // Warning: (ae-missing-release-tag) "configureLifelineAssociations" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -function configureLifelineAssociations(ctx: CCAPIHost>, endpoint: EndpointId_2 & SupportsCC & ControlsCC): Promise; +function configureLifelineAssociations(ctx: CCAPIHost>, endpoint: EndpointId & SupportsCC & ControlsCC): Promise; export { ConfigValue } @@ -5149,12 +5211,20 @@ export class CRC16CCCommandEncapsulation extends CRC16CC { protected computeEncapsulationOverhead(): number; // (undocumented) encapsulated: CommandClass; - // (undocumented) + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/cc" does not have an export "fromAsync" + // + // @deprecated (undocumented) static from(raw: CCRaw, ctx: CCParsingContext_2): CRC16CCCommandEncapsulation; // (undocumented) + static fromAsync(raw: CCRaw, ctx: CCParsingContext_2): Promise; + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/cc" does not have an export "serializeAsync" + // + // @deprecated (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + serializeAsync(ctx: CCEncodingContext_2): Promise; + // (undocumented) + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "CRC16CCCommandEncapsulationOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -5233,7 +5303,7 @@ export class DeviceResetLocallyCC extends CommandClass { // @public (undocumented) export class DeviceResetLocallyCCNotification extends DeviceResetLocallyCC { // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): DeviceResetLocallyCCNotification; + static from(raw: CCRaw, ctx: CCParsingContext_2): DeviceResetLocallyCCNotification; } // Warning: (ae-missing-release-tag) "DeviceResetLocallyCommand" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -5300,7 +5370,7 @@ export class DoorLockCCCapabilitiesReport extends DoorLockCC { // (undocumented) readonly supportedOutsideHandles: DoorHandleStatus; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) readonly twistAssistSupported: boolean; } @@ -5363,7 +5433,7 @@ export class DoorLockCCConfigurationReport extends DoorLockCC { // (undocumented) persistValues(ctx: PersistValuesContext): boolean; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) readonly twistAssist?: boolean; } @@ -5414,7 +5484,7 @@ export class DoorLockCCConfigurationSet extends DoorLockCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) twistAssist?: boolean; } @@ -5471,7 +5541,7 @@ export class DoorLockCCOperationReport extends DoorLockCC { // (undocumented) readonly targetMode?: DoorLockMode; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "DoorLockCCOperationReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -5510,7 +5580,7 @@ export class DoorLockCCOperationSet extends DoorLockCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "DoorLockCCOperationSetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -5535,7 +5605,7 @@ export const DoorLockCCValues: Readonly<{ readonly endpoint: number; readonly property: "doorStatus"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Current status of the door"; readonly writeable: false; @@ -5548,7 +5618,7 @@ export const DoorLockCCValues: Readonly<{ readonly internal: false; readonly minVersion: 1; readonly supportsEndpoints: true; - readonly autoCreate: (ctx: GetValueDB_2, endpoint: EndpointId_2) => boolean; + readonly autoCreate: (ctx: GetValueDB, endpoint: EndpointId) => boolean; }; }; doorSupported: { @@ -5561,7 +5631,7 @@ export const DoorLockCCValues: Readonly<{ readonly endpoint: number; readonly property: "doorSupported"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -5586,7 +5656,7 @@ export const DoorLockCCValues: Readonly<{ readonly endpoint: number; readonly property: "boltStatus"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Current status of the bolt"; readonly writeable: false; @@ -5599,7 +5669,7 @@ export const DoorLockCCValues: Readonly<{ readonly internal: false; readonly minVersion: 1; readonly supportsEndpoints: true; - readonly autoCreate: (ctx: GetValueDB_2, endpoint: EndpointId_2) => boolean; + readonly autoCreate: (ctx: GetValueDB, endpoint: EndpointId) => boolean; }; }; boltSupported: { @@ -5612,7 +5682,7 @@ export const DoorLockCCValues: Readonly<{ readonly endpoint: number; readonly property: "boltSupported"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -5637,7 +5707,7 @@ export const DoorLockCCValues: Readonly<{ readonly endpoint: number; readonly property: "latchStatus"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Current status of the latch"; readonly writeable: false; @@ -5650,7 +5720,7 @@ export const DoorLockCCValues: Readonly<{ readonly internal: false; readonly minVersion: 1; readonly supportsEndpoints: true; - readonly autoCreate: (ctx: GetValueDB_2, endpoint: EndpointId_2) => boolean; + readonly autoCreate: (ctx: GetValueDB, endpoint: EndpointId) => boolean; }; }; latchSupported: { @@ -5663,7 +5733,7 @@ export const DoorLockCCValues: Readonly<{ readonly endpoint: number; readonly property: "latchSupported"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -5688,7 +5758,7 @@ export const DoorLockCCValues: Readonly<{ readonly endpoint: number; readonly property: "blockToBlock"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Block-to-block functionality enabled"; readonly type: "boolean"; @@ -5701,7 +5771,7 @@ export const DoorLockCCValues: Readonly<{ readonly internal: false; readonly supportsEndpoints: true; readonly minVersion: 4; - readonly autoCreate: (ctx: GetValueDB_2, endpoint: EndpointId_2) => boolean; + readonly autoCreate: (ctx: GetValueDB, endpoint: EndpointId) => boolean; }; }; blockToBlockSupported: { @@ -5714,7 +5784,7 @@ export const DoorLockCCValues: Readonly<{ readonly endpoint: number; readonly property: "blockToBlockSupported"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -5739,7 +5809,7 @@ export const DoorLockCCValues: Readonly<{ readonly endpoint: number; readonly property: "twistAssist"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Twist Assist enabled"; readonly type: "boolean"; @@ -5752,7 +5822,7 @@ export const DoorLockCCValues: Readonly<{ readonly internal: false; readonly supportsEndpoints: true; readonly minVersion: 4; - readonly autoCreate: (ctx: GetValueDB_2, endpoint: EndpointId_2) => boolean; + readonly autoCreate: (ctx: GetValueDB, endpoint: EndpointId) => boolean; }; }; twistAssistSupported: { @@ -5765,7 +5835,7 @@ export const DoorLockCCValues: Readonly<{ readonly endpoint: number; readonly property: "twistAssistSupported"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -5790,7 +5860,7 @@ export const DoorLockCCValues: Readonly<{ readonly endpoint: number; readonly property: "holdAndReleaseTime"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Duration in seconds the latch stays retracted"; readonly min: 0; @@ -5805,7 +5875,7 @@ export const DoorLockCCValues: Readonly<{ readonly internal: false; readonly supportsEndpoints: true; readonly minVersion: 4; - readonly autoCreate: (ctx: GetValueDB_2, endpoint: EndpointId_2) => boolean; + readonly autoCreate: (ctx: GetValueDB, endpoint: EndpointId) => boolean; }; }; holdAndReleaseSupported: { @@ -5818,7 +5888,7 @@ export const DoorLockCCValues: Readonly<{ readonly endpoint: number; readonly property: "holdAndReleaseSupported"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -5843,7 +5913,7 @@ export const DoorLockCCValues: Readonly<{ readonly endpoint: number; readonly property: "autoRelockTime"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Duration in seconds until lock returns to secure state"; readonly min: 0; @@ -5858,7 +5928,7 @@ export const DoorLockCCValues: Readonly<{ readonly internal: false; readonly supportsEndpoints: true; readonly minVersion: 4; - readonly autoCreate: (ctx: GetValueDB_2, endpoint: EndpointId_2) => boolean; + readonly autoCreate: (ctx: GetValueDB, endpoint: EndpointId) => boolean; }; }; autoRelockSupported: { @@ -5871,7 +5941,7 @@ export const DoorLockCCValues: Readonly<{ readonly endpoint: number; readonly property: "autoRelockSupported"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -5896,7 +5966,7 @@ export const DoorLockCCValues: Readonly<{ readonly endpoint: number; readonly property: "lockTimeout"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Seconds until lock mode times out"; readonly writeable: false; @@ -5924,7 +5994,7 @@ export const DoorLockCCValues: Readonly<{ readonly endpoint: number; readonly property: "lockTimeoutConfiguration"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Duration of timed mode in seconds"; readonly min: 0; @@ -5952,7 +6022,7 @@ export const DoorLockCCValues: Readonly<{ readonly endpoint: number; readonly property: "operationType"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Lock operation type"; readonly states: { @@ -5983,7 +6053,7 @@ export const DoorLockCCValues: Readonly<{ readonly endpoint: number; readonly property: "insideHandlesCanOpenDoor"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Which inside handles can open the door (actual status)"; readonly writeable: false; @@ -6009,7 +6079,7 @@ export const DoorLockCCValues: Readonly<{ readonly endpoint: number; readonly property: "insideHandlesCanOpenDoorConfiguration"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Which inside handles can open the door (configuration)"; readonly type: "any"; @@ -6035,7 +6105,7 @@ export const DoorLockCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportedInsideHandles"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -6060,7 +6130,7 @@ export const DoorLockCCValues: Readonly<{ readonly endpoint: number; readonly property: "outsideHandlesCanOpenDoor"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Which outside handles can open the door (actual status)"; readonly writeable: false; @@ -6086,7 +6156,7 @@ export const DoorLockCCValues: Readonly<{ readonly endpoint: number; readonly property: "outsideHandlesCanOpenDoorConfiguration"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Which outside handles can open the door (configuration)"; readonly type: "any"; @@ -6112,7 +6182,7 @@ export const DoorLockCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportedOutsideHandles"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -6137,7 +6207,7 @@ export const DoorLockCCValues: Readonly<{ readonly endpoint: number; readonly property: "duration"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Remaining duration until target lock mode"; readonly writeable: false; @@ -6163,7 +6233,7 @@ export const DoorLockCCValues: Readonly<{ readonly endpoint: number; readonly property: "currentMode"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Current lock mode"; readonly states: { @@ -6194,7 +6264,7 @@ export const DoorLockCCValues: Readonly<{ readonly endpoint: number; readonly property: "targetMode"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Target lock mode"; readonly states: { @@ -6263,7 +6333,7 @@ export class DoorLockLoggingCCRecordGet extends DoorLockLoggingCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "DoorLockLoggingCCRecordGetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -6286,7 +6356,7 @@ export class DoorLockLoggingCCRecordReport extends DoorLockLoggingCC { // (undocumented) readonly recordNumber: number; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "DoorLockLoggingCCRecordReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -6315,7 +6385,7 @@ export class DoorLockLoggingCCRecordsSupportedReport extends DoorLockLoggingCC { // (undocumented) readonly recordsCount: number; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "DoorLockLoggingCCRecordsSupportedReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -6340,7 +6410,7 @@ export const DoorLockLoggingCCValues: Readonly<{ readonly endpoint: number; readonly property: "recordsCount"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -6556,13 +6626,13 @@ export class EnergyProductionCC extends CommandClass { export class EnergyProductionCCGet extends EnergyProductionCC { constructor(options: WithAddress_2); // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): EnergyProductionCCGet; + static from(raw: CCRaw, ctx: CCParsingContext_2): EnergyProductionCCGet; // (undocumented) parameter: EnergyProductionParameter; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes_2; + serialize(ctx: CCEncodingContext_2): Bytes_2; // (undocumented) - toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry; + toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry; } // Warning: (ae-missing-release-tag) "EnergyProductionCCGetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -6579,7 +6649,7 @@ export interface EnergyProductionCCGetOptions { export class EnergyProductionCCReport extends EnergyProductionCC { constructor(options: WithAddress_2); // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): EnergyProductionCCReport; + static from(raw: CCRaw, ctx: CCParsingContext_2): EnergyProductionCCReport; // (undocumented) readonly parameter: EnergyProductionParameter; // (undocumented) @@ -6587,9 +6657,9 @@ export class EnergyProductionCCReport extends EnergyProductionCC { // (undocumented) readonly scale: EnergyProductionScale; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes_2; + serialize(ctx: CCEncodingContext_2): Bytes_2; // (undocumented) - toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry; + toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry; // (undocumented) readonly value: number; } @@ -6629,7 +6699,7 @@ export const EnergyProductionCCValues: Readonly<{ readonly propertyKey: EnergyProductionParameter; }; }) & { - is: (valueId: ValueID) => boolean; + is: (valueId: ValueID_2) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -6707,7 +6777,7 @@ export class EntryControlCCConfigurationReport extends EntryControlCC { // (undocumented) readonly keyCacheTimeout: number; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "EntryControlCCConfigurationReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -6734,7 +6804,7 @@ export class EntryControlCCConfigurationSet extends EntryControlCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "EntryControlCCConfigurationSetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -6775,7 +6845,7 @@ export class EntryControlCCEventSupportedReport extends EntryControlCC { // (undocumented) readonly supportedEventTypes: readonly EntryControlEventTypes[]; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "EntryControlCCEventSupportedReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -6812,7 +6882,7 @@ export class EntryControlCCKeySupportedReport extends EntryControlCC { // (undocumented) readonly supportedKeys: readonly number[]; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "EntryControlCCKeySupportedReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -6839,7 +6909,7 @@ export class EntryControlCCNotification extends EntryControlCC { // (undocumented) readonly sequenceNumber: number; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "EntryControlCCNotificationOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -6870,7 +6940,7 @@ export const EntryControlCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportedKeys"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -6895,7 +6965,7 @@ export const EntryControlCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportedEventTypes"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -6920,7 +6990,7 @@ export const EntryControlCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportedDataTypes"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -6945,7 +7015,7 @@ export const EntryControlCCValues: Readonly<{ readonly endpoint: number; readonly property: "keyCacheTimeout"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Key cache timeout"; readonly unit: "seconds"; @@ -6975,7 +7045,7 @@ export const EntryControlCCValues: Readonly<{ readonly endpoint: number; readonly property: "keyCacheSize"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Key cache size"; readonly description: "Number of character that must be stored before sending"; @@ -7180,7 +7250,7 @@ export class FibaroVenetianBlindCCReport extends FibaroVenetianBlindCC { // (undocumented) tilt: MaybeUnknown | undefined; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "FibaroVenetianBlindCCReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -7207,7 +7277,7 @@ export class FibaroVenetianBlindCCSet extends FibaroVenetianBlindCC { // (undocumented) tilt: number | undefined; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "FibaroVenetianBlindCCSetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -7336,7 +7406,7 @@ export class FirmwareUpdateMetaDataCCActivationReport extends FirmwareUpdateMeta // (undocumented) readonly manufacturerId: number; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "FirmwareUpdateMetaDataCCActivationReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -7377,7 +7447,7 @@ export class FirmwareUpdateMetaDataCCActivationSet extends FirmwareUpdateMetaDat // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "FirmwareUpdateMetaDataCCActivationSetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -7408,7 +7478,7 @@ export class FirmwareUpdateMetaDataCCGet extends FirmwareUpdateMetaDataCC { // (undocumented) readonly reportNumber: number; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "FirmwareUpdateMetaDataCCGetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -7459,7 +7529,7 @@ export class FirmwareUpdateMetaDataCCMetaDataReport extends FirmwareUpdateMetaDa // (undocumented) readonly supportsResuming?: MaybeNotKnown; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "FirmwareUpdateMetaDataCCMetaDataReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -7510,7 +7580,7 @@ export class FirmwareUpdateMetaDataCCPrepareGet extends FirmwareUpdateMetaDataCC // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "FirmwareUpdateMetaDataCCPrepareGetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -7541,7 +7611,7 @@ export class FirmwareUpdateMetaDataCCPrepareReport extends FirmwareUpdateMetaDat // (undocumented) readonly status: FirmwareDownloadStatus; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "FirmwareUpdateMetaDataCCPrepareReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -7570,7 +7640,7 @@ export class FirmwareUpdateMetaDataCCReport extends FirmwareUpdateMetaDataCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "FirmwareUpdateMetaDataCCReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -7613,7 +7683,7 @@ export class FirmwareUpdateMetaDataCCRequestGet extends FirmwareUpdateMetaDataCC // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "FirmwareUpdateMetaDataCCRequestGetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -7646,7 +7716,7 @@ export class FirmwareUpdateMetaDataCCRequestReport extends FirmwareUpdateMetaDat // (undocumented) readonly status: FirmwareUpdateRequestStatus; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "FirmwareUpdateMetaDataCCRequestReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -7671,7 +7741,7 @@ export class FirmwareUpdateMetaDataCCStatusReport extends FirmwareUpdateMetaData // (undocumented) readonly status: FirmwareUpdateStatus; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; readonly waitTime?: number; } @@ -7699,7 +7769,7 @@ export const FirmwareUpdateMetaDataCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportsNonSecureTransfer"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -7724,7 +7794,7 @@ export const FirmwareUpdateMetaDataCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportsResuming"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -7749,7 +7819,7 @@ export const FirmwareUpdateMetaDataCCValues: Readonly<{ readonly endpoint: number; readonly property: "continuesToFunction"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -7774,7 +7844,7 @@ export const FirmwareUpdateMetaDataCCValues: Readonly<{ readonly endpoint: number; readonly property: "additionalFirmwareIDs"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -7799,7 +7869,7 @@ export const FirmwareUpdateMetaDataCCValues: Readonly<{ readonly endpoint: number; readonly property: "firmwareUpgradable"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -7824,7 +7894,7 @@ export const FirmwareUpdateMetaDataCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportsActivation"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -7959,12 +8029,12 @@ export function FLiRS2WakeUpTime(value: FLiRS_2): WakeUpTime; // Warning: (ae-missing-release-tag) "getAllAssociationGroups" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -function getAllAssociationGroups(ctx: GetValueDB & GetDeviceConfig, node: NodeId & GetAllEndpoints): ReadonlyMap>; +function getAllAssociationGroups(ctx: GetValueDB & GetDeviceConfig, node: NodeId & GetAllEndpoints): ReadonlyMap>; // Warning: (ae-missing-release-tag) "getAllAssociations" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -function getAllAssociations(ctx: GetValueDB, node: NodeId & GetAllEndpoints): ReadonlyObjectKeyMap>; +function getAllAssociations(ctx: GetValueDB, node: NodeId & GetAllEndpoints): ReadonlyObjectKeyMap>; // Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration // Warning: (ae-missing-release-tag) "getAPI" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -7975,12 +8045,12 @@ export function getAPI(cc: CommandClasses_2): APIConstructor | undefined; // Warning: (ae-missing-release-tag) "getAssociationGroups" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -function getAssociationGroups(ctx: GetValueDB & GetDeviceConfig, endpoint: EndpointId_2 & SupportsCC): ReadonlyMap; +function getAssociationGroups(ctx: GetValueDB & GetDeviceConfig, endpoint: EndpointId & SupportsCC): ReadonlyMap; // Warning: (ae-missing-release-tag) "getAssociations" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -function getAssociations(ctx: GetValueDB, endpoint: EndpointId_2 & SupportsCC): ReadonlyMap; +function getAssociations(ctx: GetValueDB, endpoint: EndpointId & SupportsCC): ReadonlyMap; // Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration // Warning: (ae-missing-release-tag) "getCCCommand" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -8094,10 +8164,18 @@ export function getImplementedVersionStatic APIConst // @public export const getManufacturerProprietaryCCConstructor: (manufacturerId: number) => ManufacturerProprietaryCCConstructor | undefined; +// Warning: (ae-missing-release-tag) "GetRefreshValueTimeouts" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface GetRefreshValueTimeouts { + // (undocumented) + getRefreshValueTimeouts(): RefreshValueTimeouts; +} + // Warning: (ae-forgotten-export) The symbol "Security2ExtensionConstructor" needs to be exported by the entry point index.d.ts // Warning: (ae-missing-release-tag) "getS2ExtensionConstructor" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public export const getS2ExtensionConstructor: (type: S2ExtensionType) => Security2ExtensionConstructor | undefined; +// Warning: (ae-missing-release-tag) "GetUserPreferences" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface GetUserPreferences { + // (undocumented) + getUserPreferences(): UserPreferences; +} + // Warning: (ae-missing-release-tag) "HailCC" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) @@ -8188,7 +8282,7 @@ export class HumidityControlModeCCReport extends HumidityControlModeCC { // (undocumented) readonly mode: HumidityControlMode; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "HumidityControlModeCCReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -8211,7 +8305,7 @@ export class HumidityControlModeCCSet extends HumidityControlModeCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "HumidityControlModeCCSetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -8240,7 +8334,7 @@ export class HumidityControlModeCCSupportedReport extends HumidityControlModeCC // (undocumented) supportedModes: HumidityControlMode[]; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "HumidityControlModeCCSupportedReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -8265,7 +8359,7 @@ export const HumidityControlModeCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportedModes"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -8290,7 +8384,7 @@ export const HumidityControlModeCCValues: Readonly<{ readonly endpoint: number; readonly property: "mode"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly states: { [x: number]: string; @@ -8369,7 +8463,7 @@ export class HumidityControlOperatingStateCCReport extends HumidityControlOperat // (undocumented) readonly state: HumidityControlOperatingState; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "HumidityControlOperatingStateCCReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -8394,7 +8488,7 @@ export const HumidityControlOperatingStateCCValues: Readonly<{ readonly endpoint: number; readonly property: "state"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly states: { [x: number]: string; @@ -8452,7 +8546,7 @@ export class HumidityControlSetpointCC extends CommandClass { // (undocumented) refreshValues(ctx: RefreshValuesContext): Promise; // (undocumented) - translatePropertyKey(ctx: GetValueDB_2, property: string | number, propertyKey: string | number): string | undefined; + translatePropertyKey(ctx: GetValueDB, property: string | number, propertyKey: string | number): string | undefined; } // Warning: (ae-missing-release-tag) "HumidityControlSetpointCCCapabilitiesGet" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -8467,7 +8561,7 @@ export class HumidityControlSetpointCCCapabilitiesGet extends HumidityControlSet // (undocumented) setpointType: HumidityControlSetpointType; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "HumidityControlSetpointCCCapabilitiesGetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -8496,7 +8590,7 @@ export class HumidityControlSetpointCCCapabilitiesReport extends HumidityControl // (undocumented) persistValues(ctx: PersistValuesContext): boolean; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) type: HumidityControlSetpointType; } @@ -8529,7 +8623,7 @@ export class HumidityControlSetpointCCGet extends HumidityControlSetpointCC { // (undocumented) setpointType: HumidityControlSetpointType; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "HumidityControlSetpointCCGetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -8552,7 +8646,7 @@ export class HumidityControlSetpointCCReport extends HumidityControlSetpointCC { // (undocumented) scale: number; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) type: HumidityControlSetpointType; // (undocumented) @@ -8583,7 +8677,7 @@ export class HumidityControlSetpointCCScaleSupportedGet extends HumidityControlS // (undocumented) setpointType: HumidityControlSetpointType; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "HumidityControlSetpointCCScaleSupportedGetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -8604,7 +8698,7 @@ export class HumidityControlSetpointCCScaleSupportedReport extends HumidityContr // (undocumented) readonly supportedScales: readonly number[]; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "HumidityControlSetpointCCScaleSupportedReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -8629,7 +8723,7 @@ export class HumidityControlSetpointCCSet extends HumidityControlSetpointCC { // (undocumented) setpointType: HumidityControlSetpointType; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) value: number; } @@ -8662,7 +8756,7 @@ export class HumidityControlSetpointCCSupportedReport extends HumidityControlSet // (undocumented) readonly supportedSetpointTypes: readonly HumidityControlSetpointType[]; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "HumidityControlSetpointCCSupportedReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -8698,7 +8792,7 @@ export const HumidityControlSetpointCCValues: Readonly<{ readonly propertyKey: number; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -8730,7 +8824,7 @@ export const HumidityControlSetpointCCValues: Readonly<{ readonly propertyKey: number; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -8750,7 +8844,7 @@ export const HumidityControlSetpointCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportedSetpointTypes"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -8794,7 +8888,7 @@ export enum HumidityControlSetpointCommand { // Warning: (ae-missing-release-tag) "HumidityControlSetpointMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export type HumidityControlSetpointMetadata = ValueMetadata_2 & { +export type HumidityControlSetpointMetadata = ValueMetadata & { ccSpecific: { setpointType: HumidityControlSetpointType; }; @@ -8844,15 +8938,15 @@ export class InclusionControllerCC extends CommandClass { export class InclusionControllerCCComplete extends InclusionControllerCC { constructor(options: WithAddress_2); // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): InclusionControllerCCComplete; + static from(raw: CCRaw, ctx: CCParsingContext_2): InclusionControllerCCComplete; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes_2; + serialize(ctx: CCEncodingContext_2): Bytes_2; // (undocumented) status: InclusionControllerStatus; // (undocumented) step: InclusionControllerStep; // (undocumented) - toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry; + toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry; } // Warning: (ae-missing-release-tag) "InclusionControllerCCCompleteOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -8871,15 +8965,15 @@ export interface InclusionControllerCCCompleteOptions { export class InclusionControllerCCInitiate extends InclusionControllerCC { constructor(options: WithAddress_2); // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): InclusionControllerCCInitiate; + static from(raw: CCRaw, ctx: CCParsingContext_2): InclusionControllerCCInitiate; // (undocumented) includedNodeId: number; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes_2; + serialize(ctx: CCEncodingContext_2): Bytes_2; // (undocumented) step: InclusionControllerStep; // (undocumented) - toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry; + toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry; } // Warning: (ae-missing-release-tag) "InclusionControllerCCInitiateOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -8955,17 +9049,17 @@ export class IndicatorCC extends CommandClass { // (undocumented) ccCommand: IndicatorCommand; // (undocumented) - static getSupportedPropertyIDsCached(ctx: GetValueDB_2, endpoint: EndpointId_2, indicatorId: number): MaybeNotKnown; + static getSupportedPropertyIDsCached(ctx: GetValueDB, endpoint: EndpointId, indicatorId: number): MaybeNotKnown; // (undocumented) interview(ctx: InterviewContext): Promise; // (undocumented) refreshValues(ctx: RefreshValuesContext): Promise; // (undocumented) - protected supportsV2Indicators(ctx: GetValueDB_2): boolean; + protected supportsV2Indicators(ctx: GetValueDB): boolean; // (undocumented) - translateProperty(ctx: GetValueDB_2, property: string | number, propertyKey?: string | number): string; + translateProperty(ctx: GetValueDB, property: string | number, propertyKey?: string | number): string; // (undocumented) - translatePropertyKey(ctx: GetValueDB_2, property: string | number, propertyKey: string | number): string | undefined; + translatePropertyKey(ctx: GetValueDB, property: string | number, propertyKey: string | number): string | undefined; } // Warning: (ae-missing-release-tag) "IndicatorCCDescriptionGet" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -8980,7 +9074,7 @@ export class IndicatorCCDescriptionGet extends IndicatorCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "IndicatorCCDescriptionGetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -9007,7 +9101,7 @@ export class IndicatorCCDescriptionReport extends IndicatorCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "IndicatorCCDescriptionReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -9032,7 +9126,7 @@ export class IndicatorCCGet extends IndicatorCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "IndicatorCCGetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -9057,7 +9151,7 @@ export class IndicatorCCReport extends IndicatorCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) readonly values: IndicatorObject[] | undefined; } @@ -9083,7 +9177,7 @@ export class IndicatorCCSet extends IndicatorCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) values: IndicatorObject[] | undefined; } @@ -9109,7 +9203,7 @@ export class IndicatorCCSupportedGet extends IndicatorCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "IndicatorCCSupportedGetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -9138,7 +9232,7 @@ export class IndicatorCCSupportedReport extends IndicatorCC { // (undocumented) readonly supportedProperties: readonly number[]; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "IndicatorCCSupportedReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -9173,7 +9267,7 @@ export const IndicatorCCValues: Readonly<{ readonly property: number; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly stateful: true; readonly secret: false; @@ -9205,7 +9299,7 @@ export const IndicatorCCValues: Readonly<{ readonly propertyKey: number; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly stateful: true; readonly secret: false; @@ -9233,7 +9327,7 @@ export const IndicatorCCValues: Readonly<{ readonly propertyKey: number; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly stateful: true; readonly secret: false; @@ -9253,7 +9347,7 @@ export const IndicatorCCValues: Readonly<{ readonly endpoint: number; readonly property: "timeout"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Timeout"; readonly type: "string"; @@ -9279,7 +9373,7 @@ export const IndicatorCCValues: Readonly<{ readonly endpoint: number; readonly property: "identify"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Identify"; readonly states: { @@ -9308,7 +9402,7 @@ export const IndicatorCCValues: Readonly<{ readonly endpoint: number; readonly property: "value"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Indicator value"; readonly ccSpecific: { @@ -9339,7 +9433,7 @@ export const IndicatorCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportedIndicatorIds"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -9379,7 +9473,7 @@ export enum IndicatorCommand { // Warning: (ae-missing-release-tag) "IndicatorMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export type IndicatorMetadata = ValueMetadata_2 & { +export type IndicatorMetadata = ValueMetadata & { ccSpecific: { indicatorId: number; propertyId?: number; @@ -9410,7 +9504,14 @@ export interface IndicatorTimeout { // Warning: (ae-missing-release-tag) "InterviewContext" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export type InterviewContext = CCAPIHost & GetAllEndpoints_2> & GetInterviewOptions & LookupManufacturer; +export type InterviewContext = CCAPIHost & GetAllEndpoints_2> & GetInterviewOptions & LookupManufacturer; + +// Warning: (ae-missing-release-tag) "InterviewOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface InterviewOptions { + queryAllUserCodes?: boolean; +} // Warning: (ae-missing-release-tag) "InvalidCC" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -9422,7 +9523,7 @@ export class InvalidCC extends CommandClass { // (undocumented) readonly reason?: string | ZWaveErrorCodes; // (undocumented) - toLogEntry(_ctx?: GetValueDB): MessageOrCCLogEntry; + toLogEntry(_ctx?: GetValueDB_2): MessageOrCCLogEntry; } // Warning: (ae-missing-release-tag) "InvalidCCOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -9441,15 +9542,15 @@ export interface InvalidCCOptions extends CommandClassOptions { export class IrrigationCC extends CommandClass { // (undocumented) ccCommand: IrrigationCommand; - static getMaxValveTableSizeCached(ctx: GetValueDB_2, endpoint: EndpointId_2): MaybeNotKnown; - static getNumValvesCached(ctx: GetValueDB_2, endpoint: EndpointId_2): MaybeNotKnown; + static getMaxValveTableSizeCached(ctx: GetValueDB, endpoint: EndpointId): MaybeNotKnown; + static getNumValvesCached(ctx: GetValueDB, endpoint: EndpointId): MaybeNotKnown; // (undocumented) interview(ctx: InterviewContext): Promise; // (undocumented) refreshValues(ctx: RefreshValuesContext): Promise; - static supportsMasterValveCached(ctx: GetValueDB_2, endpoint: EndpointId_2): boolean; + static supportsMasterValveCached(ctx: GetValueDB, endpoint: EndpointId): boolean; // (undocumented) - translateProperty(ctx: GetValueDB_2, property: string | number, propertyKey?: string | number): string; + translateProperty(ctx: GetValueDB, property: string | number, propertyKey?: string | number): string; } // Warning: (ae-missing-release-tag) "IrrigationCCSystemConfigGet" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -9476,7 +9577,7 @@ export class IrrigationCCSystemConfigReport extends IrrigationCC { // (undocumented) readonly rainSensorPolarity?: IrrigationSensorPolarity; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "IrrigationCCSystemConfigReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -9515,7 +9616,7 @@ export class IrrigationCCSystemConfigSet extends IrrigationCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "IrrigationCCSystemConfigSetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -9551,7 +9652,7 @@ export class IrrigationCCSystemInfoReport extends IrrigationCC { // (undocumented) readonly supportsMasterValve: boolean; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "IrrigationCCSystemInfoReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -9580,7 +9681,7 @@ export class IrrigationCCSystemShutoff extends IrrigationCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "IrrigationCCSystemShutoffOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -9634,7 +9735,7 @@ export class IrrigationCCSystemStatusReport extends IrrigationCC { // (undocumented) systemVoltage: number; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "IrrigationCCSystemStatusReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -9700,7 +9801,7 @@ export const IrrigationCCValues: Readonly<{ readonly propertyKey: "startStop"; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -9732,7 +9833,7 @@ export const IrrigationCCValues: Readonly<{ readonly propertyKey: "duration"; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -9761,7 +9862,7 @@ export const IrrigationCCValues: Readonly<{ readonly propertyKey: "useMoistureSensor"; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -9790,7 +9891,7 @@ export const IrrigationCCValues: Readonly<{ readonly propertyKey: "useRainSensor"; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -9819,7 +9920,7 @@ export const IrrigationCCValues: Readonly<{ readonly propertyKey: "errorLowFlow"; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -9850,7 +9951,7 @@ export const IrrigationCCValues: Readonly<{ readonly propertyKey: "lowFlowThreshold"; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -9879,7 +9980,7 @@ export const IrrigationCCValues: Readonly<{ readonly propertyKey: "errorHighFlow"; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -9910,7 +10011,7 @@ export const IrrigationCCValues: Readonly<{ readonly propertyKey: "highFlowThreshold"; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -9939,7 +10040,7 @@ export const IrrigationCCValues: Readonly<{ readonly propertyKey: "errorMaximumFlow"; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -9970,7 +10071,7 @@ export const IrrigationCCValues: Readonly<{ readonly propertyKey: "maximumFlow"; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -9999,7 +10100,7 @@ export const IrrigationCCValues: Readonly<{ readonly propertyKey: "errorLowCurrent"; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -10028,7 +10129,7 @@ export const IrrigationCCValues: Readonly<{ readonly propertyKey: "errorHighCurrent"; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -10057,7 +10158,7 @@ export const IrrigationCCValues: Readonly<{ readonly propertyKey: "errorShortCircuit"; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -10089,7 +10190,7 @@ export const IrrigationCCValues: Readonly<{ readonly propertyKey: "nominalCurrentLowThreshold"; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -10121,7 +10222,7 @@ export const IrrigationCCValues: Readonly<{ readonly propertyKey: "nominalCurrentHighThreshold"; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -10151,7 +10252,7 @@ export const IrrigationCCValues: Readonly<{ readonly propertyKey: "nominalCurrent"; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -10180,7 +10281,7 @@ export const IrrigationCCValues: Readonly<{ readonly propertyKey: "valveConnected"; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -10200,7 +10301,7 @@ export const IrrigationCCValues: Readonly<{ readonly endpoint: number; readonly property: "shutoff"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Shutoff system"; readonly states: { @@ -10229,7 +10330,7 @@ export const IrrigationCCValues: Readonly<{ readonly endpoint: number; readonly property: "firstOpenZoneId"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "First open zone valve ID"; readonly writeable: false; @@ -10255,7 +10356,7 @@ export const IrrigationCCValues: Readonly<{ readonly endpoint: number; readonly property: "masterValveOpen"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Master valve is open"; readonly writeable: false; @@ -10281,7 +10382,7 @@ export const IrrigationCCValues: Readonly<{ readonly endpoint: number; readonly property: "errorValve"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Error: valve reporting error"; readonly writeable: false; @@ -10307,7 +10408,7 @@ export const IrrigationCCValues: Readonly<{ readonly endpoint: number; readonly property: "lowPressureThreshold"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Low pressure threshold"; readonly unit: "kPa"; @@ -10334,7 +10435,7 @@ export const IrrigationCCValues: Readonly<{ readonly endpoint: number; readonly property: "errorLowPressure"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Error: low pressure"; readonly writeable: false; @@ -10360,7 +10461,7 @@ export const IrrigationCCValues: Readonly<{ readonly endpoint: number; readonly property: "highPressureThreshold"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "High pressure threshold"; readonly unit: "kPa"; @@ -10387,7 +10488,7 @@ export const IrrigationCCValues: Readonly<{ readonly endpoint: number; readonly property: "errorHighPressure"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Error: high pressure"; readonly writeable: false; @@ -10413,7 +10514,7 @@ export const IrrigationCCValues: Readonly<{ readonly endpoint: number; readonly property: "errorEmergencyShutdown"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Error: emergency shutdown"; readonly writeable: false; @@ -10439,7 +10540,7 @@ export const IrrigationCCValues: Readonly<{ readonly endpoint: number; readonly property: "errorNotProgrammed"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Error: device not programmed"; readonly writeable: false; @@ -10465,7 +10566,7 @@ export const IrrigationCCValues: Readonly<{ readonly endpoint: number; readonly property: "shutoffDuration"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Remaining shutoff duration"; readonly unit: "hours"; @@ -10494,7 +10595,7 @@ export const IrrigationCCValues: Readonly<{ readonly endpoint: number; readonly property: "pressure"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Pressure"; readonly unit: "kPa"; @@ -10521,7 +10622,7 @@ export const IrrigationCCValues: Readonly<{ readonly endpoint: number; readonly property: "flow"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Flow"; readonly unit: "l/h"; @@ -10548,7 +10649,7 @@ export const IrrigationCCValues: Readonly<{ readonly endpoint: number; readonly property: "moistureSensorPolarity"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Moisture sensor polarity"; readonly min: 0; @@ -10579,7 +10680,7 @@ export const IrrigationCCValues: Readonly<{ readonly endpoint: number; readonly property: "moistureSensorActive"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Moisture sensor attached and active"; readonly writeable: false; @@ -10605,7 +10706,7 @@ export const IrrigationCCValues: Readonly<{ readonly endpoint: number; readonly property: "rainSensorPolarity"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Rain sensor polarity"; readonly min: 0; @@ -10636,7 +10737,7 @@ export const IrrigationCCValues: Readonly<{ readonly endpoint: number; readonly property: "rainSensorActive"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Rain sensor attached and active"; readonly writeable: false; @@ -10662,7 +10763,7 @@ export const IrrigationCCValues: Readonly<{ readonly endpoint: number; readonly property: "pressureSensorActive"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Pressure sensor active"; readonly writeable: false; @@ -10688,7 +10789,7 @@ export const IrrigationCCValues: Readonly<{ readonly endpoint: number; readonly property: "flowSensorActive"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Flow sensor active"; readonly writeable: false; @@ -10714,7 +10815,7 @@ export const IrrigationCCValues: Readonly<{ readonly endpoint: number; readonly property: "masterValveDelay"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Master valve delay"; readonly description: "The delay between turning on the master valve and turning on any zone valve"; @@ -10744,7 +10845,7 @@ export const IrrigationCCValues: Readonly<{ readonly endpoint: number; readonly property: "systemVoltage"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "System voltage"; readonly unit: "V"; @@ -10773,7 +10874,7 @@ export const IrrigationCCValues: Readonly<{ readonly endpoint: number; readonly property: "maxValveTableSize"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -10798,7 +10899,7 @@ export const IrrigationCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportsMasterValve"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -10823,7 +10924,7 @@ export const IrrigationCCValues: Readonly<{ readonly endpoint: number; readonly property: "numValveTables"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -10848,7 +10949,7 @@ export const IrrigationCCValues: Readonly<{ readonly endpoint: number; readonly property: "numValves"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -10875,7 +10976,7 @@ export class IrrigationCCValveConfigGet extends IrrigationCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) valveId: ValveId; } @@ -10908,7 +11009,7 @@ export class IrrigationCCValveConfigReport extends IrrigationCC { // (undocumented) persistValues(ctx: PersistValuesContext): boolean; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) useMoistureSensor: boolean; // (undocumented) @@ -10959,7 +11060,7 @@ export class IrrigationCCValveConfigSet extends IrrigationCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) useMoistureSensor: boolean; // (undocumented) @@ -10992,7 +11093,7 @@ export class IrrigationCCValveInfoGet extends IrrigationCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) valveId: ValveId; } @@ -11031,7 +11132,7 @@ export class IrrigationCCValveInfoReport extends IrrigationCC { // (undocumented) persistValues(ctx: PersistValuesContext): boolean; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) readonly valveId: ValveId; } @@ -11072,7 +11173,7 @@ export class IrrigationCCValveRun extends IrrigationCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) valveId: ValveId; } @@ -11099,7 +11200,7 @@ export class IrrigationCCValveTableGet extends IrrigationCC { // (undocumented) tableId: number; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "IrrigationCCValveTableGetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -11122,7 +11223,7 @@ export class IrrigationCCValveTableReport extends IrrigationCC { // (undocumented) readonly tableId: number; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "IrrigationCCValveTableReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -11147,7 +11248,7 @@ export class IrrigationCCValveTableRun extends IrrigationCC { // (undocumented) tableIDs: number[]; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "IrrigationCCValveTableRunOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -11172,7 +11273,7 @@ export class IrrigationCCValveTableSet extends IrrigationCC { // (undocumented) tableId: number; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "IrrigationCCValveTableSetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -11333,7 +11434,7 @@ export class LanguageCCReport extends LanguageCC { // (undocumented) readonly language: string; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "LanguageCCReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -11362,7 +11463,7 @@ export class LanguageCCSet extends LanguageCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "LanguageCCSetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -11389,7 +11490,7 @@ export const LanguageCCValues: Readonly<{ readonly endpoint: number; readonly property: "country"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Country code"; readonly writeable: false; @@ -11415,7 +11516,7 @@ export const LanguageCCValues: Readonly<{ readonly endpoint: number; readonly property: "language"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Language code"; readonly writeable: false; @@ -11495,7 +11596,7 @@ export class LockCCReport extends LockCC { // (undocumented) readonly locked: boolean; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "LockCCReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -11518,7 +11619,7 @@ export class LockCCSet extends LockCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "LockCCSetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -11543,7 +11644,7 @@ export const LockCCValues: Readonly<{ readonly endpoint: number; readonly property: "locked"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Locked"; readonly description: "Whether the lock is locked"; @@ -11641,7 +11742,7 @@ export class ManufacturerSpecificCCDeviceSpecificGet extends ManufacturerSpecifi // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "ManufacturerSpecificCCDeviceSpecificGetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -11662,7 +11763,7 @@ export class ManufacturerSpecificCCDeviceSpecificReport extends ManufacturerSpec // (undocumented) static from(raw: CCRaw, ctx: CCParsingContext_2): ManufacturerSpecificCCDeviceSpecificReport; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) readonly type: DeviceIdType; } @@ -11699,7 +11800,7 @@ export class ManufacturerSpecificCCReport extends ManufacturerSpecificCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "ManufacturerSpecificCCReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -11737,7 +11838,7 @@ export const ManufacturerSpecificCCValues: Readonly<{ readonly propertyKey: string; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly stateful: true; readonly secret: false; @@ -11757,7 +11858,7 @@ export const ManufacturerSpecificCCValues: Readonly<{ readonly endpoint: number; readonly property: "productId"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Product ID"; readonly writeable: false; @@ -11785,7 +11886,7 @@ export const ManufacturerSpecificCCValues: Readonly<{ readonly endpoint: number; readonly property: "productType"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Product type"; readonly writeable: false; @@ -11813,7 +11914,7 @@ export const ManufacturerSpecificCCValues: Readonly<{ readonly endpoint: number; readonly property: "manufacturerId"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Manufacturer ID"; readonly writeable: false; @@ -11853,16 +11954,16 @@ export enum ManufacturerSpecificCommand { export class MeterCC extends CommandClass { // (undocumented) ccCommand: MeterCommand; - static getMeterTypeCached(ctx: GetValueDB_2, endpoint: EndpointId_2): MaybeNotKnown; - static getSupportedRateTypesCached(ctx: GetValueDB_2, endpoint: EndpointId_2): MaybeNotKnown; - static getSupportedScalesCached(ctx: GetValueDB_2, endpoint: EndpointId_2): MaybeNotKnown; + static getMeterTypeCached(ctx: GetValueDB_2, endpoint: EndpointId): MaybeNotKnown; + static getSupportedRateTypesCached(ctx: GetValueDB_2, endpoint: EndpointId): MaybeNotKnown; + static getSupportedScalesCached(ctx: GetValueDB_2, endpoint: EndpointId): MaybeNotKnown; // (undocumented) interview(ctx: InterviewContext): Promise; // (undocumented) refreshValues(ctx: RefreshValuesContext): Promise; // (undocumented) - shouldRefreshValues(this: SinglecastCC_2, ctx: GetValueDB_2 & GetSupportedCCVersion_2 & GetDeviceConfig_2 & GetNode_2>): boolean; - static supportsResetCached(ctx: GetValueDB_2, endpoint: EndpointId_2): MaybeNotKnown; + shouldRefreshValues(this: SinglecastCC_2, ctx: GetValueDB_2 & GetSupportedCCVersion & GetDeviceConfig & GetNode_2>): boolean; + static supportsResetCached(ctx: GetValueDB_2, endpoint: EndpointId): MaybeNotKnown; // (undocumented) translatePropertyKey(ctx: GetValueDB_2, property: string | number, propertyKey: string | number): string | undefined; } @@ -12040,7 +12141,7 @@ export const MeterCCValues: Readonly<{ readonly propertyKey: number; }; }) & { - is: (valueId: ValueID) => boolean; + is: (valueId: ValueID_2) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -12077,7 +12178,7 @@ export const MeterCCValues: Readonly<{ readonly propertyKey: number; }; }) & { - is: (valueId: ValueID) => boolean; + is: (valueId: ValueID_2) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -12097,7 +12198,7 @@ export const MeterCCValues: Readonly<{ readonly endpoint: number; readonly property: "reset"; }; - readonly is: (valueId: ValueID) => boolean; + readonly is: (valueId: ValueID_2) => boolean; readonly meta: { readonly label: "Reset accumulated values"; readonly states: { @@ -12126,7 +12227,7 @@ export const MeterCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportedRateTypes"; }; - readonly is: (valueId: ValueID) => boolean; + readonly is: (valueId: ValueID_2) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -12151,7 +12252,7 @@ export const MeterCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportedScales"; }; - readonly is: (valueId: ValueID) => boolean; + readonly is: (valueId: ValueID_2) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -12176,7 +12277,7 @@ export const MeterCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportsReset"; }; - readonly is: (valueId: ValueID) => boolean; + readonly is: (valueId: ValueID_2) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -12201,7 +12302,7 @@ export const MeterCCValues: Readonly<{ readonly endpoint: number; readonly property: "type"; }; - readonly is: (valueId: ValueID) => boolean; + readonly is: (valueId: ValueID_2) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -12237,7 +12338,7 @@ export enum MeterCommand { // Warning: (ae-missing-release-tag) "MeterMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export type MeterMetadata = ValueMetadata_2 & { +export type MeterMetadata = ValueMetadata & { ccSpecific: { meterType: number; rateType?: RateType; @@ -12334,9 +12435,9 @@ export class MultiChannelAssociationCC extends CommandClass { ccCommand: MultiChannelAssociationCommand; // (undocumented) determineRequiredCCInterviews(): readonly CommandClasses[]; - static getAllDestinationsCached(ctx: GetValueDB_2, endpoint: EndpointId_2): ReadonlyMap; - static getGroupCountCached(ctx: GetValueDB_2, endpoint: EndpointId_2): number; - static getMaxNodesCached(ctx: GetValueDB_2, endpoint: EndpointId_2, groupId: number): number; + static getAllDestinationsCached(ctx: GetValueDB, endpoint: EndpointId): ReadonlyMap; + static getGroupCountCached(ctx: GetValueDB, endpoint: EndpointId): number; + static getMaxNodesCached(ctx: GetValueDB, endpoint: EndpointId, groupId: number): number; // (undocumented) interview(ctx: InterviewContext): Promise; // (undocumented) @@ -12355,7 +12456,7 @@ export class MultiChannelAssociationCCGet extends MultiChannelAssociationCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "MultiChannelAssociationCCGetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -12382,7 +12483,7 @@ export class MultiChannelAssociationCCRemove extends MultiChannelAssociationCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "MultiChannelAssociationCCRemoveOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -12411,16 +12512,20 @@ export class MultiChannelAssociationCCReport extends MultiChannelAssociationCC { readonly groupId: number; // (undocumented) maxNodes: number; - // (undocumented) + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/cc" does not have an export "mergePartialCCsAsync" + // + // @deprecated (undocumented) mergePartialCCs(partials: MultiChannelAssociationCCReport[], _ctx: CCParsingContext_2): void; // (undocumented) + mergePartialCCsAsync(partials: MultiChannelAssociationCCReport[], _ctx: CCParsingContext_2): Promise; + // (undocumented) nodeIds: number[]; // (undocumented) reportsToFollow: number; // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "MultiChannelAssociationCCReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -12455,7 +12560,7 @@ export class MultiChannelAssociationCCSet extends MultiChannelAssociationCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "MultiChannelAssociationCCSetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -12490,7 +12595,7 @@ export class MultiChannelAssociationCCSupportedGroupingsReport extends MultiChan // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "MultiChannelAssociationCCSupportedGroupingsReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -12523,7 +12628,7 @@ export const MultiChannelAssociationCCValues: Readonly<{ readonly propertyKey: number; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly stateful: true; readonly secret: false; @@ -12551,7 +12656,7 @@ export const MultiChannelAssociationCCValues: Readonly<{ readonly propertyKey: number; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly stateful: true; readonly secret: false; @@ -12579,7 +12684,7 @@ export const MultiChannelAssociationCCValues: Readonly<{ readonly propertyKey: number; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly stateful: true; readonly secret: false; @@ -12599,7 +12704,7 @@ export const MultiChannelAssociationCCValues: Readonly<{ readonly endpoint: number; readonly property: "groupCount"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -12661,7 +12766,7 @@ export class MultiChannelCCAggregatedMembersGet extends MultiChannelCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "MultiChannelCCAggregatedMembersGetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -12684,7 +12789,7 @@ export class MultiChannelCCAggregatedMembersReport extends MultiChannelCC { // (undocumented) readonly members: readonly number[]; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "MultiChannelCCAggregatedMembersReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -12709,7 +12814,7 @@ export class MultiChannelCCCapabilityGet extends MultiChannelCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "MultiChannelCCCapabilityGetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -12740,7 +12845,7 @@ export class MultiChannelCCCapabilityReport extends MultiChannelCC implements Ap // (undocumented) readonly supportedCCs: CommandClasses[]; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) readonly wasRemoved: boolean; } @@ -12774,12 +12879,20 @@ export class MultiChannelCCCommandEncapsulation extends MultiChannelCC { destination: MultiChannelCCDestination; // (undocumented) encapsulated: CommandClass; - // (undocumented) + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/cc" does not have an export "fromAsync" + // + // @deprecated (undocumented) static from(raw: CCRaw, ctx: CCParsingContext_2): MultiChannelCCCommandEncapsulation; // (undocumented) + static fromAsync(raw: CCRaw, ctx: CCParsingContext_2): Promise; + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/cc" does not have an export "serializeAsync" + // + // @deprecated (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + serializeAsync(ctx: CCEncodingContext_2): Promise; + // (undocumented) + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "MultiChannelCCCommandEncapsulationOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -12806,7 +12919,7 @@ export class MultiChannelCCEndPointFind extends MultiChannelCC { // (undocumented) specificClass: number; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "MultiChannelCCEndPointFindOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -12834,16 +12947,20 @@ export class MultiChannelCCEndPointFindReport extends MultiChannelCC { genericClass: number; // (undocumented) getPartialCCSessionId(): Record | undefined; - // (undocumented) + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/cc" does not have an export "mergePartialCCsAsync" + // + // @deprecated (undocumented) mergePartialCCs(partials: MultiChannelCCEndPointFindReport[], _ctx: CCParsingContext_2): void; // (undocumented) + mergePartialCCsAsync(partials: MultiChannelCCEndPointFindReport[], _ctx: CCParsingContext_2): Promise; + // (undocumented) reportsToFollow: number; // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) specificClass: number; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "MultiChannelCCEndPointFindReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -12884,7 +13001,7 @@ export class MultiChannelCCEndPointReport extends MultiChannelCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "MultiChannelCCEndPointReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -12910,12 +13027,20 @@ export class MultiChannelCCV1CommandEncapsulation extends MultiChannelCC { protected computeEncapsulationOverhead(): number; // (undocumented) encapsulated: CommandClass; - // (undocumented) + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/cc" does not have an export "fromAsync" + // + // @deprecated (undocumented) static from(raw: CCRaw, ctx: CCParsingContext_2): MultiChannelCCV1CommandEncapsulation; // (undocumented) + static fromAsync(raw: CCRaw, ctx: CCParsingContext_2): Promise; + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/cc" does not have an export "serializeAsync" + // + // @deprecated (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + serializeAsync(ctx: CCEncodingContext_2): Promise; + // (undocumented) + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "MultiChannelCCV1CommandEncapsulationOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -12938,7 +13063,7 @@ export class MultiChannelCCV1Get extends MultiChannelCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "MultiChannelCCV1GetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -12961,7 +13086,7 @@ export class MultiChannelCCV1Report extends MultiChannelCC { // (undocumented) readonly requestedCC: CommandClasses; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "MultiChannelCCV1ReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -12996,7 +13121,7 @@ export const MultiChannelCCValues: Readonly<{ readonly propertyKey: number; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly stateful: true; readonly secret: false; @@ -13016,7 +13141,7 @@ export const MultiChannelCCValues: Readonly<{ readonly endpoint: number; readonly property: "deviceClass"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -13041,7 +13166,7 @@ export const MultiChannelCCValues: Readonly<{ readonly endpoint: number; readonly property: "commandClasses"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -13066,7 +13191,7 @@ export const MultiChannelCCValues: Readonly<{ readonly endpoint: number; readonly property: "identicalCapabilities"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -13091,7 +13216,7 @@ export const MultiChannelCCValues: Readonly<{ readonly endpoint: number; readonly property: "countIsDynamic"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -13116,7 +13241,7 @@ export const MultiChannelCCValues: Readonly<{ readonly endpoint: number; readonly property: "aggregatedCount"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -13141,7 +13266,7 @@ export const MultiChannelCCValues: Readonly<{ readonly endpoint: number; readonly property: "individualCount"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -13166,7 +13291,7 @@ export const MultiChannelCCValues: Readonly<{ readonly endpoint: number; readonly property: "endpointIndizes"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -13231,12 +13356,20 @@ export class MultiCommandCCCommandEncapsulation extends MultiCommandCC { constructor(options: WithAddress); // (undocumented) encapsulated: CommandClass[]; - // (undocumented) + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/cc" does not have an export "fromAsync" + // + // @deprecated (undocumented) static from(raw: CCRaw, ctx: CCParsingContext_2): MultiCommandCCCommandEncapsulation; // (undocumented) + static fromAsync(raw: CCRaw, ctx: CCParsingContext_2): Promise; + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/cc" does not have an export "serializeAsync" + // + // @deprecated (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + serializeAsync(ctx: CCEncodingContext_2): Promise; + // (undocumented) + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "MultiCommandCCCommandEncapsulationOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -13269,14 +13402,14 @@ export interface MultiEncapsulatingCommandClass { export class MultilevelSensorCC extends CommandClass { // (undocumented) ccCommand: MultilevelSensorCommand; - static getSupportedScalesCached(ctx: GetValueDB_2, endpoint: EndpointId_2, sensorType: number): MaybeNotKnown; - static getSupportedSensorTypesCached(ctx: GetValueDB_2, endpoint: EndpointId_2): MaybeNotKnown; + static getSupportedScalesCached(ctx: GetValueDB_2, endpoint: EndpointId, sensorType: number): MaybeNotKnown; + static getSupportedSensorTypesCached(ctx: GetValueDB_2, endpoint: EndpointId): MaybeNotKnown; // (undocumented) interview(ctx: InterviewContext): Promise; // (undocumented) refreshValues(ctx: RefreshValuesContext): Promise; // (undocumented) - shouldRefreshValues(this: SinglecastCC_2, ctx: GetValueDB_2 & GetSupportedCCVersion_2 & GetDeviceConfig_2 & GetNode_2>): boolean; + shouldRefreshValues(this: SinglecastCC_2, ctx: GetValueDB_2 & GetSupportedCCVersion & GetDeviceConfig & GetNode_2>): boolean; // (undocumented) translatePropertyKey(ctx: GetValueDB_2, property: string | number, propertyKey: string | number): string | undefined; } @@ -13439,7 +13572,7 @@ export const MultilevelSensorCCValues: Readonly<{ readonly property: string; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -13467,7 +13600,7 @@ export const MultilevelSensorCCValues: Readonly<{ readonly propertyKey: number; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly stateful: true; readonly secret: false; @@ -13487,7 +13620,7 @@ export const MultilevelSensorCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportedSensorTypes"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -13535,7 +13668,7 @@ export interface MultilevelSensorValue { // Warning: (ae-missing-release-tag) "MultilevelSensorValueMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export type MultilevelSensorValueMetadata = ValueMetadata_2 & { +export type MultilevelSensorValueMetadata = ValueMetadata & { ccSpecific: { sensorType: number; scale: number; @@ -13549,13 +13682,13 @@ export class MultilevelSwitchCC extends CommandClass { // (undocumented) ccCommand: MultilevelSwitchCommand; // (undocumented) - protected createMetadataForLevelChangeActions(ctx: GetValueDB_2, switchType?: SwitchType): void; + protected createMetadataForLevelChangeActions(ctx: GetValueDB, switchType?: SwitchType): void; // (undocumented) interview(ctx: InterviewContext): Promise; // (undocumented) refreshValues(ctx: RefreshValuesContext): Promise; // (undocumented) - setMappedBasicValue(ctx: GetValueDB_2, value: number): boolean; + setMappedBasicValue(ctx: GetValueDB, value: number): boolean; } // Warning: (ae-missing-release-tag) "MultilevelSwitchCCGet" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -13580,7 +13713,7 @@ export class MultilevelSwitchCCReport extends MultilevelSwitchCC { // (undocumented) targetValue: MaybeUnknown | undefined; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "MultilevelSwitchCCReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -13609,7 +13742,7 @@ export class MultilevelSwitchCCSet extends MultilevelSwitchCC { // (undocumented) targetValue: number; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "MultilevelSwitchCCSetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -13640,7 +13773,7 @@ export class MultilevelSwitchCCStartLevelChange extends MultilevelSwitchCC { // (undocumented) startLevel: number; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "MultilevelSwitchCCStartLevelChangeOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -13684,7 +13817,7 @@ export class MultilevelSwitchCCSupportedReport extends MultilevelSwitchCC { // (undocumented) readonly switchType: SwitchType; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "MultilevelSwitchCCSupportedReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -13724,7 +13857,7 @@ export const MultilevelSwitchCCValues: Readonly<{ readonly property: string; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -13759,7 +13892,7 @@ export const MultilevelSwitchCCValues: Readonly<{ readonly property: string; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -13779,7 +13912,7 @@ export const MultilevelSwitchCCValues: Readonly<{ readonly endpoint: number; readonly property: "superviseStartStopLevelChange"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -13804,7 +13937,7 @@ export const MultilevelSwitchCCValues: Readonly<{ readonly endpoint: number; readonly property: "switchType"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -13829,7 +13962,7 @@ export const MultilevelSwitchCCValues: Readonly<{ readonly endpoint: number; readonly property: "event"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Event value"; readonly writeable: false; @@ -13844,7 +13977,7 @@ export const MultilevelSwitchCCValues: Readonly<{ readonly minVersion: 1; readonly supportsEndpoints: true; readonly stateful: false; - readonly autoCreate: (applHost: GetValueDB_2 & GetDeviceConfig_2, endpoint: EndpointId_2) => boolean; + readonly autoCreate: (applHost: GetValueDB & GetDeviceConfig, endpoint: EndpointId) => boolean; }; }; restorePrevious: { @@ -13857,7 +13990,7 @@ export const MultilevelSwitchCCValues: Readonly<{ readonly endpoint: number; readonly property: "restorePrevious"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Restore previous value"; readonly states: { @@ -13886,7 +14019,7 @@ export const MultilevelSwitchCCValues: Readonly<{ readonly endpoint: number; readonly property: "duration"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Remaining duration"; readonly writeable: false; @@ -13912,7 +14045,7 @@ export const MultilevelSwitchCCValues: Readonly<{ readonly endpoint: number; readonly property: "targetValue"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Target value"; readonly valueChangeOptions: readonly ["transitionDuration"]; @@ -13941,7 +14074,7 @@ export const MultilevelSwitchCCValues: Readonly<{ readonly endpoint: number; readonly property: "currentValue"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Current value"; readonly writeable: false; @@ -13984,7 +14117,7 @@ export enum MultilevelSwitchCommand { // Warning: (ae-missing-release-tag) "MultilevelSwitchLevelChangeMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export type MultilevelSwitchLevelChangeMetadata = ValueMetadata_2 & { +export type MultilevelSwitchLevelChangeMetadata = ValueMetadata & { ccSpecific: { switchType: SwitchType; }; @@ -14040,7 +14173,7 @@ export class NodeNamingAndLocationCCLocationReport extends NodeNamingAndLocation // (undocumented) readonly location: string; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "NodeNamingAndLocationCCLocationReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -14063,7 +14196,7 @@ export class NodeNamingAndLocationCCLocationSet extends NodeNamingAndLocationCC // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "NodeNamingAndLocationCCLocationSetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -14090,7 +14223,7 @@ export class NodeNamingAndLocationCCNameReport extends NodeNamingAndLocationCC { // (undocumented) readonly name: string; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "NodeNamingAndLocationCCNameReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -14113,7 +14246,7 @@ export class NodeNamingAndLocationCCNameSet extends NodeNamingAndLocationCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "NodeNamingAndLocationCCNameSetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -14138,7 +14271,7 @@ export const NodeNamingAndLocationCCValues: Readonly<{ readonly endpoint: number; readonly property: "location"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Node location"; readonly type: "string"; @@ -14164,7 +14297,7 @@ export const NodeNamingAndLocationCCValues: Readonly<{ readonly endpoint: number; readonly property: "name"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Node name"; readonly type: "string"; @@ -14227,7 +14360,7 @@ export class NotificationCC extends CommandClass { // (undocumented) refreshValues(ctx: RefreshValuesContext): Promise; // (undocumented) - shouldRefreshValues(this: SinglecastCC_2, ctx: GetValueDB_2 & GetSupportedCCVersion_2 & GetDeviceConfig_2 & GetNode_2>): boolean; + shouldRefreshValues(this: SinglecastCC_2, ctx: GetValueDB_2 & GetSupportedCCVersion & GetDeviceConfig & GetNode_2>): boolean; } // Warning: (ae-missing-release-tag) "NotificationCCEventSupportedGet" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -14433,7 +14566,7 @@ export const NotificationCCValues: Readonly<{ readonly propertyKey: string; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -14467,7 +14600,7 @@ export const NotificationCCValues: Readonly<{ readonly propertyKey: "unknown"; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -14499,7 +14632,7 @@ export const NotificationCCValues: Readonly<{ readonly property: string; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -14527,7 +14660,7 @@ export const NotificationCCValues: Readonly<{ readonly propertyKey: number; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly stateful: true; readonly secret: false; @@ -14549,7 +14682,7 @@ export const NotificationCCValues: Readonly<{ readonly property: "Access Control"; readonly propertyKey: "Door tilt state"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Door tilt state"; readonly states: { @@ -14586,7 +14719,7 @@ export const NotificationCCValues: Readonly<{ readonly property: "Access Control"; readonly propertyKey: "Door state (simple)"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Door state (simple)"; readonly states: { @@ -14608,7 +14741,7 @@ export const NotificationCCValues: Readonly<{ readonly internal: false; readonly minVersion: 1; readonly supportsEndpoints: true; - readonly autoCreate: (ctx: GetValueDB_2, endpoint: EndpointId_2) => boolean; + readonly autoCreate: (ctx: GetValueDB_2, endpoint: EndpointId) => boolean; }; }; alarmLevel: { @@ -14621,7 +14754,7 @@ export const NotificationCCValues: Readonly<{ readonly endpoint: number; readonly property: "alarmLevel"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Alarm Level"; readonly writeable: false; @@ -14649,7 +14782,7 @@ export const NotificationCCValues: Readonly<{ readonly endpoint: number; readonly property: "alarmType"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Alarm Type"; readonly writeable: false; @@ -14677,7 +14810,7 @@ export const NotificationCCValues: Readonly<{ readonly endpoint: number; readonly property: "lastRefresh"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -14702,7 +14835,7 @@ export const NotificationCCValues: Readonly<{ readonly endpoint: number; readonly property: "notificationMode"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -14727,7 +14860,7 @@ export const NotificationCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportedNotificationTypes"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -14752,7 +14885,7 @@ export const NotificationCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportsV1Alarm"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -14792,7 +14925,7 @@ export enum NotificationCommand { // Warning: (ae-missing-release-tag) "NotificationMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export type NotificationMetadata = ValueMetadata_2 & { +export type NotificationMetadata = ValueMetadata & { ccSpecific: { notificationType: number; }; @@ -14816,7 +14949,7 @@ export type PartialCCValuePredicate = (properties: ValueIDProperties) => boolean // Warning: (ae-missing-release-tag) "PersistValuesContext" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export type PersistValuesContext = HostIDs & GetValueDB & GetSupportedCCVersion & GetDeviceConfig & GetNode> & LogNode; +export type PersistValuesContext = HostIDs_2 & GetValueDB_2 & GetSupportedCCVersion & GetDeviceConfig & GetNode_2> & LogNode; // Warning: (ae-missing-release-tag) "PhysicalCCAPI" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -14830,7 +14963,7 @@ export class PhysicalCCAPI extends CCAPI { // Warning: (ae-missing-release-tag) "PhysicalCCAPIEndpoint" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export type PhysicalCCAPIEndpoint = CCAPIEndpoint & EndpointId; +export type PhysicalCCAPIEndpoint = CCAPIEndpoint & EndpointId_2; // Warning: (ae-missing-release-tag) "POLL_VALUE" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -14896,7 +15029,7 @@ export class PowerlevelCCReport extends PowerlevelCC { // (undocumented) readonly timeout?: number; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "PowerlevelCCReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -14924,7 +15057,7 @@ export class PowerlevelCCSet extends PowerlevelCC { // (undocumented) timeout?: number; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "PowerlevelCCSetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -14960,7 +15093,7 @@ export class PowerlevelCCTestNodeReport extends PowerlevelCC { // (undocumented) testNodeId: number; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "PowerlevelCCTestNodeReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -14991,7 +15124,7 @@ export class PowerlevelCCTestNodeSet extends PowerlevelCC { // (undocumented) testNodeId: number; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "PowerlevelCCTestNodeSetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -15064,7 +15197,7 @@ export class ProtectionCCExclusiveControlReport extends ProtectionCC { // (undocumented) static from(raw: CCRaw, ctx: CCParsingContext_2): ProtectionCCExclusiveControlReport; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "ProtectionCCExclusiveControlReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -15087,7 +15220,7 @@ export class ProtectionCCExclusiveControlSet extends ProtectionCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "ProtectionCCExclusiveControlSetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -15116,7 +15249,7 @@ export class ProtectionCCReport extends ProtectionCC { // (undocumented) readonly rf?: RFProtectionState; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "ProtectionCCReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -15143,7 +15276,7 @@ export class ProtectionCCSet extends ProtectionCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "ProtectionCCSetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -15180,7 +15313,7 @@ export class ProtectionCCSupportedReport extends ProtectionCC { // (undocumented) readonly supportsTimeout: boolean; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "ProtectionCCSupportedReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -15213,7 +15346,7 @@ export class ProtectionCCTimeoutReport extends ProtectionCC { // (undocumented) readonly timeout: Timeout; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "ProtectionCCTimeoutReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -15236,7 +15369,7 @@ export class ProtectionCCTimeoutSet extends ProtectionCC { // (undocumented) timeout: Timeout; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "ProtectionCCTimeoutSetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -15261,7 +15394,7 @@ export const ProtectionCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportedRFStates"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -15286,7 +15419,7 @@ export const ProtectionCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportedLocalStates"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -15311,7 +15444,7 @@ export const ProtectionCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportsTimeout"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -15336,7 +15469,7 @@ export const ProtectionCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportsExclusiveControl"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -15361,7 +15494,7 @@ export const ProtectionCCValues: Readonly<{ readonly endpoint: number; readonly property: "timeout"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "RF protection timeout"; readonly min: 0; @@ -15389,7 +15522,7 @@ export const ProtectionCCValues: Readonly<{ readonly endpoint: number; readonly property: "rf"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "RF protection state"; readonly states: { @@ -15418,7 +15551,7 @@ export const ProtectionCCValues: Readonly<{ readonly endpoint: number; readonly property: "local"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Local protection state"; readonly states: { @@ -15447,7 +15580,7 @@ export const ProtectionCCValues: Readonly<{ readonly endpoint: number; readonly property: "exclusiveControlNodeId"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly min: 1; readonly max: 232; @@ -15510,12 +15643,20 @@ export enum RateType { // Warning: (ae-missing-release-tag) "RefreshValuesContext" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export type RefreshValuesContext = CCAPIHost>; +export type RefreshValuesContext = CCAPIHost>; + +// Warning: (ae-missing-release-tag) "RefreshValueTimeouts" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface RefreshValueTimeouts { + refreshValue: number; + refreshValueAfterTransition: number; +} // Warning: (ae-missing-release-tag) "removeAssociations" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -function removeAssociations(ctx: CCAPIHost, endpoint: EndpointId_2 & SupportsCC & ControlsCC, group: number, destinations: AssociationAddress[]): Promise; +function removeAssociations(ctx: CCAPIHost, endpoint: EndpointId & SupportsCC & ControlsCC, group: number, destinations: AssociationAddress[]): Promise; // Warning: (ae-missing-release-tag) "ReturnWithTXReport" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -15556,7 +15697,7 @@ export class SceneActivationCCSet extends SceneActivationCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "SceneActivationCCSetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -15583,7 +15724,7 @@ export const SceneActivationCCValues: Readonly<{ readonly endpoint: number; readonly property: "dimmingDuration"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Dimming duration"; readonly type: "duration"; @@ -15609,7 +15750,7 @@ export const SceneActivationCCValues: Readonly<{ readonly endpoint: number; readonly property: "sceneId"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly min: 1; readonly label: "Scene ID"; @@ -15660,7 +15801,7 @@ export class SceneActuatorConfigurationCCGet extends SceneActuatorConfigurationC // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "SceneActuatorConfigurationCCGetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -15687,7 +15828,7 @@ export class SceneActuatorConfigurationCCReport extends SceneActuatorConfigurati // (undocumented) readonly sceneId: number; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "SceneActuatorConfigurationCCReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -15718,7 +15859,7 @@ export class SceneActuatorConfigurationCCSet extends SceneActuatorConfigurationC // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "SceneActuatorConfigurationCCSetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -15756,7 +15897,7 @@ export const SceneActuatorConfigurationCCValues: Readonly<{ readonly propertyKey: number; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -15788,7 +15929,7 @@ export const SceneActuatorConfigurationCCValues: Readonly<{ readonly propertyKey: number; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -15820,7 +15961,7 @@ export class SceneControllerConfigurationCC extends CommandClass { ccCommand: SceneControllerConfigurationCommand; // (undocumented) determineRequiredCCInterviews(): readonly CommandClasses[]; - static getGroupCountCached(ctx: GetValueDB_2 & GetDeviceConfig_2, endpoint: EndpointId_2): number; + static getGroupCountCached(ctx: GetValueDB & GetDeviceConfig, endpoint: EndpointId): number; // (undocumented) interview(ctx: InterviewContext): Promise; // (undocumented) @@ -15839,7 +15980,7 @@ export class SceneControllerConfigurationCCGet extends SceneControllerConfigurat // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "SceneControllerConfigurationCCGetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -15866,7 +16007,7 @@ export class SceneControllerConfigurationCCReport extends SceneControllerConfigu // (undocumented) readonly sceneId: number; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "SceneControllerConfigurationCCReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -15897,7 +16038,7 @@ export class SceneControllerConfigurationCCSet extends SceneControllerConfigurat // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "SceneControllerConfigurationCCSetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -15935,7 +16076,7 @@ export const SceneControllerConfigurationCCValues: Readonly<{ readonly propertyKey: number; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -15967,7 +16108,7 @@ export const SceneControllerConfigurationCCValues: Readonly<{ readonly propertyKey: number; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -15997,19 +16138,19 @@ export enum SceneControllerConfigurationCommand { export class ScheduleEntryLockCC extends CommandClass { // (undocumented) ccCommand: ScheduleEntryLockCommand; - static getNumDailyRepeatingSlotsCached(ctx: GetValueDB, endpoint: EndpointId_2): number; - static getNumWeekDaySlotsCached(ctx: GetValueDB, endpoint: EndpointId_2): number; - static getNumYearDaySlotsCached(ctx: GetValueDB, endpoint: EndpointId_2): number; + static getNumDailyRepeatingSlotsCached(ctx: GetValueDB_2, endpoint: EndpointId): number; + static getNumWeekDaySlotsCached(ctx: GetValueDB_2, endpoint: EndpointId): number; + static getNumYearDaySlotsCached(ctx: GetValueDB_2, endpoint: EndpointId): number; // (undocumented) - static getScheduleCached(ctx: GetValueDB, endpoint: EndpointId_2, scheduleKind: ScheduleEntryLockScheduleKind.WeekDay, userId: number, slotId: number): MaybeNotKnown; + static getScheduleCached(ctx: GetValueDB_2, endpoint: EndpointId, scheduleKind: ScheduleEntryLockScheduleKind.WeekDay, userId: number, slotId: number): MaybeNotKnown; // (undocumented) - static getScheduleCached(ctx: GetValueDB, endpoint: EndpointId_2, scheduleKind: ScheduleEntryLockScheduleKind.YearDay, userId: number, slotId: number): MaybeNotKnown; + static getScheduleCached(ctx: GetValueDB_2, endpoint: EndpointId, scheduleKind: ScheduleEntryLockScheduleKind.YearDay, userId: number, slotId: number): MaybeNotKnown; // (undocumented) - static getScheduleCached(ctx: GetValueDB, endpoint: EndpointId_2, scheduleKind: ScheduleEntryLockScheduleKind.DailyRepeating, userId: number, slotId: number): MaybeNotKnown; + static getScheduleCached(ctx: GetValueDB_2, endpoint: EndpointId, scheduleKind: ScheduleEntryLockScheduleKind.DailyRepeating, userId: number, slotId: number): MaybeNotKnown; // (undocumented) - static getScheduleCached(ctx: GetValueDB, endpoint: EndpointId_2, scheduleKind: ScheduleEntryLockScheduleKind, userId: number, slotId: number): MaybeNotKnown; - static getUserCodeScheduleEnabledCached(ctx: GetValueDB, endpoint: EndpointId_2, userId: number): boolean; - static getUserCodeScheduleKindCached(ctx: GetValueDB, endpoint: EndpointId_2, userId: number): MaybeNotKnown; + static getScheduleCached(ctx: GetValueDB_2, endpoint: EndpointId, scheduleKind: ScheduleEntryLockScheduleKind, userId: number, slotId: number): MaybeNotKnown; + static getUserCodeScheduleEnabledCached(ctx: GetValueDB_2, endpoint: EndpointId, userId: number): boolean; + static getUserCodeScheduleKindCached(ctx: GetValueDB_2, endpoint: EndpointId, userId: number): MaybeNotKnown; // (undocumented) interview(ctx: InterviewContext): Promise; } @@ -16020,13 +16161,13 @@ export class ScheduleEntryLockCC extends CommandClass { export class ScheduleEntryLockCCDailyRepeatingScheduleGet extends ScheduleEntryLockCC { constructor(options: WithAddress_2); // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ScheduleEntryLockCCDailyRepeatingScheduleGet; + static from(raw: CCRaw, ctx: CCParsingContext_2): ScheduleEntryLockCCDailyRepeatingScheduleGet; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes_2; + serialize(ctx: CCEncodingContext_2): Bytes_2; // (undocumented) slotId: number; // (undocumented) - toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry; + toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry; // (undocumented) userId: number; } @@ -16046,11 +16187,11 @@ export class ScheduleEntryLockCCDailyRepeatingScheduleReport extends ScheduleEnt // (undocumented) durationMinute?: number; // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ScheduleEntryLockCCDailyRepeatingScheduleReport; + static from(raw: CCRaw, ctx: CCParsingContext_2): ScheduleEntryLockCCDailyRepeatingScheduleReport; // (undocumented) persistValues(ctx: PersistValuesContext): boolean; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes_2; + serialize(ctx: CCEncodingContext_2): Bytes_2; // (undocumented) slotId: number; // (undocumented) @@ -16058,7 +16199,7 @@ export class ScheduleEntryLockCCDailyRepeatingScheduleReport extends ScheduleEnt // (undocumented) startMinute?: number; // (undocumented) - toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry; + toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry; // (undocumented) userId: number; // (undocumented) @@ -16082,9 +16223,9 @@ export class ScheduleEntryLockCCDailyRepeatingScheduleSet extends ScheduleEntryL // (undocumented) durationMinute?: number; // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ScheduleEntryLockCCDailyRepeatingScheduleSet; + static from(raw: CCRaw, ctx: CCParsingContext_2): ScheduleEntryLockCCDailyRepeatingScheduleSet; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes_2; + serialize(ctx: CCEncodingContext_2): Bytes_2; // (undocumented) slotId: number; // (undocumented) @@ -16092,7 +16233,7 @@ export class ScheduleEntryLockCCDailyRepeatingScheduleSet extends ScheduleEntryL // (undocumented) startMinute?: number; // (undocumented) - toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry; + toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry; // (undocumented) userId: number; // (undocumented) @@ -16117,11 +16258,11 @@ export class ScheduleEntryLockCCEnableAllSet extends ScheduleEntryLockCC { // (undocumented) enabled: boolean; // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ScheduleEntryLockCCEnableAllSet; + static from(raw: CCRaw, ctx: CCParsingContext_2): ScheduleEntryLockCCEnableAllSet; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes_2; + serialize(ctx: CCEncodingContext_2): Bytes_2; // (undocumented) - toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry; + toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry; } // Warning: (ae-missing-release-tag) "ScheduleEntryLockCCEnableAllSetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -16140,11 +16281,11 @@ export class ScheduleEntryLockCCEnableSet extends ScheduleEntryLockCC { // (undocumented) enabled: boolean; // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ScheduleEntryLockCCEnableSet; + static from(raw: CCRaw, ctx: CCParsingContext_2): ScheduleEntryLockCCEnableSet; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes_2; + serialize(ctx: CCEncodingContext_2): Bytes_2; // (undocumented) - toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry; + toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry; // (undocumented) userId: number; } @@ -16171,7 +16312,7 @@ export class ScheduleEntryLockCCSupportedGet extends ScheduleEntryLockCC { export class ScheduleEntryLockCCSupportedReport extends ScheduleEntryLockCC { constructor(options: WithAddress_2); // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ScheduleEntryLockCCSupportedReport; + static from(raw: CCRaw, ctx: CCParsingContext_2): ScheduleEntryLockCCSupportedReport; // (undocumented) numDailyRepeatingSlots: number | undefined; // (undocumented) @@ -16179,9 +16320,9 @@ export class ScheduleEntryLockCCSupportedReport extends ScheduleEntryLockCC { // (undocumented) numYearDaySlots: number; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes_2; + serialize(ctx: CCEncodingContext_2): Bytes_2; // (undocumented) - toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry; + toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry; } // Warning: (ae-missing-release-tag) "ScheduleEntryLockCCSupportedReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -16210,13 +16351,13 @@ export class ScheduleEntryLockCCTimeOffsetReport extends ScheduleEntryLockCC { // (undocumented) dstOffset: number; // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ScheduleEntryLockCCTimeOffsetReport; + static from(raw: CCRaw, ctx: CCParsingContext_2): ScheduleEntryLockCCTimeOffsetReport; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes_2; + serialize(ctx: CCEncodingContext_2): Bytes_2; // (undocumented) standardOffset: number; // (undocumented) - toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry; + toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry; } // Warning: (ae-missing-release-tag) "ScheduleEntryLockCCTimeOffsetReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -16237,13 +16378,13 @@ export class ScheduleEntryLockCCTimeOffsetSet extends ScheduleEntryLockCC { // (undocumented) dstOffset: number; // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ScheduleEntryLockCCTimeOffsetSet; + static from(raw: CCRaw, ctx: CCParsingContext_2): ScheduleEntryLockCCTimeOffsetSet; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes_2; + serialize(ctx: CCEncodingContext_2): Bytes_2; // (undocumented) standardOffset: number; // (undocumented) - toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry; + toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry; } // Warning: (ae-missing-release-tag) "ScheduleEntryLockCCTimeOffsetSetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -16278,7 +16419,7 @@ export const ScheduleEntryLockCCValues: Readonly<{ readonly propertyKey: number; }; }) & { - is: (valueId: ValueID) => boolean; + is: (valueId: ValueID_2) => boolean; readonly options: { readonly stateful: true; readonly secret: false; @@ -16306,7 +16447,7 @@ export const ScheduleEntryLockCCValues: Readonly<{ readonly propertyKey: number; }; }) & { - is: (valueId: ValueID) => boolean; + is: (valueId: ValueID_2) => boolean; readonly options: { readonly stateful: true; readonly secret: false; @@ -16334,7 +16475,7 @@ export const ScheduleEntryLockCCValues: Readonly<{ readonly propertyKey: number; }; }) & { - is: (valueId: ValueID) => boolean; + is: (valueId: ValueID_2) => boolean; readonly options: { readonly stateful: true; readonly secret: false; @@ -16354,7 +16495,7 @@ export const ScheduleEntryLockCCValues: Readonly<{ readonly endpoint: number; readonly property: "numDailyRepeatingSlots"; }; - readonly is: (valueId: ValueID) => boolean; + readonly is: (valueId: ValueID_2) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -16379,7 +16520,7 @@ export const ScheduleEntryLockCCValues: Readonly<{ readonly endpoint: number; readonly property: "numYearDaySlots"; }; - readonly is: (valueId: ValueID) => boolean; + readonly is: (valueId: ValueID_2) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -16404,7 +16545,7 @@ export const ScheduleEntryLockCCValues: Readonly<{ readonly endpoint: number; readonly property: "numWeekDaySlots"; }; - readonly is: (valueId: ValueID) => boolean; + readonly is: (valueId: ValueID_2) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -16427,13 +16568,13 @@ export const ScheduleEntryLockCCValues: Readonly<{ export class ScheduleEntryLockCCWeekDayScheduleGet extends ScheduleEntryLockCC { constructor(options: WithAddress_2); // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ScheduleEntryLockCCWeekDayScheduleGet; + static from(raw: CCRaw, ctx: CCParsingContext_2): ScheduleEntryLockCCWeekDayScheduleGet; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes_2; + serialize(ctx: CCEncodingContext_2): Bytes_2; // (undocumented) slotId: number; // (undocumented) - toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry; + toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry; // (undocumented) userId: number; } @@ -16449,11 +16590,11 @@ export type ScheduleEntryLockCCWeekDayScheduleGetOptions = ScheduleEntryLockSlot export class ScheduleEntryLockCCWeekDayScheduleReport extends ScheduleEntryLockCC { constructor(options: WithAddress_2); // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ScheduleEntryLockCCWeekDayScheduleReport; + static from(raw: CCRaw, ctx: CCParsingContext_2): ScheduleEntryLockCCWeekDayScheduleReport; // (undocumented) persistValues(ctx: PersistValuesContext): boolean; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes_2; + serialize(ctx: CCEncodingContext_2): Bytes_2; // (undocumented) slotId: number; // (undocumented) @@ -16465,7 +16606,7 @@ export class ScheduleEntryLockCCWeekDayScheduleReport extends ScheduleEntryLockC // (undocumented) stopMinute?: number; // (undocumented) - toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry; + toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry; // (undocumented) userId: number; // (undocumented) @@ -16485,9 +16626,9 @@ export class ScheduleEntryLockCCWeekDayScheduleSet extends ScheduleEntryLockCC { // (undocumented) action: ScheduleEntryLockSetAction; // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ScheduleEntryLockCCWeekDayScheduleSet; + static from(raw: CCRaw, ctx: CCParsingContext_2): ScheduleEntryLockCCWeekDayScheduleSet; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes_2; + serialize(ctx: CCEncodingContext_2): Bytes_2; // (undocumented) slotId: number; // (undocumented) @@ -16499,7 +16640,7 @@ export class ScheduleEntryLockCCWeekDayScheduleSet extends ScheduleEntryLockCC { // (undocumented) stopMinute?: number; // (undocumented) - toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry; + toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry; // (undocumented) userId: number; // (undocumented) @@ -16522,13 +16663,13 @@ export type ScheduleEntryLockCCWeekDayScheduleSetOptions = ScheduleEntryLockSlot export class ScheduleEntryLockCCYearDayScheduleGet extends ScheduleEntryLockCC { constructor(options: WithAddress_2); // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ScheduleEntryLockCCYearDayScheduleGet; + static from(raw: CCRaw, ctx: CCParsingContext_2): ScheduleEntryLockCCYearDayScheduleGet; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes_2; + serialize(ctx: CCEncodingContext_2): Bytes_2; // (undocumented) slotId: number; // (undocumented) - toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry; + toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry; // (undocumented) userId: number; } @@ -16544,11 +16685,11 @@ export type ScheduleEntryLockCCYearDayScheduleGetOptions = ScheduleEntryLockSlot export class ScheduleEntryLockCCYearDayScheduleReport extends ScheduleEntryLockCC { constructor(options: WithAddress_2); // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ScheduleEntryLockCCYearDayScheduleReport; + static from(raw: CCRaw, ctx: CCParsingContext_2): ScheduleEntryLockCCYearDayScheduleReport; // (undocumented) persistValues(ctx: PersistValuesContext): boolean; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes_2; + serialize(ctx: CCEncodingContext_2): Bytes_2; // (undocumented) slotId: number; // (undocumented) @@ -16572,7 +16713,7 @@ export class ScheduleEntryLockCCYearDayScheduleReport extends ScheduleEntryLockC // (undocumented) stopYear?: number; // (undocumented) - toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry; + toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry; // (undocumented) userId: number; } @@ -16590,9 +16731,9 @@ export class ScheduleEntryLockCCYearDayScheduleSet extends ScheduleEntryLockCC { // (undocumented) action: ScheduleEntryLockSetAction; // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ScheduleEntryLockCCYearDayScheduleSet; + static from(raw: CCRaw, ctx: CCParsingContext_2): ScheduleEntryLockCCYearDayScheduleSet; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes_2; + serialize(ctx: CCEncodingContext_2): Bytes_2; // (undocumented) slotId: number; // (undocumented) @@ -16616,7 +16757,7 @@ export class ScheduleEntryLockCCYearDayScheduleSet extends ScheduleEntryLockCC { // (undocumented) stopYear?: number; // (undocumented) - toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry; + toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry; // (undocumented) userId: number; } @@ -16791,14 +16932,20 @@ export enum ScheduleOverrideType { Temporary = 1 } +// Warning: (ae-missing-release-tag) "SchedulePoll" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface SchedulePoll { + // (undocumented) + schedulePoll(nodeId: number, valueId: ValueID_2, options: SchedulePollOptions): boolean; +} + // Warning: (ae-missing-release-tag) "SchedulePollOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) export interface SchedulePollOptions { - // (undocumented) - duration?: Duration_2; - // (undocumented) - transition?: "fast" | "slow"; + expectedValue?: unknown; + timeoutMs?: number; } // Warning: (ae-missing-release-tag) "Security2CC" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -16973,8 +17120,12 @@ export class Security2CCMessageEncapsulation extends Security2CC { encapsulated?: CommandClass; // (undocumented) extensions: Security2Extension[]; - // (undocumented) + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/cc" does not have an export "fromAsync" + // + // @deprecated (undocumented) static from(raw: CCRaw, ctx: CCParsingContext_2): Security2CCMessageEncapsulation; + // (undocumented) + static fromAsync(raw: CCRaw, ctx: CCParsingContext_2): Promise; getMulticastGroupId(): number | undefined; getSenderEI(): Uint8Array | undefined; // (undocumented) @@ -16985,9 +17136,13 @@ export class Security2CCMessageEncapsulation extends Security2CC { readonly securityClass?: SecurityClass; // (undocumented) sequenceNumber: number | undefined; - // (undocumented) + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/cc" does not have an export "serializeAsync" + // + // @deprecated (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) + serializeAsync(ctx: CCEncodingContext_2): Promise; + // (undocumented) toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry; // (undocumented) readonly verifyDelivery: boolean; @@ -17269,16 +17424,26 @@ export class SecurityCCCommandEncapsulation extends SecurityCC { // (undocumented) static from(raw: CCRaw, ctx: CCParsingContext_2): SecurityCCCommandEncapsulation; // (undocumented) - getPartialCCSessionId(): Record | undefined; + static fromAsync(raw: CCRaw, ctx: CCParsingContext_2): Promise; // (undocumented) + getPartialCCSessionId(): Record | undefined; + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/cc" does not have an export "mergePartialCCsAsync" + // + // @deprecated (undocumented) mergePartialCCs(partials: SecurityCCCommandEncapsulation[], ctx: CCParsingContext_2): void; // (undocumented) + mergePartialCCsAsync(partials: SecurityCCCommandEncapsulation[], ctx: CCParsingContext_2): Promise; + // (undocumented) nonce: Uint8Array | undefined; // (undocumented) get nonceId(): number | undefined; - // (undocumented) + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/cc" does not have an export "serializeAsync" + // + // @deprecated (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) + serializeAsync(ctx: CCEncodingContext_2): Promise; + // (undocumented) toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry; } @@ -17321,9 +17486,13 @@ export class SecurityCCCommandsSupportedReport extends SecurityCC { static from(raw: CCRaw, ctx: CCParsingContext_2): SecurityCCCommandsSupportedReport; // (undocumented) getPartialCCSessionId(): Record | undefined; - // (undocumented) + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/cc" does not have an export "mergePartialCCsAsync" + // + // @deprecated (undocumented) mergePartialCCs(partials: SecurityCCCommandsSupportedReport[]): void; // (undocumented) + mergePartialCCsAsync(partials: SecurityCCCommandsSupportedReport[]): Promise; + // (undocumented) reportsToFollow: number; // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; @@ -17456,6 +17625,14 @@ export enum SecurityCommand { SchemeReport = 5 } +// Warning: (ae-missing-release-tag) "SendCommand" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface SendCommand { + // (undocumented) + sendCommand(command: CCId, options?: SendCommandOptions): Promise>; +} + // Warning: (ae-missing-release-tag) "SET_VALUE" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public @@ -17609,7 +17786,7 @@ export class SoundSwitchCCConfigurationReport extends SoundSwitchCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "SoundSwitchCCConfigurationReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -17636,7 +17813,7 @@ export class SoundSwitchCCConfigurationSet extends SoundSwitchCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "SoundSwitchCCConfigurationSetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -17659,7 +17836,7 @@ export class SoundSwitchCCToneInfoGet extends SoundSwitchCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) toneId: number; } @@ -17686,7 +17863,7 @@ export class SoundSwitchCCToneInfoReport extends SoundSwitchCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) readonly toneId: number; } @@ -17719,7 +17896,7 @@ export class SoundSwitchCCTonePlayReport extends SoundSwitchCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) readonly toneId: ToneId | number; // (undocumented) @@ -17746,7 +17923,7 @@ export class SoundSwitchCCTonePlaySet extends SoundSwitchCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) toneId: ToneId | number; // (undocumented) @@ -17779,7 +17956,7 @@ export class SoundSwitchCCTonesNumberReport extends SoundSwitchCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) toneCount: number; } @@ -17806,7 +17983,7 @@ export const SoundSwitchCCValues: Readonly<{ readonly endpoint: number; readonly property: "defaultToneId"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly min: 1; readonly max: 254; @@ -17834,7 +18011,7 @@ export const SoundSwitchCCValues: Readonly<{ readonly endpoint: number; readonly property: "defaultVolume"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly min: 0; readonly max: 100; @@ -17863,7 +18040,7 @@ export const SoundSwitchCCValues: Readonly<{ readonly endpoint: number; readonly property: "toneId"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Play Tone"; readonly valueChangeOptions: readonly ["volume"]; @@ -17892,7 +18069,7 @@ export const SoundSwitchCCValues: Readonly<{ readonly endpoint: number; readonly property: "volume"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly min: 0; readonly max: 100; @@ -17988,13 +18165,13 @@ export class SupervisionCC extends CommandClass { // (undocumented) ccCommand: SupervisionCommand; static encapsulate(cc: CommandClass, sessionId: number, requestStatusUpdates?: boolean): SupervisionCCGet; - static getCCSupportedWithSupervision(ctx: GetValueDB_2, endpoint: EndpointId_2, ccId: CommandClasses): boolean; + static getCCSupportedWithSupervision(ctx: GetValueDB, endpoint: EndpointId, ccId: CommandClasses): boolean; static getSessionId(command: CommandClass): number | undefined; - static mayUseSupervision(ctx: GetValueDB_2 & GetNode_2>, command: T): command is SinglecastCC_2; + static mayUseSupervision(ctx: GetValueDB & GetNode>, command: T): command is SinglecastCC_2; // (undocumented) nodeId: number; static requiresEncapsulation(cc: CommandClass): boolean; - static setCCSupportedWithSupervision(ctx: GetValueDB_2, endpoint: EndpointId_2, ccId: CommandClasses, supported: boolean): void; + static setCCSupportedWithSupervision(ctx: GetValueDB, endpoint: EndpointId, ccId: CommandClasses, supported: boolean): void; } // Warning: (ae-missing-release-tag) "SupervisionCCGet" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -18006,16 +18183,24 @@ export class SupervisionCCGet extends SupervisionCC { protected computeEncapsulationOverhead(): number; // (undocumented) encapsulated: CommandClass; - // (undocumented) + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/cc" does not have an export "fromAsync" + // + // @deprecated (undocumented) static from(raw: CCRaw, ctx: CCParsingContext_2): SupervisionCCGet; // (undocumented) - requestStatusUpdates: boolean; + static fromAsync(raw: CCRaw, ctx: CCParsingContext_2): Promise; // (undocumented) + requestStatusUpdates: boolean; + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/cc" does not have an export "serializeAsync" + // + // @deprecated (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) + serializeAsync(ctx: CCEncodingContext_2): Promise; + // (undocumented) sessionId: number; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "SupervisionCCGetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -18050,7 +18235,7 @@ export class SupervisionCCReport extends SupervisionCC { // (undocumented) readonly status: SupervisionStatus; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) toSupervisionResult(): SupervisionResult; } @@ -18091,7 +18276,7 @@ export const SupervisionCCValues: Readonly<{ readonly propertyKey: CommandClasses; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly stateful: true; readonly secret: false; @@ -18212,7 +18397,7 @@ export class ThermostatFanModeCCReport extends ThermostatFanModeCC { // (undocumented) readonly off: boolean | undefined; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "ThermostatFanModeCCReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -18239,7 +18424,7 @@ export class ThermostatFanModeCCSet extends ThermostatFanModeCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "ThermostatFanModeCCSetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -18270,7 +18455,7 @@ export class ThermostatFanModeCCSupportedReport extends ThermostatFanModeCC { // (undocumented) readonly supportedModes: ThermostatFanMode[]; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "ThermostatFanModeCCSupportedReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -18295,7 +18480,7 @@ export const ThermostatFanModeCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportedModes"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -18320,7 +18505,7 @@ export const ThermostatFanModeCCValues: Readonly<{ readonly endpoint: number; readonly property: "mode"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly states: { [x: number]: string; @@ -18351,7 +18536,7 @@ export const ThermostatFanModeCCValues: Readonly<{ readonly endpoint: number; readonly property: "off"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Thermostat fan turned off"; readonly type: "boolean"; @@ -18437,7 +18622,7 @@ export class ThermostatFanStateCCReport extends ThermostatFanStateCC { // (undocumented) readonly state: ThermostatFanState; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "ThermostatFanStateCCReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -18462,7 +18647,7 @@ export const ThermostatFanStateCCValues: Readonly<{ readonly endpoint: number; readonly property: "state"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly states: { [x: number]: string; @@ -18567,7 +18752,7 @@ export class ThermostatModeCCReport extends ThermostatModeCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "ThermostatModeCCReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -18595,7 +18780,7 @@ export class ThermostatModeCCSet extends ThermostatModeCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "ThermostatModeCCSetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -18628,7 +18813,7 @@ export class ThermostatModeCCSupportedReport extends ThermostatModeCC { // (undocumented) readonly supportedModes: ThermostatMode[]; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "ThermostatModeCCSupportedReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -18653,7 +18838,7 @@ export const ThermostatModeCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportedModes"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -18678,7 +18863,7 @@ export const ThermostatModeCCValues: Readonly<{ readonly endpoint: number; readonly property: "manufacturerData"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Manufacturer data"; readonly writeable: false; @@ -18704,7 +18889,7 @@ export const ThermostatModeCCValues: Readonly<{ readonly endpoint: number; readonly property: "mode"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly states: { [x: number]: string; @@ -18801,7 +18986,7 @@ export class ThermostatOperatingStateCCReport extends ThermostatOperatingStateCC // (undocumented) readonly state: ThermostatOperatingState; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "ThermostatOperatingStateCCReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -18826,7 +19011,7 @@ export const ThermostatOperatingStateCCValues: Readonly<{ readonly endpoint: number; readonly property: "state"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Operating state"; readonly states: { @@ -18890,7 +19075,7 @@ export class ThermostatSetbackCCReport extends ThermostatSetbackCC { // (undocumented) readonly setbackType: SetbackType; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "ThermostatSetbackCCReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -18916,7 +19101,7 @@ export class ThermostatSetbackCCSet extends ThermostatSetbackCC { // (undocumented) setbackType: SetbackType; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "ThermostatSetbackCCSetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -18966,7 +19151,7 @@ export class ThermostatSetpointCC extends CommandClass { // (undocumented) refreshValues(ctx: RefreshValuesContext): Promise; // (undocumented) - translatePropertyKey(ctx: GetValueDB_2, property: string | number, propertyKey: string | number): string | undefined; + translatePropertyKey(ctx: GetValueDB, property: string | number, propertyKey: string | number): string | undefined; } // Warning: (ae-missing-release-tag) "ThermostatSetpointCCCapabilitiesGet" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -18981,7 +19166,7 @@ export class ThermostatSetpointCCCapabilitiesGet extends ThermostatSetpointCC { // (undocumented) setpointType: ThermostatSetpointType; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "ThermostatSetpointCCCapabilitiesGetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -19012,7 +19197,7 @@ export class ThermostatSetpointCCCapabilitiesReport extends ThermostatSetpointCC // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) type: ThermostatSetpointType; } @@ -19045,7 +19230,7 @@ export class ThermostatSetpointCCGet extends ThermostatSetpointCC { // (undocumented) setpointType: ThermostatSetpointType; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "ThermostatSetpointCCGetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -19070,7 +19255,7 @@ export class ThermostatSetpointCCReport extends ThermostatSetpointCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) type: ThermostatSetpointType; // (undocumented) @@ -19103,7 +19288,7 @@ export class ThermostatSetpointCCSet extends ThermostatSetpointCC { // (undocumented) setpointType: ThermostatSetpointType; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) value: number; } @@ -19138,7 +19323,7 @@ export class ThermostatSetpointCCSupportedReport extends ThermostatSetpointCC { // (undocumented) readonly supportedSetpointTypes: readonly ThermostatSetpointType[]; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "ThermostatSetpointCCSupportedReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -19171,7 +19356,7 @@ export const ThermostatSetpointCCValues: Readonly<{ readonly propertyKey: ThermostatSetpointType; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly stateful: true; readonly secret: false; @@ -19203,7 +19388,7 @@ export const ThermostatSetpointCCValues: Readonly<{ readonly propertyKey: ThermostatSetpointType; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -19223,7 +19408,7 @@ export const ThermostatSetpointCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportedSetpointTypes"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -19263,7 +19448,7 @@ export enum ThermostatSetpointCommand { // Warning: (ae-missing-release-tag) "ThermostatSetpointMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export type ThermostatSetpointMetadata = ValueMetadata_2 & { +export type ThermostatSetpointMetadata = ValueMetadata & { ccSpecific: { setpointType: ThermostatSetpointType; }; @@ -19589,7 +19774,7 @@ export const TimeParametersCCValues: Readonly<{ readonly endpoint: number; readonly property: "dateAndTime"; }; - readonly is: (valueId: ValueID) => boolean; + readonly is: (valueId: ValueID_2) => boolean; readonly meta: { readonly label: "Date and Time"; readonly type: "any"; @@ -19675,7 +19860,7 @@ export class TransportServiceCCFirstSegment extends TransportServiceCC { // (undocumented) sessionId: number; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "TransportServiceCCFirstSegmentOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -19704,7 +19889,7 @@ export class TransportServiceCCSegmentComplete extends TransportServiceCC { // (undocumented) sessionId: number; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "TransportServiceCCSegmentCompleteOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -19729,7 +19914,7 @@ export class TransportServiceCCSegmentRequest extends TransportServiceCC { // (undocumented) sessionId: number; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "TransportServiceCCSegmentRequestOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -19754,7 +19939,7 @@ export class TransportServiceCCSegmentWait extends TransportServiceCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "TransportServiceCCSegmentWaitOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -19789,19 +19974,26 @@ export class TransportServiceCCSubsequentSegment extends TransportServiceCC { getPartialCCSessionId(): Record | undefined; // (undocumented) headerExtension: Uint8Array | undefined; - // (undocumented) + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/cc" does not have an export "mergePartialCCsAsync" + // + // @deprecated (undocumented) mergePartialCCs(partials: [ TransportServiceCCFirstSegment, ...TransportServiceCCSubsequentSegment[] ], ctx: CCParsingContext_2): void; // (undocumented) + mergePartialCCsAsync(partials: [ + TransportServiceCCFirstSegment, + ...TransportServiceCCSubsequentSegment[] + ], ctx: CCParsingContext_2): Promise; + // (undocumented) partialDatagram: Uint8Array; // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) sessionId: number; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "TransportServiceCCSubsequentSegmentOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -19847,19 +20039,19 @@ export const TransportServiceTimeouts: { export class UserCodeCC extends CommandClass { // (undocumented) ccCommand: UserCodeCommand; - static getSupportedASCIICharsCached(ctx: GetValueDB_2, endpoint: EndpointId_2): MaybeNotKnown; - static getSupportedKeypadModesCached(ctx: GetValueDB_2, endpoint: EndpointId_2): MaybeNotKnown; - static getSupportedUserIDStatusesCached(ctx: GetValueDB_2, endpoint: EndpointId_2): MaybeNotKnown; - static getSupportedUsersCached(ctx: GetValueDB_2, endpoint: EndpointId_2): MaybeNotKnown; - static getUserCodeCached(ctx: GetValueDB_2, endpoint: EndpointId_2, userId: number): MaybeNotKnown; - static getUserIdStatusCached(ctx: GetValueDB_2, endpoint: EndpointId_2, userId: number): MaybeNotKnown; + static getSupportedASCIICharsCached(ctx: GetValueDB, endpoint: EndpointId): MaybeNotKnown; + static getSupportedKeypadModesCached(ctx: GetValueDB, endpoint: EndpointId): MaybeNotKnown; + static getSupportedUserIDStatusesCached(ctx: GetValueDB, endpoint: EndpointId): MaybeNotKnown; + static getSupportedUsersCached(ctx: GetValueDB, endpoint: EndpointId): MaybeNotKnown; + static getUserCodeCached(ctx: GetValueDB, endpoint: EndpointId, userId: number): MaybeNotKnown; + static getUserIdStatusCached(ctx: GetValueDB, endpoint: EndpointId, userId: number): MaybeNotKnown; // (undocumented) interview(ctx: InterviewContext): Promise; // (undocumented) refreshValues(ctx: RefreshValuesContext): Promise; - static supportsAdminCodeCached(ctx: GetValueDB_2, endpoint: EndpointId_2): boolean; - static supportsAdminCodeDeactivationCached(ctx: GetValueDB_2, endpoint: EndpointId_2): boolean; - static supportsMultipleUserCodeSetCached(ctx: GetValueDB_2, endpoint: EndpointId_2): boolean; + static supportsAdminCodeCached(ctx: GetValueDB, endpoint: EndpointId): boolean; + static supportsAdminCodeDeactivationCached(ctx: GetValueDB, endpoint: EndpointId): boolean; + static supportsMultipleUserCodeSetCached(ctx: GetValueDB, endpoint: EndpointId): boolean; } // Warning: (ae-missing-release-tag) "UserCodeCCAdminCodeGet" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -19880,7 +20072,7 @@ export class UserCodeCCAdminCodeReport extends UserCodeCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "UserCodeCCAdminCodeReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -19903,7 +20095,7 @@ export class UserCodeCCAdminCodeSet extends UserCodeCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "UserCodeCCAdminCodeSetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -19946,7 +20138,7 @@ export class UserCodeCCCapabilitiesReport extends UserCodeCC { // (undocumented) readonly supportsUserCodeChecksum: boolean; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "UserCodeCCCapabilitiesReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -19983,7 +20175,7 @@ export class UserCodeCCExtendedUserCodeGet extends UserCodeCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) userId: number; } @@ -20010,7 +20202,7 @@ export class UserCodeCCExtendedUserCodeReport extends UserCodeCC { // (undocumented) persistValues(ctx: PersistValuesContext): boolean; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // Warning: (ae-forgotten-export) The symbol "UserCode" needs to be exported by the entry point index.d.ts // // (undocumented) @@ -20037,7 +20229,7 @@ export class UserCodeCCExtendedUserCodeSet extends UserCodeCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) userCodes: UserCodeCCSetOptions[]; } @@ -20060,7 +20252,7 @@ export class UserCodeCCGet extends UserCodeCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) userId: number; } @@ -20093,7 +20285,7 @@ export class UserCodeCCKeypadModeReport extends UserCodeCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "UserCodeCCKeypadModeReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -20116,7 +20308,7 @@ export class UserCodeCCKeypadModeSet extends UserCodeCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "UserCodeCCKeypadModeSetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -20140,7 +20332,7 @@ export class UserCodeCCReport extends UserCodeCC implements NotificationEventPay // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) toNotificationEventParameters(): { userId: number; @@ -20175,7 +20367,7 @@ export class UserCodeCCSet extends UserCodeCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) userCode: string | Uint8Array; // (undocumented) @@ -20217,7 +20409,7 @@ export class UserCodeCCUserCodeChecksumReport extends UserCodeCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) readonly userCodeChecksum: number; } @@ -20248,7 +20440,7 @@ export class UserCodeCCUsersNumberReport extends UserCodeCC { // (undocumented) readonly supportedUsers: number; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "UserCodeCCUsersNumberReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -20281,7 +20473,7 @@ export const UserCodeCCValues: Readonly<{ readonly propertyKey: number; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly stateful: true; readonly internal: false; @@ -20310,7 +20502,7 @@ export const UserCodeCCValues: Readonly<{ readonly propertyKey: number; }; }) & { - is: (valueId: ValueID_2) => boolean; + is: (valueId: ValueID) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -20330,7 +20522,7 @@ export const UserCodeCCValues: Readonly<{ readonly endpoint: number; readonly property: "adminCode"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Admin Code"; readonly minLength: 4; @@ -20358,7 +20550,7 @@ export const UserCodeCCValues: Readonly<{ readonly endpoint: number; readonly property: "keypadMode"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Keypad Mode"; readonly writeable: false; @@ -20384,7 +20576,7 @@ export const UserCodeCCValues: Readonly<{ readonly endpoint: number; readonly property: "userCodeChecksum"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -20409,7 +20601,7 @@ export const UserCodeCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportedASCIIChars"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -20434,7 +20626,7 @@ export const UserCodeCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportedKeypadModes"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -20459,7 +20651,7 @@ export const UserCodeCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportedUserIDStatuses"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -20484,7 +20676,7 @@ export const UserCodeCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportsMultipleUserCodeSet"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -20509,7 +20701,7 @@ export const UserCodeCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportsMultipleUserCodeReport"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -20534,7 +20726,7 @@ export const UserCodeCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportsUserCodeChecksum"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -20559,7 +20751,7 @@ export const UserCodeCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportsMasterCodeDeactivation"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -20584,7 +20776,7 @@ export const UserCodeCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportsMasterCode"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -20609,7 +20801,7 @@ export const UserCodeCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportsAdminCodeDeactivation"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -20634,7 +20826,7 @@ export const UserCodeCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportsAdminCode"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -20659,7 +20851,7 @@ export const UserCodeCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportedUsers"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -20736,6 +20928,13 @@ export enum UserIDStatus { StatusNotAvailable = 254 } +// Warning: (ae-missing-release-tag) "UserPreferences" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UserPreferences { + scales: Partial>; +} + // Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration // Warning: (ae-missing-release-tag) "useSupervision" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -20762,7 +20961,7 @@ export { utils } // Warning: (ae-missing-release-tag) "ValueIDProperties" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export type ValueIDProperties = Pick; +export type ValueIDProperties = Pick; // Warning: (ae-missing-release-tag) "ValveId" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -20819,7 +21018,7 @@ export class VersionCCCapabilitiesReport extends VersionCC { // (undocumented) supportsZWaveSoftwareGet: boolean; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "VersionCCCapabilitiesReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -20842,7 +21041,7 @@ export class VersionCCCommandClassGet extends VersionCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "VersionCCCommandClassGetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -20867,7 +21066,7 @@ export class VersionCCCommandClassReport extends VersionCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "VersionCCCommandClassReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -20904,7 +21103,7 @@ export class VersionCCReport extends VersionCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; } // Warning: (ae-missing-release-tag) "VersionCCReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -20935,7 +21134,7 @@ export const VersionCCValues: Readonly<{ readonly endpoint: number; readonly property: "applicationBuildNumber"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Application build number"; readonly writeable: false; @@ -20961,7 +21160,7 @@ export const VersionCCValues: Readonly<{ readonly endpoint: number; readonly property: "applicationVersion"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Application version"; readonly writeable: false; @@ -20987,7 +21186,7 @@ export const VersionCCValues: Readonly<{ readonly endpoint: number; readonly property: "zWaveProtocolBuildNumber"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Z-Wave protocol build number"; readonly writeable: false; @@ -21013,7 +21212,7 @@ export const VersionCCValues: Readonly<{ readonly endpoint: number; readonly property: "zWaveProtocolVersion"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Z-Wave protocol version"; readonly writeable: false; @@ -21039,7 +21238,7 @@ export const VersionCCValues: Readonly<{ readonly endpoint: number; readonly property: "hostInterfaceBuildNumber"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Serial API build number"; readonly writeable: false; @@ -21065,7 +21264,7 @@ export const VersionCCValues: Readonly<{ readonly endpoint: number; readonly property: "hostInterfaceVersion"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Serial API version"; readonly writeable: false; @@ -21091,7 +21290,7 @@ export const VersionCCValues: Readonly<{ readonly endpoint: number; readonly property: "applicationFrameworkBuildNumber"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Z-Wave application framework API build number"; readonly writeable: false; @@ -21117,7 +21316,7 @@ export const VersionCCValues: Readonly<{ readonly endpoint: number; readonly property: "applicationFrameworkAPIVersion"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Z-Wave application framework API version"; readonly writeable: false; @@ -21143,7 +21342,7 @@ export const VersionCCValues: Readonly<{ readonly endpoint: number; readonly property: "sdkVersion"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "SDK version"; readonly writeable: false; @@ -21169,7 +21368,7 @@ export const VersionCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportsZWaveSoftwareGet"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -21194,7 +21393,7 @@ export const VersionCCValues: Readonly<{ readonly endpoint: number; readonly property: "hardwareVersion"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Z-Wave chip hardware version"; readonly writeable: false; @@ -21220,7 +21419,7 @@ export const VersionCCValues: Readonly<{ readonly endpoint: number; readonly property: "protocolVersion"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Z-Wave protocol version"; readonly writeable: false; @@ -21246,7 +21445,7 @@ export const VersionCCValues: Readonly<{ readonly endpoint: number; readonly property: "libraryType"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Library type"; readonly states: { @@ -21275,7 +21474,7 @@ export const VersionCCValues: Readonly<{ readonly endpoint: number; readonly property: "firmwareVersions"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "string[]"; readonly label: "Z-Wave chip firmware versions"; @@ -21321,7 +21520,7 @@ export class VersionCCZWaveSoftwareReport extends VersionCC { // (undocumented) readonly sdkVersion: string; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) readonly zWaveProtocolBuildNumber: number; // (undocumented) @@ -21411,7 +21610,7 @@ export class WakeUpCCIntervalCapabilitiesReport extends WakeUpCC { // (undocumented) persistValues(ctx: PersistValuesContext): boolean; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) readonly wakeUpIntervalSteps: number; // (undocumented) @@ -21450,7 +21649,7 @@ export class WakeUpCCIntervalReport extends WakeUpCC { // (undocumented) static from(raw: CCRaw, ctx: CCParsingContext_2): WakeUpCCIntervalReport; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) readonly wakeUpInterval: number; } @@ -21477,7 +21676,7 @@ export class WakeUpCCIntervalSet extends WakeUpCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) wakeUpInterval: number; } @@ -21512,7 +21711,7 @@ export const WakeUpCCValues: Readonly<{ readonly endpoint: number; readonly property: "wakeUpOnDemandSupported"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -21537,7 +21736,7 @@ export const WakeUpCCValues: Readonly<{ readonly endpoint: number; readonly property: "wakeUpInterval"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Wake Up interval"; readonly min: 0; @@ -21565,7 +21764,7 @@ export const WakeUpCCValues: Readonly<{ readonly endpoint: number; readonly property: "controllerNodeId"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly label: "Node ID of the controller"; readonly writeable: false; @@ -21657,7 +21856,7 @@ export class WindowCoveringCC extends CommandClass { // (undocumented) interview(ctx: InterviewContext): Promise; // (undocumented) - translatePropertyKey(ctx: GetValueDB, property: string | number, propertyKey: string | number): string | undefined; + translatePropertyKey(ctx: GetValueDB_2, property: string | number, propertyKey: string | number): string | undefined; } // Warning: (ae-missing-release-tag) "WindowCoveringCCGet" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -21666,13 +21865,13 @@ export class WindowCoveringCC extends CommandClass { export class WindowCoveringCCGet extends WindowCoveringCC { constructor(options: WithAddress_2); // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): WindowCoveringCCGet; + static from(raw: CCRaw, ctx: CCParsingContext_2): WindowCoveringCCGet; // (undocumented) parameter: WindowCoveringParameter; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes; + serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry; + toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry; } // Warning: (ae-missing-release-tag) "WindowCoveringCCGetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -21693,13 +21892,13 @@ export class WindowCoveringCCReport extends WindowCoveringCC { // (undocumented) readonly duration: Duration_2; // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): WindowCoveringCCReport; + static from(raw: CCRaw, ctx: CCParsingContext_2): WindowCoveringCCReport; // (undocumented) readonly parameter: WindowCoveringParameter; // (undocumented) readonly targetValue: number; // (undocumented) - toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry; + toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry; } // Warning: (ae-missing-release-tag) "WindowCoveringCCReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -21724,16 +21923,16 @@ export class WindowCoveringCCSet extends WindowCoveringCC { // (undocumented) duration: Duration_2 | undefined; // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): WindowCoveringCCSet; + static from(raw: CCRaw, ctx: CCParsingContext_2): WindowCoveringCCSet; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes; + serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) targetValues: { parameter: WindowCoveringParameter; value: number; }[]; // (undocumented) - toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry; + toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry; } // Warning: (ae-missing-release-tag) "WindowCoveringCCSetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -21759,13 +21958,13 @@ export class WindowCoveringCCStartLevelChange extends WindowCoveringCC { // (undocumented) duration: Duration_2 | undefined; // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): WindowCoveringCCStartLevelChange; + static from(raw: CCRaw, ctx: CCParsingContext_2): WindowCoveringCCStartLevelChange; // (undocumented) parameter: WindowCoveringParameter; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes; + serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry; + toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry; } // Warning: (ae-missing-release-tag) "WindowCoveringCCStartLevelChangeOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -21786,13 +21985,13 @@ export interface WindowCoveringCCStartLevelChangeOptions { export class WindowCoveringCCStopLevelChange extends WindowCoveringCC { constructor(options: WithAddress_2); // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): WindowCoveringCCStopLevelChange; + static from(raw: CCRaw, ctx: CCParsingContext_2): WindowCoveringCCStopLevelChange; // (undocumented) parameter: WindowCoveringParameter; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes; + serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry; + toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry; } // Warning: (ae-missing-release-tag) "WindowCoveringCCStopLevelChangeOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -21815,13 +22014,13 @@ export class WindowCoveringCCSupportedGet extends WindowCoveringCC { export class WindowCoveringCCSupportedReport extends WindowCoveringCC { constructor(options: WithAddress_2); // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): WindowCoveringCCSupportedReport; + static from(raw: CCRaw, ctx: CCParsingContext_2): WindowCoveringCCSupportedReport; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes; + serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) readonly supportedParameters: readonly WindowCoveringParameter[]; // (undocumented) - toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry; + toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry; } // Warning: (ae-missing-release-tag) "WindowCoveringCCSupportedReportOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -21863,7 +22062,7 @@ export const WindowCoveringCCValues: Readonly<{ readonly propertyKey: WindowCoveringParameter; }; }) & { - is: (valueId: ValueID) => boolean; + is: (valueId: ValueID_2) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -21900,7 +22099,7 @@ export const WindowCoveringCCValues: Readonly<{ readonly propertyKey: WindowCoveringParameter; }; }) & { - is: (valueId: ValueID) => boolean; + is: (valueId: ValueID_2) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -21932,7 +22131,7 @@ export const WindowCoveringCCValues: Readonly<{ readonly propertyKey: WindowCoveringParameter; }; }) & { - is: (valueId: ValueID) => boolean; + is: (valueId: ValueID_2) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -21971,7 +22170,7 @@ export const WindowCoveringCCValues: Readonly<{ readonly propertyKey: WindowCoveringParameter; }; }) & { - is: (valueId: ValueID) => boolean; + is: (valueId: ValueID_2) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -22008,7 +22207,7 @@ export const WindowCoveringCCValues: Readonly<{ readonly propertyKey: WindowCoveringParameter; }; }) & { - is: (valueId: ValueID) => boolean; + is: (valueId: ValueID_2) => boolean; readonly options: { readonly internal: false; readonly minVersion: 1; @@ -22028,7 +22227,7 @@ export const WindowCoveringCCValues: Readonly<{ readonly endpoint: number; readonly property: "supportedParameters"; }; - readonly is: (valueId: ValueID) => boolean; + readonly is: (valueId: ValueID_2) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -22179,7 +22378,7 @@ export class ZWavePlusCCReport extends ZWavePlusCC { // (undocumented) serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) - toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; + toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry_2; // (undocumented) userIcon: number; // (undocumented) @@ -22216,7 +22415,7 @@ export const ZWavePlusCCValues: Readonly<{ readonly endpoint: number; readonly property: "installerIcon"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -22241,7 +22440,7 @@ export const ZWavePlusCCValues: Readonly<{ readonly endpoint: number; readonly property: "userIcon"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -22266,7 +22465,7 @@ export const ZWavePlusCCValues: Readonly<{ readonly endpoint: number; readonly property: "roleType"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -22291,7 +22490,7 @@ export const ZWavePlusCCValues: Readonly<{ readonly endpoint: number; readonly property: "nodeType"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -22316,7 +22515,7 @@ export const ZWavePlusCCValues: Readonly<{ readonly endpoint: number; readonly property: "zwavePlusVersion"; }; - readonly is: (valueId: ValueID_2) => boolean; + readonly is: (valueId: ValueID) => boolean; readonly meta: { readonly type: "any"; readonly readable: true; @@ -22393,9 +22592,9 @@ export class ZWaveProtocolCCAcceptLost extends ZWaveProtocolCC { // (undocumented) accepted: boolean; // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ZWaveProtocolCCAcceptLost; + static from(raw: CCRaw, ctx: CCParsingContext_2): ZWaveProtocolCCAcceptLost; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes; + serialize(ctx: CCEncodingContext_2): Bytes; } // Warning: (ae-missing-release-tag) "ZWaveProtocolCCAcceptLostOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -22414,11 +22613,11 @@ export class ZWaveProtocolCCAssignIDs extends ZWaveProtocolCC { // (undocumented) assignedNodeId: number; // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ZWaveProtocolCCAssignIDs; + static from(raw: CCRaw, ctx: CCParsingContext_2): ZWaveProtocolCCAssignIDs; // (undocumented) homeId: number; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes; + serialize(ctx: CCEncodingContext_2): Bytes; } // Warning: (ae-missing-release-tag) "ZWaveProtocolCCAssignIDsOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -22443,13 +22642,13 @@ export class ZWaveProtocolCCAssignReturnRoute extends ZWaveProtocolCC { // (undocumented) destinationWakeUp: WakeUpTime; // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ZWaveProtocolCCAssignReturnRoute; + static from(raw: CCRaw, ctx: CCParsingContext_2): ZWaveProtocolCCAssignReturnRoute; // (undocumented) repeaters: number[]; // (undocumented) routeIndex: number; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes; + serialize(ctx: CCEncodingContext_2): Bytes; } // Warning: (ae-missing-release-tag) "ZWaveProtocolCCAssignReturnRouteOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -22474,11 +22673,11 @@ export interface ZWaveProtocolCCAssignReturnRouteOptions { export class ZWaveProtocolCCAssignReturnRoutePriority extends ZWaveProtocolCC { constructor(options: WithAddress_2); // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ZWaveProtocolCCAssignReturnRoutePriority; + static from(raw: CCRaw, ctx: CCParsingContext_2): ZWaveProtocolCCAssignReturnRoutePriority; // (undocumented) routeNumber: number; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes; + serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) targetNodeId: number; } @@ -22517,11 +22716,11 @@ export class ZWaveProtocolCCAutomaticControllerUpdateStart extends ZWaveProtocol export class ZWaveProtocolCCCommandComplete extends ZWaveProtocolCC { constructor(options: WithAddress_2); // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ZWaveProtocolCCCommandComplete; + static from(raw: CCRaw, ctx: CCParsingContext_2): ZWaveProtocolCCCommandComplete; // (undocumented) sequenceNumber: number; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes; + serialize(ctx: CCEncodingContext_2): Bytes; } // Warning: (ae-missing-release-tag) "ZWaveProtocolCCCommandCompleteOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -22548,9 +22747,9 @@ export class ZWaveProtocolCCFindNodesInRange extends ZWaveProtocolCC { // (undocumented) dataRate: ZWaveDataRate; // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ZWaveProtocolCCFindNodesInRange; + static from(raw: CCRaw, ctx: CCParsingContext_2): ZWaveProtocolCCFindNodesInRange; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes; + serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) wakeUpTime: WakeUpTime; } @@ -22579,11 +22778,11 @@ export class ZWaveProtocolCCGetNodesInRange extends ZWaveProtocolCC { export class ZWaveProtocolCCLost extends ZWaveProtocolCC { constructor(options: WithAddress_2); // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ZWaveProtocolCCLost; + static from(raw: CCRaw, ctx: CCParsingContext_2): ZWaveProtocolCCLost; // (undocumented) lostNodeId: number; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes; + serialize(ctx: CCEncodingContext_2): Bytes; } // Warning: (ae-missing-release-tag) "ZWaveProtocolCCLostOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -22602,7 +22801,7 @@ export class ZWaveProtocolCCNewNodeRegistered extends ZWaveProtocolCC implements // (undocumented) basicDeviceClass: BasicDeviceClass; // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ZWaveProtocolCCNewNodeRegistered; + static from(raw: CCRaw, ctx: CCParsingContext_2): ZWaveProtocolCCNewNodeRegistered; // (undocumented) genericDeviceClass: number; // (undocumented) @@ -22620,7 +22819,7 @@ export class ZWaveProtocolCCNewNodeRegistered extends ZWaveProtocolCC implements // (undocumented) protocolVersion: ProtocolVersion; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes; + serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) specificDeviceClass: number; // (undocumented) @@ -22647,11 +22846,11 @@ export interface ZWaveProtocolCCNewNodeRegisteredOptions extends NodeInformation export class ZWaveProtocolCCNewRangeRegistered extends ZWaveProtocolCC { constructor(options: WithAddress_2); // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ZWaveProtocolCCNewRangeRegistered; + static from(raw: CCRaw, ctx: CCParsingContext_2): ZWaveProtocolCCNewRangeRegistered; // (undocumented) neighborNodeIds: number[]; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes; + serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) testedNodeId: number; } @@ -22674,7 +22873,7 @@ export class ZWaveProtocolCCNodeInformationFrame extends ZWaveProtocolCC impleme // (undocumented) basicDeviceClass: BasicDeviceClass; // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ZWaveProtocolCCNodeInformationFrame; + static from(raw: CCRaw, ctx: CCParsingContext_2): ZWaveProtocolCCNodeInformationFrame; // (undocumented) genericDeviceClass: number; // (undocumented) @@ -22690,7 +22889,7 @@ export class ZWaveProtocolCCNodeInformationFrame extends ZWaveProtocolCC impleme // (undocumented) protocolVersion: ProtocolVersion; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes; + serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) specificDeviceClass: number; // (undocumented) @@ -22715,13 +22914,13 @@ export interface ZWaveProtocolCCNodeInformationFrameOptions extends NodeInformat export class ZWaveProtocolCCNodesExist extends ZWaveProtocolCC { constructor(options: WithAddress_2); // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ZWaveProtocolCCNodesExist; + static from(raw: CCRaw, ctx: CCParsingContext_2): ZWaveProtocolCCNodesExist; // (undocumented) nodeIDs: number[]; // (undocumented) nodeMaskType: number; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes; + serialize(ctx: CCEncodingContext_2): Bytes; } // Warning: (ae-missing-release-tag) "ZWaveProtocolCCNodesExistOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -22740,13 +22939,13 @@ export interface ZWaveProtocolCCNodesExistOptions { export class ZWaveProtocolCCNodesExistReply extends ZWaveProtocolCC { constructor(options: WithAddress_2); // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ZWaveProtocolCCNodesExistReply; + static from(raw: CCRaw, ctx: CCParsingContext_2): ZWaveProtocolCCNodesExistReply; // (undocumented) nodeListUpdated: boolean; // (undocumented) nodeMaskType: number; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes; + serialize(ctx: CCEncodingContext_2): Bytes; } // Warning: (ae-missing-release-tag) "ZWaveProtocolCCNodesExistReplyOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -22765,11 +22964,11 @@ export interface ZWaveProtocolCCNodesExistReplyOptions { export class ZWaveProtocolCCNOPPower extends ZWaveProtocolCC { constructor(options: WithAddress_2); // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ZWaveProtocolCCNOPPower; + static from(raw: CCRaw, ctx: CCParsingContext_2): ZWaveProtocolCCNOPPower; // (undocumented) powerDampening: number; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes; + serialize(ctx: CCEncodingContext_2): Bytes; } // Warning: (ae-missing-release-tag) "ZWaveProtocolCCNOPPowerOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -22786,11 +22985,11 @@ export interface ZWaveProtocolCCNOPPowerOptions { export class ZWaveProtocolCCRangeInfo extends ZWaveProtocolCC { constructor(options: WithAddress_2); // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ZWaveProtocolCCRangeInfo; + static from(raw: CCRaw, ctx: CCParsingContext_2): ZWaveProtocolCCRangeInfo; // (undocumented) neighborNodeIds: number[]; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes; + serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) wakeUpTime?: WakeUpTime; } @@ -22817,11 +23016,11 @@ export class ZWaveProtocolCCRequestNodeInformationFrame extends ZWaveProtocolCC export class ZWaveProtocolCCReservedIDs extends ZWaveProtocolCC { constructor(options: WithAddress_2); // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ZWaveProtocolCCReservedIDs; + static from(raw: CCRaw, ctx: CCParsingContext_2): ZWaveProtocolCCReservedIDs; // (undocumented) reservedNodeIDs: number[]; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes; + serialize(ctx: CCEncodingContext_2): Bytes; } // Warning: (ae-missing-release-tag) "ZWaveProtocolCCReservedIDsOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -22838,11 +23037,11 @@ export interface ZWaveProtocolCCReservedIDsOptions { export class ZWaveProtocolCCReserveNodeIDs extends ZWaveProtocolCC { constructor(options: WithAddress_2); // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ZWaveProtocolCCReserveNodeIDs; + static from(raw: CCRaw, ctx: CCParsingContext_2): ZWaveProtocolCCReserveNodeIDs; // (undocumented) numNodeIDs: number; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes; + serialize(ctx: CCEncodingContext_2): Bytes; } // Warning: (ae-missing-release-tag) "ZWaveProtocolCCReserveNodeIDsOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -22861,9 +23060,9 @@ export class ZWaveProtocolCCSetNWIMode extends ZWaveProtocolCC { // (undocumented) enabled: boolean; // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ZWaveProtocolCCSetNWIMode; + static from(raw: CCRaw, ctx: CCParsingContext_2): ZWaveProtocolCCSetNWIMode; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes; + serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) timeoutMinutes?: number; } @@ -22886,9 +23085,9 @@ export class ZWaveProtocolCCSetSUC extends ZWaveProtocolCC { // (undocumented) enableSIS: boolean; // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ZWaveProtocolCCSetSUC; + static from(raw: CCRaw, ctx: CCParsingContext_2): ZWaveProtocolCCSetSUC; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes; + serialize(ctx: CCEncodingContext_2): Bytes; } // Warning: (ae-missing-release-tag) "ZWaveProtocolCCSetSUCAck" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -22899,11 +23098,11 @@ export class ZWaveProtocolCCSetSUCAck extends ZWaveProtocolCC { // (undocumented) accepted: boolean; // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ZWaveProtocolCCSetSUCAck; + static from(raw: CCRaw, ctx: CCParsingContext_2): ZWaveProtocolCCSetSUCAck; // (undocumented) isSIS: boolean; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes; + serialize(ctx: CCEncodingContext_2): Bytes; } // Warning: (ae-missing-release-tag) "ZWaveProtocolCCSetSUCAckOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -22930,11 +23129,11 @@ export interface ZWaveProtocolCCSetSUCOptions { export class ZWaveProtocolCCSmartStartIncludedNodeInformation extends ZWaveProtocolCC { constructor(options: WithAddress_2); // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ZWaveProtocolCCSmartStartIncludedNodeInformation; + static from(raw: CCRaw, ctx: CCParsingContext_2): ZWaveProtocolCCSmartStartIncludedNodeInformation; // (undocumented) nwiHomeId: Uint8Array; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes; + serialize(ctx: CCEncodingContext_2): Bytes; } // Warning: (ae-missing-release-tag) "ZWaveProtocolCCSmartStartIncludedNodeInformationOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -22963,11 +23162,11 @@ export class ZWaveProtocolCCSmartStartPrime extends ZWaveProtocolCCNodeInformati export class ZWaveProtocolCCStaticRouteRequest extends ZWaveProtocolCC { constructor(options: WithAddress_2); // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ZWaveProtocolCCStaticRouteRequest; + static from(raw: CCRaw, ctx: CCParsingContext_2): ZWaveProtocolCCStaticRouteRequest; // (undocumented) nodeIds: number[]; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes; + serialize(ctx: CCEncodingContext_2): Bytes; } // Warning: (ae-missing-release-tag) "ZWaveProtocolCCStaticRouteRequestOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -22984,11 +23183,11 @@ export interface ZWaveProtocolCCStaticRouteRequestOptions { export class ZWaveProtocolCCSUCNodeID extends ZWaveProtocolCC { constructor(options: WithAddress_2); // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ZWaveProtocolCCSUCNodeID; + static from(raw: CCRaw, ctx: CCParsingContext_2): ZWaveProtocolCCSUCNodeID; // (undocumented) isSIS: boolean; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes; + serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) sucNodeId: number; } @@ -23009,9 +23208,9 @@ export interface ZWaveProtocolCCSUCNodeIDOptions { export class ZWaveProtocolCCTransferEnd extends ZWaveProtocolCC { constructor(options: WithAddress_2); // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ZWaveProtocolCCTransferEnd; + static from(raw: CCRaw, ctx: CCParsingContext_2): ZWaveProtocolCCTransferEnd; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes; + serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) status: NetworkTransferStatus; } @@ -23030,11 +23229,11 @@ export interface ZWaveProtocolCCTransferEndOptions { export class ZWaveProtocolCCTransferNewPrimaryControllerComplete extends ZWaveProtocolCC { constructor(options: WithAddress_2); // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ZWaveProtocolCCTransferNewPrimaryControllerComplete; + static from(raw: CCRaw, ctx: CCParsingContext_2): ZWaveProtocolCCTransferNewPrimaryControllerComplete; // (undocumented) genericDeviceClass: number; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes; + serialize(ctx: CCEncodingContext_2): Bytes; } // Warning: (ae-missing-release-tag) "ZWaveProtocolCCTransferNewPrimaryControllerCompleteOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -23053,7 +23252,7 @@ export class ZWaveProtocolCCTransferNodeInformation extends ZWaveProtocolCC impl // (undocumented) basicDeviceClass: BasicDeviceClass; // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ZWaveProtocolCCTransferNodeInformation; + static from(raw: CCRaw, ctx: CCParsingContext_2): ZWaveProtocolCCTransferNodeInformation; // (undocumented) genericDeviceClass: number; // (undocumented) @@ -23071,7 +23270,7 @@ export class ZWaveProtocolCCTransferNodeInformation extends ZWaveProtocolCC impl // (undocumented) sequenceNumber: number; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes; + serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) sourceNodeId: number; // (undocumented) @@ -23102,11 +23301,11 @@ export class ZWaveProtocolCCTransferPresentation extends ZWaveProtocolCC { // (undocumented) excludeNode: boolean; // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ZWaveProtocolCCTransferPresentation; + static from(raw: CCRaw, ctx: CCParsingContext_2): ZWaveProtocolCCTransferPresentation; // (undocumented) includeNode: boolean; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes; + serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) supportsNWI: boolean; } @@ -23129,13 +23328,13 @@ export interface ZWaveProtocolCCTransferPresentationOptions { export class ZWaveProtocolCCTransferRangeInformation extends ZWaveProtocolCC { constructor(options: WithAddress_2); // (undocumented) - static from(raw: CCRaw, ctx: CCParsingContext): ZWaveProtocolCCTransferRangeInformation; + static from(raw: CCRaw, ctx: CCParsingContext_2): ZWaveProtocolCCTransferRangeInformation; // (undocumented) neighborNodeIds: number[]; // (undocumented) sequenceNumber: number; // (undocumented) - serialize(ctx: CCEncodingContext): Bytes; + serialize(ctx: CCEncodingContext_2): Bytes; // (undocumented) testedNodeId: number; } @@ -23230,8 +23429,26 @@ export enum ZWaveProtocolCommand { // Warnings were encountered during analysis: // -// src/cc/TransportServiceCC.ts:47:2 - (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/cc" does not have an export "RELAXED_TIMING_THRESHOLD" -// src/cc/TransportServiceCC.ts:49:2 - (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/cc" does not have an export "RELAXED_TIMING_THRESHOLD" +// src/cc/ColorSwitchCC.ts:478:9 - (TS2345) Argument of type '("index" | "warmWhite" | "coldWhite" | "red" | "green" | "blue" | "amber" | "cyan" | "purple" | undefined)[]' is not assignable to parameter of type 'readonly (string | number | symbol)[]'. +// Type 'string | undefined' is not assignable to type 'string | number | symbol'. +// Type 'undefined' is not assignable to type 'string | number | symbol'. +// src/cc/ConfigurationCC.ts:1278:36 - (TS2345) Argument of type 'string | number' is not assignable to parameter of type 'number'. +// Type 'string' is not assignable to type 'number'. +// src/cc/ConfigurationCC.ts:1285:20 - (TS2345) Argument of type 'string | number' is not assignable to parameter of type 'number'. +// Type 'string' is not assignable to type 'number'. +// src/cc/ConfigurationCC.ts:1409:35 - (TS2345) Argument of type 'string | number' is not assignable to parameter of type 'number'. +// Type 'string' is not assignable to type 'number'. +// src/cc/Security2CC.ts:755:24 - (TS2339) Property 'groupId' does not exist on type 'Security2Extension'. +// src/cc/Security2CC.ts:763:24 - (TS2339) Property 'senderEI' does not exist on type 'Security2Extension'. +// src/cc/Security2CC.ts:1912:20 - (TS2339) Property 'groupId' does not exist on type 'Security2Extension'. +// src/cc/Security2CC.ts:1915:34 - (TS2339) Property 'innerMPANState' does not exist on type 'Security2Extension'. +// src/cc/Security2CC.ts:2198:20 - (TS2339) Property 'groupId' does not exist on type 'Security2Extension'. +// src/cc/Security2CC.ts:2201:34 - (TS2339) Property 'innerMPANState' does not exist on type 'Security2Extension'. +// src/cc/Security2CC.ts:2291:2 - (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/cc" does not have an export "maybeAddSPANExtensionAsync" +// src/cc/Security2CC.ts:2355:19 - (TS2339) Property 'senderEI' does not exist on type 'Security2Extension'. +// src/cc/Security2CC.ts:2424:19 - (TS2339) Property 'senderEI' does not exist on type 'Security2Extension'. +// src/cc/TransportServiceCC.ts:39:2 - (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/cc" does not have an export "RELAXED_TIMING_THRESHOLD" +// src/cc/TransportServiceCC.ts:41:2 - (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/cc" does not have an export "RELAXED_TIMING_THRESHOLD" // (No @packageDocumentation comment for this package) diff --git a/packages/config/config.api.md b/packages/config/config.api.md index 8332df50a13b..0a0022b45d59 100644 --- a/packages/config/config.api.md +++ b/packages/config/config.api.md @@ -6,11 +6,15 @@ import { CommandClasses } from '@zwave-js/core/safe'; import { CommandClassInfo } from '@zwave-js/core/safe'; +import { FileSystem } from '@zwave-js/shared/bindings'; import { JSONObject } from '@zwave-js/shared'; import { JSONObject as JSONObject_2 } from '@zwave-js/shared/safe'; import type { LogContext } from '@zwave-js/core/safe'; +import { ReadFile } from '@zwave-js/shared/bindings'; +import { ReadFileSystemInfo } from '@zwave-js/shared/bindings'; import { ReadonlyObjectKeyMap } from '@zwave-js/shared/safe'; import { ValueID } from '@zwave-js/core/safe'; +import { WriteFile } from '@zwave-js/shared/bindings'; import { ZWaveLogContainer } from '@zwave-js/core'; // Warning: (ae-missing-release-tag) "AssociationConfig" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -248,7 +252,7 @@ export class ConditionalDeviceConfig { // (undocumented) readonly firmwareVersion: FirmwareVersionRange; // (undocumented) - static from(filename: string, isEmbedded: boolean, options: { + static from(fs: ReadFileSystemInfo & ReadFile, filename: string, isEmbedded: boolean, options: { rootDir: string; fallbackDirs?: string[]; relative?: boolean; @@ -415,6 +419,8 @@ export class ConfigManager { // // @public (undocumented) export interface ConfigManagerOptions { + // (undocumented) + bindings?: FileSystem; // (undocumented) deviceConfigExternalDir?: string; // (undocumented) @@ -468,14 +474,14 @@ export class DeviceConfig { // (undocumented) readonly firmwareVersion: FirmwareVersionRange; // (undocumented) - static from(filename: string, isEmbedded: boolean, options: { + static from(fs: ReadFileSystemInfo & ReadFile, filename: string, isEmbedded: boolean, options: { rootDir: string; fallbackDirs?: string[]; relative?: boolean; deviceId?: DeviceID; }): Promise; getAssociationConfigForEndpoint(endpointIndex: number, group: number): AssociationConfig | undefined; - getHash(): Uint8Array; + getHash(algorithm?: "md5" | "sha-256"): Promise; readonly isEmbedded: boolean; // (undocumented) readonly label: string; @@ -601,6 +607,14 @@ export interface FulltextDeviceConfigIndexEntry { rootDir?: string; } +// Warning: (ae-missing-release-tag) "GetDeviceConfig" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface GetDeviceConfig { + // (undocumented) + getDeviceConfig(nodeId: number): DeviceConfig | undefined; +} + // Warning: (ae-missing-release-tag) "getDevicesPaths" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) @@ -609,6 +623,13 @@ export function getDevicesPaths(configDir: string): { indexPath: string; }; +// Warning: (ae-missing-release-tag) "LookupManufacturer" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface LookupManufacturer { + lookupManufacturer(manufacturerId: number): string | undefined; +} + // Warning: (ae-missing-release-tag) "ManufacturersMap" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) @@ -617,7 +638,7 @@ export type ManufacturersMap = Map; // Warning: (ae-missing-release-tag) "PACKAGE_VERSION" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export const PACKAGE_VERSION = "14.0.0"; +export const PACKAGE_VERSION = "14.3.7"; // Warning: (ae-missing-release-tag) "ParamInfoMap" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -644,7 +665,7 @@ export function parseConditionalParamInformationMap(definition: JSONObject_2, pa // Warning: (ae-missing-release-tag) "saveManufacturersInternal" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function saveManufacturersInternal(manufacturers: ManufacturersMap): Promise; +export function saveManufacturersInternal(fs: WriteFile, manufacturers: ManufacturersMap): Promise; // (No @packageDocumentation comment for this package) diff --git a/packages/core/core.api.md b/packages/core/core.api.md index 8e0d533f43f2..66e4e97d473c 100644 --- a/packages/core/core.api.md +++ b/packages/core/core.api.md @@ -6,16 +6,16 @@ import { Bytes } from '@zwave-js/shared/safe'; import * as crypto from 'node:crypto'; +import { Database } from '@zwave-js/shared/bindings'; import { ExpectStatic } from 'vitest'; import type { Format } from 'logform'; -import type { JsonlDB } from '@alcalzone/jsonl-db'; import type { JSONObject } from '@zwave-js/shared'; import { JSONObject as JSONObject_2 } from '@zwave-js/shared/safe'; import type { Logger } from 'winston'; import type { TransformableInfo } from 'logform'; import type Transport from 'winston-transport'; import type { TypedClassDecorator } from '@zwave-js/shared'; -import { TypedEventEmitter } from '@zwave-js/shared'; +import { TypedEventTarget } from '@zwave-js/shared'; import winston from 'winston'; // Warning: (ae-missing-release-tag) "actuatorCCs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -122,7 +122,7 @@ export class CacheBackedMap implements Map { [Symbol.iterator]: () => IterableIterator<[K, V]>; // (undocumented) get [Symbol.toStringTag](): string; - constructor(cache: JsonlDB, cacheKeys: CacheBackedMapKeys); + constructor(cache: Database, cacheKeys: CacheBackedMapKeys); // (undocumented) clear(): void; // (undocumented) @@ -465,22 +465,42 @@ export interface CommandClassInfo { // Warning: (ae-missing-release-tag) "computeCMAC" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function computeCMAC(message: Uint8Array, key: Uint8Array): Uint8Array; +export function computeCMACAsync(message: Uint8Array, key: Uint8Array): Promise; + +// Warning: (ae-missing-release-tag) "computeCMAC" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public @deprecated +export function computeCMACSync(message: Uint8Array, key: Uint8Array): Uint8Array; // Warning: (ae-missing-release-tag) "computeMAC" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function computeMAC(authData: Uint8Array, key: Uint8Array, iv?: Uint8Array): Uint8Array; +export function computeMACAsync(authData: Uint8Array, key: Uint8Array, iv?: Uint8Array): Promise; + +// Warning: (ae-missing-release-tag) "computeMAC" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public @deprecated +export function computeMACSync(authData: Uint8Array, key: Uint8Array, iv?: Uint8Array): Uint8Array; // Warning: (ae-missing-release-tag) "computeNoncePRK" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function computeNoncePRK(senderEI: Uint8Array, receiverEI: Uint8Array): Uint8Array; +export function computeNoncePRKAsync(senderEI: Uint8Array, receiverEI: Uint8Array): Promise; + +// Warning: (ae-missing-release-tag) "computeNoncePRK" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public @deprecated +export function computeNoncePRKSync(senderEI: Uint8Array, receiverEI: Uint8Array): Uint8Array; // Warning: (ae-missing-release-tag) "computePRK" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function computePRK(ecdhSharedSecret: Uint8Array, pubKeyA: Uint8Array, pubKeyB: Uint8Array): Uint8Array; +export function computePRKAsync(ecdhSharedSecret: Uint8Array, pubKeyA: Uint8Array, pubKeyB: Uint8Array): Promise; + +// Warning: (ae-missing-release-tag) "computePRK" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public @deprecated +export function computePRKSync(ecdhSharedSecret: Uint8Array, pubKeyA: Uint8Array, pubKeyB: Uint8Array): Uint8Array; // Warning: (ae-missing-release-tag) "ConfigurationMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -743,19 +763,18 @@ export interface CreateValuelessReflectionDecoratorOptions { // // @public (undocumented) export class CtrDRBG { - constructor(bits: 128, derivation: boolean, entropy?: Uint8Array, nonce?: Uint8Array, pers?: Uint8Array); // (undocumented) - derive(...input: Uint8Array[]): Uint8Array; + generateAsync(len: number): Promise; // (undocumented) - generate(len: number, add?: Uint8Array): Uint8Array; + generateSync(len: number): Uint8Array; // (undocumented) - init(entropy: Uint8Array, nonce?: Uint8Array, pers?: Uint8Array): this; + initAsync(entropy: Uint8Array, personalizationString?: Uint8Array): Promise; // (undocumented) - reseed(entropy: Uint8Array, add?: Uint8Array): this; + initSync(entropy: Uint8Array, personalizationString?: Uint8Array): void; // (undocumented) - serialize(...input: Uint8Array[]): Uint8Array; + updateAsync(providedData: Uint8Array | undefined): Promise; // (undocumented) - update(seed?: Uint8Array): this; + updateSync(providedData: Uint8Array | undefined): void; } // Warning: (ae-missing-release-tag) "DataDirection" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -777,51 +796,79 @@ export function dbKeyToValueIdFast(key: string): { nodeId: number; } & ValueID; -// Warning: (ae-missing-release-tag) "decodeX25519KeyDER" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// Warning: (ae-missing-release-tag) "decryptAES128CCM" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // -// @public -export function decodeX25519KeyDER(key: Uint8Array): Uint8Array; +// @public (undocumented) +export const decryptAES128CCMAsync: (ciphertext: Uint8Array, key: Uint8Array, iv: Uint8Array, additionalData: Uint8Array, authTag: Uint8Array) => Promise<{ + plaintext: Uint8Array; + authOK: boolean; +}>; // Warning: (ae-missing-release-tag) "decryptAES128CCM" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // -// @public (undocumented) -export function decryptAES128CCM(key: Uint8Array, iv: Uint8Array, ciphertext: Uint8Array, additionalData: Uint8Array, authTag: Uint8Array): { +// @public @deprecated +export function decryptAES128CCMSync(key: Uint8Array, iv: Uint8Array, ciphertext: Uint8Array, additionalData: Uint8Array, authTag: Uint8Array): { plaintext: Uint8Array; authOK: boolean; }; // Warning: (ae-missing-release-tag) "decryptAES128OFB" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // -// @public -export const decryptAES128OFB: (input: Uint8Array, key: Uint8Array, iv: Uint8Array) => Uint8Array; +// @public (undocumented) +export const decryptAES128OFBAsync: (ciphertext: Uint8Array, key: Uint8Array, iv: Uint8Array) => Promise; + +// Warning: (ae-missing-release-tag) "decryptAES128OFB" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public @deprecated +export const decryptAES128OFBSync: (input: Uint8Array, key: Uint8Array, iv: Uint8Array) => Uint8Array; + +// Warning: (ae-missing-release-tag) "decryptAES256CBC" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const decryptAES256CBCAsync: (ciphertext: Uint8Array, key: Uint8Array, iv: Uint8Array) => Promise; + +// Warning: (ae-missing-release-tag) "decryptAES256CBC" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public @deprecated +export const decryptAES256CBCSync: (input: Uint8Array, key: Uint8Array, iv: Uint8Array) => Uint8Array; + +// Warning: (ae-missing-release-tag) "deflateSync" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function deflateSync(data: Uint8Array): Uint8Array; // Warning: (ae-missing-release-tag) "deriveMEI" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function deriveMEI(noncePRK: Uint8Array): Uint8Array; +export function deriveMEIAsync(noncePRK: Uint8Array): Promise; // Warning: (ae-missing-release-tag) "deriveNetworkKeys" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function deriveNetworkKeys(PNK: Uint8Array): { +export function deriveNetworkKeysAsync(PNK: Uint8Array): Promise<{ keyCCM: Uint8Array; keyMPAN: Uint8Array; personalizationString: Uint8Array; -}; +}>; // Warning: (ae-missing-release-tag) "deriveTempKeys" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function deriveTempKeys(PRK: Uint8Array): { +export function deriveTempKeysAsync(PRK: Uint8Array): Promise<{ tempKeyCCM: Uint8Array; tempPersonalizationString: Uint8Array; -}; +}>; // Warning: (ae-missing-release-tag) "deserializeCacheValue" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public export function deserializeCacheValue(value: SerializedValue): unknown; +// Warning: (ae-missing-release-tag) "digest" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const digest: (algorithm: "md5" | "sha-1" | "sha-256", data: Uint8Array) => Promise; + // Warning: (ae-missing-release-tag) "directionPrefixPadding" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) @@ -861,6 +908,8 @@ export class Duration { static from(input: "default"): Duration; // (undocumented) static from(input?: Duration | string): Duration | undefined; + // (undocumented) + static isDuration(value: any): value is Duration; static parseReport(payload?: number): Duration | undefined; static parseSet(payload?: number): Duration | undefined; static parseString(text: string): Duration | undefined; @@ -998,33 +1047,41 @@ export function encodeNodeUpdatePayload(nif: NodeUpdatePayload, nodeIdType?: Nod // @public export function encodePartial(fullValue: number, partialValue: number, bitMask: number): number; -// Warning: (ae-missing-release-tag) "encodeX25519KeyDERPKCS8" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export function encodeX25519KeyDERPKCS8(key: Uint8Array): Uint8Array; - -// Warning: (ae-missing-release-tag) "encodeX25519KeyDERSPKI" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// Warning: (ae-missing-release-tag) "encryptAES128CCM" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // -// @public -export function encodeX25519KeyDERSPKI(key: Uint8Array): Uint8Array; +// @public (undocumented) +export const encryptAES128CCMAsync: (plaintext: Uint8Array, key: Uint8Array, iv: Uint8Array, additionalData: Uint8Array, authTagLength: number) => Promise<{ + ciphertext: Uint8Array; + authTag: Uint8Array; +}>; // Warning: (ae-missing-release-tag) "encryptAES128CCM" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // -// @public (undocumented) -export function encryptAES128CCM(key: Uint8Array, iv: Uint8Array, plaintext: Uint8Array, additionalData: Uint8Array, authTagLength: number): { +// @public @deprecated +export function encryptAES128CCMSync(key: Uint8Array, iv: Uint8Array, plaintext: Uint8Array, additionalData: Uint8Array, authTagLength: number): { ciphertext: Uint8Array; authTag: Uint8Array; }; // Warning: (ae-missing-release-tag) "encryptAES128ECB" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // -// @public -export function encryptAES128ECB(plaintext: Uint8Array, key: Uint8Array): Uint8Array; +// @public (undocumented) +export const encryptAES128ECBAsync: (plaintext: Uint8Array, key: Uint8Array) => Promise; + +// Warning: (ae-missing-release-tag) "encryptAES128ECB" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public @deprecated +export function encryptAES128ECBSync(plaintext: Uint8Array, key: Uint8Array): Uint8Array; // Warning: (ae-missing-release-tag) "encryptAES128OFB" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // -// @public -export const encryptAES128OFB: (input: Uint8Array, key: Uint8Array, iv: Uint8Array) => Uint8Array; +// @public (undocumented) +export const encryptAES128OFBAsync: (plaintext: Uint8Array, key: Uint8Array, iv: Uint8Array) => Promise; + +// Warning: (ae-missing-release-tag) "encryptAES128OFB" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public @deprecated +export const encryptAES128OFBSync: (input: Uint8Array, key: Uint8Array, iv: Uint8Array) => Uint8Array; // Warning: (ae-missing-release-tag) "EndpointId" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -1045,18 +1102,44 @@ export function enumValuesToMetadataStates>(enumer // Warning: (ae-missing-release-tag) "extractFirmware" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // -// @public +// @public @deprecated export function extractFirmware(rawData: Uint8Array, format: FirmwareFileFormat): Firmware; +// Warning: (ae-missing-release-tag) "extractFirmwareAsync" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function extractFirmwareAsync(rawData: Uint8Array, format: FirmwareFileFormat): Promise; + // Warning: (ae-missing-release-tag) "extractRawECDHPrivateKey" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function extractRawECDHPrivateKey(privateKey: crypto.KeyObject): Uint8Array; +export function extractRawECDHPrivateKeySync(privateKey: crypto.KeyObject): Uint8Array; // Warning: (ae-missing-release-tag) "extractRawECDHPublicKey" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function extractRawECDHPublicKey(publicKey: crypto.KeyObject): Uint8Array; +export function extractRawECDHPublicKeySync(publicKey: crypto.KeyObject): Uint8Array; + +// Warning: (ae-missing-release-tag) "fail" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function fail(reason: string): never; + +// Warning: (ae-missing-release-tag) "FileSystem" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface FileSystem { + // (undocumented) + ensureDir(path: string): Promise; + // (undocumented) + pathExists(path: string): Promise; + // (undocumented) + readFile(file: string, encoding: BufferEncoding): Promise; + // (undocumented) + writeFile(file: string, data: string | Uint8Array, options?: { + encoding: BufferEncoding; + } | BufferEncoding): Promise; +} // Warning: (ae-missing-release-tag) "Firmware" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -1106,20 +1189,30 @@ export function formatDate(date: Date, format: string): string; // @public (undocumented) export type FrameType = "singlecast" | "broadcast" | "multicast"; -// Warning: (ae-missing-release-tag) "generateAuthKey" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// Warning: (ae-missing-release-tag) "generateAuthKeyAsync" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // -// @public -export function generateAuthKey(networkKey: Uint8Array): Uint8Array; +// @public (undocumented) +export function generateAuthKeyAsync(networkKey: Uint8Array): Promise; + +// Warning: (ae-missing-release-tag) "generateAuthKeySync" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public @deprecated (undocumented) +export function generateAuthKeySync(networkKey: Uint8Array): Uint8Array; // Warning: (ae-missing-release-tag) "generateECDHKeyPair" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function generateECDHKeyPair(): KeyPair; +export function generateECDHKeyPairSync(): KeyPair; -// Warning: (ae-missing-release-tag) "generateEncryptionKey" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// Warning: (ae-missing-release-tag) "generateEncryptionKeyAsync" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function generateEncryptionKey(networkKey: Uint8Array): Uint8Array; +export function generateEncryptionKeyAsync(networkKey: Uint8Array): Promise; + +// Warning: (ae-missing-release-tag) "generateEncryptionKeySync" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public @deprecated (undocumented) +export function generateEncryptionKeySync(networkKey: Uint8Array): Uint8Array; // Warning: (ae-missing-release-tag) "GenericDeviceClass" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -1178,6 +1271,14 @@ export function getAllMeterScales(meterType: number): readonly MeterScale[] | un // @public export function getAllNamedScaleGroups(): readonly NamedScaleGroup[]; +// Warning: (ae-missing-release-tag) "GetAllNodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface GetAllNodes { + // (undocumented) + getAllNodes(): T[]; +} + // Warning: (ae-missing-release-tag) "getAllNotifications" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public @@ -1327,6 +1428,16 @@ export function getNamedScale(group: Name): NamedScales[Name]; +// Warning: (ae-missing-release-tag) "GetNode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface GetNode { + // (undocumented) + getNode(nodeId: number): T | undefined; + // (undocumented) + getNodeOrThrow(nodeId: number): T; +} + // Warning: (ae-missing-release-tag) "getNodeTag" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public @@ -1362,6 +1473,13 @@ export function getNotificationValueName(type: number, event: number): string; // @public export function getNumericEnumValues>(enumeration: T): readonly number[]; +// Warning: (ae-missing-release-tag) "GetSafeCCVersion" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface GetSafeCCVersion { + getSafeCCVersion(cc: CommandClasses, nodeId: number, endpointIndex?: number): number | undefined; +} + // Warning: (ae-missing-release-tag) "getSensor" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public @@ -1384,6 +1502,13 @@ export function getSensorScale { // @public export function guessFirmwareFileFormat(filename: string, rawData: Uint8Array): FirmwareFileFormat; +// Warning: (ae-missing-release-tag) "gunzipSync" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function gunzipSync(data: Uint8Array): Uint8Array; + // Warning: (ae-missing-release-tag) "highResTimestamp" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public @@ -1425,20 +1563,28 @@ export function highResTimestamp(): number; // @public export const HOMEID_BYTES = 4; +// Warning: (ae-missing-release-tag) "HostIDs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface HostIDs { + homeId: number; + ownNodeId: number; +} + // Warning: (ae-missing-release-tag) "importRawECDHPrivateKey" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function importRawECDHPrivateKey(privateKey: Uint8Array): crypto.KeyObject; +export function importRawECDHPrivateKeySync(privateKey: Uint8Array): crypto.KeyObject; // Warning: (ae-missing-release-tag) "importRawECDHPublicKey" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function importRawECDHPublicKey(publicKey: Uint8Array): crypto.KeyObject; +export function importRawECDHPublicKeySync(publicKey: Uint8Array): crypto.KeyObject; // Warning: (ae-missing-release-tag) "indexDBsByNode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function indexDBsByNode(databases: JsonlDB[]): Map>; +export function indexDBsByNode(databases: Database[]): Map>; // Warning: (ae-missing-release-tag) "Indicator" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -1676,6 +1822,7 @@ export enum Indicator { // @public (undocumented) export type IndicatorProperties = typeof indicatorProperties; +// Warning: (ae-forgotten-export) The symbol "IndicatorPropertyDefinition" needs to be exported by the entry point index.d.ts // Warning: (ae-missing-release-tag) "IndicatorProperty" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) @@ -1684,23 +1831,10 @@ export interface IndicatorProperty extends IndicatorPropertyDefinition { readonly id: number; } -// Warning: (ae-missing-release-tag) "IndicatorPropertyDefinition" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// Warning: (ae-missing-release-tag) "InferStateMachineTransitions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export interface IndicatorPropertyDefinition { - // (undocumented) - readonly description?: string; - // (undocumented) - readonly label: string; - // (undocumented) - readonly max?: number; - // (undocumented) - readonly min?: number; - // (undocumented) - readonly readonly?: boolean; - // (undocumented) - readonly type?: ValueType; -} +export type InferStateMachineTransitions> = T extends StateMachine ? StateMachineTransitionMap : never; // Warning: (ae-missing-release-tag) "IntegerLimits" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -1795,11 +1929,6 @@ export function isEmptyRoute(route: Route): boolean; // @public export function isEncapsulationCC(cc: CommandClasses): boolean; -// Warning: (ae-missing-release-tag) "isExtendedCCId" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function isExtendedCCId(ccId: CommandClasses): boolean; - // Warning: (ae-missing-release-tag) "isLongRangeNodeId" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) @@ -1903,7 +2032,7 @@ export interface KeyPair { // Warning: (ae-missing-release-tag) "keyPairFromRawECDHPrivateKey" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function keyPairFromRawECDHPrivateKey(privateKey: Uint8Array): KeyPair; +export function keyPairFromRawECDHPrivateKeySync(privateKey: Uint8Array): KeyPair; // Warning: (ae-missing-release-tag) "ListenBehavior" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -1959,6 +2088,11 @@ export interface LogContext { // @public export const logMessageFormatter: Format; +// Warning: (ae-missing-release-tag) "LogNode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type LogNode = Pick; + // Warning: (ae-missing-release-tag) "LogNodeOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) @@ -2126,110 +2260,12 @@ export interface MeterDefinition { readonly scales: MeterScaleGroup; } +// Warning: (ae-forgotten-export) The symbol "meters" needs to be exported by the entry point index.d.ts // Warning: (ae-missing-release-tag) "Meters" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) export type Meters = typeof meters; -// Warning: (ae-missing-release-tag) "meters" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export const meters: Readonly<{ - readonly 1: { - readonly name: "Electric"; - readonly scales: { - readonly 0: { - readonly label: "kWh"; - readonly unit: "kWh"; - }; - readonly 1: { - readonly label: "kVAh"; - readonly unit: "kVAh"; - }; - readonly 2: { - readonly label: "W"; - readonly unit: "W"; - }; - readonly 3: { - readonly label: "Pulse count"; - }; - readonly 4: { - readonly label: "V"; - readonly unit: "V"; - }; - readonly 5: { - readonly label: "A"; - readonly unit: "A"; - }; - readonly 6: { - readonly label: "Power Factor"; - }; - readonly 7: { - readonly label: "kVar"; - readonly unit: "kVar"; - }; - readonly 8: { - readonly label: "kVarh"; - readonly unit: "kVarh"; - }; - }; - }; - readonly 2: { - readonly name: "Gas"; - readonly scales: { - readonly 0: { - readonly label: "Cubic meters"; - readonly unit: "m³"; - }; - readonly 1: { - readonly label: "Cubic feet"; - readonly unit: "ft³"; - }; - readonly 3: { - readonly label: "Pulse count"; - }; - }; - }; - readonly 3: { - readonly name: "Water"; - readonly scales: { - readonly 0: { - readonly label: "Cubic meters"; - readonly unit: "m³"; - }; - readonly 1: { - readonly label: "Cubic feet"; - readonly unit: "ft³"; - }; - readonly 2: { - readonly label: "US gallons"; - readonly unit: "gal"; - }; - readonly 3: { - readonly label: "Pulse count"; - }; - }; - }; - readonly 4: { - readonly name: "Heating"; - readonly scales: { - readonly 0: { - readonly label: "kWh"; - readonly unit: "kWh"; - }; - }; - }; - readonly 5: { - readonly name: "Cooling"; - readonly scales: { - readonly 0: { - readonly label: "kWh"; - readonly unit: "kWh"; - }; - }; - }; -}>; - // Warning: (ae-missing-release-tag) "MeterScale" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) @@ -2253,6 +2289,11 @@ export interface MeterScaleDefinition { // @public (undocumented) export type MeterScaleGroup = Record; +// Warning: (ae-missing-release-tag) "minQRCodeLength" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const minQRCodeLength = 52; + // Warning: (ae-missing-release-tag) "ModifyCCs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public @@ -2722,10 +2763,26 @@ export function parseNumber(val: number): number | undefined; export function parsePartial(value: number, bitMask: number, signed: boolean): number; // Warning: (ae-missing-release-tag) "parseQRCodeString" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/core" does not have an export "parseQRCodeStringAsync" // -// @public +// @public @deprecated export function parseQRCodeString(qr: string): QRProvisioningInformation; +// Warning: (ae-missing-release-tag) "parseTLV" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function parseTLV(qr: string): { + entry: { + type: ProvisioningInformationType; + } & Record; + charsRead: number; +}; + +// Warning: (ae-missing-release-tag) "parseTLVData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function parseTLVData(type: ProvisioningInformationType, data: string): ProvisioningInformation_ProductType | ProvisioningInformation_ProductId | ProvisioningInformation_MaxInclusionRequestInterval | ProvisioningInformation_UUID16 | ProvisioningInformation_SupportedProtocols | undefined; + // Warning: (ae-missing-release-tag) "PhysicalNodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) @@ -2908,6 +2965,26 @@ export interface QuerySecurityClasses { readonly isSecure: MaybeNotKnown; } +// Warning: (ae-missing-release-tag) "randomBytes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const randomBytes: (length: number) => Uint8Array; + +// Warning: (ae-missing-release-tag) "readLevel" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function readLevel(qr: string, offset: number): number; + +// Warning: (ae-missing-release-tag) "readUInt16" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function readUInt16(qr: string, offset: number): number; + +// Warning: (ae-missing-release-tag) "readUInt8" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function readUInt8(qr: string, offset: number): number; + // Warning: (ae-missing-release-tag) "ReflectionDecorator" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) @@ -3122,11 +3199,6 @@ export function sdkVersionLt(sdkVersion: MaybeNotKnown, compareVersion: // @public export function sdkVersionLte(sdkVersion: MaybeNotKnown, compareVersion: string): MaybeNotKnown; -// Warning: (ae-missing-release-tag) "SECURITY_S2_AUTH_TAG_LENGTH" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export const SECURITY_S2_AUTH_TAG_LENGTH = 8; - // Warning: (ae-missing-release-tag) "SecurityClass" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) @@ -3164,15 +3236,23 @@ export const securityClassOrder: readonly [SecurityClass.S2_AccessControl, Secur // @public (undocumented) export class SecurityManager { constructor(options: SecurityManagerOptions); - // (undocumented) + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/core" does not have an export "getAuthKey" + // + // @deprecated (undocumented) get authKey(): Uint8Array; deleteAllNoncesForReceiver(receiver: number): void; // (undocumented) deleteNonce(id: number | NonceKey): void; - // (undocumented) + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/core" does not have an export "getEncryptionKey" + // + // @deprecated (undocumented) get encryptionKey(): Uint8Array; generateNonce(receiver: number, length: number): Uint8Array; // (undocumented) + getAuthKey(): Promise; + // (undocumented) + getEncryptionKey(): Promise; + // (undocumented) getFreeNonce(nodeId: number): Uint8Array | undefined; // (undocumented) getNonce(id: number | NonceKey): Uint8Array | undefined; @@ -3194,11 +3274,17 @@ export class SecurityManager { // // @public (undocumented) export class SecurityManager2 { - constructor(); + // (undocumented) + static create(): Promise; createMulticastGroup(nodeIDs: number[], s2SecurityClass: S2SecurityClass): number; deleteNonce(receiver: number): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/core" does not have an export "generateNonceAsync" + // + // @deprecated generateNonce(receiver: number | undefined): Uint8Array; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + generateNonceAsync(receiver: number | undefined): Promise; // (undocumented) getInnerMPANState(groupId: number): Uint8Array | undefined; // (undocumented) @@ -3209,11 +3295,18 @@ export class SecurityManager2 { getKeysForSecurityClass(securityClass: SecurityClass): NetworkKeys; // (undocumented) getMulticastGroup(group: number): Readonly | undefined; - // (undocumented) + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/core" does not have an export "getMulticastKeyAndIVAsync" + // + // @deprecated (undocumented) getMulticastKeyAndIV(groupId: number): { key: Uint8Array; iv: Uint8Array; }; + // (undocumented) + getMulticastKeyAndIVAsync(groupId: number): Promise<{ + key: Uint8Array; + iv: Uint8Array; + }>; getPeerMPAN(peerNodeId: number, groupId: number): MPANTableEntry | { type: MPANState.None; }; @@ -3224,15 +3317,35 @@ export class SecurityManager2 { // (undocumented) hasKeysForSecurityClass(securityClass: SecurityClass): boolean; hasUsedSecurityClass(peerNodeID: number, securityClass: SecurityClass): boolean; + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/core" does not have an export "initializeSPANAsync" + // + // @deprecated initializeSPAN(peerNodeId: number, securityClass: SecurityClass, senderEI: Uint8Array, receiverEI: Uint8Array): void; + initializeSPANAsync(peerNodeId: number, securityClass: SecurityClass, senderEI: Uint8Array, receiverEI: Uint8Array): Promise; + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/core" does not have an export "initializeTempSPANAsync" + // + // @deprecated initializeTempSPAN(peerNodeId: number, senderEI: Uint8Array, receiverEI: Uint8Array): void; + initializeTempSPANAsync(peerNodeId: number, senderEI: Uint8Array, receiverEI: Uint8Array): Promise; isDuplicateSinglecast(peerNodeId: number, sequenceNumber: number): boolean; nextMulticastSequenceNumber(groupId: number): number; + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/core" does not have an export "nextNonceAsync" + // + // @deprecated nextNonce(peerNodeId: number, store?: boolean): Uint8Array; + nextNonceAsync(peerNodeId: number, store?: boolean): Promise; + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/core" does not have an export "nextPeerMPANAsync" + // + // @deprecated nextPeerMPAN(peerNodeId: number, groupId: number): Uint8Array; + nextPeerMPANAsync(peerNodeId: number, groupId: number): Promise; nextSequenceNumber(peerNodeId: number): number; resetOutOfSyncMPANs(peerNodeId: number): void; + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/core" does not have an export "setKeyAsync" + // + // @deprecated setKey(securityClass: SecurityClass, key: Uint8Array): void; + setKeyAsync(securityClass: SecurityClass, key: Uint8Array): Promise; setSPANState(peerNodeID: number, state: SPANTableEntry | { type: SPANState.None; }): void; @@ -3458,6 +3571,53 @@ export type SPANTableEntry = { // @public (undocumented) export type SpecificDeviceClass = GenericDeviceClass; +// Warning: (ae-missing-release-tag) "StateMachine" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class StateMachine { + constructor(initialState: State, transitions: StateMachineTransitionMap); + get done(): boolean; + next(input: Input): StateMachineTransition | undefined; + restart(): void; + get state(): State; + transition(next?: State): void; + // (undocumented) + protected transitions: StateMachineTransitionMap; +} + +// Warning: (ae-missing-release-tag) "StateMachineInput" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface StateMachineInput { + // (undocumented) + value: number | string; +} + +// Warning: (ae-missing-release-tag) "StateMachineState" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface StateMachineState { + // (undocumented) + done?: boolean; + // (undocumented) + value: number | string; +} + +// Warning: (ae-missing-release-tag) "StateMachineTransition" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface StateMachineTransition { + // (undocumented) + effect?: Effect; + // (undocumented) + newState: State; +} + +// Warning: (ae-missing-release-tag) "StateMachineTransitionMap" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type StateMachineTransitionMap = (state: State) => (input: Input) => StateMachineTransition | undefined; + // Warning: (ae-internal-missing-underscore) The name "stringToNodeList" should be prefixed with an underscore because the declaration is marked as @internal // // @internal (undocumented) @@ -3546,6 +3706,8 @@ export function tagify(tags: string[]): string; // @public export class Timeout { constructor(value: number, unit: TimeoutUnit); + // (undocumented) + static isTimeout(value: any): value is Timeout; static parse(payload: number): Timeout; // (undocumented) static parse(payload: undefined): undefined; @@ -3675,7 +3837,7 @@ export enum TransmitStatus { // Warning: (ae-missing-release-tag) "tryParseDSKFromQRCodeString" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // -// @public +// @public (undocumented) export function tryParseDSKFromQRCodeString(qr: string): string | undefined; // Warning: (ae-missing-release-tag) "tryParseParamNumber" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -3686,6 +3848,15 @@ export function tryParseParamNumber(str: string): { valueBitMask?: number; } | undefined; +// Warning: (ae-missing-release-tag) "tryUnzipFirmwareFile" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function tryUnzipFirmwareFile(zipData: Uint8Array): { + filename: string; + format: FirmwareFileFormat; + rawData: Uint8Array; +} | undefined; + // Warning: (ae-missing-release-tag) "TXReport" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public @@ -3760,12 +3931,12 @@ export interface ValueChangeOptions { // Warning: (ae-missing-release-tag) "ValueDB" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export class ValueDB extends TypedEventEmitter { +export class ValueDB extends TypedEventTarget { // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - constructor(nodeId: number, valueDB: JsonlDB, metadataDB: JsonlDB, ownKeys?: Set); + constructor(nodeId: number, valueDB: Database, metadataDB: Database, ownKeys?: Set); clear(options?: SetValueOptions): void; findMetadata(predicate: (id: ValueID) => boolean): (ValueID & { metadata: ValueMetadata; @@ -4482,7 +4653,7 @@ export enum ZWaveErrorCodes { Driver_Destroyed = 102, Driver_Failed = 100, // (undocumented) - Driver_FeatureDisabled = 111, + Driver_FeatureDisabled = 110, // (undocumented) Driver_InvalidCache = 107, // (undocumented) @@ -4490,8 +4661,6 @@ export enum ZWaveErrorCodes { // (undocumented) Driver_InvalidOptions = 108, // (undocumented) - Driver_NoErrorHandler = 110, - // (undocumented) Driver_NoPriority = 106, Driver_NoSecurity = 109, // (undocumented) @@ -4500,7 +4669,7 @@ export enum ZWaveErrorCodes { Driver_NotSupported = 105, // (undocumented) Driver_Reset = 101, - Driver_TaskRemoved = 112, + Driver_TaskRemoved = 111, FirmwareUpdateCC_Busy = 1500, FirmwareUpdateCC_FailedToAbort = 1504, FirmwareUpdateCC_FailedToStart = 1503, @@ -4640,9 +4809,9 @@ export interface ZWaveLogInfo extends // Warnings were encountered during analysis: // -// src/security/Manager2.ts:118:79 - (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag -// src/security/Manager2.ts:118:98 - (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag -// src/security/QR.ts:100:3 - (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/core" does not have an export "requestedSecurityClasses" +// src/qr/definitions.ts:63:3 - (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/core" does not have an export "requestedSecurityClasses" +// src/security/Manager2.ts:130:79 - (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag +// src/security/Manager2.ts:130:98 - (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag // (No @packageDocumentation comment for this package) diff --git a/packages/host/host.api.md b/packages/host/host.api.md index 27a7b8c94140..e11bb38f3b46 100644 --- a/packages/host/host.api.md +++ b/packages/host/host.api.md @@ -4,27 +4,22 @@ ```ts -import type { CCId } from '@zwave-js/core'; -import type { CommandClasses } from '@zwave-js/core'; -import type { ControllerLogger } from '@zwave-js/core'; import { ControlsCC } from '@zwave-js/core'; -import type { DeviceConfig } from '@zwave-js/config'; import { EndpointId } from '@zwave-js/core'; -import type { FrameType } from '@zwave-js/core'; +import { GetAllNodes } from '@zwave-js/core'; +import { GetDeviceConfig } from '@zwave-js/config'; import { GetEndpoint } from '@zwave-js/core'; +import { GetNode } from '@zwave-js/core'; +import { GetSupportedCCVersion } from '@zwave-js/core'; +import { GetValueDB } from '@zwave-js/core'; +import { HostIDs } from '@zwave-js/core'; import { IsCCSecure } from '@zwave-js/core'; import { ListenBehavior } from '@zwave-js/core'; -import type { MaybeNotKnown } from '@zwave-js/core'; +import { LogNode } from '@zwave-js/core'; import { NodeId } from '@zwave-js/core'; import { QuerySecurityClasses } from '@zwave-js/core'; -import type { SecurityClass } from '@zwave-js/core'; -import type { SecurityManagers } from '@zwave-js/core'; -import type { SendCommandOptions } from '@zwave-js/core'; -import type { SendCommandReturnType } from '@zwave-js/core'; import { SetSecurityClass } from '@zwave-js/core'; import { SupportsCC } from '@zwave-js/core'; -import type { ValueDB } from '@zwave-js/core'; -import type { ValueID } from '@zwave-js/core'; // Warning: (ae-missing-release-tag) "BaseTestEndpoint" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -36,35 +31,6 @@ export type BaseTestEndpoint = EndpointId & SupportsCC & ControlsCC & IsCCSecure // @public (undocumented) export type BaseTestNode = BaseTestEndpoint & NodeId & ListenBehavior & QuerySecurityClasses & SetSecurityClass & SupportsCC & ControlsCC & IsCCSecure & GetEndpoint; -// Warning: (ae-missing-release-tag) "CCEncodingContext" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export interface CCEncodingContext extends Readonly, GetDeviceConfig, HostIDs, GetSupportedCCVersion { - // (undocumented) - getHighestSecurityClass(nodeId: number): MaybeNotKnown; - // (undocumented) - hasSecurityClass(nodeId: number, securityClass: SecurityClass): MaybeNotKnown; - // (undocumented) - setSecurityClass(nodeId: number, securityClass: SecurityClass, granted: boolean): void; -} - -// Warning: (ae-missing-release-tag) "CCParsingContext" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export interface CCParsingContext extends Readonly, GetDeviceConfig, HostIDs { - // (undocumented) - __internalIsMockNode?: boolean; - frameType: FrameType; - // (undocumented) - getHighestSecurityClass(nodeId: number): MaybeNotKnown; - // (undocumented) - hasSecurityClass(nodeId: number, securityClass: SecurityClass): MaybeNotKnown; - // (undocumented) - setSecurityClass(nodeId: number, securityClass: SecurityClass, granted: boolean): void; - // (undocumented) - sourceNodeId: number; -} - // Warning: (ae-missing-release-tag) "createTestingHost" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public @@ -76,138 +42,6 @@ export function createTestingHost(options?: Partial): export interface CreateTestingHostOptions extends HostIDs, GetDeviceConfig { } -// Warning: (ae-missing-release-tag) "FileSystem" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export interface FileSystem { - // (undocumented) - ensureDir(path: string): Promise; - // (undocumented) - pathExists(path: string): Promise; - // (undocumented) - readFile(file: string, encoding: BufferEncoding): Promise; - // (undocumented) - writeFile(file: string, data: string | Uint8Array, options?: { - encoding: BufferEncoding; - } | BufferEncoding): Promise; -} - -// Warning: (ae-missing-release-tag) "GetAllNodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export interface GetAllNodes { - // (undocumented) - getAllNodes(): T[]; -} - -// Warning: (ae-missing-release-tag) "GetCommunicationTimeouts" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export interface GetCommunicationTimeouts { - // (undocumented) - getCommunicationTimeouts(): ZWaveHostOptions["timeouts"]; -} - -// Warning: (ae-missing-release-tag) "GetDeviceConfig" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export interface GetDeviceConfig { - // (undocumented) - getDeviceConfig(nodeId: number): DeviceConfig | undefined; -} - -// Warning: (ae-missing-release-tag) "GetInterviewOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export interface GetInterviewOptions { - // (undocumented) - getInterviewOptions(): ZWaveHostOptions["interview"]; -} - -// Warning: (ae-missing-release-tag) "GetNode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export interface GetNode { - // (undocumented) - getNode(nodeId: number): T | undefined; - // (undocumented) - getNodeOrThrow(nodeId: number): T; -} - -// Warning: (ae-missing-release-tag) "GetSafeCCVersion" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface GetSafeCCVersion { - getSafeCCVersion(cc: CommandClasses, nodeId: number, endpointIndex?: number): number | undefined; -} - -// Warning: (ae-missing-release-tag) "GetSupportedCCVersion" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface GetSupportedCCVersion { - getSupportedCCVersion(cc: CommandClasses, nodeId: number, endpointIndex?: number): number; -} - -// Warning: (ae-missing-release-tag) "GetUserPreferences" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export interface GetUserPreferences { - // (undocumented) - getUserPreferences(): ZWaveHostOptions["preferences"]; -} - -// Warning: (ae-missing-release-tag) "GetValueDB" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export interface GetValueDB { - getValueDB(nodeId: number): ValueDB; - tryGetValueDB(nodeId: number): ValueDB | undefined; -} - -// Warning: (ae-missing-release-tag) "HostIDs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export interface HostIDs { - homeId: number; - ownNodeId: number; -} - -// Warning: (ae-missing-release-tag) "LogNode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type LogNode = Pick; - -// Warning: (ae-missing-release-tag) "LookupManufacturer" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export interface LookupManufacturer { - lookupManufacturer(manufacturerId: number): string | undefined; -} - -// Warning: (ae-missing-release-tag) "NodeSchedulePollOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface NodeSchedulePollOptions { - expectedValue?: unknown; - timeoutMs?: number; -} - -// Warning: (ae-missing-release-tag) "SchedulePoll" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export interface SchedulePoll { - // (undocumented) - schedulePoll(nodeId: number, valueId: ValueID, options: NodeSchedulePollOptions): boolean; -} - -// Warning: (ae-missing-release-tag) "SendCommand" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export interface SendCommand { - // (undocumented) - sendCommand(command: CCId, options?: SendCommandOptions): Promise>; -} - // Warning: (ae-missing-release-tag) "TestingHost" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) @@ -216,31 +50,6 @@ export interface TestingHost extends HostIDs, GetValueDB, GetSupportedCCVersion, setNode(nodeId: number, node: BaseTestNode): void; } -// Warning: (ae-missing-release-tag) "ZWaveHostOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface ZWaveHostOptions { - // (undocumented) - attempts: { - controller: number; - sendData: number; - nodeInterview: number; - }; - disableOptimisticValueUpdate?: boolean; - // (undocumented) - interview?: { - queryAllUserCodes?: boolean; - }; - // (undocumented) - preferences?: { - scales: Partial>; - }; - timeouts: { - refreshValue: number; - refreshValueAfterTransition: number; - }; -} - // (No @packageDocumentation comment for this package) ``` diff --git a/packages/nvmedit/nvmedit.api.md b/packages/nvmedit/nvmedit.api.md index e17a74c31329..b40eadaa96d6 100644 --- a/packages/nvmedit/nvmedit.api.md +++ b/packages/nvmedit/nvmedit.api.md @@ -15,6 +15,207 @@ import { NodeIDType } from '@zwave-js/core/safe'; import { NodeProtocolInfo } from '@zwave-js/core/safe'; import { RFRegion } from '@zwave-js/core/safe'; import { RouteProtocolDataRate } from '@zwave-js/core/safe'; +import { TypedClassDecorator } from '@zwave-js/shared'; + +// Warning: (ae-missing-release-tag) "ApplicationCCsFile" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ApplicationCCsFile extends NVMFile { + constructor(options: NVMFileDeserializationOptions | ApplicationCCsFileOptions); + // (undocumented) + includedInsecurely: CommandClasses[]; + // (undocumented) + includedSecurelyInsecureCCs: CommandClasses[]; + // (undocumented) + includedSecurelySecureCCs: CommandClasses[]; + // (undocumented) + serialize(): NVM3Object & { + data: Bytes_2; + }; + // (undocumented) + toJSON(): { + "included insecurely": string; + "included securely (insecure)": string; + "included securely (secure)": string; + }; +} + +// Warning: (ae-missing-release-tag) "ApplicationCCsFileID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const ApplicationCCsFileID = 103; + +// Warning: (ae-missing-release-tag) "ApplicationCCsFileOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ApplicationCCsFileOptions extends NVMFileCreationOptions { + // (undocumented) + includedInsecurely: CommandClasses[]; + // (undocumented) + includedSecurelyInsecureCCs: CommandClasses[]; + // (undocumented) + includedSecurelySecureCCs: CommandClasses[]; +} + +// Warning: (ae-missing-release-tag) "ApplicationDataFile" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ApplicationDataFile extends NVMFile { + constructor(options: NVMFileDeserializationOptions | ApplicationDataFileOptions); + // (undocumented) + get applicationData(): Bytes_2; + set applicationData(value: Bytes_2); +} + +// Warning: (ae-missing-release-tag) "ApplicationDataFileID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const ApplicationDataFileID = 200; + +// Warning: (ae-missing-release-tag) "ApplicationDataFileOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ApplicationDataFileOptions extends NVMFileCreationOptions { + // (undocumented) + applicationData: Bytes_2; +} + +// Warning: (ae-missing-release-tag) "ApplicationNameFile" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ApplicationNameFile extends NVMFile { + constructor(options: NVMFileDeserializationOptions | ApplicationNameFileOptions); + // (undocumented) + name: string; + // (undocumented) + serialize(): NVM3Object & { + data: Bytes; + }; +} + +// Warning: (ae-missing-release-tag) "ApplicationNameFileID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const ApplicationNameFileID = 266252; + +// Warning: (ae-missing-release-tag) "ApplicationNameFileOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ApplicationNameFileOptions extends NVMFileCreationOptions { + // (undocumented) + name: string; +} + +// Warning: (ae-missing-release-tag) "ApplicationRFConfigFile" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ApplicationRFConfigFile extends NVMFile { + constructor(options: NVMFileDeserializationOptions | ApplicationRFConfigFileOptions); + // (undocumented) + enablePTI?: number; + // (undocumented) + maxTXPower?: number; + // (undocumented) + measured0dBm: number; + // (undocumented) + nodeIdType?: NodeIDType; + // (undocumented) + rfRegion: RFRegion; + // (undocumented) + serialize(): NVM3Object & { + data: Bytes_2; + }; + // (undocumented) + toJSON(): Record; + // (undocumented) + txPower: number; +} + +// Warning: (ae-missing-release-tag) "ApplicationRFConfigFileID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const ApplicationRFConfigFileID = 104; + +// Warning: (ae-missing-release-tag) "ApplicationRFConfigFileOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ApplicationRFConfigFileOptions = NVMFileCreationOptions & { + rfRegion: RFRegion; + txPower: number; + measured0dBm: number; +} & AllOrNone<{ + enablePTI?: number; + maxTXPower?: number; +}> & { + nodeIdType?: number; +}; + +// Warning: (ae-missing-release-tag) "ApplicationTypeFile" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ApplicationTypeFile extends NVMFile { + constructor(options: NVMFileDeserializationOptions | ApplicationTypeFileOptions); + // (undocumented) + genericDeviceClass: number; + // (undocumented) + isListening: boolean; + // (undocumented) + optionalFunctionality: boolean; + // (undocumented) + serialize(): NVM3Object & { + data: Bytes_2; + }; + // (undocumented) + specificDeviceClass: number; + // (undocumented) + toJSON(): { + listening: boolean; + "opt. functionality": boolean; + genericDeviceClass: number; + specificDeviceClass: number; + }; +} + +// Warning: (ae-missing-release-tag) "ApplicationTypeFileID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const ApplicationTypeFileID = 102; + +// Warning: (ae-missing-release-tag) "ApplicationTypeFileOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ApplicationTypeFileOptions extends NVMFileCreationOptions { + // (undocumented) + genericDeviceClass: number; + // (undocumented) + isListening: boolean; + // (undocumented) + optionalFunctionality: boolean; + // (undocumented) + specificDeviceClass: number; +} + +// Warning: (ae-missing-release-tag) "ApplicationVersionFile" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ApplicationVersionFile extends VersionFile { +} + +// Warning: (ae-missing-release-tag) "ApplicationVersionFile800" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ApplicationVersionFile800 extends VersionFile { +} + +// Warning: (ae-missing-release-tag) "ApplicationVersionFile800ID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const ApplicationVersionFile800ID = 266240; + +// Warning: (ae-missing-release-tag) "ApplicationVersionFileID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const ApplicationVersionFileID = 331776; // Warning: (ae-missing-release-tag) "BufferedNVMReader" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -47,8 +248,6 @@ export class BufferedNVMReader implements NVMIO { // // @public (undocumented) export class ControllerInfoFile extends NVMFile { - // Warning: (ae-forgotten-export) The symbol "NVMFileDeserializationOptions" needs to be exported by the entry point index.d.ts - // Warning: (ae-forgotten-export) The symbol "ControllerInfoFileOptions" needs to be exported by the entry point index.d.ts constructor(options: NVMFileDeserializationOptions | ControllerInfoFileOptions); // (undocumented) controllerConfiguration: number; @@ -93,6 +292,29 @@ export class ControllerInfoFile extends NVMFile { // @public (undocumented) export const ControllerInfoFileID = 327684; +// Warning: (ae-missing-release-tag) "ControllerInfoFileOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ControllerInfoFileOptions = NVMFileCreationOptions & { + homeId: Uint8Array; + nodeId: number; + lastNodeId: number; + staticControllerNodeId: number; + sucLastIndex: number; + controllerConfiguration: number; + maxNodeId: number; + reservedId: number; + systemState: number; +} & ({ + sucAwarenessPushNeeded: number; +} | { + lastNodeIdLR: number; + maxNodeIdLR: number; + reservedIdLR: number; + primaryLongRangeChannelId: number; + dcdcConfig: number; +}); + // Warning: (ae-missing-release-tag) "ControllerNVMProperty" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) @@ -121,6 +343,41 @@ export enum FragmentType { None = 0 } +// Warning: (ae-missing-release-tag) "getNVMFileConstructor" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function getNVMFileConstructor(id: number): NVMFileConstructor | undefined; + +// Warning: (ae-missing-release-tag) "getNVMFileID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function getNVMFileID(id: T): number | ((id: number) => boolean); + +// Warning: (ae-missing-release-tag) "getNVMFileIDStatic" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function getNVMFileIDStatic>(classConstructor: T): number | ((id: number) => boolean); + +// Warning: (ae-missing-release-tag) "getNVMSection" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const getNVMSection: (target: NVMFile) => NVMSection | undefined; + +// Warning: (ae-missing-release-tag) "getNVMSectionByFileID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function getNVMSectionByFileID(fileId: number): NVMSection; + +// Warning: (ae-missing-release-tag) "getNVMSectionStatic" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const getNVMSectionStatic: (constr: typeof NVMFile) => NVMSection | undefined; + +// Warning: (ae-missing-release-tag) "gotDeserializationOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function gotDeserializationOptions(options: NVMFileOptions): options is NVMFileDeserializationOptions; + // Warning: (ae-missing-release-tag) "json500To700" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) @@ -141,6 +398,53 @@ export function jsonToNVM(json: NVMJSON, targetSDKVersion: string): Promise, protocolVersion: string): Promise; +// Warning: (ae-missing-release-tag) "LR_NODEINFOS_PER_FILE_V5" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const LR_NODEINFOS_PER_FILE_V5 = 50; + +// Warning: (ae-missing-release-tag) "LRNodeInfo" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface LRNodeInfo extends Omit { + // (undocumented) + genericDeviceClass: number; + // (undocumented) + nodeId: number; + // (undocumented) + specificDeviceClass?: number | null; +} + +// Warning: (ae-missing-release-tag) "LRNodeInfoFileV5" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class LRNodeInfoFileV5 extends NVMFile { + constructor(options: NVMFileDeserializationOptions | LRNodeInfoFileV5Options); + // (undocumented) + nodeInfos: LRNodeInfo[]; + // (undocumented) + serialize(): NVM3Object & { + data: Bytes_2; + }; + // (undocumented) + toJSON(): { + "node infos": LRNodeInfo[]; + }; +} + +// Warning: (ae-missing-release-tag) "LRNodeInfoFileV5IDBase" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const LRNodeInfoFileV5IDBase = 329728; + +// Warning: (ae-missing-release-tag) "LRNodeInfoFileV5Options" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface LRNodeInfoFileV5Options extends NVMFileCreationOptions { + // (undocumented) + nodeInfos: LRNodeInfo[]; +} + // Warning: (ae-missing-release-tag) "LRNodeNVMProperty" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) @@ -160,6 +464,112 @@ export type LRNodeNVMPropertyToDataType

= P["type"] // @public export function migrateNVM(sourceNVM: Uint8Array, targetNVM: Uint8Array): Promise; +// Warning: (ae-missing-release-tag) "nodeIdToLRNodeInfoFileIDV5" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function nodeIdToLRNodeInfoFileIDV5(nodeId: number): number; + +// Warning: (ae-missing-release-tag) "nodeIdToNodeInfoFileIDV0" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function nodeIdToNodeInfoFileIDV0(nodeId: number): number; + +// Warning: (ae-missing-release-tag) "nodeIdToNodeInfoFileIDV1" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function nodeIdToNodeInfoFileIDV1(nodeId: number): number; + +// Warning: (ae-missing-release-tag) "nodeIdToRouteCacheFileIDV0" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function nodeIdToRouteCacheFileIDV0(nodeId: number): number; + +// Warning: (ae-missing-release-tag) "nodeIdToRouteCacheFileIDV1" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function nodeIdToRouteCacheFileIDV1(nodeId: number): number; + +// Warning: (ae-missing-release-tag) "NodeInfo" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface NodeInfo extends Omit { + // (undocumented) + genericDeviceClass: number; + // (undocumented) + neighbors: number[]; + // (undocumented) + nodeId: number; + // (undocumented) + specificDeviceClass?: number | null; + // (undocumented) + sucUpdateIndex: number; +} + +// Warning: (ae-missing-release-tag) "NodeInfoFileV0" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class NodeInfoFileV0 extends NVMFile { + constructor(options: NVMFileDeserializationOptions | NodeInfoFileV0Options); + // (undocumented) + nodeInfo: NodeInfo; + // (undocumented) + serialize(): NVM3Object & { + data: Bytes_2; + }; + // (undocumented) + toJSON(): { + nodeInfo: NodeInfo; + }; +} + +// Warning: (ae-missing-release-tag) "NodeInfoFileV0IDBase" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const NodeInfoFileV0IDBase = 327936; + +// Warning: (ae-missing-release-tag) "NodeInfoFileV0Options" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface NodeInfoFileV0Options extends NVMFileCreationOptions { + // (undocumented) + nodeInfo: NodeInfo; +} + +// Warning: (ae-missing-release-tag) "NodeInfoFileV1" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class NodeInfoFileV1 extends NVMFile { + constructor(options: NVMFileDeserializationOptions | NodeInfoFileV1Options); + // (undocumented) + nodeInfos: NodeInfo[]; + // (undocumented) + serialize(): NVM3Object & { + data: Bytes_2; + }; + // (undocumented) + toJSON(): { + "node infos": NodeInfo[]; + }; +} + +// Warning: (ae-missing-release-tag) "NodeInfoFileV1IDBase" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const NodeInfoFileV1IDBase = 328192; + +// Warning: (ae-missing-release-tag) "NodeInfoFileV1Options" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface NodeInfoFileV1Options extends NVMFileCreationOptions { + // (undocumented) + nodeInfos: NodeInfo[]; +} + +// Warning: (ae-missing-release-tag) "NODEINFOS_PER_FILE_V1" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const NODEINFOS_PER_FILE_V1 = 4; + // Warning: (ae-missing-release-tag) "NodeNVMProperty" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) @@ -428,7 +838,7 @@ export interface NVM500JSONController { // (undocumented) sucUpdateEntries: SUCUpdateEntry[]; // (undocumented) - systemState: number; + systemState?: number | null; // (undocumented) watchdogStarted: number; } @@ -438,15 +848,15 @@ export interface NVM500JSONController { // @public (undocumented) export interface NVM500JSONControllerRFConfig { // (undocumented) - powerLevelLow: number[]; + powerLevelLow?: number[]; // (undocumented) - powerLevelNormal: number[]; + powerLevelNormal?: number[]; // (undocumented) - powerMode: number; + powerMode?: number | null; // (undocumented) - powerModeExtintEnable: number; + powerModeExtintEnable?: number | null; // (undocumented) - powerModeWutTimeout: number; + powerModeWutTimeout?: number | null; } // Warning: (ae-missing-release-tag) "NVM500JSONNode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -539,7 +949,6 @@ export interface NVMAdapter { // // @public (undocumented) export class NVMFile { - // Warning: (ae-forgotten-export) The symbol "NVMFileOptions" needs to be exported by the entry point index.d.ts constructor(options: NVMFileOptions); // (undocumented) fileId: number; @@ -555,6 +964,44 @@ export class NVMFile { toJSON(): Record; } +// Warning: (ae-missing-release-tag) "NVMFileBaseOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface NVMFileBaseOptions { + // (undocumented) + fileId?: number; + // (undocumented) + fileVersion: string; +} + +// Warning: (ae-missing-release-tag) "NVMFileConstructor" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type NVMFileConstructor = typeof NVMFile & { + new (options: any): T; +}; + +// Warning: (ae-missing-release-tag) "NVMFileCreationOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface NVMFileCreationOptions extends NVMFileBaseOptions { +} + +// Warning: (ae-missing-release-tag) "NVMFileDeserializationOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface NVMFileDeserializationOptions extends NVMFileBaseOptions { + // (undocumented) + data: Bytes; + // (undocumented) + fileId: number; +} + +// Warning: (ae-missing-release-tag) "nvmFileID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function nvmFileID(id: number | ((id: number) => boolean)): TypedClassDecorator; + // Warning: (ae-missing-release-tag) "NVMFileIO" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public @@ -582,6 +1029,11 @@ export class NVMFileIO implements NVMIO { }>; } +// Warning: (ae-missing-release-tag) "NVMFileOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type NVMFileOptions = NVMFileCreationOptions | NVMFileDeserializationOptions; + // Warning: (ae-missing-release-tag) "NVMIO" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public @@ -754,6 +1206,16 @@ export type NVMProperty = ControllerNVMProperty | NodeNVMProperty | LRNodeNVMPro // @public (undocumented) export type NVMPropertyToDataType

= P extends ControllerNVMProperty ? ControllerNVMPropertyToDataType

: P extends NodeNVMProperty ? NodeNVMPropertyToDataType

: P extends LRNodeNVMProperty ? LRNodeNVMPropertyToDataType

: never; +// Warning: (ae-missing-release-tag) "NVMSection" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type NVMSection = "application" | "protocol"; + +// Warning: (ae-missing-release-tag) "nvmSection" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const nvmSection: (section: NVMSection) => TypedClassDecorator; + // Warning: (ae-forgotten-export) The symbol "NVMJSONWithMeta" needs to be exported by the entry point index.d.ts // Warning: (ae-missing-release-tag) "nvmToJSON" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -800,6 +1262,330 @@ export enum PageWriteSize { WRITE_SIZE_32 = 0 } +// Warning: (ae-missing-release-tag) "ProtocolAppRouteLockNodeMaskFile" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ProtocolAppRouteLockNodeMaskFile extends ProtocolNodeMaskFile { +} + +// Warning: (ae-missing-release-tag) "ProtocolAppRouteLockNodeMaskFileID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const ProtocolAppRouteLockNodeMaskFileID = 327686; + +// Warning: (ae-missing-release-tag) "ProtocolLRNodeListFile" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ProtocolLRNodeListFile extends NVMFile { + constructor(options: NVMFileDeserializationOptions | ProtocolNodeMaskFileOptions); + // (undocumented) + get nodeIds(): number[]; + set nodeIds(value: number[]); + // (undocumented) + nodeIdSet: Set; + // (undocumented) + serialize(): NVM3Object & { + data: Bytes_2; + }; + // (undocumented) + toJSON(): { + "node IDs": string; + }; +} + +// Warning: (ae-missing-release-tag) "ProtocolLRNodeListFileID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const ProtocolLRNodeListFileID = 327692; + +// Warning: (ae-missing-release-tag) "ProtocolNodeListFile" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ProtocolNodeListFile extends ProtocolNodeMaskFile { +} + +// Warning: (ae-missing-release-tag) "ProtocolNodeListFileID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const ProtocolNodeListFileID = 327685; + +// Warning: (ae-missing-release-tag) "ProtocolNodeMaskFile" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ProtocolNodeMaskFile extends NVMFile { + constructor(options: NVMFileDeserializationOptions | ProtocolNodeMaskFileOptions); + // (undocumented) + get nodeIds(): number[]; + set nodeIds(value: number[]); + // (undocumented) + nodeIdSet: Set; + // (undocumented) + serialize(): NVM3Object & { + data: Bytes_2; + }; + // (undocumented) + toJSON(): { + "node IDs": string; + }; +} + +// Warning: (ae-missing-release-tag) "ProtocolNodeMaskFileOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ProtocolNodeMaskFileOptions extends NVMFileCreationOptions { + // (undocumented) + nodeIds: number[]; +} + +// Warning: (ae-missing-release-tag) "ProtocolPendingDiscoveryNodeMaskFile" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ProtocolPendingDiscoveryNodeMaskFile extends ProtocolNodeMaskFile { +} + +// Warning: (ae-missing-release-tag) "ProtocolPendingDiscoveryNodeMaskFileID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const ProtocolPendingDiscoveryNodeMaskFileID = 327690; + +// Warning: (ae-missing-release-tag) "ProtocolPreferredRepeatersFile" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ProtocolPreferredRepeatersFile extends ProtocolNodeMaskFile { +} + +// Warning: (ae-missing-release-tag) "ProtocolPreferredRepeatersFileID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const ProtocolPreferredRepeatersFileID = 327682; + +// Warning: (ae-missing-release-tag) "ProtocolRouteCacheExistsNodeMaskFile" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ProtocolRouteCacheExistsNodeMaskFile extends ProtocolNodeMaskFile { +} + +// Warning: (ae-missing-release-tag) "ProtocolRouteCacheExistsNodeMaskFileID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const ProtocolRouteCacheExistsNodeMaskFileID = 327691; + +// Warning: (ae-missing-release-tag) "ProtocolRouteSlaveSUCNodeMaskFile" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ProtocolRouteSlaveSUCNodeMaskFile extends ProtocolNodeMaskFile { +} + +// Warning: (ae-missing-release-tag) "ProtocolRouteSlaveSUCNodeMaskFileID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const ProtocolRouteSlaveSUCNodeMaskFileID = 327687; + +// Warning: (ae-missing-release-tag) "ProtocolSUCPendingUpdateNodeMaskFile" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ProtocolSUCPendingUpdateNodeMaskFile extends ProtocolNodeMaskFile { +} + +// Warning: (ae-missing-release-tag) "ProtocolSUCPendingUpdateNodeMaskFileID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const ProtocolSUCPendingUpdateNodeMaskFileID = 327688; + +// Warning: (ae-missing-release-tag) "ProtocolVersionFile" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ProtocolVersionFile extends VersionFile { +} + +// Warning: (ae-missing-release-tag) "ProtocolVersionFileID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const ProtocolVersionFileID = 327680; + +// Warning: (ae-missing-release-tag) "ProtocolVirtualNodeMaskFile" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ProtocolVirtualNodeMaskFile extends ProtocolNodeMaskFile { +} + +// Warning: (ae-missing-release-tag) "ProtocolVirtualNodeMaskFileID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const ProtocolVirtualNodeMaskFileID = 327689; + +// Warning: (ae-missing-release-tag) "RouteCacheFileV0" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class RouteCacheFileV0 extends NVMFile { + constructor(options: NVMFileDeserializationOptions | RouteCacheFileV0Options); + // Warning: (ae-forgotten-export) The symbol "RouteCache" needs to be exported by the entry point index.d.ts + // + // (undocumented) + routeCache: RouteCache; + // (undocumented) + serialize(): NVM3Object & { + data: Bytes_2; + }; + // (undocumented) + toJSON(): { + routeCache: RouteCache; + }; +} + +// Warning: (ae-missing-release-tag) "RouteCacheFileV0IDBase" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const RouteCacheFileV0IDBase = 328704; + +// Warning: (ae-missing-release-tag) "RouteCacheFileV0Options" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface RouteCacheFileV0Options extends NVMFileCreationOptions { + // (undocumented) + routeCache: RouteCache; +} + +// Warning: (ae-missing-release-tag) "RouteCacheFileV1" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class RouteCacheFileV1 extends NVMFile { + constructor(options: NVMFileDeserializationOptions | RouteCacheFileV1Options); + // (undocumented) + routeCaches: RouteCache[]; + // (undocumented) + serialize(): NVM3Object & { + data: Bytes_2; + }; + // (undocumented) + toJSON(): { + "route caches": RouteCache[]; + }; +} + +// Warning: (ae-missing-release-tag) "RouteCacheFileV1IDBase" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const RouteCacheFileV1IDBase = 332800; + +// Warning: (ae-missing-release-tag) "RouteCacheFileV1Options" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface RouteCacheFileV1Options extends NVMFileCreationOptions { + // (undocumented) + routeCaches: RouteCache[]; +} + +// Warning: (ae-missing-release-tag) "ROUTECACHES_PER_FILE_V1" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const ROUTECACHES_PER_FILE_V1 = 8; + +// Warning: (ae-missing-release-tag) "SUC_UPDATES_PER_FILE_V5" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const SUC_UPDATES_PER_FILE_V5 = 8; + +// Warning: (ae-missing-release-tag) "SUCUpdateEntriesFileIDV0" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const SUCUpdateEntriesFileIDV0 = 327683; + +// Warning: (ae-missing-release-tag) "SUCUpdateEntriesFileOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface SUCUpdateEntriesFileOptions extends NVMFileCreationOptions { + // (undocumented) + updateEntries: SUCUpdateEntry[]; +} + +// Warning: (ae-missing-release-tag) "SUCUpdateEntriesFileV0" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SUCUpdateEntriesFileV0 extends NVMFile { + constructor(options: NVMFileDeserializationOptions | SUCUpdateEntriesFileOptions); + // (undocumented) + serialize(): NVM3Object & { + data: Bytes_2; + }; + // (undocumented) + toJSON(): { + "SUC update entries": SUCUpdateEntry[]; + }; + // (undocumented) + updateEntries: SUCUpdateEntry[]; +} + +// Warning: (ae-missing-release-tag) "SUCUpdateEntriesFileV5" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SUCUpdateEntriesFileV5 extends NVMFile { + constructor(options: NVMFileDeserializationOptions | SUCUpdateEntriesFileOptions); + // (undocumented) + serialize(): NVM3Object & { + data: Bytes_2; + }; + // (undocumented) + toJSON(): { + "SUC update entries": SUCUpdateEntry[]; + }; + // (undocumented) + updateEntries: SUCUpdateEntry[]; +} + +// Warning: (ae-missing-release-tag) "SUCUpdateEntriesFileV5IDBase" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const SUCUpdateEntriesFileV5IDBase = 344064; + +// Warning: (ae-missing-release-tag) "SUCUpdateEntriesFileV5IDMax" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const SUCUpdateEntriesFileV5IDMax: number; + +// Warning: (ae-missing-release-tag) "sucUpdateIndexToSUCUpdateEntriesFileIDV5" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function sucUpdateIndexToSUCUpdateEntriesFileIDV5(index: number): number; + +// Warning: (ae-missing-release-tag) "VersionFile" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class VersionFile extends NVMFile { + constructor(options: NVMFileDeserializationOptions | VersionFileOptions); + // (undocumented) + format: number; + // (undocumented) + major: number; + // (undocumented) + minor: number; + // (undocumented) + patch: number; + // (undocumented) + serialize(): NVM3Object & { + data: Bytes; + }; + // (undocumented) + toJSON(): { + format: number; + version: string; + }; +} + +// Warning: (ae-missing-release-tag) "VersionFileOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface VersionFileOptions extends NVMFileCreationOptions { + // (undocumented) + format: number; + // (undocumented) + major: number; + // (undocumented) + minor: number; + // (undocumented) + patch: number; +} + // Warnings were encountered during analysis: // // src/lib/NVM500.ts:56:2 - (ae-forgotten-export) The symbol "ResolvedNVMLayout" needs to be exported by the entry point index.d.ts diff --git a/packages/serial/serial.api.md b/packages/serial/serial.api.md index a73948c987ed..815144c528c1 100644 --- a/packages/serial/serial.api.md +++ b/packages/serial/serial.api.md @@ -8,7 +8,7 @@ import { AllOrNone } from '@zwave-js/shared'; import { BasicDeviceClass } from '@zwave-js/core'; import { Bytes } from '@zwave-js/shared/safe'; import { Bytes as Bytes_2 } from '@zwave-js/shared'; -import { CCEncodingContext } from '@zwave-js/host'; +import { CCEncodingContext } from '@zwave-js/cc'; import { CommandClass } from '@zwave-js/cc'; import { CommandClasses } from '@zwave-js/core'; import type { DataDirection } from '@zwave-js/core/safe'; @@ -19,11 +19,11 @@ import { EventEmitter } from 'node:events'; import { FLiRS } from '@zwave-js/core'; import { FrameType } from '@zwave-js/core'; import { FunctionType as FunctionType_2 } from '@zwave-js/serial'; -import type { GetAllNodes } from '@zwave-js/host'; -import type { GetDeviceConfig } from '@zwave-js/host'; -import type { GetNode } from '@zwave-js/host'; -import type { GetSupportedCCVersion } from '@zwave-js/host'; -import type { HostIDs } from '@zwave-js/host'; +import { GetAllNodes } from '@zwave-js/core'; +import { GetDeviceConfig } from '@zwave-js/config'; +import { GetNode } from '@zwave-js/core'; +import { GetSupportedCCVersion } from '@zwave-js/core'; +import { HostIDs } from '@zwave-js/core'; import { JSONObject } from '@zwave-js/shared/safe'; import { ListenBehavior } from '@zwave-js/core'; import type { LogContext } from '@zwave-js/core/safe'; @@ -46,11 +46,11 @@ import { NodeIDType } from '@zwave-js/core'; import { NodeProtocolInfoAndDeviceClass } from '@zwave-js/core'; import { NodeType } from '@zwave-js/core'; import { NodeUpdatePayload } from '@zwave-js/core'; -import { PassThrough } from 'node:stream'; import { Powerlevel } from '@zwave-js/cc'; import { Protocols } from '@zwave-js/core'; import type { ProtocolType } from '@zwave-js/core'; import { ProtocolVersion } from '@zwave-js/core'; +import type { ReadableWritablePair } from 'node:stream/web'; import { RFRegion } from '@zwave-js/core'; import { RouteKind } from '@zwave-js/core'; import { RSSI } from '@zwave-js/core'; @@ -60,16 +60,15 @@ import { SecurityManagers } from '@zwave-js/core'; import { SerialApiInitData } from '@zwave-js/core'; import { SerializableTXReport } from '@zwave-js/core'; import { SerializableTXReport as SerializableTXReport_2 } from '@zwave-js/core/safe'; -import { SerialPort } from 'serialport'; import { SinglecastCC } from '@zwave-js/core'; import { SuccessIndicator as SuccessIndicator_2 } from '@zwave-js/serial'; -import { Transform } from 'node:stream'; -import { TransformCallback } from 'node:stream'; import { TransmitOptions } from '@zwave-js/core'; import { TransmitStatus } from '@zwave-js/core'; import { TXReport } from '@zwave-js/core'; import { TXReport as TXReport_2 } from '@zwave-js/core/safe'; import { TypedClassDecorator } from '@zwave-js/shared/safe'; +import type { UnderlyingSink } from 'node:stream/web'; +import type { UnderlyingSource } from 'node:stream/web'; import { UnknownZWaveChipType } from '@zwave-js/core'; import { ZnifferProtocolDataRate } from '@zwave-js/core'; import { ZWaveApiVersion } from '@zwave-js/core'; @@ -260,11 +259,19 @@ export class ApplicationCommandRequest extends Message_2 implements MessageWithC readonly isForeignFrame: boolean; // (undocumented) readonly routedBusy: boolean; - // (undocumented) + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/serial" does not have an export "serializeAsync" + // + // @deprecated (undocumented) serialize(ctx: MessageEncodingContext_2): Bytes; // (undocumented) + serializeAsync(ctx: MessageEncodingContext_2): Promise; + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/serial" does not have an export "serializeCCAsync" + // + // @deprecated (undocumented) serializeCC(ctx: CCEncodingContext): Uint8Array; // (undocumented) + serializeCCAsync(ctx: CCEncodingContext): Promise; + // (undocumented) serializedCC: Uint8Array | undefined; // (undocumented) toLogEntry(): MessageOrCCLogEntry; @@ -853,19 +860,17 @@ export const bootloaderMenuPreamble = "Gecko Boo"; // Warning: (ae-missing-release-tag) "BootloaderParser" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export class BootloaderParser extends Transform { +export class BootloaderParser extends TransformStream { constructor(); - // (undocumented) - _transform(chunk: any, encoding: string, callback: TransformCallback): void; } // Warning: (ae-missing-release-tag) "BootloaderScreenParser" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export class BootloaderScreenParser extends Transform { - constructor(logger?: SerialLogger | undefined); - // (undocumented) - _transform(chunk: any, encoding: string, callback: TransformCallback): void; +export class BootloaderScreenParser extends TransformStream { + constructor(logger?: SerialLogger); } // Warning: (ae-missing-release-tag) "BridgeApplicationCommandRequest" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -893,11 +898,19 @@ export class BridgeApplicationCommandRequest extends Message_2 implements Messag readonly routedBusy: boolean; // (undocumented) readonly rssi?: RSSI; - // (undocumented) + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/serial" does not have an export "serializeAsync" + // + // @deprecated (undocumented) serialize(ctx: MessageEncodingContext_2): Bytes_2; // (undocumented) + serializeAsync(ctx: MessageEncodingContext_2): Promise; + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/serial" does not have an export "serializeCCAsync" + // + // @deprecated (undocumented) serializeCC(ctx: CCEncodingContext): Uint8Array; // (undocumented) + serializeCCAsync(ctx: CCEncodingContext): Promise; + // (undocumented) serializedCC: Uint8Array | undefined; // (undocumented) readonly targetNodeId: number | number[]; @@ -1133,6 +1146,23 @@ export class EnableSmartStartListenRequest extends AddNodeToNetworkRequestBase { // @public (undocumented) export function encodeTXReport(report: SerializableTXReport_2): Uint8Array; +// Warning: (ae-missing-release-tag) "EnumeratedPort" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type EnumeratedPort = { + type: "link"; + path: string; +} | { + type: "tty"; + path: string; +} | { + type: "socket"; + path: string; +} | { + type: "custom"; + factory: ZWaveSerialBindingFactory; +}; + // Warning: (ae-missing-release-tag) "expectedCallback" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public @@ -1478,6 +1508,16 @@ export interface ExtNVMWriteLongByteResponseOptions { success: boolean; } +// Warning: (ae-missing-release-tag) "Faucet" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export class Faucet { + constructor(readable: ReadableStream, writable?: WritableStream); + close(): void; + connect(writable: WritableStream): void; + disconnect(): void; +} + // Warning: (ae-missing-release-tag) "FirmwareUpdateNVM_GetNewImageRequest" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) @@ -2822,6 +2862,11 @@ export function isSuccessIndicator(msg: T): msg is T & Succes // @public (undocumented) export function isTransmitReport(msg: unknown): msg is TransmitReport; +// Warning: (ae-missing-release-tag) "isZWaveSerialBindingFactory" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function isZWaveSerialBindingFactory(obj: unknown): obj is ZWaveSerialBindingFactory; + // Warning: (ae-missing-release-tag) "isZWaveSerialPortImplementation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) @@ -2920,7 +2965,11 @@ export class Message { payload: Bytes; prematureNodeUpdate: Message | undefined; get rtt(): number | undefined; + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/serial" does not have an export "serializeAsync" + // + // @deprecated serialize(ctx: MessageEncodingContext): Bytes; + serializeAsync(ctx: MessageEncodingContext): Promise; toJSON(): JSONObject; toLogEntry(): MessageOrCCLogEntry; get transmissionTimestamp(): number | undefined; @@ -3702,11 +3751,19 @@ export class SendDataBridgeRequest e set maxSendAttempts(value: number); // (undocumented) prepareRetransmission(): void; - // (undocumented) + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/serial" does not have an export "serializeAsync" + // + // @deprecated (undocumented) serialize(ctx: MessageEncodingContext_2): Bytes_2; // (undocumented) + serializeAsync(ctx: MessageEncodingContext_2): Promise; + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/serial" does not have an export "serializeCCAsync" + // + // @deprecated (undocumented) serializeCC(ctx: CCEncodingContext): Uint8Array; // (undocumented) + serializeCCAsync(ctx: CCEncodingContext): Promise; + // (undocumented) serializedCC: Uint8Array | undefined; sourceNodeId: number; // (undocumented) @@ -3809,11 +3866,19 @@ export class SendDataMulticastBridgeRequest; + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/serial" does not have an export "serializeCCAsync" + // + // @deprecated (undocumented) serializeCC(ctx: CCEncodingContext): Uint8Array; // (undocumented) + serializeCCAsync(ctx: CCEncodingContext): Promise; + // (undocumented) serializedCC: Uint8Array | undefined; sourceNodeId: number; // (undocumented) @@ -3905,11 +3970,19 @@ export class SendDataMulticastRequest; + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/serial" does not have an export "serializeCCAsync" + // + // @deprecated (undocumented) serializeCC(ctx: CCEncodingContext): Uint8Array; // (undocumented) + serializeCCAsync(ctx: CCEncodingContext): Promise; + // (undocumented) serializedCC: Uint8Array | undefined; // (undocumented) toLogEntry(): MessageOrCCLogEntry; @@ -4005,11 +4078,19 @@ export class SendDataRequest extends set maxSendAttempts(value: number); // (undocumented) prepareRetransmission(): void; - // (undocumented) + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/serial" does not have an export "serializeAsync" + // + // @deprecated (undocumented) serialize(ctx: MessageEncodingContext_2): Bytes_2; // (undocumented) + serializeAsync(ctx: MessageEncodingContext_2): Promise; + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/serial" does not have an export "serializeCCAsync" + // + // @deprecated (undocumented) serializeCC(ctx: CCEncodingContext): Uint8Array; // (undocumented) + serializeCCAsync(ctx: CCEncodingContext): Promise; + // (undocumented) serializedCC: Uint8Array | undefined; // (undocumented) toLogEntry(): MessageOrCCLogEntry; @@ -4175,15 +4256,27 @@ export interface SendTestFrameTransmitReportOptions { transmitStatus: TransmitStatus; } +// Warning: (ae-missing-release-tag) "Serial" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface Serial { + createFactoryByPath?: (path: string) => Promise; + list?: () => Promise; +} + +// Warning: (ae-missing-release-tag) "SerialAPIChunk" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SerialAPIChunk = Bytes_2 | MessageHeaders.ACK | MessageHeaders.NAK | MessageHeaders.CAN; + // Warning: (ae-missing-release-tag) "SerialAPIParser" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export class SerialAPIParser extends Transform { - constructor(logger?: SerialLogger | undefined, onDiscarded?: ((data: Uint8Array) => void) | undefined); +export class SerialAPIParser extends TransformStream { + constructor(logger?: SerialLogger); // (undocumented) - ignoreAckHighNibble: boolean; - // (undocumented) - _transform(chunk: any, encoding: string, callback: TransformCallback): void; + get ignoreAckHighNibble(): boolean; + set ignoreAckHighNibble(value: boolean); } // Warning: (ae-missing-release-tag) "SerialAPISetup_CommandUnsupportedResponse" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -5446,6 +5539,11 @@ export function tryParseRSSI(payload: Uint8Array, offset?: number): RSSI_2 | und // @public (undocumented) export function txReportToMessageRecord(report: TXReport_2): MessageRecord; +// Warning: (ae-missing-release-tag) "wrapLegacySerialBinding" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function wrapLegacySerialBinding(legacy: ZWaveSerialPortImplementation): ZWaveSerialBindingFactory; + // Warning: (ae-missing-release-tag) "XModemMessageHeaders" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) @@ -5748,41 +5846,32 @@ export enum ZnifferMessageType { Data = 33 } -// Warning: (ae-missing-release-tag) "ZnifferSerialPort" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// Warning: (ae-missing-release-tag) "ZnifferSerialFrame" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // -// @public -export class ZnifferSerialPort extends ZnifferSerialPortBase { - constructor(port: string, loggers: ZWaveLogContainer, Binding?: typeof SerialPort); - // (undocumented) - get isOpen(): boolean; -} +// @public (undocumented) +export type ZnifferSerialFrame = { + type: ZnifferSerialFrameType.SerialAPI; + data: Bytes_2; +} | { + type: ZnifferSerialFrameType.Discarded; + data: Uint8Array; +}; -// Warning: (ae-missing-release-tag) "ZnifferSerialPortBase" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// Warning: (ae-missing-release-tag) "ZnifferSerialPortBase" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// Warning: (ae-missing-release-tag) "ZnifferSerialFrameType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export interface ZnifferSerialPortBase { - // (undocumented) - addListener(event: TEvent, callback: ZnifferSerialPortEventCallbacks[TEvent]): this; - // (undocumented) - emit(event: TEvent, ...args: Parameters): boolean; - // (undocumented) - off(event: TEvent, callback: ZnifferSerialPortEventCallbacks[TEvent]): this; - // (undocumented) - on(event: TEvent, callback: ZnifferSerialPortEventCallbacks[TEvent]): this; +export enum ZnifferSerialFrameType { // (undocumented) - once(event: TEvent, callback: ZnifferSerialPortEventCallbacks[TEvent]): this; + Discarded = 255, // (undocumented) - removeAllListeners(event?: ZnifferSerialPortEvents): this; - // (undocumented) - removeListener(event: TEvent, callback: ZnifferSerialPortEventCallbacks[TEvent]): this; + SerialAPI = 0 } -// @public (undocumented) -export class ZnifferSerialPortBase extends PassThrough { - // (undocumented) - [Symbol.asyncIterator]: () => AsyncIterableIterator; - constructor(implementation: ZWaveSerialPortImplementation, loggers: ZWaveLogContainer); +// Warning: (ae-missing-release-tag) "ZnifferSerialStream" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export class ZnifferSerialStream implements ReadableWritablePair { + constructor(source: UnderlyingSource, sink: UnderlyingSink, logger: SerialLogger); // (undocumented) close(): Promise; // (undocumented) @@ -5790,30 +5879,24 @@ export class ZnifferSerialPortBase extends PassThrough { // (undocumented) protected logger: SerialLogger; // (undocumented) - open(): Promise; + readonly readable: ReadableStream; // (undocumented) - protected serial: ReturnType; + readonly writable: WritableStream; // (undocumented) writeAsync(data: Uint8Array): Promise; } -// Warning: (ae-missing-release-tag) "ZnifferSerialPortEventCallbacks" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// Warning: (ae-missing-release-tag) "ZnifferSerialStreamFactory" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // -// @public (undocumented) -export interface ZnifferSerialPortEventCallbacks { - // (undocumented) - data: (data: Uint8Array) => void; +// @public +export class ZnifferSerialStreamFactory { + constructor(binding: ZWaveSerialBindingFactory, loggers: ZWaveLogContainer); // (undocumented) - discardedData: (data: Uint8Array) => void; + createStream(): Promise; // (undocumented) - error: (e: Error) => void; + protected logger: SerialLogger; } -// Warning: (ae-missing-release-tag) "ZnifferSerialPortEvents" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type ZnifferSerialPortEvents = Extract; - // Warning: (ae-missing-release-tag) "ZnifferSetBaudRateRequest" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) @@ -5864,13 +5947,6 @@ export interface ZnifferSetFrequencyRequestOptions { export class ZnifferSetFrequencyResponse extends ZnifferMessage { } -// Warning: (ae-missing-release-tag) "ZnifferSocket" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export class ZnifferSocket extends ZnifferSerialPortBase { - constructor(socketOptions: ZWaveSocketOptions, loggers: ZWaveLogContainer); -} - // Warning: (ae-missing-release-tag) "ZnifferStartRequest" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) @@ -5897,56 +5973,79 @@ export class ZnifferStopRequest extends ZnifferMessage { export class ZnifferStopResponse extends ZnifferMessage { } +// Warning: (ae-missing-release-tag) "ZWaveSerialBinding" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface ZWaveSerialBinding { + // (undocumented) + sink: UnderlyingSink; + // (undocumented) + source: UnderlyingSource; +} + +// Warning: (ae-missing-release-tag) "ZWaveSerialBindingFactory" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ZWaveSerialBindingFactory = () => Promise; + // Warning: (ae-missing-release-tag) "ZWaveSerialChunk" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) export type ZWaveSerialChunk = MessageHeaders.ACK | MessageHeaders.NAK | MessageHeaders.CAN | Uint8Array; -// Warning: (ae-missing-release-tag) "ZWaveSerialMode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// Warning: (ae-missing-release-tag) "ZWaveSerialFrame" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export enum ZWaveSerialMode { +export type ZWaveSerialFrame = { + type: ZWaveSerialFrameType.SerialAPI; + data: SerialAPIChunk; +} | { + type: ZWaveSerialFrameType.Bootloader; + data: BootloaderChunk; +} | { + type: ZWaveSerialFrameType.Discarded; + data: Uint8Array; +}; + +// Warning: (ae-missing-release-tag) "ZWaveSerialFrameType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum ZWaveSerialFrameType { // (undocumented) Bootloader = 1, // (undocumented) + Discarded = 255, + // (undocumented) SerialAPI = 0 } -// Warning: (ae-missing-release-tag) "ZWaveSerialPort" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// Warning: (ae-missing-release-tag) "ZWaveSerialMode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // -// @public -export class ZWaveSerialPort extends ZWaveSerialPortBase { - constructor(port: string, loggers: ZWaveLogContainer, Binding?: typeof SerialPort); +// @public (undocumented) +export enum ZWaveSerialMode { // (undocumented) - get isOpen(): boolean; + Bootloader = 1, + // (undocumented) + SerialAPI = 0 } -// Warning: (ae-missing-release-tag) "ZWaveSerialPortBase" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// Warning: (ae-missing-release-tag) "ZWaveSerialPortBase" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// Warning: (ae-missing-release-tag) "ZWaveSerialPortImplementation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // -// @public (undocumented) -export interface ZWaveSerialPortBase { - // (undocumented) - addListener(event: TEvent, callback: ZWaveSerialPortEventCallbacks[TEvent]): this; - // (undocumented) - emit(event: TEvent, ...args: Parameters): boolean; - // (undocumented) - off(event: TEvent, callback: ZWaveSerialPortEventCallbacks[TEvent]): this; - // (undocumented) - on(event: TEvent, callback: ZWaveSerialPortEventCallbacks[TEvent]): this; +// @public @deprecated (undocumented) +export interface ZWaveSerialPortImplementation { // (undocumented) - once(event: TEvent, callback: ZWaveSerialPortEventCallbacks[TEvent]): this; + close(port: ReturnType): Promise; // (undocumented) - removeAllListeners(event?: ZWaveSerialPortEvents): this; + create(): Duplex & EventEmitter; // (undocumented) - removeListener(event: TEvent, callback: ZWaveSerialPortEventCallbacks[TEvent]): this; + open(port: ReturnType): Promise; } -// @public (undocumented) -export class ZWaveSerialPortBase extends PassThrough { - // (undocumented) - [Symbol.asyncIterator]: () => AsyncIterableIterator; - constructor(implementation: ZWaveSerialPortImplementation, loggers: ZWaveLogContainer); +// Warning: (ae-missing-release-tag) "ZWaveSerialStream" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export class ZWaveSerialStream implements ReadableWritablePair { + constructor(source: UnderlyingSource, sink: UnderlyingSink, logger: SerialLogger); // (undocumented) close(): Promise; // (undocumented) @@ -5956,51 +6055,25 @@ export class ZWaveSerialPortBase extends PassThrough { // (undocumented) protected logger: SerialLogger; // (undocumented) - mode: ZWaveSerialMode | undefined; + get mode(): ZWaveSerialMode | undefined; + set mode(mode: ZWaveSerialMode | undefined); // (undocumented) - open(): Promise; + readonly readable: ReadableStream; // (undocumented) - protected serial: ReturnType; + readonly writable: WritableStream; // (undocumented) writeAsync(data: Uint8Array): Promise; } -// Warning: (ae-missing-release-tag) "ZWaveSerialPortEventCallbacks" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface ZWaveSerialPortEventCallbacks { - // (undocumented) - bootloaderData: (data: BootloaderChunk) => void; - // (undocumented) - data: (data: ZWaveSerialChunk) => void; - // (undocumented) - discardedData: (data: Uint8Array) => void; - // (undocumented) - error: (e: Error) => void; -} - -// Warning: (ae-missing-release-tag) "ZWaveSerialPortEvents" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// Warning: (ae-missing-release-tag) "ZWaveSerialStreamFactory" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // -// @public (undocumented) -export type ZWaveSerialPortEvents = Extract; - -// Warning: (ae-missing-release-tag) "ZWaveSerialPortImplementation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface ZWaveSerialPortImplementation { - // (undocumented) - close(port: ReturnType): Promise; +// @public +export class ZWaveSerialStreamFactory { + constructor(binding: ZWaveSerialBindingFactory, loggers: ZWaveLogContainer); // (undocumented) - create(): Duplex & EventEmitter; + createStream(): Promise; // (undocumented) - open(port: ReturnType): Promise; -} - -// Warning: (ae-missing-release-tag) "ZWaveSocket" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export class ZWaveSocket extends ZWaveSerialPortBase { - constructor(socketOptions: ZWaveSocketOptions, loggers: ZWaveLogContainer); + protected logger: SerialLogger; } // Warning: (ae-missing-release-tag) "ZWaveSocketOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -6010,24 +6083,23 @@ export type ZWaveSocketOptions = Omit | Omit // Warnings were encountered during analysis: // -// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/ColorSwitchCC.ts:481:9 - (TS2345) Argument of type '("index" | "warmWhite" | "coldWhite" | "red" | "green" | "blue" | "amber" | "cyan" | "purple" | undefined)[]' is not assignable to parameter of type 'readonly (string | number | symbol)[]'. +// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/ColorSwitchCC.ts:478:9 - (TS2345) Argument of type '("index" | "warmWhite" | "coldWhite" | "red" | "green" | "blue" | "amber" | "cyan" | "purple" | undefined)[]' is not assignable to parameter of type 'readonly (string | number | symbol)[]'. // Type 'string | undefined' is not assignable to type 'string | number | symbol'. // Type 'undefined' is not assignable to type 'string | number | symbol'. -// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/ConfigurationCC.ts:1284:36 - (TS2345) Argument of type 'string | number' is not assignable to parameter of type 'number'. +// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/ConfigurationCC.ts:1278:36 - (TS2345) Argument of type 'string | number' is not assignable to parameter of type 'number'. // Type 'string' is not assignable to type 'number'. -// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/ConfigurationCC.ts:1291:20 - (TS2345) Argument of type 'string | number' is not assignable to parameter of type 'number'. +// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/ConfigurationCC.ts:1285:20 - (TS2345) Argument of type 'string | number' is not assignable to parameter of type 'number'. // Type 'string' is not assignable to type 'number'. -// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/ConfigurationCC.ts:1415:35 - (TS2345) Argument of type 'string | number' is not assignable to parameter of type 'number'. +// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/ConfigurationCC.ts:1409:35 - (TS2345) Argument of type 'string | number' is not assignable to parameter of type 'number'. // Type 'string' is not assignable to type 'number'. -// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:458:24 - (TS2339) Property 'groupId' does not exist on type 'Security2Extension'. -// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:466:24 - (TS2339) Property 'senderEI' does not exist on type 'Security2Extension'. -// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:1663:20 - (TS2339) Property 'groupId' does not exist on type 'Security2Extension'. -// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:1666:34 - (TS2339) Property 'innerMPANState' does not exist on type 'Security2Extension'. -// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:1816:19 - (TS2339) Property 'senderEI' does not exist on type 'Security2Extension'. -// src/serialport/ZWaveSerialPortBase.ts:78:2 - (TS1238) Unable to resolve signature of class decorator when called as an expression. -// The runtime will invoke the decorator with 2 arguments, but the decorator expects 1. -// src/zniffer/ZnifferSerialPortBase.ts:59:2 - (TS1238) Unable to resolve signature of class decorator when called as an expression. -// The runtime will invoke the decorator with 2 arguments, but the decorator expects 1. +// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:755:24 - (TS2339) Property 'groupId' does not exist on type 'Security2Extension'. +// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:763:24 - (TS2339) Property 'senderEI' does not exist on type 'Security2Extension'. +// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:1912:20 - (TS2339) Property 'groupId' does not exist on type 'Security2Extension'. +// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:1915:34 - (TS2339) Property 'innerMPANState' does not exist on type 'Security2Extension'. +// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:2198:20 - (TS2339) Property 'groupId' does not exist on type 'Security2Extension'. +// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:2201:34 - (TS2339) Property 'innerMPANState' does not exist on type 'Security2Extension'. +// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:2355:19 - (TS2339) Property 'senderEI' does not exist on type 'Security2Extension'. +// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:2424:19 - (TS2339) Property 'senderEI' does not exist on type 'Security2Extension'. // (No @packageDocumentation comment for this package) diff --git a/packages/shared/shared.api.md b/packages/shared/shared.api.md index 7a6fdfdc5d07..245a50c5197f 100644 --- a/packages/shared/shared.api.md +++ b/packages/shared/shared.api.md @@ -4,6 +4,8 @@ ```ts +import { ReadableWritablePair } from 'node:stream/web'; + // Warning: (ae-forgotten-export) The symbol "Constructors" needs to be exported by the entry point index.d.ts // Warning: (ae-missing-release-tag) "AllOf" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -293,10 +295,13 @@ export function compareStrings(a: string, b: string): number; // @public (undocumented) export type Constructor = new (...args: any[]) => T; +// Warning: (ae-forgotten-export) The symbol "ManageDirectory" needs to be exported by the entry point index.d.ts +// Warning: (ae-forgotten-export) The symbol "CopyFile" needs to be exported by the entry point index.d.ts +// Warning: (ae-forgotten-export) The symbol "ReadFileSystemInfo" needs to be exported by the entry point index.d.ts // Warning: (ae-missing-release-tag) "copyFilesRecursive" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function copyFilesRecursive(sourceDir: string, targetDir: string, predicate?: (filename: string) => boolean): Promise; +export function copyFilesRecursive(fs: ManageDirectory & CopyFile & ReadFileSystemInfo, sourceDir: string, targetDir: string, predicate?: (filename: string) => boolean): Promise; // Warning: (ae-missing-release-tag) "cpp2js" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -336,7 +341,7 @@ export function discreteLinearSearch(rangeMin: number, rangeMax: number, executo // Warning: (ae-missing-release-tag) "enumFilesRecursive" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function enumFilesRecursive(rootDir: string, predicate?: (filename: string) => boolean): Promise; +export function enumFilesRecursive(fs: ReadFileSystemInfo, rootDir: string, predicate?: (filename: string) => boolean): Promise; // Warning: (ae-missing-release-tag) "evalOrStatic" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -348,6 +353,11 @@ export function evalOrStatic(fnOrConst: T, ...args: any[]): ReturnTypeOrStati // @public (undocumented) export type EventHandler = ((arg1: any, arg2: any, arg3: any, arg4: any) => void) | ((arg1: any, arg2: any, arg3: any) => void) | ((arg1: any, arg2: any) => void) | ((arg1: any) => void) | ((...args: any[]) => void); +// Warning: (ae-missing-release-tag) "EventListener" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type EventListener = ((arg1: any, arg2: any, arg3: any, arg4: any) => void) | ((arg1: any, arg2: any, arg3: any) => void) | ((arg1: any, arg2: any) => void) | ((arg1: any) => void) | ((...args: any[]) => void); + // Warning: (ae-missing-release-tag) "Expand" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) @@ -355,6 +365,22 @@ export type Expand = T extends object ? T extends infer O ? { [K in keyof O]: O[K]; } : never : T; +// Warning: (ae-forgotten-export) The symbol "FileHandle" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "fileHandleToReadableStream" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function fileHandleToReadableStream(handle: Omit): ReadableStream; + +// Warning: (ae-missing-release-tag) "fileHandleToStreams" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function fileHandleToStreams(handle: Omit): ReadableWritablePair; + +// Warning: (ae-missing-release-tag) "fileHandleToWritableStream" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function fileHandleToWritableStream(handle: Omit): WritableStream; + // Warning: (ae-missing-release-tag) "flatMap" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public @@ -397,6 +423,11 @@ export function getErrorMessage(e: unknown, includeStack?: boolean): string; // @public export function hexToUint8Array(hexString: string): Uint8Array; +// Warning: (ae-missing-release-tag) "isAbortError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function isAbortError(e: unknown): boolean; + // Warning: (ae-missing-release-tag) "IsAny" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) @@ -404,7 +435,7 @@ export type IsAny = 0 extends 1 & T ? true : false; // Warning: (ae-missing-release-tag) "isDocker" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // -// @public +// @public @deprecated export function isDocker(): boolean; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen @@ -510,7 +541,7 @@ export function padVersion(version: string): string; // Warning: (ae-missing-release-tag) "pathExists" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function pathExists(filename: string): Promise; +export function pathExists(fs: ReadFileSystemInfo, filename: string): Promise; // Warning: (ae-missing-release-tag) "pick" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -522,10 +553,11 @@ export function pick, K extends keyof T>(obj: T, keys // @public export function pickDeep(object: Record, path: string): T; +// Warning: (ae-forgotten-export) The symbol "ReadFile" needs to be exported by the entry point index.d.ts // Warning: (ae-missing-release-tag) "readJSON" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function readJSON(filename: string): Promise; +export function readJSON(fs: ReadFile, filename: string): Promise; // Warning: (ae-forgotten-export) The symbol "PickSymbolIterator" needs to be exported by the entry point index.d.ts // Warning: (ae-missing-release-tag) "ReadonlyObjectKeyMap" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -540,6 +572,11 @@ export type ReadonlyThrowingMap = ReadonlyMap & { getOrThrow(key: K): V; }; +// Warning: (ae-missing-release-tag) "readTextFile" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function readTextFile(fs: ReadFile, filename: string, encoding?: BufferEncoding): Promise; + // Warning: (ae-missing-release-tag) "ReturnTypeOrStatic" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) @@ -635,6 +672,24 @@ export interface TypedEventEmitter> { } +// Warning: (ae-missing-release-tag) "TypedEventTarget" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export class TypedEventTarget> { + // (undocumented) + emit(event: TEvent, ...args: Parameters): boolean; + // (undocumented) + off(event: TEvent, callback: TEvents[TEvent]): this; + // (undocumented) + on(event: TEvent, callback: TEvents[TEvent]): this; + // (undocumented) + once(event: TEvent, callback: TEvents[TEvent]): this; + // (undocumented) + removeAllListeners(event?: TEvent): this; + // (undocumented) + removeListener(event: TEvent, callback: TEvents[TEvent]): this; +} + // Warning: (ae-missing-release-tag) "TypedPropertyDecorator" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) @@ -660,6 +715,12 @@ export function uint8ArrayToStringUTF16BE(arr: Uint8Array): string; // @public (undocumented) export type UnionToIntersection = (T extends any ? (x: T) => any : never) extends (x: infer R) => any ? R : never; +// Warning: (ae-forgotten-export) The symbol "WriteFile" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "writeTextFile" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function writeTextFile(fs: WriteFile, filename: string, content: string, encoding?: BufferEncoding): Promise; + // (No @packageDocumentation comment for this package) ``` diff --git a/packages/testing/testing.api.md b/packages/testing/testing.api.md index 901afbde47c8..ba761657c4a5 100644 --- a/packages/testing/testing.api.md +++ b/packages/testing/testing.api.md @@ -4,7 +4,7 @@ ```ts -import type { CCEncodingContext } from '@zwave-js/host'; +import type { CCEncodingContext } from '@zwave-js/cc'; import { CCId } from '@zwave-js/core'; import type { ColorComponent } from '@zwave-js/cc'; import { CommandClass } from '@zwave-js/cc'; @@ -18,7 +18,7 @@ import type { MaybeUnknown } from '@zwave-js/core'; import { Message } from '@zwave-js/serial'; import { MessageEncodingContext } from '@zwave-js/serial'; import { MessageParsingContext } from '@zwave-js/serial'; -import type { MockPortBinding } from '@zwave-js/serial/mock'; +import { MockPort } from '@zwave-js/serial/mock'; import { NodeProtocolInfoAndDeviceClass } from '@zwave-js/core'; import { SecurityManagers } from '@zwave-js/core'; import type { SwitchType } from '@zwave-js/cc'; @@ -28,6 +28,7 @@ import type { UserIDStatus } from '@zwave-js/cc'; import type { WindowCoveringParameter } from '@zwave-js/cc'; import { ZWaveApiVersion } from '@zwave-js/core/safe'; import { ZWaveLibraryTypes } from '@zwave-js/core/safe'; +import { ZWaveSerialStream } from '@zwave-js/serial'; // Warning: (ae-missing-release-tag) "BinarySensorCCCapabilities" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -115,7 +116,7 @@ export function createMockZWaveAckFrame(options?: Partial CommandClass), options?: Partial>): LazyMockZWaveRequestFrame; +export function createMockZWaveRequestFrame(payload: CommandClass | (() => Promise), options?: Partial>): LazyMockZWaveRequestFrame; // Warning: (ae-missing-release-tag) "EnergyProductionCCCapabilities" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -175,7 +176,7 @@ export type LazyMockZWaveFrame = LazyMockZWaveRequestFrame | MockZWaveAckFrame; // @public (undocumented) export interface LazyMockZWaveRequestFrame { ackRequested: boolean; - payload: CommandClass | (() => CommandClass); + payload: CommandClass | (() => Promise); repeaters: number[]; // (undocumented) type: MockZWaveFrameType.Request; @@ -252,6 +253,8 @@ export class MockController { // (undocumented) homeId: number; // (undocumented) + readonly mockPort: MockPort; + // (undocumented) get nodes(): ReadonlyMap; onNodeFrame(node: MockNode, frame: MockZWaveFrame): Promise; // (undocumented) @@ -268,7 +271,7 @@ export class MockController { sendToHost(data: Uint8Array): Promise; sendToNode(node: MockNode, frame: LazyMockZWaveFrame): Promise; // (undocumented) - readonly serial: MockPortBinding; + readonly serial: ZWaveSerialStream; readonly state: Map; } @@ -337,9 +340,11 @@ export interface MockControllerOptions { // (undocumented) homeId?: number; // (undocumented) + mockPort: MockPort; + // (undocumented) ownNodeId?: number; // (undocumented) - serial: MockPortBinding; + serial: ZWaveSerialStream; } // Warning: (ae-missing-release-tag) "MockEndpoint" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -614,7 +619,7 @@ export interface ThermostatSetpointCCCapabilities { // Warning: (ae-missing-release-tag) "unlazyMockZWaveFrame" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function unlazyMockZWaveFrame(frame: LazyMockZWaveFrame): MockZWaveFrame; +export function unlazyMockZWaveFrame(frame: LazyMockZWaveFrame): Promise; // Warning: (ae-missing-release-tag) "UserCodeCCCapabilities" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -646,26 +651,23 @@ export interface WindowCoveringCCCapabilities { // Warnings were encountered during analysis: // -// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/ColorSwitchCC.ts:481:9 - (TS2345) Argument of type '("index" | "warmWhite" | "coldWhite" | "red" | "green" | "blue" | "amber" | "cyan" | "purple" | undefined)[]' is not assignable to parameter of type 'readonly (string | number | symbol)[]'. +// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/ColorSwitchCC.ts:478:9 - (TS2345) Argument of type '("index" | "warmWhite" | "coldWhite" | "red" | "green" | "blue" | "amber" | "cyan" | "purple" | undefined)[]' is not assignable to parameter of type 'readonly (string | number | symbol)[]'. // Type 'string | undefined' is not assignable to type 'string | number | symbol'. // Type 'undefined' is not assignable to type 'string | number | symbol'. -// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/ConfigurationCC.ts:1284:36 - (TS2345) Argument of type 'string | number' is not assignable to parameter of type 'number'. +// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/ConfigurationCC.ts:1278:36 - (TS2345) Argument of type 'string | number' is not assignable to parameter of type 'number'. // Type 'string' is not assignable to type 'number'. -// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/ConfigurationCC.ts:1291:20 - (TS2345) Argument of type 'string | number' is not assignable to parameter of type 'number'. +// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/ConfigurationCC.ts:1285:20 - (TS2345) Argument of type 'string | number' is not assignable to parameter of type 'number'. // Type 'string' is not assignable to type 'number'. -// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/ConfigurationCC.ts:1415:35 - (TS2345) Argument of type 'string | number' is not assignable to parameter of type 'number'. +// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/ConfigurationCC.ts:1409:35 - (TS2345) Argument of type 'string | number' is not assignable to parameter of type 'number'. // Type 'string' is not assignable to type 'number'. -// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:458:24 - (TS2339) Property 'groupId' does not exist on type 'Security2Extension'. -// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:466:24 - (TS2339) Property 'senderEI' does not exist on type 'Security2Extension'. -// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:1663:20 - (TS2339) Property 'groupId' does not exist on type 'Security2Extension'. -// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:1666:34 - (TS2339) Property 'innerMPANState' does not exist on type 'Security2Extension'. -// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:1816:19 - (TS2339) Property 'senderEI' does not exist on type 'Security2Extension'. -// /home/runner/work/node-zwave-js/node-zwave-js/packages/serial/src/mock/MockSerialPort.ts:18:2 - (TS1238) Unable to resolve signature of class decorator when called as an expression. -// The runtime will invoke the decorator with 2 arguments, but the decorator expects 1. -// /home/runner/work/node-zwave-js/node-zwave-js/packages/serial/src/serialport/ZWaveSerialPortBase.ts:78:2 - (TS1238) Unable to resolve signature of class decorator when called as an expression. -// The runtime will invoke the decorator with 2 arguments, but the decorator expects 1. -// /home/runner/work/node-zwave-js/node-zwave-js/packages/serial/src/zniffer/ZnifferSerialPortBase.ts:59:2 - (TS1238) Unable to resolve signature of class decorator when called as an expression. -// The runtime will invoke the decorator with 2 arguments, but the decorator expects 1. +// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:755:24 - (TS2339) Property 'groupId' does not exist on type 'Security2Extension'. +// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:763:24 - (TS2339) Property 'senderEI' does not exist on type 'Security2Extension'. +// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:1912:20 - (TS2339) Property 'groupId' does not exist on type 'Security2Extension'. +// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:1915:34 - (TS2339) Property 'innerMPANState' does not exist on type 'Security2Extension'. +// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:2198:20 - (TS2339) Property 'groupId' does not exist on type 'Security2Extension'. +// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:2201:34 - (TS2339) Property 'innerMPANState' does not exist on type 'Security2Extension'. +// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:2355:19 - (TS2339) Property 'senderEI' does not exist on type 'Security2Extension'. +// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:2424:19 - (TS2339) Property 'senderEI' does not exist on type 'Security2Extension'. // (No @packageDocumentation comment for this package) diff --git a/packages/zwave-js/zwave-js.api.md b/packages/zwave-js/zwave-js.api.md index 9e6145f61bf6..b85ff19f762d 100644 --- a/packages/zwave-js/zwave-js.api.md +++ b/packages/zwave-js/zwave-js.api.md @@ -42,6 +42,7 @@ import { ControllerStatus } from '@zwave-js/core/safe'; import { ControllerStatus as ControllerStatus_2 } from '@zwave-js/core'; import { ControllerValueLogContext } from '@zwave-js/core'; import type { ControlsCC } from '@zwave-js/core'; +import type { DatabaseFactory } from '@zwave-js/shared/bindings'; import { DataDirection } from '@zwave-js/core'; import { DataRate } from '@zwave-js/core/safe'; import { DataRate as DataRate_2 } from '@zwave-js/core'; @@ -60,8 +61,9 @@ import { Expand } from '@zwave-js/shared'; import { Expand as Expand_2 } from '@zwave-js/shared/safe'; import { ExtendedNVMOperationsCommand } from '@zwave-js/serial/serialapi'; import { extractFirmware } from '@zwave-js/core'; -import { FileSystem } from '@zwave-js/host/safe'; -import type { FileSystem as FileSystem_2 } from '@zwave-js/host'; +import { extractFirmwareAsync } from '@zwave-js/core'; +import { FileSystem } from '@zwave-js/core'; +import type { FileSystem as FileSystem_2 } from '@zwave-js/shared/bindings'; import { Firmware } from '@zwave-js/core'; import { FirmwareFileFormat } from '@zwave-js/core'; import { FirmwareUpdateCapabilities } from '@zwave-js/cc'; @@ -83,9 +85,8 @@ import { GetEndpoint } from '@zwave-js/core'; import { getEnumMemberName } from '@zwave-js/shared/safe'; import { GraphNode } from '@zwave-js/core'; import { guessFirmwareFileFormat } from '@zwave-js/core'; -import { Interpreter } from 'xstate'; -import { InterpreterFrom } from 'xstate'; import { InterviewContext } from '@zwave-js/cc'; +import { InterviewOptions } from '@zwave-js/cc'; import { InterviewStage } from '@zwave-js/core/safe'; import { InterviewStage as InterviewStage_2 } from '@zwave-js/core'; import type { IsCCSecure } from '@zwave-js/core'; @@ -109,8 +110,6 @@ import { MessagePriority } from '@zwave-js/core'; import { MessageType } from '@zwave-js/serial'; import { MessageWithCC } from '@zwave-js/serial/serialapi'; import type { MetadataUpdatedArgs } from '@zwave-js/core/safe'; -import { MockControllerBehavior } from '@zwave-js/testing'; -import { MockNodeBehavior } from '@zwave-js/testing'; import type { ModifyCCs } from '@zwave-js/core'; import { MPDUHeaderType } from '@zwave-js/core/safe'; import { MPDUHeaderType as MPDUHeaderType_2 } from '@zwave-js/core'; @@ -123,7 +122,6 @@ import { NODE_ID_BROADCAST_LR as NODE_ID_BROADCAST_LR_2 } from '@zwave-js/core'; import { NODE_ID_MAX } from '@zwave-js/core/safe'; import { NodeId } from '@zwave-js/core/safe'; import { NodeIDType } from '@zwave-js/core'; -import { NodeSchedulePollOptions } from '@zwave-js/host'; import { NodeStatus } from '@zwave-js/core/safe'; import { NodeType } from '@zwave-js/core/safe'; import { NodeType as NodeType_2 } from '@zwave-js/core'; @@ -151,6 +149,7 @@ import { QuerySecurityClasses } from '@zwave-js/core'; import { ReadonlyObjectKeyMap } from '@zwave-js/shared'; import { ReadonlyThrowingMap } from '@zwave-js/shared'; import { RefreshValuesContext } from '@zwave-js/cc'; +import { RefreshValueTimeouts } from '@zwave-js/cc'; import { ResponsePredicate } from '@zwave-js/serial'; import { ResponseRole } from '@zwave-js/serial'; import { RFRegion } from '@zwave-js/core/safe'; @@ -164,6 +163,7 @@ import { RSSI as RSSI_2 } from '@zwave-js/core'; import { RssiError } from '@zwave-js/core/safe'; import { rssiToString } from '@zwave-js/core'; import { Scale } from '@zwave-js/core/safe'; +import { SchedulePollOptions } from '@zwave-js/cc'; import type { SecurityClass } from '@zwave-js/core/safe'; import { SecurityClass as SecurityClass_2 } from '@zwave-js/core'; import { SecurityManager } from '@zwave-js/core'; @@ -177,17 +177,16 @@ import { SendDataMulticastRequest } from '@zwave-js/serial/serialapi'; import { SendDataRequest } from '@zwave-js/serial/serialapi'; import { SendMessageOptions } from '@zwave-js/core'; import { Sensor } from '@zwave-js/core/safe'; +import { Serial } from '@zwave-js/serial'; import { SerialApiInitData } from '@zwave-js/core'; import { SerialAPISetup_GetPowerlevelResponse } from '@zwave-js/serial/serialapi'; import { SerialAPISetupCommand } from '@zwave-js/serial/serialapi'; import type { SerializedValue } from '@zwave-js/core/safe'; -import type { SerialPort } from 'serialport'; import { SetbackState } from '@zwave-js/cc'; import { SetSecurityClass } from '@zwave-js/core'; import { SetValueAPIOptions } from '@zwave-js/cc'; import { SetValueResult } from '@zwave-js/cc/safe'; import { SpecificDeviceClass } from '@zwave-js/core/safe'; -import { StateMachine } from 'xstate'; import type { SupportsCC } from '@zwave-js/core'; import { SupportsCC as SupportsCC_2 } from '@zwave-js/core/safe'; import { Switchpoint } from '@zwave-js/cc'; @@ -196,9 +195,11 @@ import { TransactionProgressListener } from '@zwave-js/core'; import { TranslatedValueID } from '@zwave-js/core/safe'; import { TranslatedValueID as TranslatedValueID_2 } from '@zwave-js/core'; import { TransmitStatus } from '@zwave-js/core'; +import { tryUnzipFirmwareFile } from '@zwave-js/core'; import { TXReport } from '@zwave-js/core/safe'; -import { TypedEventEmitter } from '@zwave-js/shared'; +import { TypedEventTarget } from '@zwave-js/shared'; import { UnknownZWaveChipType } from '@zwave-js/core'; +import { UserPreferences } from '@zwave-js/cc'; import * as util from 'node:util'; import type { ValueAddedArgs } from '@zwave-js/core/safe'; import { ValueDB } from '@zwave-js/core'; @@ -226,13 +227,13 @@ import { ZWaveDataRate } from '@zwave-js/core'; import { ZWaveError } from '@zwave-js/core/safe'; import { ZWaveError as ZWaveError_2 } from '@zwave-js/core'; import { ZWaveErrorCodes } from '@zwave-js/core/safe'; -import type { ZWaveHostOptions } from '@zwave-js/host'; import { ZWaveLibraryTypes } from '@zwave-js/core/safe'; import { ZWaveLibraryTypes as ZWaveLibraryTypes_2 } from '@zwave-js/core'; import { ZWavePlusNodeType } from '@zwave-js/cc'; import { ZWavePlusRoleType } from '@zwave-js/cc'; -import type { ZWaveSerialPortBase } from '@zwave-js/serial'; +import { ZWaveSerialBindingFactory } from '@zwave-js/serial'; import { ZWaveSerialPortImplementation } from '@zwave-js/serial'; +import { ZWaveSerialStream } from '@zwave-js/serial'; // Warning: (ae-missing-release-tag) "BeamFrame" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -374,16 +375,6 @@ export type CorruptedFrame = { payload: Uint8Array; }; -// Warning: (ae-missing-release-tag) "createDefaultBehaviors" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export function createDefaultMockControllerBehaviors(): MockControllerBehavior[]; - -// Warning: (ae-missing-release-tag) "createDefaultBehaviors" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export function createDefaultMockNodeBehaviors(): MockNodeBehavior[]; - export { DataRate } // Warning: (ae-missing-release-tag) "DateAndTime" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -426,10 +417,10 @@ export class DeviceClass { // Warning: (ae-missing-release-tag) "Driver" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export class Driver extends TypedEventEmitter implements CCAPIHost, InterviewContext, RefreshValuesContext, PersistValuesContext { +export class Driver extends TypedEventTarget implements CCAPIHost, InterviewContext, RefreshValuesContext, PersistValuesContext { // (undocumented) [util.inspect.custom](): string; - constructor(port: string | ZWaveSerialPortImplementation, ...optionsAndPresets: (PartialZWaveOptions | undefined)[]); + constructor(port: string | ZWaveSerialPortImplementation | ZWaveSerialBindingFactory, ...optionsAndPresets: (PartialZWaveOptions | undefined)[]); get allNodesReady(): boolean; // (undocumented) readonly cacheDir: string; @@ -452,19 +443,19 @@ export class Driver extends TypedEventEmitter implements C remote?: boolean; }): Promise; // (undocumented) - exceedsMaxPayloadLength(msg: SendDataMessage): boolean; - getCommunicationTimeouts(): ZWaveHostOptions["timeouts"]; + exceedsMaxPayloadLength(msg: SendDataMessage): Promise; getConservativeWaitTimeAfterFirmwareUpdate(advertisedWaitTime: number | undefined): number; // (undocumented) getDeviceConfig(nodeId: number): DeviceConfig | undefined; // (undocumented) getHighestSecurityClass(nodeId: number): MaybeNotKnown; - getInterviewOptions(): ZWaveHostOptions["interview"]; + getInterviewOptions(): InterviewOptions; getLogConfig(): LogConfig; getMaxPayloadLength(msg: SendDataMessage): number; readonly getNextCallbackId: () => number; getNextSupervisionSessionId(nodeId: number): number; readonly getNextTransportServiceSessionId: () => number; + getRefreshValueTimeouts(): RefreshValueTimeouts; getReportTimeout(msg: Message): number; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen @@ -477,7 +468,7 @@ export class Driver extends TypedEventEmitter implements C // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen getSupportedCCVersion(cc: CommandClasses_2, nodeId: number, endpointIndex?: number): number; getUserAgentStringWithComponents(components?: Record): string; - getUserPreferences(): ZWaveHostOptions["preferences"]; + getUserPreferences(): UserPreferences; getValueDB(nodeId: number): ValueDB; hardReset(): Promise; // Warning: (ae-forgotten-export) The symbol "Transaction" needs to be exported by the entry point index.d.ts @@ -515,7 +506,7 @@ export class Driver extends TypedEventEmitter implements C resetAllSPANs(): void; resetSPAN(nodeId: number): void; restoreNetworkStructureFromCache(): Promise; - schedulePoll(nodeId: number, valueId: ValueID_2, options: NodeSchedulePollOptions): boolean; + schedulePoll(nodeId: number, valueId: ValueID_2, options: SchedulePollOptions): boolean; // Warning: (ae-forgotten-export) The symbol "TaskScheduler" needs to be exported by the entry point index.d.ts // // (undocumented) @@ -558,12 +549,12 @@ export class Driver extends TypedEventEmitter implements C waitForBootloaderChunk(predicate: (chunk: BootloaderChunk) => boolean, timeout: number): Promise; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - waitForCommand(predicate: (cc: CCId) => boolean, timeout: number): Promise; + waitForCommand(predicate: (cc: CCId) => boolean, timeout: number, abortSignal?: AbortSignal): Promise; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "zwave-js" does not have an export "waitForCommand" - waitForMessage(predicate: (msg: Message) => boolean, timeout: number, refreshPredicate?: (msg: Message) => boolean): Promise; + waitForMessage(predicate: (msg: Message) => boolean, timeout: number, refreshPredicate?: (msg: Message) => boolean, abortSignal?: AbortSignal): Promise; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen waitForMessageHeader(predicate: (header: MessageHeaders) => boolean, timeout: number): Promise; @@ -703,6 +694,8 @@ export enum ExplorerFrameCommand { export { extractFirmware } +export { extractFirmwareAsync } + export { FileSystem } export { Firmware } @@ -793,6 +786,7 @@ export interface GetFirmwareUpdatesOptions { additionalUserAgentComponents?: Record; apiKey?: string; includePrereleases?: boolean; + rfRegion?: RFRegion_2; } export { guessFirmwareFileFormat } @@ -1266,7 +1260,7 @@ export { parseQRCodeString } // Warning: (ae-missing-release-tag) "PartialZWaveOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export type PartialZWaveOptions = Expand> & Partial> & { +export type PartialZWaveOptions = Expand> & Partial> & { inclusionUserCallbacks?: ZWaveOptions["inclusionUserCallbacks"]; joinNetworkUserCallbacks?: ZWaveOptions["joinNetworkUserCallbacks"]; logConfig?: Partial; @@ -1449,6 +1443,8 @@ export { Switchpoint } export { TranslatedValueID } +export { tryUnzipFirmwareFile } + export { TXReport } export { ValueID } @@ -1526,8 +1522,8 @@ export interface VirtualValueID extends TranslatedValueID_2 { // Warning: (ae-missing-release-tag) "Zniffer" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export class Zniffer extends TypedEventEmitter { - constructor(port: string | ZWaveSerialPortImplementation, options?: ZnifferOptions); +export class Zniffer extends TypedEventTarget { + constructor(port: string | ZWaveSerialPortImplementation | ZWaveSerialBindingFactory, options?: ZnifferOptions); get active(): boolean; // Warning: (ae-forgotten-export) The symbol "CapturedFrame" needs to be exported by the entry point index.d.ts get capturedFrames(): Readonly[]; @@ -1555,6 +1551,8 @@ export interface ZnifferOptions { convertRSSI?: boolean; // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "zwave-js" does not have an export "ZnifferRegion" defaultFrequency?: number; + // (undocumented) + host?: ZWaveOptions["host"]; logConfig?: Partial; maxCapturedFrames?: number; securityKeys?: ZWaveOptions["securityKeys"]; @@ -1572,7 +1570,7 @@ export interface ZWaveController extends ControllerStatisticsHost { } // @public (undocumented) -export class ZWaveController extends TypedEventEmitter { +export class ZWaveController extends TypedEventTarget { // Warning: (tsdoc-code-fence-opening-indent) The opening backtick for a code fence must appear at the start of the line // Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@" // Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag @@ -1985,7 +1983,7 @@ export class ZWaveMPDU implements MPDU { // Warning: (ae-missing-release-tag) "ZWaveNode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export interface ZWaveNode extends TypedEventEmitter, NodeStatisticsHost { +export interface ZWaveNode extends TypedEventTarget, NodeStatisticsHost { } // Warning: (ae-forgotten-export) The symbol "ZWaveNodeMixins" needs to be exported by the entry point index.d.ts @@ -2291,7 +2289,7 @@ args: ZWaveNotificationCallbackArgs_PowerlevelCC // Warning: (ae-missing-release-tag) "ZWaveOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export interface ZWaveOptions extends ZWaveHostOptions { +export interface ZWaveOptions { allowBootloaderOnly?: boolean; // (undocumented) apiKeys?: { @@ -2312,6 +2310,11 @@ export interface ZWaveOptions extends ZWaveHostOptions { unresponsiveControllerRecovery?: boolean; watchdog?: boolean; }; + host?: { + fs?: FileSystem_2; + serial?: Serial; + db?: DatabaseFactory; + }; inclusionUserCallbacks?: InclusionUserCallbacks; // (undocumented) interview: { @@ -2346,7 +2349,7 @@ export interface ZWaveOptions extends ZWaveHostOptions { }; // (undocumented) storage: { - driver: FileSystem_2; + driver?: FileSystem; cacheDir: string; lockDir?: string; deviceConfigExternalDir?: string; @@ -2354,8 +2357,7 @@ export interface ZWaveOptions extends ZWaveHostOptions { throttle: "fast" | "normal" | "slow"; }; testingHooks?: { - serialPortBinding?: typeof SerialPort; - onSerialPortOpen?: (port: ZWaveSerialPortBase) => Promise; + onSerialPortOpen?: (port: ZWaveSerialStream) => Promise; skipControllerIdentification?: boolean; skipNodeInterview?: boolean; skipBootloaderCheck?: boolean; @@ -2391,46 +2393,43 @@ export * from "@zwave-js/cc"; // Warnings were encountered during analysis: // -// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/ColorSwitchCC.ts:481:9 - (TS2345) Argument of type '("index" | "warmWhite" | "coldWhite" | "red" | "green" | "blue" | "amber" | "cyan" | "purple" | undefined)[]' is not assignable to parameter of type 'readonly (string | number | symbol)[]'. +// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/ColorSwitchCC.ts:478:9 - (TS2345) Argument of type '("index" | "warmWhite" | "coldWhite" | "red" | "green" | "blue" | "amber" | "cyan" | "purple" | undefined)[]' is not assignable to parameter of type 'readonly (string | number | symbol)[]'. // Type 'string | undefined' is not assignable to type 'string | number | symbol'. // Type 'undefined' is not assignable to type 'string | number | symbol'. -// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/ConfigurationCC.ts:1284:36 - (TS2345) Argument of type 'string | number' is not assignable to parameter of type 'number'. +// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/ConfigurationCC.ts:1278:36 - (TS2345) Argument of type 'string | number' is not assignable to parameter of type 'number'. // Type 'string' is not assignable to type 'number'. -// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/ConfigurationCC.ts:1291:20 - (TS2345) Argument of type 'string | number' is not assignable to parameter of type 'number'. +// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/ConfigurationCC.ts:1285:20 - (TS2345) Argument of type 'string | number' is not assignable to parameter of type 'number'. // Type 'string' is not assignable to type 'number'. -// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/ConfigurationCC.ts:1415:35 - (TS2345) Argument of type 'string | number' is not assignable to parameter of type 'number'. +// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/ConfigurationCC.ts:1409:35 - (TS2345) Argument of type 'string | number' is not assignable to parameter of type 'number'. // Type 'string' is not assignable to type 'number'. -// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:458:24 - (TS2339) Property 'groupId' does not exist on type 'Security2Extension'. -// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:466:24 - (TS2339) Property 'senderEI' does not exist on type 'Security2Extension'. -// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:1663:20 - (TS2339) Property 'groupId' does not exist on type 'Security2Extension'. -// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:1666:34 - (TS2339) Property 'innerMPANState' does not exist on type 'Security2Extension'. -// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:1816:19 - (TS2339) Property 'senderEI' does not exist on type 'Security2Extension'. +// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:755:24 - (TS2339) Property 'groupId' does not exist on type 'Security2Extension'. +// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:763:24 - (TS2339) Property 'senderEI' does not exist on type 'Security2Extension'. +// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:1912:20 - (TS2339) Property 'groupId' does not exist on type 'Security2Extension'. +// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:1915:34 - (TS2339) Property 'innerMPANState' does not exist on type 'Security2Extension'. +// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:2198:20 - (TS2339) Property 'groupId' does not exist on type 'Security2Extension'. +// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:2201:34 - (TS2339) Property 'innerMPANState' does not exist on type 'Security2Extension'. +// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:2355:19 - (TS2339) Property 'senderEI' does not exist on type 'Security2Extension'. +// /home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/Security2CC.ts:2424:19 - (TS2339) Property 'senderEI' does not exist on type 'Security2Extension'. // /home/runner/work/node-zwave-js/node-zwave-js/packages/nvmedit/src/lib/NVM3.ts:434:20 - (TS18048) 'h' is possibly 'undefined'. // /home/runner/work/node-zwave-js/node-zwave-js/packages/nvmedit/src/lib/NVM3.ts:437:33 - (TS18048) 'header' is possibly 'undefined'. // /home/runner/work/node-zwave-js/node-zwave-js/packages/nvmedit/src/lib/NVM3.ts:438:54 - (TS18048) 'header' is possibly 'undefined'. // /home/runner/work/node-zwave-js/node-zwave-js/packages/nvmedit/src/lib/NVM3.ts:440:48 - (TS18048) 'header' is possibly 'undefined'. // /home/runner/work/node-zwave-js/node-zwave-js/packages/nvmedit/src/lib/NVM3.ts:443:11 - (TS18048) 'header' is possibly 'undefined'. // /home/runner/work/node-zwave-js/node-zwave-js/packages/nvmedit/src/lib/NVM3.ts:444:12 - (TS18048) 'header' is possibly 'undefined'. -// /home/runner/work/node-zwave-js/node-zwave-js/packages/serial/src/mock/MockSerialPort.ts:18:2 - (TS1238) Unable to resolve signature of class decorator when called as an expression. -// The runtime will invoke the decorator with 2 arguments, but the decorator expects 1. -// /home/runner/work/node-zwave-js/node-zwave-js/packages/serial/src/serialport/ZWaveSerialPortBase.ts:78:2 - (TS1238) Unable to resolve signature of class decorator when called as an expression. -// The runtime will invoke the decorator with 2 arguments, but the decorator expects 1. -// /home/runner/work/node-zwave-js/node-zwave-js/packages/serial/src/zniffer/ZnifferSerialPortBase.ts:59:2 - (TS1238) Unable to resolve signature of class decorator when called as an expression. -// The runtime will invoke the decorator with 2 arguments, but the decorator expects 1. // src/lib/controller/Controller.ts:997:2 - (ae-missing-getter) The property "provisioningList" has a setter but no getter. -// src/lib/driver/Driver.ts:846:24 - (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag -// src/lib/driver/Driver.ts:4687:5 - (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen -// src/lib/driver/Driver.ts:5847:2 - (ae-unresolved-link) The @link reference could not be resolved: The package "zwave-js" does not have an export "drainSerialAPIQueue" -// src/lib/driver/Driver.ts:6249:5 - (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen -// src/lib/driver/Driver.ts:6250:5 - (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen -// src/lib/driver/Driver.ts:6292:5 - (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen -// src/lib/driver/Driver.ts:6293:5 - (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen -// src/lib/driver/Driver.ts:6439:5 - (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen -// src/lib/driver/ZWaveOptions.ts:289:120 - (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag -// src/lib/node/Node.ts:558:2 - (ae-missing-getter) The property "deviceConfigHash" has a setter but no getter. -// src/lib/node/Node.ts:2245:5 - (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen -// src/lib/zniffer/Zniffer.ts:701:5 - (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen -// src/lib/zniffer/Zniffer.ts:702:5 - (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen +// src/lib/driver/Driver.ts:874:24 - (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag +// src/lib/driver/Driver.ts:4816:5 - (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen +// src/lib/driver/Driver.ts:5989:2 - (ae-unresolved-link) The @link reference could not be resolved: The package "zwave-js" does not have an export "drainSerialAPIQueue" +// src/lib/driver/Driver.ts:6469:5 - (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen +// src/lib/driver/Driver.ts:6470:5 - (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen +// src/lib/driver/Driver.ts:6512:5 - (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen +// src/lib/driver/Driver.ts:6513:5 - (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen +// src/lib/driver/Driver.ts:6659:5 - (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen +// src/lib/driver/ZWaveOptions.ts:315:120 - (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag +// src/lib/node/Node.ts:552:2 - (ae-missing-getter) The property "cachedDeviceConfigHash" has a setter but no getter. +// src/lib/node/Node.ts:2256:5 - (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen +// src/lib/zniffer/Zniffer.ts:762:5 - (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen +// src/lib/zniffer/Zniffer.ts:763:5 - (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // (No @packageDocumentation comment for this package)