@mega-yfue/eufy-sdk / SolixClientOptions
Interface: SolixClientOptions
Options for SolixClient.
Properties
apiHost?
ts
apiHost?: string;Override the API host (skips domain-estimate). Defaults to estimate → SOLIX_DEFAULT_API_HOST.
appVersion?
ts
appVersion?: string;App version reported to the cloud.
countryCode?
ts
countryCode?: string;ISO-3166 alpha-2; defaults to "US". Sent as country and ab.
email
ts
email: string;fetchImpl?
ts
fetchImpl?: (input, init?) => Promise<Response>;Injected fetch (for tests). Defaults to the global fetch.
Parameters
input
string | URL | Request
init?
RequestInit
Returns
Promise<Response>
openudid?
ts
openudid?: string;Stable per-install device id (UUID). The auth token is bound to it, and a shifting id looks like a new device each run and re-triggers 2FA. Defaults to a deterministic id derived from the email (stable across runs); a store's saved id wins over this.
password
ts
password: string;store?
ts
store?: SolixSessionStore;Persist the token + device id so a dedicated account logs in once and reuses it until expiry.