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
optional errorCode?: string;

errorMsg?

ts
optional errorMsg?: string;

result?

ts
optional result?: T;

Decoded result payload (present on success).


status?

ts
optional status?: string;

Occasionally present status string.


success

ts
success: boolean;

t?

ts
optional 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.