eufy-security-client 3.8.0-dev.14 → 3.8.0-dev.16
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/http/device.d.ts +6 -0
- package/build/http/device.js +20 -0
- package/build/http/device.js.map +1 -1
- package/build/http/station.js +6 -4
- package/build/http/station.js.map +1 -1
- package/build/p2p/adts.d.ts +12 -0
- package/build/p2p/adts.js +185 -0
- package/build/p2p/adts.js.map +1 -0
- package/build/p2p/session.js +24 -5
- package/build/p2p/session.js.map +1 -1
- package/coverage/clover.xml +4166 -4081
- package/coverage/coverage-final.json +5 -4
- package/coverage/lcov-report/index.html +26 -26
- package/coverage/lcov.info +7734 -7585
- package/package.json +1 -1
package/build/http/device.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ export declare class Device extends TypedEmitter<DeviceEvents> {
|
|
|
45
45
|
static isStation(type: number): boolean;
|
|
46
46
|
static isCamera1(type: number): boolean;
|
|
47
47
|
static isCameraE(type: number): boolean;
|
|
48
|
+
static isIndoorCameraBase(type: number): boolean;
|
|
48
49
|
static isSensor(type: number): boolean;
|
|
49
50
|
static isEntryE20(type: number): boolean;
|
|
50
51
|
static isKeyPad(type: number): boolean;
|
|
@@ -59,6 +60,7 @@ export declare class Device extends TypedEmitter<DeviceEvents> {
|
|
|
59
60
|
static isFloodLight(type: number): boolean;
|
|
60
61
|
static isFloodLightT8420X(type: number, serialnumber: string): boolean;
|
|
61
62
|
static isFloodLightT8423(type: number): boolean;
|
|
63
|
+
static isFloodLightT8424(type: number): boolean;
|
|
62
64
|
static isFloodLightT8425(type: number): boolean;
|
|
63
65
|
static isFloodLightT8426(type: number): boolean;
|
|
64
66
|
static isWallLightCam(type: number): boolean;
|
|
@@ -97,6 +99,7 @@ export declare class Device extends TypedEmitter<DeviceEvents> {
|
|
|
97
99
|
static isSoloCameraSolar(type: number): boolean;
|
|
98
100
|
static isSoloCameraC210(type: number): boolean;
|
|
99
101
|
static isCameraC35(type: number): boolean;
|
|
102
|
+
static isIndoorPTCameraE30(type: number): boolean;
|
|
100
103
|
static isSoloCameraE30(type: number): boolean;
|
|
101
104
|
static isSoloCamE42(type: number): boolean;
|
|
102
105
|
static isSoloCameras(type: number): boolean;
|
|
@@ -139,9 +142,11 @@ export declare class Device extends TypedEmitter<DeviceEvents> {
|
|
|
139
142
|
static isSmartTrack(type: number): boolean;
|
|
140
143
|
static isCameraPoE(type: number): boolean;
|
|
141
144
|
isCamera(): boolean;
|
|
145
|
+
isIndoorCameraBase(): boolean;
|
|
142
146
|
isFloodLight(): boolean;
|
|
143
147
|
isFloodLightT8420X(): boolean;
|
|
144
148
|
isFloodLightT8423(): boolean;
|
|
149
|
+
isFloodLightT8424(): boolean;
|
|
145
150
|
isFloodLightT8425(): boolean;
|
|
146
151
|
isWallLightCam(): boolean;
|
|
147
152
|
isDoorbell(): boolean;
|
|
@@ -182,6 +187,7 @@ export declare class Device extends TypedEmitter<DeviceEvents> {
|
|
|
182
187
|
isSoloCameraSolar(): boolean;
|
|
183
188
|
isSoloCameraC210(): boolean;
|
|
184
189
|
isCameraC35(): boolean;
|
|
190
|
+
isIndoorPTCameraE30(): boolean;
|
|
185
191
|
isSoloCameraE30(): boolean;
|
|
186
192
|
isSoloCamE42(): boolean;
|
|
187
193
|
isStarlight4GLTE(): boolean;
|
package/build/http/device.js
CHANGED
|
@@ -1814,6 +1814,9 @@ class Device extends tiny_typed_emitter_1.TypedEmitter {
|
|
|
1814
1814
|
static isCameraE(type) {
|
|
1815
1815
|
return types_1.DeviceType.CAMERA_E == type;
|
|
1816
1816
|
}
|
|
1817
|
+
static isIndoorCameraBase(type) {
|
|
1818
|
+
return types_1.DeviceType.INDOOR_CAMERA == type;
|
|
1819
|
+
}
|
|
1817
1820
|
static isSensor(type) {
|
|
1818
1821
|
if (type == types_1.DeviceType.SENSOR || type == types_1.DeviceType.MOTION_SENSOR || type == types_1.DeviceType.ENTRY_SENSOR_E20)
|
|
1819
1822
|
return true;
|
|
@@ -1934,6 +1937,11 @@ class Device extends tiny_typed_emitter_1.TypedEmitter {
|
|
|
1934
1937
|
return true;
|
|
1935
1938
|
return false;
|
|
1936
1939
|
}
|
|
1940
|
+
static isFloodLightT8424(type) {
|
|
1941
|
+
if (type == types_1.DeviceType.FLOODLIGHT_CAMERA_8424)
|
|
1942
|
+
return true;
|
|
1943
|
+
return false;
|
|
1944
|
+
}
|
|
1937
1945
|
static isFloodLightT8425(type) {
|
|
1938
1946
|
if (type == types_1.DeviceType.FLOODLIGHT_CAMERA_8425)
|
|
1939
1947
|
return true;
|
|
@@ -2085,6 +2093,9 @@ class Device extends tiny_typed_emitter_1.TypedEmitter {
|
|
|
2085
2093
|
static isCameraC35(type) {
|
|
2086
2094
|
return types_1.DeviceType.CAMERA_C35 == type;
|
|
2087
2095
|
}
|
|
2096
|
+
static isIndoorPTCameraE30(type) {
|
|
2097
|
+
return types_1.DeviceType.INDOOR_PT_CAMERA_E30 == type;
|
|
2098
|
+
}
|
|
2088
2099
|
static isSoloCameraE30(type) {
|
|
2089
2100
|
return types_1.DeviceType.SOLO_CAMERA_E30 == type;
|
|
2090
2101
|
}
|
|
@@ -2306,6 +2317,9 @@ class Device extends tiny_typed_emitter_1.TypedEmitter {
|
|
|
2306
2317
|
isCamera() {
|
|
2307
2318
|
return Device.isCamera(this.rawDevice.device_type);
|
|
2308
2319
|
}
|
|
2320
|
+
isIndoorCameraBase() {
|
|
2321
|
+
return Device.isIndoorCameraBase(this.rawDevice.device_type);
|
|
2322
|
+
}
|
|
2309
2323
|
isFloodLight() {
|
|
2310
2324
|
return Device.isFloodLight(this.rawDevice.device_type);
|
|
2311
2325
|
}
|
|
@@ -2315,6 +2329,9 @@ class Device extends tiny_typed_emitter_1.TypedEmitter {
|
|
|
2315
2329
|
isFloodLightT8423() {
|
|
2316
2330
|
return Device.isFloodLightT8423(this.rawDevice.device_type);
|
|
2317
2331
|
}
|
|
2332
|
+
isFloodLightT8424() {
|
|
2333
|
+
return Device.isFloodLightT8424(this.rawDevice.device_type);
|
|
2334
|
+
}
|
|
2318
2335
|
isFloodLightT8425() {
|
|
2319
2336
|
return Device.isFloodLightT8425(this.rawDevice.device_type);
|
|
2320
2337
|
}
|
|
@@ -2435,6 +2452,9 @@ class Device extends tiny_typed_emitter_1.TypedEmitter {
|
|
|
2435
2452
|
isCameraC35() {
|
|
2436
2453
|
return Device.isCameraC35(this.rawDevice.device_type);
|
|
2437
2454
|
}
|
|
2455
|
+
isIndoorPTCameraE30() {
|
|
2456
|
+
return Device.isIndoorPTCameraE30(this.rawDevice.device_type);
|
|
2457
|
+
}
|
|
2438
2458
|
isSoloCameraE30() {
|
|
2439
2459
|
return Device.isSoloCameraE30(this.rawDevice.device_type);
|
|
2440
2460
|
}
|