@formant/data-sdk 1.6.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2 @@
1
+ import { IDevice } from "../model/IDevice";
2
+ export declare function disableDevice(id: string): Promise<IDevice[]>;
@@ -15,6 +15,7 @@ import { createDevice } from "../api/createDevice";
15
15
  import { patchDevice } from "../api/patchDevice";
16
16
  import { getDevicesData } from "../api/getDevicesData";
17
17
  import { queryDevicesData } from "../api/queryDevicesData";
18
+ import { disableDevice } from "../api/disableDevice";
18
19
  export declare class Device extends BaseDevice {
19
20
  id: string;
20
21
  name: string;
@@ -25,6 +26,7 @@ export declare class Device extends BaseDevice {
25
26
  static patchDevice: typeof patchDevice;
26
27
  static getDevicesData: typeof getDevicesData;
27
28
  static queryDevicesData: typeof queryDevicesData;
29
+ static disableDevice: typeof disableDevice;
28
30
  getLatestTelemetry(): Promise<any>;
29
31
  getConfiguration(): Promise<ConfigurationDocument>;
30
32
  getFileUrl(fileId: string): Promise<string[]>;
@@ -146,5 +146,6 @@ export * from "./model/IDevice";
146
146
  export * from "./model/IFleet";
147
147
  export * from "./model/IRole";
148
148
  export * from "./model/IUser";
149
+ export * from "./utils/timeout";
149
150
  export type { TelemetryResult } from "./model/TelemetryResult";
150
151
  import "./init.ts";
package/package.json CHANGED
@@ -24,7 +24,7 @@
24
24
  }
25
25
  }
26
26
  },
27
- "version": "1.6.0",
27
+ "version": "1.7.0",
28
28
  "scripts": {
29
29
  "preversion": "npm run verify",
30
30
  "postversion": "make",