@mega-yfue/eufy-sdk / tuya / TuyaEnvelope
Interface: TuyaEnvelope<T>
Tuya's standard response envelope.
Type Parameters
T
T = unknown
Properties
errorCode?
ts
errorCode?: string;errorMsg?
ts
errorMsg?: string;result?
ts
result?: T;Decoded result payload (present on success).
status?
ts
status?: string;Occasionally present status string.
success
ts
success: boolean;t?
ts
t?: number;Server unix-ms timestamp.