@mega-yfue/eufy-sdk / PushPayload
Interface: PushPayload
Normalised device push payload. Superset of the common fields across device types plus the v6 enrichment; concrete pushes populate a subset. The short single-letter keys are eufy's wire names (kept for fidelity).
Extends
Indexable
ts
[k: string]: unknownProperties
a?
ts
optional a?: number;ai_detect_type?
ts
optional ai_detect_type?: string;Comma list of detection types, e.g. "0,1,2,3" (person/vehicle/pet/package).
Inherited from
ai_faces?
ts
optional ai_faces?: object[];confidence?
ts
optional confidence?: number;face_id?
ts
optional face_id?: number;height?
ts
optional height?: number;width?
ts
optional width?: number;x?
ts
optional x?: number;y?
ts
optional y?: number;Inherited from
alarm_type?
ts
optional alarm_type?: number;arming?
ts
optional arming?: number;c?
ts
optional c?: number;channel?
ts
optional channel?: number;cipher?
ts
optional cipher?: number;cover_path?
ts
optional cover_path?: string;Inherited from
create_time?
ts
optional create_time?: number;crop_local_path?
ts
optional crop_local_path?: string;Inherited from
PushEnrichment.crop_local_path
crop_url?
ts
optional crop_url?: string;Inherited from
crying?
ts
optional crying?: number | boolean;Sound/cry detection (indoor).
Inherited from
device_name?
ts
optional device_name?: string;device_sn?
ts
optional device_sn?: string;duration?
ts
optional duration?: number;Inherited from
e?
ts
optional e?: string;event_end_time?
ts
optional event_end_time?: number;Inherited from
event_time?
ts
optional event_time?: number;event_type?
ts
optional event_type?: number;face_id?
ts
optional face_id?: number;Inherited from
face_ids?
ts
optional face_ids?: number[];Inherited from
familiar_faces?
ts
optional familiar_faces?: unknown[];Inherited from
file_path?
ts
optional file_path?: string;k?
ts
optional k?: number;m?
ts
optional m?: number;Unverified vendor field; polarity and entity scope are not established.
mode?
ts
optional mode?: number;msg_type?
ts
optional msg_type?: number;n?
ts
optional n?: string;name?
ts
optional name?: string;nick_name?
ts
optional nick_name?: string;notification_style?
ts
optional notification_style?: number;objects?
ts
optional objects?:
| string[]
| {
names?: string[];
};Detected object class names.
Inherited from
p?
ts
optional p?: string;person?
ts
optional person?: string | number;Inherited from
person_count?
ts
optional person_count?: number;Inherited from
person_id?
ts
optional person_id?: number;Inherited from
pet_type?
ts
optional pet_type?: string | number;Inherited from
pic_url?
ts
optional pic_url?: string;push_count?
ts
optional push_count?: number;s?
ts
optional s?: string;session_id?
ts
optional session_id?: string;short_user_id?
ts
optional short_user_id?: string;short_video_url?
ts
optional short_video_url?: string;Inherited from
PushEnrichment.short_video_url
sound_detection?
ts
optional sound_detection?: number | boolean;Inherited from
PushEnrichment.sound_detection
sound_type?
ts
optional sound_type?: string | number;Inherited from
station_sn?
ts
optional station_sn?: string;storage_type?
ts
optional storage_type?: number;thumbnail?
ts
optional thumbnail?: string;Media enrichment.
Inherited from
trigger_time?
ts
optional trigger_time?: number;Timing.
Overrides
type?
ts
optional type?: number;unique_id?
ts
optional unique_id?: string;user_id?
ts
optional user_id?: string;user_name?
ts
optional user_name?: string;vehicle_types?
ts
optional vehicle_types?: string[];Inherited from
video_url?
ts
optional video_url?: string;