From 4f5eac7737176c45131d70f2999ab326e35f3524 Mon Sep 17 00:00:00 2001 From: Al Calzone Date: Mon, 2 Dec 2024 11:52:16 +0000 Subject: [PATCH] docs: update typed documentation and API report --- docs/api/controller.md | 10 + docs/api/driver.md | 4 +- packages/cc/cc.api.md | 918 +++++++++++++++++------------- packages/config/config.api.md | 4 +- packages/core/core.api.md | 441 +++++++------- packages/host/host.api.md | 16 - packages/nvmedit/nvmedit.api.md | 804 +++++++++++++++++++++++++- packages/serial/serial.api.md | 83 ++- packages/shared/shared.api.md | 23 + packages/testing/testing.api.md | 25 +- packages/zwave-js/zwave-js.api.md | 69 ++- 11 files changed, 1715 insertions(+), 682 deletions(-) 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..cc8aacfa9a6a 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; diff --git a/packages/cc/cc.api.md b/packages/cc/cc.api.md index d8bf7e8afa31..0e2fddbd8927 100644 --- a/packages/cc/cc.api.md +++ b/packages/cc/cc.api.md @@ -46,8 +46,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'; @@ -161,10 +161,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 +180,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) // @@ -190,7 +190,7 @@ export class AlarmSensorCC extends CommandClass { ccCommand: AlarmSensorCommand; // (undocumented) protected createMetadataForSensorType(ctx: GetValueDB_2, sensorType: AlarmSensorType): void; - static getSupportedSensorTypesCached(ctx: GetValueDB_2, endpoint: EndpointId_2): MaybeNotKnown; + static getSupportedSensorTypesCached(ctx: GetValueDB_2, endpoint: EndpointId): MaybeNotKnown; // (undocumented) interview(ctx: InterviewContext): Promise; // (undocumented) @@ -298,7 +298,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 +337,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 +372,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 +405,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 +454,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 +479,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 +499,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_2, endpoint: EndpointId): ReadonlyMap; + static getGroupCountCached(ctx: GetValueDB_2, endpoint: EndpointId): number; + static getMaxNodesCached(ctx: GetValueDB_2 & GetDeviceConfig_2, endpoint: EndpointId, groupId: number): number; // (undocumented) interview(ctx: InterviewContext): Promise; // (undocumented) @@ -571,9 +571,13 @@ 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; @@ -704,7 +708,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 +736,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 +756,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 +781,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 +855,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_2, endpoint: EndpointId & SupportsCC, ccId: CommandClasses, command: number): number[]; + static getGroupNameCached(ctx: GetValueDB_2, endpoint: EndpointId, groupId: number): MaybeNotKnown; + static getGroupProfileCached(ctx: GetValueDB_2, endpoint: EndpointId, groupId: number): MaybeNotKnown; + static getIssuedCommandsCached(ctx: GetValueDB_2, endpoint: EndpointId, groupId: number): MaybeNotKnown>; // (undocumented) interview(ctx: InterviewContext): Promise; // (undocumented) @@ -1054,7 +1058,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 +1086,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 +1114,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 +1134,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; @@ -1715,7 +1719,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 +1739,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 +1770,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 +1801,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 +1830,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 +1892,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_2 & GetSupportedCCVersion_2 & GetDeviceConfig_2 & GetNode_2>): ValueID[]; // (undocumented) interview(ctx: InterviewContext): Promise; // (undocumented) @@ -1971,7 +1975,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 +2003,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 +2032,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 +2059,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 +2088,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 +2131,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_2 & GetDeviceConfig_2 & 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 +2245,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 +2271,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 +2297,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 +2328,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 +2354,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 +2380,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 +2406,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 +2432,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 +2463,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 +2491,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 +2520,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 +2546,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,7 +2611,7 @@ export enum BatteryReplacementStatus { export class BinarySensorCC extends CommandClass { // (undocumented) ccCommand: BinarySensorCommand; - static getSupportedSensorTypesCached(ctx: GetValueDB_2, endpoint: EndpointId_2): MaybeNotKnown; + static getSupportedSensorTypesCached(ctx: GetValueDB_2, endpoint: EndpointId): MaybeNotKnown; // (undocumented) interview(ctx: InterviewContext): Promise; // (undocumented) @@ -2721,7 +2725,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 +2745,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 +2813,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; }; @@ -2907,7 +2911,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 +2937,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 +2964,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 +3007,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,7 +3031,7 @@ export class CCAPI { nodeId: number[]; }; }; - isSetValueOptimistic(valueId: ValueID): boolean; + isSetValueOptimistic(valueId: ValueID_2): boolean; // (undocumented) protected isSinglecast(): this is this & { endpoint: PhysicalCCAPIEndpoint; @@ -3048,8 +3052,8 @@ 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) @@ -3210,7 +3214,7 @@ export type CCConstructor = typeof CommandClass & { // 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) // @@ -3460,7 +3464,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 +3484,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 +3511,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 +3536,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 +3561,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 +3619,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) // @@ -3808,7 +3812,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 +3832,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 +3859,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: { @@ -4251,7 +4255,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 +4287,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 +4307,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 +4336,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 +4362,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 +4389,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 +4415,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 +4440,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,28 +4493,32 @@ 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, 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; - // (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): CommandClass; - protected getCCValue(valueId: ValueID): StaticCCValue | DynamicCCValue | undefined; - getDefinedValueIDs(ctx: GetValueDB & GetSupportedCCVersion & GetDeviceConfig & GetNode>, includeInternal?: boolean): ValueID[]; + // (undocumented) + static fromAsync(raw: CCRaw, ctx: CCParsingContext): Promise; + protected getCCValue(valueId: ValueID_2): StaticCCValue | DynamicCCValue | undefined; + getDefinedValueIDs(ctx: GetValueDB & GetSupportedCCVersion & GetDeviceConfig & GetNode>, 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>): T | undefined; getMaxPayloadLength(baseLength: number): number; - protected getMetadata(ctx: GetValueDB, ccValue: CCValue): T | undefined; + protected getMetadata(ctx: GetValueDB, ccValue: CCValue): T | undefined; getNode(ctx: GetNode): T | undefined; getPartialCCSessionId(): Record | undefined; protected getValue(ctx: GetValueDB, ccValue: CCValue): T | undefined; @@ -4531,11 +4539,19 @@ export class CommandClass implements CCId { // (undocumented) isSinglecast(): this is SinglecastCC; isStatefulValue(properties: ValueIDProperties): boolean; + // 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): void; + mergePartialCCsAsync(_partials: CommandClass[], _ctx: CCParsingContext): Promise; nodeId: number | MulticastDestination; - // (undocumented) + // 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): CommandClass; // (undocumented) + static parseAsync(data: Uint8Array, ctx: CCParsingContext): 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 "@" persistValues(ctx: PersistValuesContext): boolean; @@ -4544,14 +4560,18 @@ export class CommandClass implements CCId { refreshValues(_ctx: RefreshValuesContext): Promise; protected removeMetadata(ctx: GetValueDB, ccValue: CCValue): void; protected removeValue(ctx: GetValueDB, 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): Bytes_2; + serializeAsync(ctx: CCEncodingContext): Promise; setInterviewComplete(host: GetValueDB, 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; // 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 setMetadata(ctx: GetValueDB, ccValue: CCValue, meta?: ValueMetadata_2): void; protected setValue(ctx: GetValueDB, ccValue: CCValue, value: unknown): void; - shouldRefreshValues(this: SinglecastCC, _ctx: GetValueDB & GetSupportedCCVersion & GetDeviceConfig & GetNode>): boolean; + shouldRefreshValues(this: SinglecastCC, _ctx: GetValueDB & GetSupportedCCVersion & GetDeviceConfig & GetNode>): boolean; skipEndpointInterview(): boolean; // (undocumented) protected throwMissingCriticalInterviewResponse(): never; @@ -4596,10 +4616,10 @@ export class ConfigurationCC extends CommandClass { partialValue: number; }[]): number; deserializeParamInformationFromConfig(ctx: GetValueDB_2 & GetDeviceConfig_2, config: ParamInfoMap): void; - getPartialParamInfos(ctx: GetValueDB_2, parameter: number): (ValueID_2 & { + getPartialParamInfos(ctx: GetValueDB_2, parameter: number): (ValueID & { metadata: ConfigurationMetadata; })[]; - getQueriedParamInfos(ctx: GetValueDB_2 & GetSupportedCCVersion_2 & GetDeviceConfig_2 & GetNode_2>): Record; + getQueriedParamInfos(ctx: GetValueDB_2 & GetSupportedCCVersion_2 & GetDeviceConfig_2 & GetNode_2>): Record; // (undocumented) interview(ctx: InterviewContext): Promise; protected paramExistsInConfigFile(ctx: GetValueDB_2 & GetDeviceConfig_2, parameter: number, valueBitMask?: number): boolean; @@ -4796,9 +4816,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; @@ -4849,9 +4873,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; @@ -5054,7 +5082,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 +5102,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 +5154,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,11 +5177,19 @@ 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) + serializeAsync(ctx: CCEncodingContext_2): Promise; + // (undocumented) toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; } @@ -5535,7 +5571,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 +5584,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_2, endpoint: EndpointId) => boolean; }; }; doorSupported: { @@ -5561,7 +5597,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 +5622,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 +5635,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_2, endpoint: EndpointId) => boolean; }; }; boltSupported: { @@ -5612,7 +5648,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 +5673,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 +5686,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_2, endpoint: EndpointId) => boolean; }; }; latchSupported: { @@ -5663,7 +5699,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 +5724,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 +5737,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_2, endpoint: EndpointId) => boolean; }; }; blockToBlockSupported: { @@ -5714,7 +5750,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 +5775,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 +5788,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_2, endpoint: EndpointId) => boolean; }; }; twistAssistSupported: { @@ -5765,7 +5801,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 +5826,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 +5841,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_2, endpoint: EndpointId) => boolean; }; }; holdAndReleaseSupported: { @@ -5818,7 +5854,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 +5879,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 +5894,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_2, endpoint: EndpointId) => boolean; }; }; autoRelockSupported: { @@ -5871,7 +5907,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 +5932,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 +5960,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 +5988,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 +6019,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 +6045,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 +6071,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 +6096,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 +6122,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 +6148,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 +6173,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 +6199,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 +6230,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: { @@ -6340,7 +6376,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; @@ -6629,7 +6665,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; @@ -6870,7 +6906,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 +6931,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 +6956,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 +6981,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 +7011,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"; @@ -7699,7 +7735,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 +7760,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 +7785,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 +7810,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 +7835,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 +7860,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 +7995,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 +8011,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) @@ -8097,7 +8133,7 @@ export function getInnermostCommandClass(cc: CommandClass): CommandClass; // Warning: (ae-missing-release-tag) "getLifelineGroupIds" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -function getLifelineGroupIds(ctx: GetValueDB & GetDeviceConfig, endpoint: EndpointId_2 & SupportsCC): number[]; +function getLifelineGroupIds(ctx: GetValueDB & GetDeviceConfig, endpoint: EndpointId & SupportsCC): number[]; // Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration // Warning: (ae-missing-release-tag) "getManufacturerId" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -8265,7 +8301,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 +8326,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; @@ -8394,7 +8430,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; @@ -8698,7 +8734,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 +8766,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 +8786,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 +8830,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; }; @@ -8955,7 +8991,7 @@ export class IndicatorCC extends CommandClass { // (undocumented) ccCommand: IndicatorCommand; // (undocumented) - static getSupportedPropertyIDsCached(ctx: GetValueDB_2, endpoint: EndpointId_2, indicatorId: number): MaybeNotKnown; + static getSupportedPropertyIDsCached(ctx: GetValueDB_2, endpoint: EndpointId, indicatorId: number): MaybeNotKnown; // (undocumented) interview(ctx: InterviewContext): Promise; // (undocumented) @@ -9173,7 +9209,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 +9241,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 +9269,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 +9289,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 +9315,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 +9344,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 +9375,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 +9415,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 +9446,7 @@ 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) "InvalidCC" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -9441,13 +9477,13 @@ 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_2, endpoint: EndpointId): MaybeNotKnown; + static getNumValvesCached(ctx: GetValueDB_2, 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_2, endpoint: EndpointId): boolean; // (undocumented) translateProperty(ctx: GetValueDB_2, property: string | number, propertyKey?: string | number): string; } @@ -9700,7 +9736,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 +9768,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 +9797,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 +9826,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 +9855,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 +9886,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 +9915,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 +9946,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 +9975,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 +10006,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 +10035,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 +10064,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 +10093,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 +10125,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 +10157,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 +10187,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 +10216,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 +10236,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 +10265,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 +10291,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 +10317,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 +10343,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 +10370,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 +10396,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 +10423,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 +10449,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 +10475,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 +10501,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 +10530,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 +10557,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 +10584,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 +10615,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 +10641,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 +10672,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 +10698,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 +10724,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 +10750,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 +10780,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 +10809,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 +10834,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 +10859,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 +10884,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; @@ -11389,7 +11425,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 +11451,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; @@ -11543,7 +11579,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"; @@ -11737,7 +11773,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 +11793,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 +11821,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 +11849,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 +11889,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_2 & GetDeviceConfig_2 & 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 +12076,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 +12113,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 +12133,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 +12162,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 +12187,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 +12212,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 +12237,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 +12273,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 +12370,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_2, endpoint: EndpointId): ReadonlyMap; + static getGroupCountCached(ctx: GetValueDB_2, endpoint: EndpointId): number; + static getMaxNodesCached(ctx: GetValueDB_2, endpoint: EndpointId, groupId: number): number; // (undocumented) interview(ctx: InterviewContext): Promise; // (undocumented) @@ -12411,9 +12447,13 @@ 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; @@ -12523,7 +12563,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 +12591,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 +12619,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 +12639,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; @@ -12774,11 +12814,19 @@ 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) + serializeAsync(ctx: CCEncodingContext_2): Promise; + // (undocumented) toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; } @@ -12834,9 +12882,13 @@ 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; @@ -12910,11 +12962,19 @@ 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) + serializeAsync(ctx: CCEncodingContext_2): Promise; + // (undocumented) toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; } @@ -12996,7 +13056,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 +13076,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 +13101,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 +13126,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 +13151,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 +13176,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 +13201,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 +13226,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,11 +13291,19 @@ 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) + serializeAsync(ctx: CCEncodingContext_2): Promise; + // (undocumented) toLogEntry(ctx?: GetValueDB_2): MessageOrCCLogEntry_2; } @@ -13269,14 +13337,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_2 & GetDeviceConfig_2 & GetNode_2>): boolean; // (undocumented) translatePropertyKey(ctx: GetValueDB_2, property: string | number, propertyKey: string | number): string | undefined; } @@ -13439,7 +13507,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 +13535,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 +13555,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 +13603,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; @@ -13724,7 +13792,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 +13827,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 +13847,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 +13872,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 +13897,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 +13912,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_2 & GetDeviceConfig_2, endpoint: EndpointId) => boolean; }; }; restorePrevious: { @@ -13857,7 +13925,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 +13954,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 +13980,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 +14009,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 +14052,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; }; @@ -14138,7 +14206,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 +14232,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 +14295,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_2 & GetDeviceConfig_2 & 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 +14501,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 +14535,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 +14567,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 +14595,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 +14617,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 +14654,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 +14676,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 +14689,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 +14717,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 +14745,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 +14770,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 +14795,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 +14820,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 +14860,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 +14884,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 & GetValueDB & GetSupportedCCVersion & GetDeviceConfig & GetNode> & 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 +14898,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) // @@ -15261,7 +15329,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 +15354,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 +15379,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 +15404,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 +15429,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 +15457,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 +15486,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 +15515,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 +15578,12 @@ 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) "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) // @@ -15583,7 +15651,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 +15677,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"; @@ -15756,7 +15824,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 +15856,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 +15888,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_2 & GetDeviceConfig_2, endpoint: EndpointId): number; // (undocumented) interview(ctx: InterviewContext): Promise; // (undocumented) @@ -15935,7 +16003,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 +16035,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 +16065,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, endpoint: EndpointId): number; + static getNumWeekDaySlotsCached(ctx: GetValueDB, endpoint: EndpointId): number; + static getNumYearDaySlotsCached(ctx: GetValueDB, endpoint: EndpointId): number; // (undocumented) - static getScheduleCached(ctx: GetValueDB, endpoint: EndpointId_2, scheduleKind: ScheduleEntryLockScheduleKind.WeekDay, userId: number, slotId: number): MaybeNotKnown; + static getScheduleCached(ctx: GetValueDB, 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, 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, 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, endpoint: EndpointId, scheduleKind: ScheduleEntryLockScheduleKind, userId: number, slotId: number): MaybeNotKnown; + static getUserCodeScheduleEnabledCached(ctx: GetValueDB, endpoint: EndpointId, userId: number): boolean; + static getUserCodeScheduleKindCached(ctx: GetValueDB, endpoint: EndpointId, userId: number): MaybeNotKnown; // (undocumented) interview(ctx: InterviewContext): Promise; } @@ -16278,7 +16346,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 +16374,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 +16402,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 +16422,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 +16447,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 +16472,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; @@ -16973,8 +17041,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 +17057,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 +17345,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 +17407,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; @@ -17806,7 +17896,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 +17924,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 +17953,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 +17982,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 +18078,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_2, 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_2 & GetNode_2>, 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_2, 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,13 +18096,21 @@ 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; @@ -18091,7 +18189,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; @@ -18295,7 +18393,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 +18418,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 +18449,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"; @@ -18462,7 +18560,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; @@ -18653,7 +18751,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 +18776,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 +18802,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; @@ -18826,7 +18924,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: { @@ -19171,7 +19269,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 +19301,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 +19321,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 +19361,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 +19687,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"; @@ -19789,12 +19887,19 @@ 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; @@ -19847,19 +19952,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_2, endpoint: EndpointId): MaybeNotKnown; + static getSupportedKeypadModesCached(ctx: GetValueDB_2, endpoint: EndpointId): MaybeNotKnown; + static getSupportedUserIDStatusesCached(ctx: GetValueDB_2, endpoint: EndpointId): MaybeNotKnown; + static getSupportedUsersCached(ctx: GetValueDB_2, endpoint: EndpointId): MaybeNotKnown; + static getUserCodeCached(ctx: GetValueDB_2, endpoint: EndpointId, userId: number): MaybeNotKnown; + static getUserIdStatusCached(ctx: GetValueDB_2, 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_2, endpoint: EndpointId): boolean; + static supportsAdminCodeDeactivationCached(ctx: GetValueDB_2, endpoint: EndpointId): boolean; + static supportsMultipleUserCodeSetCached(ctx: GetValueDB_2, 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) @@ -20281,7 +20386,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 +20415,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 +20435,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 +20463,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 +20489,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 +20514,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 +20539,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 +20564,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 +20589,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 +20614,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 +20639,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 +20664,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 +20689,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 +20714,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 +20739,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 +20764,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; @@ -20762,7 +20867,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) // @@ -20935,7 +21040,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 +21066,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 +21092,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 +21118,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 +21144,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 +21170,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 +21196,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 +21222,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 +21248,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 +21274,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 +21299,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 +21325,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 +21351,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 +21380,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"; @@ -21512,7 +21617,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 +21642,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 +21670,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; @@ -21863,7 +21968,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 +22005,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 +22037,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 +22076,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 +22113,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 +22133,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; @@ -22216,7 +22321,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 +22346,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 +22371,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 +22396,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 +22421,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; @@ -23230,6 +23335,7 @@ export enum ZWaveProtocolCommand { // Warnings were encountered during analysis: // +// src/cc/Security2CC.ts:2294:2 - (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/cc" does not have an export "maybeAddSPANExtensionAsync" // 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" diff --git a/packages/config/config.api.md b/packages/config/config.api.md index 8332df50a13b..1abf3f3a406b 100644 --- a/packages/config/config.api.md +++ b/packages/config/config.api.md @@ -475,7 +475,7 @@ export class DeviceConfig { 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; @@ -617,7 +617,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) // diff --git a/packages/core/core.api.md b/packages/core/core.api.md index 8e0d533f43f2..14cae83ce1a4 100644 --- a/packages/core/core.api.md +++ b/packages/core/core.api.md @@ -15,7 +15,7 @@ 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) @@ -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) // @@ -1428,12 +1521,12 @@ export const HOMEID_BYTES = 4; // 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) // @@ -1676,6 +1769,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,24 +1778,6 @@ 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) -// -// @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; -} - // 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) // // @public @@ -1795,11 +1871,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 +1974,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) // @@ -2126,110 +2197,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 +2226,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 +2700,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 +2902,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 +3136,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 +3173,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 +3211,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 +3232,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 +3254,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; @@ -3546,6 +3596,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 +3727,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 +3738,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,7 +3821,7 @@ 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 @@ -4482,7 +4543,7 @@ export enum ZWaveErrorCodes { Driver_Destroyed = 102, Driver_Failed = 100, // (undocumented) - Driver_FeatureDisabled = 111, + Driver_FeatureDisabled = 110, // (undocumented) Driver_InvalidCache = 107, // (undocumented) @@ -4490,8 +4551,6 @@ export enum ZWaveErrorCodes { // (undocumented) Driver_InvalidOptions = 108, // (undocumented) - Driver_NoErrorHandler = 110, - // (undocumented) Driver_NoPriority = 106, Driver_NoSecurity = 109, // (undocumented) @@ -4500,7 +4559,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 +4699,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..d199bc3b305e 100644 --- a/packages/host/host.api.md +++ b/packages/host/host.api.md @@ -76,22 +76,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 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..521cfd622e93 100644 --- a/packages/serial/serial.api.md +++ b/packages/serial/serial.api.md @@ -260,11 +260,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; @@ -893,11 +901,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[]; @@ -2920,7 +2936,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 +3722,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 +3837,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 +3941,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 +4049,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; @@ -6013,17 +6065,20 @@ export type ZWaveSocketOptions = Omit | Omit // /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)[]'. // 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:1282: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:1289: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:1413: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:758: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:766: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:1915: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:1918: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:2201: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:2204: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:2358: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:2427: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. diff --git a/packages/shared/shared.api.md b/packages/shared/shared.api.md index 7a6fdfdc5d07..283e04eb5d67 100644 --- a/packages/shared/shared.api.md +++ b/packages/shared/shared.api.md @@ -348,6 +348,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) @@ -635,6 +640,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) diff --git a/packages/testing/testing.api.md b/packages/testing/testing.api.md index 901afbde47c8..40fd870a4e19 100644 --- a/packages/testing/testing.api.md +++ b/packages/testing/testing.api.md @@ -115,7 +115,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 +175,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; @@ -614,7 +614,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) // @@ -649,17 +649,20 @@ export interface WindowCoveringCCCapabilities { // /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)[]'. // 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:1282: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:1289: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:1413: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:758: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:766: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:1915: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:1918: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:2201: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:2204: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:2358: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:2427: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. diff --git a/packages/zwave-js/zwave-js.api.md b/packages/zwave-js/zwave-js.api.md index 9e6145f61bf6..eb86e3f98581 100644 --- a/packages/zwave-js/zwave-js.api.md +++ b/packages/zwave-js/zwave-js.api.md @@ -60,8 +60,8 @@ 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 { Firmware } from '@zwave-js/core'; import { FirmwareFileFormat } from '@zwave-js/core'; import { FirmwareUpdateCapabilities } from '@zwave-js/cc'; @@ -196,8 +196,9 @@ 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 * as util from 'node:util'; import type { ValueAddedArgs } from '@zwave-js/core/safe'; @@ -426,7 +427,7 @@ 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)[]); @@ -452,7 +453,7 @@ export class Driver extends TypedEventEmitter implements C remote?: boolean; }): Promise; // (undocumented) - exceedsMaxPayloadLength(msg: SendDataMessage): boolean; + exceedsMaxPayloadLength(msg: SendDataMessage): Promise; getCommunicationTimeouts(): ZWaveHostOptions["timeouts"]; getConservativeWaitTimeAfterFirmwareUpdate(advertisedWaitTime: number | undefined): number; // (undocumented) @@ -703,6 +704,8 @@ export enum ExplorerFrameCommand { export { extractFirmware } +export { extractFirmwareAsync } + export { FileSystem } export { Firmware } @@ -793,6 +796,7 @@ export interface GetFirmwareUpdatesOptions { additionalUserAgentComponents?: Record; apiKey?: string; includePrereleases?: boolean; + rfRegion?: RFRegion_2; } export { guessFirmwareFileFormat } @@ -1449,6 +1453,8 @@ export { Switchpoint } export { TranslatedValueID } +export { tryUnzipFirmwareFile } + export { TXReport } export { ValueID } @@ -1526,7 +1532,7 @@ 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 { +export class Zniffer extends TypedEventTarget { constructor(port: string | ZWaveSerialPortImplementation, options?: ZnifferOptions); get active(): boolean; // Warning: (ae-forgotten-export) The symbol "CapturedFrame" needs to be exported by the entry point index.d.ts @@ -1572,7 +1578,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 +1991,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 @@ -2346,7 +2352,7 @@ export interface ZWaveOptions extends ZWaveHostOptions { }; // (undocumented) storage: { - driver: FileSystem_2; + driver: FileSystem; cacheDir: string; lockDir?: string; deviceConfigExternalDir?: string; @@ -2394,17 +2400,20 @@ export * from "@zwave-js/cc"; // /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)[]'. // 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:1282: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:1289: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:1413: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:758: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:766: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:1915: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:1918: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:2201: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:2204: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:2358: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:2427: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'. @@ -2418,19 +2427,19 @@ export * from "@zwave-js/cc"; // /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:845: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:4683: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:5843: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:6245: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:6246: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:6288: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:6289: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:6435: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:294: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:556:2 - (ae-missing-getter) The property "cachedDeviceConfigHash" has a setter but no getter. +// src/lib/node/Node.ts:2260: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:703: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:704: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)