@zwave-js/cc 15.23.1 → 15.23.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/cc/NotificationCC.js +4 -0
- package/build/cjs/cc/NotificationCC.js.map +2 -2
- package/build/cjs/cc/UserCredentialCC._validateArgs.js +4 -4
- package/build/cjs/cc/UserCredentialCC._validateArgs.js.map +2 -2
- package/build/cjs/cc/UserCredentialCC.d.ts +75 -37
- package/build/cjs/cc/UserCredentialCC.js +212 -156
- package/build/cjs/cc/UserCredentialCC.js.map +3 -3
- package/build/cjs/cc/_CCValues.generated.d.ts +62 -6
- package/build/cjs/cc/_CCValues.generated.js +38 -6
- package/build/cjs/cc/_CCValues.generated.js.map +2 -2
- package/build/cjs/cc/index.d.ts +3 -3
- package/build/cjs/cc/index.js +6 -6
- package/build/cjs/cc/index.js.map +1 -1
- package/build/esm/cc/NotificationCC.d.ts.map +1 -1
- package/build/esm/cc/NotificationCC.js +6 -1
- package/build/esm/cc/NotificationCC.js.map +1 -1
- package/build/esm/cc/UserCredentialCC._validateArgs.js +4 -4
- package/build/esm/cc/UserCredentialCC._validateArgs.js.map +1 -1
- package/build/esm/cc/UserCredentialCC.d.ts +75 -37
- package/build/esm/cc/UserCredentialCC.d.ts.map +1 -1
- package/build/esm/cc/UserCredentialCC.js +247 -152
- package/build/esm/cc/UserCredentialCC.js.map +1 -1
- package/build/esm/cc/_CCValues.generated.d.ts +62 -6
- package/build/esm/cc/_CCValues.generated.d.ts.map +1 -1
- package/build/esm/cc/_CCValues.generated.js +41 -6
- package/build/esm/cc/_CCValues.generated.js.map +1 -1
- package/build/esm/cc/index.d.ts +3 -3
- package/build/esm/cc/index.d.ts.map +1 -1
- package/build/esm/cc/index.js +4 -4
- package/build/esm/cc/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -7863,7 +7863,35 @@ export declare const UserCredentialCCValues: Readonly<{
|
|
|
7863
7863
|
readonly autoCreate: true;
|
|
7864
7864
|
};
|
|
7865
7865
|
};
|
|
7866
|
-
|
|
7866
|
+
credentialOwner: ((type: UserCredentialType, slot: number) => {
|
|
7867
|
+
id: {
|
|
7868
|
+
readonly commandClass: (typeof CommandClasses)["User Credential"];
|
|
7869
|
+
readonly property: "credentialOwner";
|
|
7870
|
+
readonly propertyKey: number;
|
|
7871
|
+
};
|
|
7872
|
+
endpoint: (endpoint?: number) => {
|
|
7873
|
+
readonly commandClass: (typeof CommandClasses)["User Credential"];
|
|
7874
|
+
readonly endpoint: number;
|
|
7875
|
+
readonly property: "credentialOwner";
|
|
7876
|
+
readonly propertyKey: number;
|
|
7877
|
+
};
|
|
7878
|
+
readonly meta: Readonly<{
|
|
7879
|
+
readonly type: "any";
|
|
7880
|
+
readonly readable: true;
|
|
7881
|
+
readonly writeable: true;
|
|
7882
|
+
}>;
|
|
7883
|
+
}) & {
|
|
7884
|
+
is: (valueId: ValueID) => boolean;
|
|
7885
|
+
options: {
|
|
7886
|
+
readonly internal: true;
|
|
7887
|
+
readonly minVersion: 1;
|
|
7888
|
+
readonly secret: false;
|
|
7889
|
+
readonly stateful: true;
|
|
7890
|
+
readonly supportsEndpoints: true;
|
|
7891
|
+
readonly autoCreate: true;
|
|
7892
|
+
};
|
|
7893
|
+
};
|
|
7894
|
+
credentialModifierType: ((type: UserCredentialType, slot: number) => {
|
|
7867
7895
|
id: {
|
|
7868
7896
|
readonly commandClass: (typeof CommandClasses)["User Credential"];
|
|
7869
7897
|
readonly property: "credentialModifierType";
|
|
@@ -7891,7 +7919,7 @@ export declare const UserCredentialCCValues: Readonly<{
|
|
|
7891
7919
|
readonly autoCreate: true;
|
|
7892
7920
|
};
|
|
7893
7921
|
};
|
|
7894
|
-
credentialModifierNodeId: ((
|
|
7922
|
+
credentialModifierNodeId: ((type: UserCredentialType, slot: number) => {
|
|
7895
7923
|
id: {
|
|
7896
7924
|
readonly commandClass: (typeof CommandClasses)["User Credential"];
|
|
7897
7925
|
readonly property: "credentialModifierNodeId";
|
|
@@ -7919,7 +7947,7 @@ export declare const UserCredentialCCValues: Readonly<{
|
|
|
7919
7947
|
readonly autoCreate: true;
|
|
7920
7948
|
};
|
|
7921
7949
|
};
|
|
7922
|
-
credential: ((
|
|
7950
|
+
credential: ((type: UserCredentialType, slot: number) => {
|
|
7923
7951
|
id: {
|
|
7924
7952
|
readonly commandClass: (typeof CommandClasses)["User Credential"];
|
|
7925
7953
|
readonly property: "credential";
|
|
@@ -16636,7 +16664,35 @@ export declare const CCValues: {
|
|
|
16636
16664
|
readonly autoCreate: true;
|
|
16637
16665
|
};
|
|
16638
16666
|
};
|
|
16639
|
-
|
|
16667
|
+
credentialOwner: ((type: UserCredentialType, slot: number) => {
|
|
16668
|
+
id: {
|
|
16669
|
+
readonly commandClass: (typeof CommandClasses)["User Credential"];
|
|
16670
|
+
readonly property: "credentialOwner";
|
|
16671
|
+
readonly propertyKey: number;
|
|
16672
|
+
};
|
|
16673
|
+
endpoint: (endpoint?: number) => {
|
|
16674
|
+
readonly commandClass: (typeof CommandClasses)["User Credential"];
|
|
16675
|
+
readonly endpoint: number;
|
|
16676
|
+
readonly property: "credentialOwner";
|
|
16677
|
+
readonly propertyKey: number;
|
|
16678
|
+
};
|
|
16679
|
+
readonly meta: Readonly<{
|
|
16680
|
+
readonly type: "any";
|
|
16681
|
+
readonly readable: true;
|
|
16682
|
+
readonly writeable: true;
|
|
16683
|
+
}>;
|
|
16684
|
+
}) & {
|
|
16685
|
+
is: (valueId: ValueID) => boolean;
|
|
16686
|
+
options: {
|
|
16687
|
+
readonly internal: true;
|
|
16688
|
+
readonly minVersion: 1;
|
|
16689
|
+
readonly secret: false;
|
|
16690
|
+
readonly stateful: true;
|
|
16691
|
+
readonly supportsEndpoints: true;
|
|
16692
|
+
readonly autoCreate: true;
|
|
16693
|
+
};
|
|
16694
|
+
};
|
|
16695
|
+
credentialModifierType: ((type: UserCredentialType, slot: number) => {
|
|
16640
16696
|
id: {
|
|
16641
16697
|
readonly commandClass: (typeof CommandClasses)["User Credential"];
|
|
16642
16698
|
readonly property: "credentialModifierType";
|
|
@@ -16664,7 +16720,7 @@ export declare const CCValues: {
|
|
|
16664
16720
|
readonly autoCreate: true;
|
|
16665
16721
|
};
|
|
16666
16722
|
};
|
|
16667
|
-
credentialModifierNodeId: ((
|
|
16723
|
+
credentialModifierNodeId: ((type: UserCredentialType, slot: number) => {
|
|
16668
16724
|
id: {
|
|
16669
16725
|
readonly commandClass: (typeof CommandClasses)["User Credential"];
|
|
16670
16726
|
readonly property: "credentialModifierNodeId";
|
|
@@ -16692,7 +16748,7 @@ export declare const CCValues: {
|
|
|
16692
16748
|
readonly autoCreate: true;
|
|
16693
16749
|
};
|
|
16694
16750
|
};
|
|
16695
|
-
credential: ((
|
|
16751
|
+
credential: ((type: UserCredentialType, slot: number) => {
|
|
16696
16752
|
id: {
|
|
16697
16753
|
readonly commandClass: (typeof CommandClasses)["User Credential"];
|
|
16698
16754
|
readonly property: "credential";
|
|
@@ -8551,9 +8551,41 @@ const UserCredentialCCValues = Object.freeze({
|
|
|
8551
8551
|
autoCreate: true
|
|
8552
8552
|
}
|
|
8553
8553
|
}),
|
|
8554
|
-
|
|
8554
|
+
credentialOwner: Object.assign((type, slot) => {
|
|
8555
|
+
const property = "credentialOwner";
|
|
8556
|
+
const propertyKey = type << 16 | slot;
|
|
8557
|
+
return {
|
|
8558
|
+
id: {
|
|
8559
|
+
commandClass: import_core.CommandClasses["User Credential"],
|
|
8560
|
+
property,
|
|
8561
|
+
propertyKey
|
|
8562
|
+
},
|
|
8563
|
+
endpoint: /* @__PURE__ */ __name((endpoint = 0) => ({
|
|
8564
|
+
commandClass: import_core.CommandClasses["User Credential"],
|
|
8565
|
+
endpoint,
|
|
8566
|
+
property,
|
|
8567
|
+
propertyKey
|
|
8568
|
+
}), "endpoint"),
|
|
8569
|
+
get meta() {
|
|
8570
|
+
return import_core.ValueMetadata.Any;
|
|
8571
|
+
}
|
|
8572
|
+
};
|
|
8573
|
+
}, {
|
|
8574
|
+
is: /* @__PURE__ */ __name((valueId) => {
|
|
8575
|
+
return valueId.commandClass === import_core.CommandClasses["User Credential"] && (({ property, propertyKey }) => property === "credentialOwner" && typeof propertyKey === "number")(valueId);
|
|
8576
|
+
}, "is"),
|
|
8577
|
+
options: {
|
|
8578
|
+
internal: true,
|
|
8579
|
+
minVersion: 1,
|
|
8580
|
+
secret: false,
|
|
8581
|
+
stateful: true,
|
|
8582
|
+
supportsEndpoints: true,
|
|
8583
|
+
autoCreate: true
|
|
8584
|
+
}
|
|
8585
|
+
}),
|
|
8586
|
+
credentialModifierType: Object.assign((type, slot) => {
|
|
8555
8587
|
const property = "credentialModifierType";
|
|
8556
|
-
const propertyKey =
|
|
8588
|
+
const propertyKey = type << 16 | slot;
|
|
8557
8589
|
return {
|
|
8558
8590
|
id: {
|
|
8559
8591
|
commandClass: import_core.CommandClasses["User Credential"],
|
|
@@ -8583,9 +8615,9 @@ const UserCredentialCCValues = Object.freeze({
|
|
|
8583
8615
|
autoCreate: true
|
|
8584
8616
|
}
|
|
8585
8617
|
}),
|
|
8586
|
-
credentialModifierNodeId: Object.assign((
|
|
8618
|
+
credentialModifierNodeId: Object.assign((type, slot) => {
|
|
8587
8619
|
const property = "credentialModifierNodeId";
|
|
8588
|
-
const propertyKey =
|
|
8620
|
+
const propertyKey = type << 16 | slot;
|
|
8589
8621
|
return {
|
|
8590
8622
|
id: {
|
|
8591
8623
|
commandClass: import_core.CommandClasses["User Credential"],
|
|
@@ -8615,9 +8647,9 @@ const UserCredentialCCValues = Object.freeze({
|
|
|
8615
8647
|
autoCreate: true
|
|
8616
8648
|
}
|
|
8617
8649
|
}),
|
|
8618
|
-
credential: Object.assign((
|
|
8650
|
+
credential: Object.assign((type, slot) => {
|
|
8619
8651
|
const property = "credential";
|
|
8620
|
-
const propertyKey =
|
|
8652
|
+
const propertyKey = type << 16 | slot;
|
|
8621
8653
|
return {
|
|
8622
8654
|
id: {
|
|
8623
8655
|
commandClass: import_core.CommandClasses["User Credential"],
|