Skip to content

@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.

Independent and unofficial. Not affiliated with, endorsed by, or sponsored by Anker Innovations, Anker eufy, or eufy. "Anker eufy", "eufy" and "Anker" are trademarks of their respective owners. Use responsibly — rapid or failed logins can trigger captcha or temporary cooldowns.