UNPKG

dt-common-device

Version:

A secure and robust device management library for IoT applications

12 lines (11 loc) 427 B
import { IHubCreateParams } from "../interfaces"; export declare class DeviceHubService { private readonly baseUrl; constructor(); addHub(body: IHubCreateParams): Promise<any>; getHubs(hubIds: string[]): Promise<any>; getHub(hubId: string): Promise<any>; updateHub(hubId: string, body: any): Promise<any>; deleteHub(hubId: string): Promise<any>; deleteAllHubs(hubIds: string[]): Promise<any>; }