UNPKG

soundtouch-api

Version:
17 lines (16 loc) 549 B
import { GroupLocation } from './special-types'; import { XMLElement } from './utils'; export interface Group { readonly id: string; readonly name: string; readonly masterDeviceId: string; readonly roles: Role[]; readonly status: string; } export interface Role { readonly deviceId: string; readonly location: GroupLocation; readonly ipAddress: string; } export declare function groupFromElement(element: XMLElement): Group | undefined; export declare function roleFromElement(element: XMLElement): Role | undefined;