ring-client-api 13.0.0-beta.0 → 13.0.0-beta.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.
@@ -867,8 +867,7 @@ export declare enum NotificationDetectionType {
867
867
  export declare enum PushNotificationAction {
868
868
  Ding = "com.ring.pn.live-event.ding",
869
869
  Motion = "com.ring.pn.live-event.motion",
870
- IntercomUnlock = "com.ring.pn.live-event.intercom",
871
- LowBattery = "com.ring.push.LOW_BATTERY_ALERT"
870
+ IntercomUnlock = "com.ring.pn.intercom.virtual.unlock"
872
871
  }
873
872
  export interface PushNotificationDingV2 {
874
873
  version: '2.0.0' | string;
@@ -930,19 +929,6 @@ export interface PushNotificationAlarm {
930
929
  location_id: string;
931
930
  };
932
931
  }
933
- export interface PushNotificationLowBattery {
934
- data: {
935
- device_name: string;
936
- doorbot_id: number;
937
- battery_level: number;
938
- device_kind: RingDeviceType;
939
- timestamp_epoch_ms: number;
940
- };
941
- aps: {
942
- title: string;
943
- };
944
- action: PushNotificationAction.LowBattery;
945
- }
946
932
  export type PushNotification = PushNotificationDingV2;
947
933
  export interface SocketTicketResponse {
948
934
  ticket: string;
package/lib/ring-types.js CHANGED
@@ -188,8 +188,7 @@ var PushNotificationAction;
188
188
  (function (PushNotificationAction) {
189
189
  PushNotificationAction["Ding"] = "com.ring.pn.live-event.ding";
190
190
  PushNotificationAction["Motion"] = "com.ring.pn.live-event.motion";
191
- PushNotificationAction["IntercomUnlock"] = "com.ring.pn.live-event.intercom";
192
- PushNotificationAction["LowBattery"] = "com.ring.push.LOW_BATTERY_ALERT";
191
+ PushNotificationAction["IntercomUnlock"] = "com.ring.pn.intercom.virtual.unlock";
193
192
  })(PushNotificationAction || (exports.PushNotificationAction = PushNotificationAction = {}));
194
193
  // eslint-disable-next-line no-shadow
195
194
  var DispatchSignalType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ring-client-api",
3
- "version": "13.0.0-beta.0",
3
+ "version": "13.0.0-beta.1",
4
4
  "description": "Unofficial API for Ring doorbells, cameras, security alarm system and smart lighting",
5
5
  "main": "lib/index.js",
6
6
  "exports": {