UNPKG

@constructorfleet/ultimate-govee

Version:

Library for interacting with Govee devices written in Typescript.

16 lines 766 B
import { ConfigType } from '@nestjs/config'; import { GoveeAccountConfig, GoveeCredentials } from './govee-account.configuration'; import { GoveeAccount, OAuthData } from './models/account-client'; export declare class GoveeAccountService { private readonly config; private logger; private readonly persistedAccount; constructor(config: ConfigType<typeof GoveeAccountConfig>, persistedAccount: GoveeAccount | undefined); isTokenValid(token?: string): boolean; refresh(oauth: OAuthData): Promise<OAuthData>; authenticate(credentials: GoveeCredentials): Promise<GoveeAccount>; private authenticateWithGovee; private authenticateWithCommunity; private authenticateWithAWSIoT; } //# sourceMappingURL=govee-account.service.d.ts.map