eufy-security-client 3.8.0-dev.25 → 3.8.0-dev.29

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.
@@ -382,6 +382,7 @@ export interface Cipher {
382
382
  cipher_id: number;
383
383
  user_id: string;
384
384
  private_key: string;
385
+ ecc_private_key?: string;
385
386
  }
386
387
  export interface Voice {
387
388
  voice_id: number;
@@ -51,14 +51,17 @@ export declare class Station extends TypedEmitter<StationEvents> {
51
51
  static isStationHomeBase2OrOlder(type: number): boolean;
52
52
  static isStationHomeBase3(type: number): boolean;
53
53
  static isStationHomeBaseMini(type: number): boolean;
54
+ static isStationNVR(type: number): boolean;
54
55
  static isStationHomeBase3BySn(sn: string): boolean;
55
56
  static isStationHomeBaseMiniBySn(sn: string): boolean;
56
57
  static isStationMiniBaseChime(type: number): boolean;
57
58
  static isStationMiniBaseChimeBySn(sn: string): boolean;
59
+ static isStationNVRBySn(sn: string): boolean;
58
60
  isStationHomeBase2OrOlder(): boolean;
59
61
  isStationHomeBase3(): boolean;
60
62
  isStationHomeBaseMini(): boolean;
61
63
  isStationMiniBaseChime(): boolean;
64
+ isStationNVR(): boolean;
62
65
  /**
63
66
  * Checks if the station is a HomeBase 3 or HomeBase mini for determining if SoloDevices are connected to a supported HomeBase.
64
67
  * @returns Returns true, if this is a HomeBase 3 or a HomeBase mini, otherwise false.
@@ -562,7 +562,8 @@ class Station extends tiny_typed_emitter_1.TypedEmitter {
562
562
  return (type === types_1.DeviceType.STATION ||
563
563
  type === types_1.DeviceType.HB3 ||
564
564
  type === types_1.DeviceType.MINIBASE_CHIME ||
565
- type === types_1.DeviceType.HOMEBASE_MINI);
565
+ type === types_1.DeviceType.HOMEBASE_MINI ||
566
+ type === types_1.DeviceType.NVR_S4_MAX);
566
567
  }
567
568
  isStation() {
568
569
  return Station.isStation(this.rawStation.device_type);
@@ -576,6 +577,9 @@ class Station extends tiny_typed_emitter_1.TypedEmitter {
576
577
  static isStationHomeBaseMini(type) {
577
578
  return type === types_1.DeviceType.HOMEBASE_MINI;
578
579
  }
580
+ static isStationNVR(type) {
581
+ return type === types_1.DeviceType.NVR_S4_MAX;
582
+ }
579
583
  static isStationHomeBase3BySn(sn) {
580
584
  return sn.startsWith("T8030");
581
585
  }
@@ -588,6 +592,9 @@ class Station extends tiny_typed_emitter_1.TypedEmitter {
588
592
  static isStationMiniBaseChimeBySn(sn) {
589
593
  return sn.startsWith("T8023");
590
594
  }
595
+ static isStationNVRBySn(sn) {
596
+ return sn.startsWith("T8N00");
597
+ }
591
598
  isStationHomeBase2OrOlder() {
592
599
  return Station.isStationHomeBase2OrOlder(this.rawStation.device_type);
593
600
  }
@@ -600,6 +607,9 @@ class Station extends tiny_typed_emitter_1.TypedEmitter {
600
607
  isStationMiniBaseChime() {
601
608
  return Station.isStationMiniBaseChime(this.rawStation.device_type);
602
609
  }
610
+ isStationNVR() {
611
+ return Station.isStationNVR(this.rawStation.device_type);
612
+ }
603
613
  /**
604
614
  * Checks if the station is a HomeBase 3 or HomeBase mini for determining if SoloDevices are connected to a supported HomeBase.
605
615
  * @returns Returns true, if this is a HomeBase 3 or a HomeBase mini, otherwise false.