export interface IDeviceInfo { getLocation(): Promise; /** @deprecated Use getDeviceTags() function */ getOrganizationTags(): Promise; getDeviceName(): Promise; getDeviceTags(): Promise; } /** * Represents device location information set via Rest API. */ export interface IDeviceLocation { /** Name of the location. */ name: string; /** Optional custom identifier for the location. */ customId?: string; /** Optional description of the location. */ description?: string; /** Optional child array of tags associated with the location. */ tags?: ITag[]; } /** @deprecated */ export interface IOrganizationTag { name: string; } /** * Represents organization tags assigned to a device. */ interface ITag { name: string; } /** * Represents a device tag which may have a parent (organization) tag. */ export interface IDeviceTag extends ITag { parentTag?: ITag; } export {};