@mega-yfue/eufy-sdk / PushEvent
Interface: PushEvent
A normalised, consumer-facing push event emitted by the client.
Properties
cipher?
ts
optional cipher?: number;Cipher id for decoding the media (when present).
deviceSn?
ts
optional deviceSn?: string;Best-effort device serial (falls back to station).
eventName?
ts
optional eventName?: string;Resolved event name where known.
eventType?
ts
optional eventType?: number;Numeric event type as the cloud sends it; eventName carries the resolved label.
payload
ts
payload: PushPayload;The full parsed eufy payload.
raw
ts
raw: RawPushMessage;The whole raw push (envelope + app_data).
stationSn?
ts
optional stationSn?: string;thumbnailCandidate?
ts
optional thumbnailCandidate?: ThumbnailCandidate;A usable thumbnail URL and the identity claims carried beside it.
thumbnailUrl?
ts
optional thumbnailUrl?: string;The thumbnail URL, if the push carried one (pic_url/thumbnail).