unifi-protect 4.15.0 → 4.15.1

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.
@@ -346,6 +346,7 @@ export interface ProtectCameraConfigInterface {
346
346
  isRestoring: boolean;
347
347
  isSmartDetected: boolean;
348
348
  isSshEnabled: boolean;
349
+ isThirdPartyCamera: boolean;
349
350
  isUpdating: boolean;
350
351
  isWaterproofCaseAttached: boolean;
351
352
  isWirelessUplinkEnabled: boolean;
@@ -499,10 +500,21 @@ export interface ProtectCameraConfigInterface {
499
500
  quality: number;
500
501
  samplingRate: number;
501
502
  };
503
+ thirdPartyCameraInfo: {
504
+ port: number;
505
+ rtspUrl: string;
506
+ rtspUrlLQ: string;
507
+ snapshotUrl: string;
508
+ };
509
+ tiltLimitsOfPrivacyZones: {
510
+ limit: number;
511
+ side: string;
512
+ };
502
513
  type: string;
503
514
  upSince: number;
504
515
  videoCodec: string;
505
516
  videoMode: string;
517
+ voltage: number;
506
518
  wifiConnectionState: {
507
519
  channel: number;
508
520
  frequency: number;
@@ -586,6 +598,7 @@ export interface ProtectChimeConfigInterface {
586
598
  marketName: string;
587
599
  modelKey: string;
588
600
  name: string;
601
+ nvrMac: string;
589
602
  platform: string;
590
603
  repeatTimes: number;
591
604
  ringSettings: {
@@ -674,6 +687,7 @@ export interface ProtectLightConfigInterface {
674
687
  marketName: string;
675
688
  modelKey: string;
676
689
  name: string;
690
+ nvrMac: string;
677
691
  state: string;
678
692
  type: string;
679
693
  upSince: number;
@@ -873,6 +887,7 @@ export interface ProtectSensorConfigInterface {
873
887
  };
874
888
  mountType: string;
875
889
  name: string;
890
+ nvrMac: string;
876
891
  openStatusChangedAt: number;
877
892
  state: string;
878
893
  stats: {
@@ -931,6 +946,7 @@ export interface ProtectViewerConfigInterface {
931
946
  marketName: string;
932
947
  modelKey: string;
933
948
  name: string;
949
+ nvrMac: string;
934
950
  softwareVersion: string;
935
951
  state: string;
936
952
  streamLimit: number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "unifi-protect",
3
3
  "type": "module",
4
- "version": "4.15.0",
4
+ "version": "4.15.1",
5
5
  "displayName": "UniFi Protect API",
6
6
  "description": "A complete implementation of the UniFi Protect API.",
7
7
  "author": {
@@ -62,7 +62,7 @@
62
62
  },
63
63
  "devDependencies": {
64
64
  "@stylistic/eslint-plugin": "2.8.0",
65
- "@types/node": "22.7.2",
65
+ "@types/node": "22.7.4",
66
66
  "@types/ws": "8.5.12",
67
67
  "eslint": "9.11.1",
68
68
  "homebridge": "1.8.4",