UNPKG

@bridgerakol/samsung-smart-api

Version:

Node Module For Connecting Samsung Smartthings API

63 lines (58 loc) 1.19 kB
export interface locationPayload { name: string, countryCode: string, latitude?: number, longitude?: number, regionRadius?: number, temperatureScale?: string, timeZoneId?: string, locale?: string } export interface roomsPayload { name: string } export interface roomsResponse { roomId: string, locationId: string, name: string } export interface locationResponse { locationId: string, name: string, countryCode?: string, latitude?: number, longitude?: number, regionRadius?: number, temperatureScale?: string, timeZoneId?: string, locale?: string } export interface listLocation { items: [{ locationId: string, name: string }], _links?: { next: { href?: string }, previous: { href?: string }, } } export interface roomList { items: [{ roomId: string, locationId: string, name: string }], _links?: { next: { href?: string }, previous: { href?: string }, } }