@openremote/rest 1.4.0-snapshot.20250326163317 → 1.4.0-snapshot.20250331133457
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/umd/index.bundle.js +1 -1
- package/dist/umd/index.js +1 -1
- package/lib/restclient.d.ts +517 -517
- package/lib/restclient.js +1 -1
- package/lib/restclient.js.map +1 -1
- package/package.json +3 -3
package/lib/restclient.d.ts
CHANGED
|
@@ -9,35 +9,6 @@ export interface HttpClient<O> {
|
|
|
9
9
|
options?: O;
|
|
10
10
|
}): RestResponse<R>;
|
|
11
11
|
}
|
|
12
|
-
export declare class GatewayServiceResourceClient<O> {
|
|
13
|
-
protected httpClient: HttpClient<O>;
|
|
14
|
-
constructor(httpClient: HttpClient<O>);
|
|
15
|
-
/**
|
|
16
|
-
* HTTP POST /gateway/tunnel
|
|
17
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
18
|
-
*/
|
|
19
|
-
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
20
|
-
/**
|
|
21
|
-
* HTTP DELETE /gateway/tunnel
|
|
22
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
23
|
-
*/
|
|
24
|
-
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
25
|
-
/**
|
|
26
|
-
* HTTP GET /gateway/tunnel/{realm}
|
|
27
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
28
|
-
*/
|
|
29
|
-
getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
30
|
-
/**
|
|
31
|
-
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
32
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
33
|
-
*/
|
|
34
|
-
getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
35
|
-
/**
|
|
36
|
-
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
37
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
38
|
-
*/
|
|
39
|
-
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
40
|
-
}
|
|
41
12
|
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
42
13
|
protected httpClient: HttpClient<O>;
|
|
43
14
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -52,32 +23,6 @@ export declare class AssetPredictedDatapointResourceClient<O> {
|
|
|
52
23
|
*/
|
|
53
24
|
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
54
25
|
}
|
|
55
|
-
export declare class AgentResourceClient<O> {
|
|
56
|
-
protected httpClient: HttpClient<O>;
|
|
57
|
-
constructor(httpClient: HttpClient<O>);
|
|
58
|
-
/**
|
|
59
|
-
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
60
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
61
|
-
*/
|
|
62
|
-
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
63
|
-
realm?: string;
|
|
64
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
65
|
-
/**
|
|
66
|
-
* HTTP POST /agent/assetImport/{agentId}
|
|
67
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
68
|
-
*/
|
|
69
|
-
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
70
|
-
realm?: string;
|
|
71
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
72
|
-
/**
|
|
73
|
-
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
74
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
75
|
-
*/
|
|
76
|
-
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
77
|
-
parentId?: string;
|
|
78
|
-
realm?: string;
|
|
79
|
-
}, options?: O): RestResponse<Model.Agent[]>;
|
|
80
|
-
}
|
|
81
26
|
export declare class StatusResourceClient<O> {
|
|
82
27
|
protected httpClient: HttpClient<O>;
|
|
83
28
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -96,39 +41,92 @@ export declare class StatusResourceClient<O> {
|
|
|
96
41
|
[index: string]: any;
|
|
97
42
|
}>;
|
|
98
43
|
}
|
|
99
|
-
export declare class
|
|
44
|
+
export declare class RealmResourceClient<O> {
|
|
100
45
|
protected httpClient: HttpClient<O>;
|
|
101
46
|
constructor(httpClient: HttpClient<O>);
|
|
102
47
|
/**
|
|
103
|
-
* HTTP POST /
|
|
104
|
-
* Java method: org.openremote.model.
|
|
48
|
+
* HTTP POST /realm
|
|
49
|
+
* Java method: org.openremote.model.security.RealmResource.create
|
|
105
50
|
*/
|
|
106
|
-
create(
|
|
51
|
+
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
107
52
|
/**
|
|
108
|
-
* HTTP
|
|
109
|
-
* Java method: org.openremote.model.
|
|
53
|
+
* HTTP GET /realm
|
|
54
|
+
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
110
55
|
*/
|
|
111
|
-
|
|
56
|
+
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
112
57
|
/**
|
|
113
|
-
* HTTP GET /
|
|
114
|
-
* Java method: org.openremote.model.
|
|
58
|
+
* HTTP GET /realm/accessible
|
|
59
|
+
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
115
60
|
*/
|
|
116
|
-
|
|
61
|
+
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
117
62
|
/**
|
|
118
|
-
* HTTP
|
|
119
|
-
* Java method: org.openremote.model.
|
|
63
|
+
* HTTP DELETE /realm/{name}
|
|
64
|
+
* Java method: org.openremote.model.security.RealmResource.delete
|
|
120
65
|
*/
|
|
121
|
-
|
|
66
|
+
delete(name: string, options?: O): RestResponse<void>;
|
|
122
67
|
/**
|
|
123
|
-
* HTTP
|
|
124
|
-
* Java method: org.openremote.model.
|
|
68
|
+
* HTTP GET /realm/{name}
|
|
69
|
+
* Java method: org.openremote.model.security.RealmResource.get
|
|
125
70
|
*/
|
|
126
|
-
|
|
71
|
+
get(name: string, options?: O): RestResponse<Model.Realm>;
|
|
127
72
|
/**
|
|
128
|
-
* HTTP
|
|
129
|
-
* Java method: org.openremote.model.
|
|
73
|
+
* HTTP PUT /realm/{name}
|
|
74
|
+
* Java method: org.openremote.model.security.RealmResource.update
|
|
130
75
|
*/
|
|
131
|
-
|
|
76
|
+
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
77
|
+
}
|
|
78
|
+
export declare class AlarmResourceClient<O> {
|
|
79
|
+
protected httpClient: HttpClient<O>;
|
|
80
|
+
constructor(httpClient: HttpClient<O>);
|
|
81
|
+
/**
|
|
82
|
+
* HTTP POST /alarm
|
|
83
|
+
* Java method: org.openremote.model.alarm.AlarmResource.createAlarm
|
|
84
|
+
*/
|
|
85
|
+
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
86
|
+
assetIds?: string[];
|
|
87
|
+
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
88
|
+
/**
|
|
89
|
+
* HTTP GET /alarm
|
|
90
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
91
|
+
*/
|
|
92
|
+
getAlarms(queryParams?: {
|
|
93
|
+
realm?: string;
|
|
94
|
+
status?: Model.AlarmStatus;
|
|
95
|
+
assetId?: string;
|
|
96
|
+
assigneeId?: string;
|
|
97
|
+
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
98
|
+
/**
|
|
99
|
+
* HTTP DELETE /alarm
|
|
100
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
101
|
+
*/
|
|
102
|
+
removeAlarms(ids: number[], options?: O): RestResponse<void>;
|
|
103
|
+
/**
|
|
104
|
+
* HTTP PUT /alarm/assets
|
|
105
|
+
* Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
|
|
106
|
+
*/
|
|
107
|
+
setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
|
|
108
|
+
/**
|
|
109
|
+
* HTTP GET /alarm/{alarmId}
|
|
110
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarm
|
|
111
|
+
*/
|
|
112
|
+
getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
|
|
113
|
+
/**
|
|
114
|
+
* HTTP DELETE /alarm/{alarmId}
|
|
115
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
|
|
116
|
+
*/
|
|
117
|
+
removeAlarm(alarmId: number, options?: O): RestResponse<void>;
|
|
118
|
+
/**
|
|
119
|
+
* HTTP PUT /alarm/{alarmId}
|
|
120
|
+
* Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
|
|
121
|
+
*/
|
|
122
|
+
updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
|
|
123
|
+
/**
|
|
124
|
+
* HTTP GET /alarm/{alarmId}/assets
|
|
125
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
|
|
126
|
+
*/
|
|
127
|
+
getAssetLinks(alarmId: number, queryParams?: {
|
|
128
|
+
realm?: string;
|
|
129
|
+
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
132
130
|
}
|
|
133
131
|
export declare class UserResourceClient<O> {
|
|
134
132
|
protected httpClient: HttpClient<O>;
|
|
@@ -254,146 +252,141 @@ export declare class UserResourceClient<O> {
|
|
|
254
252
|
*/
|
|
255
253
|
get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
|
|
256
254
|
}
|
|
257
|
-
export declare class
|
|
255
|
+
export declare class SyslogResourceClient<O> {
|
|
258
256
|
protected httpClient: HttpClient<O>;
|
|
259
257
|
constructor(httpClient: HttpClient<O>);
|
|
260
258
|
/**
|
|
261
|
-
* HTTP
|
|
262
|
-
* Java method: org.openremote.model.
|
|
263
|
-
*/
|
|
264
|
-
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
265
|
-
/**
|
|
266
|
-
* HTTP GET /realm
|
|
267
|
-
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
268
|
-
*/
|
|
269
|
-
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
270
|
-
/**
|
|
271
|
-
* HTTP GET /realm/accessible
|
|
272
|
-
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
259
|
+
* HTTP GET /syslog/config
|
|
260
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
273
261
|
*/
|
|
274
|
-
|
|
262
|
+
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
275
263
|
/**
|
|
276
|
-
* HTTP
|
|
277
|
-
* Java method: org.openremote.model.
|
|
264
|
+
* HTTP PUT /syslog/config
|
|
265
|
+
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
278
266
|
*/
|
|
279
|
-
|
|
267
|
+
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
280
268
|
/**
|
|
281
|
-
* HTTP
|
|
282
|
-
* Java method: org.openremote.model.
|
|
269
|
+
* HTTP DELETE /syslog/event
|
|
270
|
+
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
283
271
|
*/
|
|
284
|
-
|
|
272
|
+
clearEvents(options?: O): RestResponse<void>;
|
|
285
273
|
/**
|
|
286
|
-
* HTTP
|
|
287
|
-
* Java method: org.openremote.model.
|
|
274
|
+
* HTTP GET /syslog/event
|
|
275
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
288
276
|
*/
|
|
289
|
-
|
|
277
|
+
getEvents(queryParams?: {
|
|
278
|
+
level?: Model.SyslogLevel;
|
|
279
|
+
per_page?: number;
|
|
280
|
+
page?: number;
|
|
281
|
+
from?: number;
|
|
282
|
+
to?: number;
|
|
283
|
+
category?: Model.SyslogCategory[];
|
|
284
|
+
subCategory?: string[];
|
|
285
|
+
}, options?: O): RestResponse<any>;
|
|
290
286
|
}
|
|
291
|
-
export declare class
|
|
287
|
+
export declare class AssetResourceClient<O> {
|
|
292
288
|
protected httpClient: HttpClient<O>;
|
|
293
289
|
constructor(httpClient: HttpClient<O>);
|
|
294
290
|
/**
|
|
295
|
-
* HTTP
|
|
296
|
-
* Java method: org.openremote.model.
|
|
291
|
+
* HTTP POST /asset
|
|
292
|
+
* Java method: org.openremote.model.asset.AssetResource.create
|
|
297
293
|
*/
|
|
298
|
-
|
|
299
|
-
realm?: string[];
|
|
300
|
-
}, options?: O): RestResponse<void>;
|
|
294
|
+
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
301
295
|
/**
|
|
302
|
-
* HTTP
|
|
303
|
-
* Java method: org.openremote.model.
|
|
296
|
+
* HTTP DELETE /asset
|
|
297
|
+
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
304
298
|
*/
|
|
305
|
-
|
|
299
|
+
delete(queryParams?: {
|
|
300
|
+
assetId?: string[];
|
|
301
|
+
}, options?: O): RestResponse<void>;
|
|
306
302
|
/**
|
|
307
|
-
* HTTP
|
|
308
|
-
* Java method: org.openremote.model.
|
|
303
|
+
* HTTP PUT /asset/attributes
|
|
304
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
309
305
|
*/
|
|
310
|
-
|
|
306
|
+
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
311
307
|
/**
|
|
312
|
-
* HTTP
|
|
313
|
-
* Java method: org.openremote.model.
|
|
308
|
+
* HTTP PUT /asset/attributes/timestamp
|
|
309
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
314
310
|
*/
|
|
315
|
-
|
|
311
|
+
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
316
312
|
/**
|
|
317
|
-
* HTTP
|
|
318
|
-
* Java method: org.openremote.model.
|
|
313
|
+
* HTTP DELETE /asset/parent
|
|
314
|
+
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
319
315
|
*/
|
|
320
|
-
|
|
316
|
+
updateNoneParent(queryParams?: {
|
|
317
|
+
assetIds?: string[];
|
|
318
|
+
}, options?: O): RestResponse<void>;
|
|
321
319
|
/**
|
|
322
|
-
* HTTP GET /
|
|
323
|
-
* Java method: org.openremote.model.
|
|
320
|
+
* HTTP GET /asset/partial/{assetId}
|
|
321
|
+
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
324
322
|
*/
|
|
325
|
-
|
|
326
|
-
}
|
|
327
|
-
export declare class AssetModelResourceClient<O> {
|
|
328
|
-
protected httpClient: HttpClient<O>;
|
|
329
|
-
constructor(httpClient: HttpClient<O>);
|
|
323
|
+
getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
330
324
|
/**
|
|
331
|
-
* HTTP
|
|
332
|
-
* Java method: org.openremote.model.asset.
|
|
325
|
+
* HTTP POST /asset/query
|
|
326
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
333
327
|
*/
|
|
334
|
-
|
|
335
|
-
parentId?: string;
|
|
336
|
-
parentType?: string;
|
|
337
|
-
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
328
|
+
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
338
329
|
/**
|
|
339
|
-
* HTTP GET /
|
|
340
|
-
* Java method: org.openremote.model.asset.
|
|
330
|
+
* HTTP GET /asset/user/current
|
|
331
|
+
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
341
332
|
*/
|
|
342
|
-
|
|
343
|
-
parentId?: string;
|
|
344
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
333
|
+
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
345
334
|
/**
|
|
346
|
-
* HTTP
|
|
347
|
-
* Java method: org.openremote.model.asset.
|
|
335
|
+
* HTTP POST /asset/user/link
|
|
336
|
+
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
348
337
|
*/
|
|
349
|
-
|
|
350
|
-
parentId?: string;
|
|
351
|
-
parentType?: string;
|
|
352
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
338
|
+
createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
353
339
|
/**
|
|
354
|
-
* HTTP GET /
|
|
355
|
-
* Java method: org.openremote.model.asset.
|
|
340
|
+
* HTTP GET /asset/user/link
|
|
341
|
+
* Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
|
|
356
342
|
*/
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
}>;
|
|
343
|
+
getUserAssetLinks(queryParams?: {
|
|
344
|
+
realm?: string;
|
|
345
|
+
userId?: string;
|
|
346
|
+
assetId?: string;
|
|
347
|
+
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
362
348
|
/**
|
|
363
|
-
* HTTP
|
|
364
|
-
* Java method: org.openremote.model.asset.
|
|
349
|
+
* HTTP POST /asset/user/link/delete
|
|
350
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
365
351
|
*/
|
|
366
|
-
|
|
367
|
-
parentId?: string;
|
|
368
|
-
}, options?: O): RestResponse<{
|
|
369
|
-
[index: string]: Model.ValueDescriptor;
|
|
370
|
-
}>;
|
|
371
|
-
}
|
|
372
|
-
export declare class ConfigurationResourceClient<O> {
|
|
373
|
-
protected httpClient: HttpClient<O>;
|
|
374
|
-
constructor(httpClient: HttpClient<O>);
|
|
352
|
+
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
375
353
|
/**
|
|
376
|
-
* HTTP
|
|
377
|
-
* Java method: org.openremote.model.
|
|
354
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
355
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
378
356
|
*/
|
|
379
|
-
|
|
357
|
+
deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
380
358
|
/**
|
|
381
|
-
* HTTP
|
|
382
|
-
* Java method: org.openremote.model.
|
|
359
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
360
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
383
361
|
*/
|
|
384
|
-
|
|
362
|
+
deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
|
|
385
363
|
/**
|
|
386
|
-
* HTTP
|
|
387
|
-
* Java method: org.openremote.model.
|
|
364
|
+
* HTTP GET /asset/{assetId}
|
|
365
|
+
* Java method: org.openremote.model.asset.AssetResource.get
|
|
388
366
|
*/
|
|
389
|
-
|
|
390
|
-
path?: string;
|
|
391
|
-
}, options?: O): RestResponse<string>;
|
|
367
|
+
get(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
392
368
|
/**
|
|
393
|
-
* HTTP
|
|
394
|
-
* Java method: org.openremote.model.
|
|
369
|
+
* HTTP PUT /asset/{assetId}
|
|
370
|
+
* Java method: org.openremote.model.asset.AssetResource.update
|
|
395
371
|
*/
|
|
396
|
-
|
|
372
|
+
update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
373
|
+
/**
|
|
374
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
375
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
376
|
+
*/
|
|
377
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
378
|
+
/**
|
|
379
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
380
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
381
|
+
*/
|
|
382
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
383
|
+
/**
|
|
384
|
+
* HTTP PUT /asset/{parentAssetId}/child
|
|
385
|
+
* Java method: org.openremote.model.asset.AssetResource.updateParent
|
|
386
|
+
*/
|
|
387
|
+
updateParent(parentAssetId: string, queryParams?: {
|
|
388
|
+
assetIds?: string[];
|
|
389
|
+
}, options?: O): RestResponse<void>;
|
|
397
390
|
}
|
|
398
391
|
export declare class FlowResourceClient<O> {
|
|
399
392
|
protected httpClient: HttpClient<O>;
|
|
@@ -414,32 +407,6 @@ export declare class FlowResourceClient<O> {
|
|
|
414
407
|
*/
|
|
415
408
|
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
416
409
|
}
|
|
417
|
-
export declare class AssetDatapointResourceClient<O> {
|
|
418
|
-
protected httpClient: HttpClient<O>;
|
|
419
|
-
constructor(httpClient: HttpClient<O>);
|
|
420
|
-
/**
|
|
421
|
-
* HTTP GET /asset/datapoint/export
|
|
422
|
-
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
423
|
-
*/
|
|
424
|
-
getDatapointExport(queryParams?: {
|
|
425
|
-
attributeRefs?: string;
|
|
426
|
-
fromTimestamp?: number;
|
|
427
|
-
toTimestamp?: number;
|
|
428
|
-
}, options?: O): RestResponse<any>;
|
|
429
|
-
/**
|
|
430
|
-
* HTTP GET /asset/datapoint/periods
|
|
431
|
-
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
432
|
-
*/
|
|
433
|
-
getDatapointPeriod(queryParams?: {
|
|
434
|
-
assetId?: string;
|
|
435
|
-
attributeName?: string;
|
|
436
|
-
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
437
|
-
/**
|
|
438
|
-
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
439
|
-
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
440
|
-
*/
|
|
441
|
-
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
442
|
-
}
|
|
443
410
|
export declare class ConsoleResourceClient<O> {
|
|
444
411
|
protected httpClient: HttpClient<O>;
|
|
445
412
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -449,219 +416,139 @@ export declare class ConsoleResourceClient<O> {
|
|
|
449
416
|
*/
|
|
450
417
|
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
451
418
|
}
|
|
452
|
-
export declare class
|
|
419
|
+
export declare class ConfigurationResourceClient<O> {
|
|
453
420
|
protected httpClient: HttpClient<O>;
|
|
454
421
|
constructor(httpClient: HttpClient<O>);
|
|
455
422
|
/**
|
|
456
|
-
* HTTP GET /
|
|
457
|
-
* Java method: org.openremote.model.
|
|
458
|
-
*/
|
|
459
|
-
getNotifications(queryParams?: {
|
|
460
|
-
id?: number;
|
|
461
|
-
type?: string;
|
|
462
|
-
from?: number;
|
|
463
|
-
to?: number;
|
|
464
|
-
realmId?: string;
|
|
465
|
-
userId?: string;
|
|
466
|
-
assetId?: string;
|
|
467
|
-
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
468
|
-
/**
|
|
469
|
-
* HTTP DELETE /notification
|
|
470
|
-
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
471
|
-
*/
|
|
472
|
-
removeNotifications(queryParams?: {
|
|
473
|
-
id?: number;
|
|
474
|
-
type?: string;
|
|
475
|
-
from?: number;
|
|
476
|
-
to?: number;
|
|
477
|
-
realmId?: string;
|
|
478
|
-
userId?: string;
|
|
479
|
-
assetId?: string;
|
|
480
|
-
}, options?: O): RestResponse<void>;
|
|
481
|
-
/**
|
|
482
|
-
* HTTP POST /notification/alert
|
|
483
|
-
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
423
|
+
* HTTP GET /configuration/manager
|
|
424
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
484
425
|
*/
|
|
485
|
-
|
|
426
|
+
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
486
427
|
/**
|
|
487
|
-
* HTTP
|
|
488
|
-
* Java method: org.openremote.model.
|
|
428
|
+
* HTTP PUT /configuration/manager
|
|
429
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
489
430
|
*/
|
|
490
|
-
|
|
431
|
+
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
491
432
|
/**
|
|
492
|
-
* HTTP
|
|
493
|
-
* Java method: org.openremote.model.
|
|
433
|
+
* HTTP POST /configuration/manager/file
|
|
434
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
494
435
|
*/
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
}, options?: O): RestResponse<
|
|
436
|
+
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
437
|
+
path?: string;
|
|
438
|
+
}, options?: O): RestResponse<string>;
|
|
498
439
|
/**
|
|
499
|
-
* HTTP
|
|
500
|
-
* Java method: org.openremote.model.
|
|
440
|
+
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
441
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
501
442
|
*/
|
|
502
|
-
|
|
503
|
-
targetId?: string;
|
|
504
|
-
}, options?: O): RestResponse<void>;
|
|
443
|
+
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
505
444
|
}
|
|
506
|
-
export declare class
|
|
445
|
+
export declare class RulesResourceClient<O> {
|
|
507
446
|
protected httpClient: HttpClient<O>;
|
|
508
447
|
constructor(httpClient: HttpClient<O>);
|
|
509
448
|
/**
|
|
510
|
-
* HTTP POST /
|
|
511
|
-
* Java method: org.openremote.model.
|
|
512
|
-
*/
|
|
513
|
-
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
514
|
-
/**
|
|
515
|
-
* HTTP DELETE /asset
|
|
516
|
-
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
517
|
-
*/
|
|
518
|
-
delete(queryParams?: {
|
|
519
|
-
assetId?: string[];
|
|
520
|
-
}, options?: O): RestResponse<void>;
|
|
521
|
-
/**
|
|
522
|
-
* HTTP PUT /asset/attributes
|
|
523
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
524
|
-
*/
|
|
525
|
-
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
526
|
-
/**
|
|
527
|
-
* HTTP PUT /asset/attributes/timestamp
|
|
528
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
529
|
-
*/
|
|
530
|
-
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
531
|
-
/**
|
|
532
|
-
* HTTP DELETE /asset/parent
|
|
533
|
-
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
534
|
-
*/
|
|
535
|
-
updateNoneParent(queryParams?: {
|
|
536
|
-
assetIds?: string[];
|
|
537
|
-
}, options?: O): RestResponse<void>;
|
|
538
|
-
/**
|
|
539
|
-
* HTTP GET /asset/partial/{assetId}
|
|
540
|
-
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
541
|
-
*/
|
|
542
|
-
getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
543
|
-
/**
|
|
544
|
-
* HTTP POST /asset/query
|
|
545
|
-
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
546
|
-
*/
|
|
547
|
-
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
548
|
-
/**
|
|
549
|
-
* HTTP GET /asset/user/current
|
|
550
|
-
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
449
|
+
* HTTP POST /rules
|
|
450
|
+
* Java method: org.openremote.model.rules.RulesResource.createGlobalRuleset
|
|
551
451
|
*/
|
|
552
|
-
|
|
452
|
+
createGlobalRuleset(ruleset: Model.GlobalRuleset, options?: O): RestResponse<number>;
|
|
553
453
|
/**
|
|
554
|
-
* HTTP
|
|
555
|
-
* Java method: org.openremote.model.
|
|
454
|
+
* HTTP GET /rules
|
|
455
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalRulesets
|
|
556
456
|
*/
|
|
557
|
-
|
|
457
|
+
getGlobalRulesets(queryParams?: {
|
|
458
|
+
language?: Model.RulesetLang[];
|
|
459
|
+
fullyPopulate?: boolean;
|
|
460
|
+
}, options?: O): RestResponse<Model.GlobalRuleset[]>;
|
|
558
461
|
/**
|
|
559
|
-
* HTTP
|
|
560
|
-
* Java method: org.openremote.model.
|
|
462
|
+
* HTTP POST /rules/asset
|
|
463
|
+
* Java method: org.openremote.model.rules.RulesResource.createAssetRuleset
|
|
561
464
|
*/
|
|
562
|
-
|
|
563
|
-
realm?: string;
|
|
564
|
-
userId?: string;
|
|
565
|
-
assetId?: string;
|
|
566
|
-
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
465
|
+
createAssetRuleset(ruleset: Model.AssetRuleset, options?: O): RestResponse<number>;
|
|
567
466
|
/**
|
|
568
|
-
* HTTP
|
|
569
|
-
* Java method: org.openremote.model.
|
|
467
|
+
* HTTP GET /rules/asset/for/{assetId}
|
|
468
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetRulesets
|
|
570
469
|
*/
|
|
571
|
-
|
|
470
|
+
getAssetRulesets(assetId: string, queryParams?: {
|
|
471
|
+
language?: Model.RulesetLang[];
|
|
472
|
+
fullyPopulate?: boolean;
|
|
473
|
+
}, options?: O): RestResponse<Model.AssetRuleset[]>;
|
|
572
474
|
/**
|
|
573
|
-
* HTTP DELETE /asset/
|
|
574
|
-
* Java method: org.openremote.model.
|
|
475
|
+
* HTTP DELETE /rules/asset/{id}
|
|
476
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteAssetRuleset
|
|
575
477
|
*/
|
|
576
|
-
|
|
478
|
+
deleteAssetRuleset(id: number, options?: O): RestResponse<void>;
|
|
577
479
|
/**
|
|
578
|
-
* HTTP
|
|
579
|
-
* Java method: org.openremote.model.
|
|
480
|
+
* HTTP GET /rules/asset/{id}
|
|
481
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetRuleset
|
|
580
482
|
*/
|
|
581
|
-
|
|
483
|
+
getAssetRuleset(id: number, options?: O): RestResponse<Model.AssetRuleset>;
|
|
582
484
|
/**
|
|
583
|
-
* HTTP
|
|
584
|
-
* Java method: org.openremote.model.
|
|
485
|
+
* HTTP PUT /rules/asset/{id}
|
|
486
|
+
* Java method: org.openremote.model.rules.RulesResource.updateAssetRuleset
|
|
585
487
|
*/
|
|
586
|
-
|
|
488
|
+
updateAssetRuleset(id: number, ruleset: Model.AssetRuleset, options?: O): RestResponse<void>;
|
|
587
489
|
/**
|
|
588
|
-
* HTTP
|
|
589
|
-
* Java method: org.openremote.model.
|
|
490
|
+
* HTTP GET /rules/geofences/{assetId}
|
|
491
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetGeofences
|
|
590
492
|
*/
|
|
591
|
-
|
|
493
|
+
getAssetGeofences(assetId: string, options?: O): RestResponse<Model.GeofenceDefinition[]>;
|
|
592
494
|
/**
|
|
593
|
-
* HTTP
|
|
594
|
-
* Java method: org.openremote.model.
|
|
495
|
+
* HTTP GET /rules/info/asset/{assetId}
|
|
496
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetEngineInfo
|
|
595
497
|
*/
|
|
596
|
-
|
|
498
|
+
getAssetEngineInfo(assetId: string, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
597
499
|
/**
|
|
598
|
-
* HTTP
|
|
599
|
-
* Java method: org.openremote.model.
|
|
500
|
+
* HTTP GET /rules/info/global
|
|
501
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalEngineInfo
|
|
600
502
|
*/
|
|
601
|
-
|
|
503
|
+
getGlobalEngineInfo(options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
602
504
|
/**
|
|
603
|
-
* HTTP
|
|
604
|
-
* Java method: org.openremote.model.
|
|
505
|
+
* HTTP GET /rules/info/realm/{realm}
|
|
506
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmEngineInfo
|
|
605
507
|
*/
|
|
606
|
-
|
|
607
|
-
assetIds?: string[];
|
|
608
|
-
}, options?: O): RestResponse<void>;
|
|
609
|
-
}
|
|
610
|
-
export declare class SyslogResourceClient<O> {
|
|
611
|
-
protected httpClient: HttpClient<O>;
|
|
612
|
-
constructor(httpClient: HttpClient<O>);
|
|
508
|
+
getRealmEngineInfo(realm: string, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
613
509
|
/**
|
|
614
|
-
* HTTP
|
|
615
|
-
* Java method: org.openremote.model.
|
|
510
|
+
* HTTP POST /rules/realm
|
|
511
|
+
* Java method: org.openremote.model.rules.RulesResource.createRealmRuleset
|
|
616
512
|
*/
|
|
617
|
-
|
|
513
|
+
createRealmRuleset(ruleset: Model.RealmRuleset, options?: O): RestResponse<number>;
|
|
618
514
|
/**
|
|
619
|
-
* HTTP
|
|
620
|
-
* Java method: org.openremote.model.
|
|
515
|
+
* HTTP GET /rules/realm/for/{realm}
|
|
516
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmRulesets
|
|
621
517
|
*/
|
|
622
|
-
|
|
518
|
+
getRealmRulesets(realm: string, queryParams?: {
|
|
519
|
+
language?: Model.RulesetLang[];
|
|
520
|
+
fullyPopulate?: boolean;
|
|
521
|
+
}, options?: O): RestResponse<Model.RealmRuleset[]>;
|
|
623
522
|
/**
|
|
624
|
-
* HTTP DELETE /
|
|
625
|
-
* Java method: org.openremote.model.
|
|
523
|
+
* HTTP DELETE /rules/realm/{id}
|
|
524
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteRealmRuleset
|
|
626
525
|
*/
|
|
627
|
-
|
|
526
|
+
deleteRealmRuleset(id: number, options?: O): RestResponse<void>;
|
|
628
527
|
/**
|
|
629
|
-
* HTTP GET /
|
|
630
|
-
* Java method: org.openremote.model.
|
|
528
|
+
* HTTP GET /rules/realm/{id}
|
|
529
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmRuleset
|
|
631
530
|
*/
|
|
632
|
-
|
|
633
|
-
level?: Model.SyslogLevel;
|
|
634
|
-
per_page?: number;
|
|
635
|
-
page?: number;
|
|
636
|
-
from?: number;
|
|
637
|
-
to?: number;
|
|
638
|
-
category?: Model.SyslogCategory[];
|
|
639
|
-
subCategory?: string[];
|
|
640
|
-
}, options?: O): RestResponse<any>;
|
|
641
|
-
}
|
|
642
|
-
export declare class ProvisioningResourceClient<O> {
|
|
643
|
-
protected httpClient: HttpClient<O>;
|
|
644
|
-
constructor(httpClient: HttpClient<O>);
|
|
531
|
+
getRealmRuleset(id: number, options?: O): RestResponse<Model.RealmRuleset>;
|
|
645
532
|
/**
|
|
646
|
-
* HTTP
|
|
647
|
-
* Java method: org.openremote.model.
|
|
533
|
+
* HTTP PUT /rules/realm/{id}
|
|
534
|
+
* Java method: org.openremote.model.rules.RulesResource.updateRealmRuleset
|
|
648
535
|
*/
|
|
649
|
-
|
|
536
|
+
updateRealmRuleset(id: number, ruleset: Model.RealmRuleset, options?: O): RestResponse<void>;
|
|
650
537
|
/**
|
|
651
|
-
* HTTP
|
|
652
|
-
* Java method: org.openremote.model.
|
|
538
|
+
* HTTP DELETE /rules/{id}
|
|
539
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteGlobalRuleset
|
|
653
540
|
*/
|
|
654
|
-
|
|
541
|
+
deleteGlobalRuleset(id: number, options?: O): RestResponse<void>;
|
|
655
542
|
/**
|
|
656
|
-
* HTTP
|
|
657
|
-
* Java method: org.openremote.model.
|
|
543
|
+
* HTTP GET /rules/{id}
|
|
544
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalRuleset
|
|
658
545
|
*/
|
|
659
|
-
|
|
546
|
+
getGlobalRuleset(id: number, options?: O): RestResponse<Model.GlobalRuleset>;
|
|
660
547
|
/**
|
|
661
|
-
* HTTP PUT /
|
|
662
|
-
* Java method: org.openremote.model.
|
|
548
|
+
* HTTP PUT /rules/{id}
|
|
549
|
+
* Java method: org.openremote.model.rules.RulesResource.updateGlobalRuleset
|
|
663
550
|
*/
|
|
664
|
-
|
|
551
|
+
updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
665
552
|
}
|
|
666
553
|
export declare class MapResourceClient<O> {
|
|
667
554
|
protected httpClient: HttpClient<O>;
|
|
@@ -693,231 +580,344 @@ export declare class MapResourceClient<O> {
|
|
|
693
580
|
*/
|
|
694
581
|
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
695
582
|
}
|
|
696
|
-
export declare class
|
|
583
|
+
export declare class DashboardResourceClient<O> {
|
|
697
584
|
protected httpClient: HttpClient<O>;
|
|
698
585
|
constructor(httpClient: HttpClient<O>);
|
|
699
586
|
/**
|
|
700
|
-
* HTTP
|
|
701
|
-
* Java method: org.openremote.model.
|
|
587
|
+
* HTTP POST /dashboard
|
|
588
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
702
589
|
*/
|
|
703
|
-
|
|
590
|
+
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
704
591
|
/**
|
|
705
|
-
* HTTP
|
|
706
|
-
* Java method: org.openremote.model.
|
|
592
|
+
* HTTP PUT /dashboard
|
|
593
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
707
594
|
*/
|
|
708
|
-
|
|
595
|
+
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
709
596
|
/**
|
|
710
|
-
* HTTP GET /
|
|
711
|
-
* Java method: org.openremote.model.
|
|
597
|
+
* HTTP GET /dashboard/all/{realm}
|
|
598
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
712
599
|
*/
|
|
713
|
-
|
|
600
|
+
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
601
|
+
/**
|
|
602
|
+
* HTTP POST /dashboard/query
|
|
603
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
604
|
+
*/
|
|
605
|
+
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
606
|
+
/**
|
|
607
|
+
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
608
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
609
|
+
*/
|
|
610
|
+
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
611
|
+
/**
|
|
612
|
+
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
613
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
614
|
+
*/
|
|
615
|
+
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
714
616
|
}
|
|
715
|
-
export declare class
|
|
617
|
+
export declare class GatewayServiceResourceClient<O> {
|
|
716
618
|
protected httpClient: HttpClient<O>;
|
|
717
619
|
constructor(httpClient: HttpClient<O>);
|
|
718
620
|
/**
|
|
719
|
-
* HTTP POST /
|
|
720
|
-
* Java method: org.openremote.model.
|
|
621
|
+
* HTTP POST /gateway/tunnel
|
|
622
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
721
623
|
*/
|
|
722
|
-
|
|
624
|
+
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
723
625
|
/**
|
|
724
|
-
* HTTP
|
|
725
|
-
* Java method: org.openremote.model.
|
|
626
|
+
* HTTP DELETE /gateway/tunnel
|
|
627
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
726
628
|
*/
|
|
727
|
-
|
|
728
|
-
language?: Model.RulesetLang[];
|
|
729
|
-
fullyPopulate?: boolean;
|
|
730
|
-
}, options?: O): RestResponse<Model.GlobalRuleset[]>;
|
|
629
|
+
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
731
630
|
/**
|
|
732
|
-
* HTTP
|
|
733
|
-
* Java method: org.openremote.model.
|
|
631
|
+
* HTTP GET /gateway/tunnel/{realm}
|
|
632
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
734
633
|
*/
|
|
735
|
-
|
|
634
|
+
getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
736
635
|
/**
|
|
737
|
-
* HTTP GET /
|
|
738
|
-
* Java method: org.openremote.model.
|
|
636
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
637
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
739
638
|
*/
|
|
740
|
-
|
|
741
|
-
language?: Model.RulesetLang[];
|
|
742
|
-
fullyPopulate?: boolean;
|
|
743
|
-
}, options?: O): RestResponse<Model.AssetRuleset[]>;
|
|
639
|
+
getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
744
640
|
/**
|
|
745
|
-
* HTTP
|
|
746
|
-
* Java method: org.openremote.model.
|
|
641
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
642
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
747
643
|
*/
|
|
748
|
-
|
|
644
|
+
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
645
|
+
}
|
|
646
|
+
export declare class AssetDatapointResourceClient<O> {
|
|
647
|
+
protected httpClient: HttpClient<O>;
|
|
648
|
+
constructor(httpClient: HttpClient<O>);
|
|
749
649
|
/**
|
|
750
|
-
* HTTP GET /
|
|
751
|
-
* Java method: org.openremote.model.
|
|
650
|
+
* HTTP GET /asset/datapoint/export
|
|
651
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
752
652
|
*/
|
|
753
|
-
|
|
653
|
+
getDatapointExport(queryParams?: {
|
|
654
|
+
attributeRefs?: string;
|
|
655
|
+
fromTimestamp?: number;
|
|
656
|
+
toTimestamp?: number;
|
|
657
|
+
}, options?: O): RestResponse<any>;
|
|
754
658
|
/**
|
|
755
|
-
* HTTP
|
|
756
|
-
* Java method: org.openremote.model.
|
|
659
|
+
* HTTP GET /asset/datapoint/periods
|
|
660
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
757
661
|
*/
|
|
758
|
-
|
|
662
|
+
getDatapointPeriod(queryParams?: {
|
|
663
|
+
assetId?: string;
|
|
664
|
+
attributeName?: string;
|
|
665
|
+
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
759
666
|
/**
|
|
760
|
-
* HTTP
|
|
761
|
-
* Java method: org.openremote.model.
|
|
667
|
+
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
668
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
762
669
|
*/
|
|
763
|
-
|
|
670
|
+
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
671
|
+
}
|
|
672
|
+
export declare class AgentResourceClient<O> {
|
|
673
|
+
protected httpClient: HttpClient<O>;
|
|
674
|
+
constructor(httpClient: HttpClient<O>);
|
|
764
675
|
/**
|
|
765
|
-
* HTTP GET /
|
|
766
|
-
* Java method: org.openremote.model.
|
|
676
|
+
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
677
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
767
678
|
*/
|
|
768
|
-
|
|
679
|
+
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
680
|
+
realm?: string;
|
|
681
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
769
682
|
/**
|
|
770
|
-
* HTTP
|
|
771
|
-
* Java method: org.openremote.model.
|
|
683
|
+
* HTTP POST /agent/assetImport/{agentId}
|
|
684
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
685
|
+
*/
|
|
686
|
+
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
687
|
+
realm?: string;
|
|
688
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
689
|
+
/**
|
|
690
|
+
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
691
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
692
|
+
*/
|
|
693
|
+
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
694
|
+
parentId?: string;
|
|
695
|
+
realm?: string;
|
|
696
|
+
}, options?: O): RestResponse<Model.Agent[]>;
|
|
697
|
+
}
|
|
698
|
+
export declare class ProvisioningResourceClient<O> {
|
|
699
|
+
protected httpClient: HttpClient<O>;
|
|
700
|
+
constructor(httpClient: HttpClient<O>);
|
|
701
|
+
/**
|
|
702
|
+
* HTTP POST /provisioning
|
|
703
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
704
|
+
*/
|
|
705
|
+
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
706
|
+
/**
|
|
707
|
+
* HTTP GET /provisioning
|
|
708
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
709
|
+
*/
|
|
710
|
+
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
711
|
+
/**
|
|
712
|
+
* HTTP DELETE /provisioning/{id}
|
|
713
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
714
|
+
*/
|
|
715
|
+
deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
|
|
716
|
+
/**
|
|
717
|
+
* HTTP PUT /provisioning/{id}
|
|
718
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
|
|
719
|
+
*/
|
|
720
|
+
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
721
|
+
}
|
|
722
|
+
export declare class GatewayClientResourceClient<O> {
|
|
723
|
+
protected httpClient: HttpClient<O>;
|
|
724
|
+
constructor(httpClient: HttpClient<O>);
|
|
725
|
+
/**
|
|
726
|
+
* HTTP DELETE /gateway/connection
|
|
727
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
728
|
+
*/
|
|
729
|
+
deleteConnections(queryParams?: {
|
|
730
|
+
realm?: string[];
|
|
731
|
+
}, options?: O): RestResponse<void>;
|
|
732
|
+
/**
|
|
733
|
+
* HTTP GET /gateway/connection
|
|
734
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
735
|
+
*/
|
|
736
|
+
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
737
|
+
/**
|
|
738
|
+
* HTTP DELETE /gateway/connection/{realm}
|
|
739
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
772
740
|
*/
|
|
773
|
-
|
|
741
|
+
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
774
742
|
/**
|
|
775
|
-
* HTTP GET /
|
|
776
|
-
* Java method: org.openremote.model.
|
|
743
|
+
* HTTP GET /gateway/connection/{realm}
|
|
744
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
777
745
|
*/
|
|
778
|
-
|
|
746
|
+
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
779
747
|
/**
|
|
780
|
-
* HTTP
|
|
781
|
-
* Java method: org.openremote.model.
|
|
748
|
+
* HTTP PUT /gateway/connection/{realm}
|
|
749
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
782
750
|
*/
|
|
783
|
-
|
|
751
|
+
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
784
752
|
/**
|
|
785
|
-
* HTTP GET /
|
|
786
|
-
* Java method: org.openremote.model.
|
|
753
|
+
* HTTP GET /gateway/status/{realm}
|
|
754
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
787
755
|
*/
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
756
|
+
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
757
|
+
}
|
|
758
|
+
export declare class NotificationResourceClient<O> {
|
|
759
|
+
protected httpClient: HttpClient<O>;
|
|
760
|
+
constructor(httpClient: HttpClient<O>);
|
|
792
761
|
/**
|
|
793
|
-
* HTTP
|
|
794
|
-
* Java method: org.openremote.model.
|
|
762
|
+
* HTTP GET /notification
|
|
763
|
+
* Java method: org.openremote.model.notification.NotificationResource.getNotifications
|
|
795
764
|
*/
|
|
796
|
-
|
|
765
|
+
getNotifications(queryParams?: {
|
|
766
|
+
id?: number;
|
|
767
|
+
type?: string;
|
|
768
|
+
from?: number;
|
|
769
|
+
to?: number;
|
|
770
|
+
realmId?: string;
|
|
771
|
+
userId?: string;
|
|
772
|
+
assetId?: string;
|
|
773
|
+
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
797
774
|
/**
|
|
798
|
-
* HTTP
|
|
799
|
-
* Java method: org.openremote.model.
|
|
775
|
+
* HTTP DELETE /notification
|
|
776
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
800
777
|
*/
|
|
801
|
-
|
|
778
|
+
removeNotifications(queryParams?: {
|
|
779
|
+
id?: number;
|
|
780
|
+
type?: string;
|
|
781
|
+
from?: number;
|
|
782
|
+
to?: number;
|
|
783
|
+
realmId?: string;
|
|
784
|
+
userId?: string;
|
|
785
|
+
assetId?: string;
|
|
786
|
+
}, options?: O): RestResponse<void>;
|
|
802
787
|
/**
|
|
803
|
-
* HTTP
|
|
804
|
-
* Java method: org.openremote.model.
|
|
788
|
+
* HTTP POST /notification/alert
|
|
789
|
+
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
805
790
|
*/
|
|
806
|
-
|
|
791
|
+
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
807
792
|
/**
|
|
808
|
-
* HTTP DELETE /
|
|
809
|
-
* Java method: org.openremote.model.
|
|
793
|
+
* HTTP DELETE /notification/{notificationId}
|
|
794
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
810
795
|
*/
|
|
811
|
-
|
|
796
|
+
removeNotification(notificationId: number, options?: O): RestResponse<void>;
|
|
812
797
|
/**
|
|
813
|
-
* HTTP
|
|
814
|
-
* Java method: org.openremote.model.
|
|
798
|
+
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
799
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
815
800
|
*/
|
|
816
|
-
|
|
801
|
+
notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
|
|
802
|
+
targetId?: string;
|
|
803
|
+
}, options?: O): RestResponse<void>;
|
|
817
804
|
/**
|
|
818
|
-
* HTTP PUT /
|
|
819
|
-
* Java method: org.openremote.model.
|
|
805
|
+
* HTTP PUT /notification/{notificationId}/delivered
|
|
806
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
820
807
|
*/
|
|
821
|
-
|
|
808
|
+
notificationDelivered(notificationId: number, queryParams?: {
|
|
809
|
+
targetId?: string;
|
|
810
|
+
}, options?: O): RestResponse<void>;
|
|
822
811
|
}
|
|
823
|
-
export declare class
|
|
812
|
+
export declare class AppResourceClient<O> {
|
|
824
813
|
protected httpClient: HttpClient<O>;
|
|
825
814
|
constructor(httpClient: HttpClient<O>);
|
|
826
815
|
/**
|
|
827
|
-
* HTTP
|
|
828
|
-
* Java method: org.openremote.model.
|
|
816
|
+
* HTTP GET /apps
|
|
817
|
+
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
829
818
|
*/
|
|
830
|
-
|
|
831
|
-
assetIds?: string[];
|
|
832
|
-
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
819
|
+
getApps(options?: O): RestResponse<string[]>;
|
|
833
820
|
/**
|
|
834
|
-
* HTTP GET /
|
|
835
|
-
* Java method: org.openremote.model.
|
|
821
|
+
* HTTP GET /apps/consoleConfig
|
|
822
|
+
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
836
823
|
*/
|
|
837
|
-
|
|
838
|
-
realm?: string;
|
|
839
|
-
status?: Model.AlarmStatus;
|
|
840
|
-
assetId?: string;
|
|
841
|
-
assigneeId?: string;
|
|
842
|
-
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
824
|
+
getConsoleConfig(options?: O): RestResponse<any>;
|
|
843
825
|
/**
|
|
844
|
-
* HTTP
|
|
845
|
-
* Java method: org.openremote.model.
|
|
826
|
+
* HTTP GET /apps/info
|
|
827
|
+
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
846
828
|
*/
|
|
847
|
-
|
|
829
|
+
getAppInfos(options?: O): RestResponse<any>;
|
|
830
|
+
}
|
|
831
|
+
export declare class AssetModelResourceClient<O> {
|
|
832
|
+
protected httpClient: HttpClient<O>;
|
|
833
|
+
constructor(httpClient: HttpClient<O>);
|
|
848
834
|
/**
|
|
849
|
-
* HTTP
|
|
850
|
-
* Java method: org.openremote.model.
|
|
835
|
+
* HTTP GET /model/assetDescriptors
|
|
836
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
851
837
|
*/
|
|
852
|
-
|
|
838
|
+
getAssetDescriptors(queryParams?: {
|
|
839
|
+
parentId?: string;
|
|
840
|
+
parentType?: string;
|
|
841
|
+
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
853
842
|
/**
|
|
854
|
-
* HTTP GET /
|
|
855
|
-
* Java method: org.openremote.model.
|
|
843
|
+
* HTTP GET /model/assetInfo/{assetType}
|
|
844
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
856
845
|
*/
|
|
857
|
-
|
|
846
|
+
getAssetInfo(assetType: string, queryParams?: {
|
|
847
|
+
parentId?: string;
|
|
848
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
858
849
|
/**
|
|
859
|
-
* HTTP
|
|
860
|
-
* Java method: org.openremote.model.
|
|
850
|
+
* HTTP GET /model/assetInfos
|
|
851
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
861
852
|
*/
|
|
862
|
-
|
|
853
|
+
getAssetInfos(queryParams?: {
|
|
854
|
+
parentId?: string;
|
|
855
|
+
parentType?: string;
|
|
856
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
863
857
|
/**
|
|
864
|
-
* HTTP
|
|
865
|
-
* Java method: org.openremote.model.
|
|
858
|
+
* HTTP GET /model/metaItemDescriptors
|
|
859
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
|
|
866
860
|
*/
|
|
867
|
-
|
|
861
|
+
getMetaItemDescriptors(queryParams?: {
|
|
862
|
+
parentId?: string;
|
|
863
|
+
}, options?: O): RestResponse<{
|
|
864
|
+
[index: string]: Model.MetaItemDescriptor;
|
|
865
|
+
}>;
|
|
868
866
|
/**
|
|
869
|
-
* HTTP GET /
|
|
870
|
-
* Java method: org.openremote.model.
|
|
867
|
+
* HTTP GET /model/valueDescriptors
|
|
868
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
|
|
871
869
|
*/
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
}, options?: O): RestResponse<
|
|
870
|
+
getValueDescriptors(queryParams?: {
|
|
871
|
+
parentId?: string;
|
|
872
|
+
}, options?: O): RestResponse<{
|
|
873
|
+
[index: string]: Model.ValueDescriptor;
|
|
874
|
+
}>;
|
|
875
875
|
}
|
|
876
876
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
877
877
|
export declare class ApiClient {
|
|
878
|
-
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
879
878
|
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
880
|
-
protected _agentResource: AxiosAgentResourceClient;
|
|
881
879
|
protected _statusResource: AxiosStatusResourceClient;
|
|
882
|
-
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
883
|
-
protected _userResource: AxiosUserResourceClient;
|
|
884
880
|
protected _realmResource: AxiosRealmResourceClient;
|
|
885
|
-
protected
|
|
886
|
-
protected
|
|
887
|
-
protected
|
|
881
|
+
protected _alarmResource: AxiosAlarmResourceClient;
|
|
882
|
+
protected _userResource: AxiosUserResourceClient;
|
|
883
|
+
protected _syslogResource: AxiosSyslogResourceClient;
|
|
884
|
+
protected _assetResource: AxiosAssetResourceClient;
|
|
888
885
|
protected _flowResource: AxiosFlowResourceClient;
|
|
889
|
-
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
890
886
|
protected _consoleResource: AxiosConsoleResourceClient;
|
|
891
|
-
protected
|
|
892
|
-
protected
|
|
893
|
-
protected _syslogResource: AxiosSyslogResourceClient;
|
|
894
|
-
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
887
|
+
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
888
|
+
protected _rulesResource: AxiosRulesResourceClient;
|
|
895
889
|
protected _mapResource: AxiosMapResourceClient;
|
|
890
|
+
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
891
|
+
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
892
|
+
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
893
|
+
protected _agentResource: AxiosAgentResourceClient;
|
|
894
|
+
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
895
|
+
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
896
|
+
protected _notificationResource: AxiosNotificationResourceClient;
|
|
896
897
|
protected _appResource: AxiosAppResourceClient;
|
|
897
|
-
protected
|
|
898
|
-
protected _alarmResource: AxiosAlarmResourceClient;
|
|
898
|
+
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
899
899
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
900
|
-
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
901
900
|
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
902
|
-
get AgentResource(): AxiosAgentResourceClient;
|
|
903
901
|
get StatusResource(): AxiosStatusResourceClient;
|
|
904
|
-
get DashboardResource(): AxiosDashboardResourceClient;
|
|
905
|
-
get UserResource(): AxiosUserResourceClient;
|
|
906
902
|
get RealmResource(): AxiosRealmResourceClient;
|
|
907
|
-
get
|
|
908
|
-
get
|
|
909
|
-
get
|
|
903
|
+
get AlarmResource(): AxiosAlarmResourceClient;
|
|
904
|
+
get UserResource(): AxiosUserResourceClient;
|
|
905
|
+
get SyslogResource(): AxiosSyslogResourceClient;
|
|
906
|
+
get AssetResource(): AxiosAssetResourceClient;
|
|
910
907
|
get FlowResource(): AxiosFlowResourceClient;
|
|
911
|
-
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
912
908
|
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
913
|
-
get
|
|
914
|
-
get
|
|
915
|
-
get SyslogResource(): AxiosSyslogResourceClient;
|
|
916
|
-
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
909
|
+
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
910
|
+
get RulesResource(): AxiosRulesResourceClient;
|
|
917
911
|
get MapResource(): AxiosMapResourceClient;
|
|
912
|
+
get DashboardResource(): AxiosDashboardResourceClient;
|
|
913
|
+
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
914
|
+
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
915
|
+
get AgentResource(): AxiosAgentResourceClient;
|
|
916
|
+
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
917
|
+
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
918
|
+
get NotificationResource(): AxiosNotificationResourceClient;
|
|
918
919
|
get AppResource(): AxiosAppResourceClient;
|
|
919
|
-
get
|
|
920
|
-
get AlarmResource(): AxiosAlarmResourceClient;
|
|
920
|
+
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
921
921
|
}
|
|
922
922
|
import * as Axios from "axios";
|
|
923
923
|
declare module "axios" {
|
|
@@ -925,66 +925,66 @@ declare module "axios" {
|
|
|
925
925
|
data: R;
|
|
926
926
|
}
|
|
927
927
|
}
|
|
928
|
-
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
929
|
-
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
930
|
-
}
|
|
931
928
|
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
932
929
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
933
930
|
}
|
|
934
|
-
export declare class
|
|
931
|
+
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
935
932
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
936
933
|
}
|
|
937
|
-
export declare class
|
|
934
|
+
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
938
935
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
939
936
|
}
|
|
940
|
-
export declare class
|
|
937
|
+
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
941
938
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
942
939
|
}
|
|
943
940
|
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
944
941
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
945
942
|
}
|
|
946
|
-
export declare class
|
|
943
|
+
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
947
944
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
948
945
|
}
|
|
949
|
-
export declare class
|
|
946
|
+
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
950
947
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
951
948
|
}
|
|
952
|
-
export declare class
|
|
949
|
+
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
950
|
+
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
951
|
+
}
|
|
952
|
+
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
953
953
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
954
954
|
}
|
|
955
955
|
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
956
956
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
957
957
|
}
|
|
958
|
-
export declare class
|
|
958
|
+
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
959
959
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
960
960
|
}
|
|
961
|
-
export declare class
|
|
961
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
962
962
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
963
963
|
}
|
|
964
|
-
export declare class
|
|
964
|
+
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
965
965
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
966
966
|
}
|
|
967
|
-
export declare class
|
|
967
|
+
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
968
968
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
969
969
|
}
|
|
970
|
-
export declare class
|
|
970
|
+
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
971
971
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
972
972
|
}
|
|
973
|
-
export declare class
|
|
973
|
+
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
974
974
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
975
975
|
}
|
|
976
976
|
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
977
977
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
978
978
|
}
|
|
979
|
-
export declare class
|
|
979
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
980
980
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
981
981
|
}
|
|
982
|
-
export declare class
|
|
982
|
+
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
983
983
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
984
984
|
}
|
|
985
|
-
export declare class
|
|
985
|
+
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
986
986
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
987
987
|
}
|
|
988
|
-
export declare class
|
|
988
|
+
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
989
989
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
990
990
|
}
|