kuzzle-device-manager-types 2.7.1 → 2.8.0-dev.1
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.
|
@@ -22,7 +22,6 @@ export declare class AssetService extends DigitalTwinService {
|
|
|
22
22
|
* Update or Create an asset metadata
|
|
23
23
|
*/
|
|
24
24
|
upsert(engineId: string, model: string, reference: string, metadata: Metadata, request: KuzzleRequest): Promise<KDocument<AssetContent>>;
|
|
25
|
-
private _create;
|
|
26
25
|
/**
|
|
27
26
|
* Create an asset metadata
|
|
28
27
|
*/
|
|
@@ -9,7 +9,6 @@ import { DeviceContent } from "./types/DeviceContent";
|
|
|
9
9
|
export declare class DeviceService extends DigitalTwinService {
|
|
10
10
|
constructor(plugin: DeviceManagerPlugin);
|
|
11
11
|
registerAskEvents(): void;
|
|
12
|
-
private _create;
|
|
13
12
|
/**
|
|
14
13
|
* Create a new device.
|
|
15
14
|
*
|
|
@@ -31,15 +30,6 @@ export declare class DeviceService extends DigitalTwinService {
|
|
|
31
30
|
update(engineId: string, deviceId: string, metadata: Metadata, request: KuzzleRequest): Promise<KDocument<DeviceContent>>;
|
|
32
31
|
delete(engineId: string, deviceId: string, request: KuzzleRequest): Promise<void>;
|
|
33
32
|
search(engineId: string, searchParams: SearchParams, request: KuzzleRequest): Promise<SearchResult<KHit<DeviceContent>>>;
|
|
34
|
-
/**
|
|
35
|
-
* Internal logic to attach the device to an engine
|
|
36
|
-
*
|
|
37
|
-
* @param engineId Engine id to attach to
|
|
38
|
-
* @param deviceId Device id to attach
|
|
39
|
-
* @param options.refresh Wait for ES indexation
|
|
40
|
-
* @param options.strict If true, throw if an operation isn't possible
|
|
41
|
-
*/
|
|
42
|
-
private _attachEngine;
|
|
43
33
|
/**
|
|
44
34
|
* Attach the device to an engine
|
|
45
35
|
*
|
|
@@ -77,14 +67,7 @@ export declare class DeviceService extends DigitalTwinService {
|
|
|
77
67
|
*/
|
|
78
68
|
private generateMissingAssetMeasureNames;
|
|
79
69
|
/**
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
* @param {string} deviceId Id of the device
|
|
83
|
-
* @param {KuzzleRequest} request kuzzle request
|
|
84
|
-
*/
|
|
85
|
-
private _unlinkAsset;
|
|
86
|
-
/**
|
|
87
|
-
* Unlink a device of an asset with lock
|
|
70
|
+
* Unlink a device of an asset
|
|
88
71
|
*
|
|
89
72
|
* @param {string} deviceId Id of the device
|
|
90
73
|
* @param {KuzzleRequest} request kuzzle request
|
|
@@ -175,4 +175,11 @@ export declare class DeviceManagerEngine extends AbstractEngine<DeviceManagerPlu
|
|
|
175
175
|
* @returns An array of the generic type provided
|
|
176
176
|
*/
|
|
177
177
|
private getModels;
|
|
178
|
+
/**
|
|
179
|
+
* Detach all devices of an index in the admin index
|
|
180
|
+
*
|
|
181
|
+
* @param engineId The target engine Id
|
|
182
|
+
* @returns {any}
|
|
183
|
+
*/
|
|
184
|
+
private detachDevicesFromAdminIndex;
|
|
178
185
|
}
|