@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.
- package/dist/data-sdk.cjs.js +2 -2
- package/dist/data-sdk.cjs.js.map +1 -1
- package/dist/data-sdk.es.js +107 -92
- package/dist/data-sdk.es.js.map +1 -1
- package/dist/data-sdk.es6.js +17 -2
- package/dist/data-sdk.umd.js +2 -2
- package/dist/types/data-sdk/src/api/disableDevice.d.ts +2 -0
- package/dist/types/data-sdk/src/devices/Device.d.ts +2 -0
- package/dist/types/data-sdk/src/main.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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";
|