matterbridge-dyson-robot
Version:
A Matterbridge plugin that connects Dyson robot vacuums and air treatment devices to the Matter smart home ecosystem via their local or cloud MQTT APIs.
20 lines • 1.18 kB
TypeScript
import { AnsiLogger } from 'matterbridge/logger';
import { Config } from './config-types.js';
import { DysonAppPlatform, DysonEmailUserStatusResponse, DysonEmailVerifyResponse, DysonIoTCredentialsResponse, DysonManifestResponse } from './dyson-cloud-types.js';
import { DysonCloudAPIUserAgent } from './dyson-cloud-api-ua.js';
export declare class DysonCloudAPI {
readonly log: AnsiLogger;
readonly config: Config;
readonly china: boolean;
readonly token?: string | undefined;
readonly ua: DysonCloudAPIUserAgent;
constructor(log: AnsiLogger, config: Config, china: boolean, token?: string | undefined);
getSupportedMarket(): Promise<string[]>;
getVersion(platform?: DysonAppPlatform): Promise<string>;
getUserStatus(email: string): Promise<DysonEmailUserStatusResponse>;
startAuthorisation(email: string): Promise<string>;
completeAuthorisation(challengeId: string, email: string, otpCode: string, password: string): Promise<DysonEmailVerifyResponse>;
getManifest(): Promise<DysonManifestResponse>;
getIoTCredentials(serialNumber: string): Promise<DysonIoTCredentialsResponse>;
}
//# sourceMappingURL=dyson-cloud-api.d.ts.map