@openremote/rest 1.4.0-snapshot.20250319143641 → 1.4.0-snapshot.20250325085710
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 +396 -396
- 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,6 +9,57 @@ export interface HttpClient<O> {
|
|
|
9
9
|
options?: O;
|
|
10
10
|
}): RestResponse<R>;
|
|
11
11
|
}
|
|
12
|
+
export declare class ProvisioningResourceClient<O> {
|
|
13
|
+
protected httpClient: HttpClient<O>;
|
|
14
|
+
constructor(httpClient: HttpClient<O>);
|
|
15
|
+
/**
|
|
16
|
+
* HTTP POST /provisioning
|
|
17
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
18
|
+
*/
|
|
19
|
+
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
20
|
+
/**
|
|
21
|
+
* HTTP GET /provisioning
|
|
22
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
23
|
+
*/
|
|
24
|
+
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
25
|
+
/**
|
|
26
|
+
* HTTP DELETE /provisioning/{id}
|
|
27
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
28
|
+
*/
|
|
29
|
+
deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
|
|
30
|
+
/**
|
|
31
|
+
* HTTP PUT /provisioning/{id}
|
|
32
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
|
|
33
|
+
*/
|
|
34
|
+
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
35
|
+
}
|
|
36
|
+
export declare class ConsoleResourceClient<O> {
|
|
37
|
+
protected httpClient: HttpClient<O>;
|
|
38
|
+
constructor(httpClient: HttpClient<O>);
|
|
39
|
+
/**
|
|
40
|
+
* HTTP POST /console/register
|
|
41
|
+
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
42
|
+
*/
|
|
43
|
+
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
44
|
+
}
|
|
45
|
+
export declare class StatusResourceClient<O> {
|
|
46
|
+
protected httpClient: HttpClient<O>;
|
|
47
|
+
constructor(httpClient: HttpClient<O>);
|
|
48
|
+
/**
|
|
49
|
+
* HTTP GET /health
|
|
50
|
+
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
51
|
+
*/
|
|
52
|
+
getHealthStatus(options?: O): RestResponse<{
|
|
53
|
+
[index: string]: any;
|
|
54
|
+
}>;
|
|
55
|
+
/**
|
|
56
|
+
* HTTP GET /info
|
|
57
|
+
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
58
|
+
*/
|
|
59
|
+
getInfo(options?: O): RestResponse<{
|
|
60
|
+
[index: string]: any;
|
|
61
|
+
}>;
|
|
62
|
+
}
|
|
12
63
|
export declare class NotificationResourceClient<O> {
|
|
13
64
|
protected httpClient: HttpClient<O>;
|
|
14
65
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -63,183 +114,34 @@ export declare class NotificationResourceClient<O> {
|
|
|
63
114
|
targetId?: string;
|
|
64
115
|
}, options?: O): RestResponse<void>;
|
|
65
116
|
}
|
|
66
|
-
export declare class
|
|
67
|
-
protected httpClient: HttpClient<O>;
|
|
68
|
-
constructor(httpClient: HttpClient<O>);
|
|
69
|
-
/**
|
|
70
|
-
* HTTP GET /map
|
|
71
|
-
* Java method: org.openremote.model.map.MapResource.getSettings
|
|
72
|
-
*/
|
|
73
|
-
getSettings(options?: O): RestResponse<{
|
|
74
|
-
[id: string]: unknown;
|
|
75
|
-
}>;
|
|
76
|
-
/**
|
|
77
|
-
* HTTP PUT /map
|
|
78
|
-
* Java method: org.openremote.model.map.MapResource.saveSettings
|
|
79
|
-
*/
|
|
80
|
-
saveSettings(mapConfig: {
|
|
81
|
-
[index: string]: Model.MapRealmConfig;
|
|
82
|
-
}, options?: O): RestResponse<any>;
|
|
83
|
-
/**
|
|
84
|
-
* HTTP GET /map/js
|
|
85
|
-
* Java method: org.openremote.model.map.MapResource.getSettingsJs
|
|
86
|
-
*/
|
|
87
|
-
getSettingsJs(options?: O): RestResponse<{
|
|
88
|
-
[id: string]: unknown;
|
|
89
|
-
}>;
|
|
90
|
-
/**
|
|
91
|
-
* HTTP GET /map/tile/{zoom}/{column}/{row}
|
|
92
|
-
* Java method: org.openremote.model.map.MapResource.getTile
|
|
93
|
-
*/
|
|
94
|
-
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
95
|
-
}
|
|
96
|
-
export declare class FlowResourceClient<O> {
|
|
97
|
-
protected httpClient: HttpClient<O>;
|
|
98
|
-
constructor(httpClient: HttpClient<O>);
|
|
99
|
-
/**
|
|
100
|
-
* HTTP GET /flow
|
|
101
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
102
|
-
*/
|
|
103
|
-
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
104
|
-
/**
|
|
105
|
-
* HTTP GET /flow/{name}
|
|
106
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
107
|
-
*/
|
|
108
|
-
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
109
|
-
/**
|
|
110
|
-
* HTTP GET /flow/{type}
|
|
111
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
112
|
-
*/
|
|
113
|
-
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
114
|
-
}
|
|
115
|
-
export declare class GatewayClientResourceClient<O> {
|
|
116
|
-
protected httpClient: HttpClient<O>;
|
|
117
|
-
constructor(httpClient: HttpClient<O>);
|
|
118
|
-
/**
|
|
119
|
-
* HTTP DELETE /gateway/connection
|
|
120
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
121
|
-
*/
|
|
122
|
-
deleteConnections(queryParams?: {
|
|
123
|
-
realm?: string[];
|
|
124
|
-
}, options?: O): RestResponse<void>;
|
|
125
|
-
/**
|
|
126
|
-
* HTTP GET /gateway/connection
|
|
127
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
128
|
-
*/
|
|
129
|
-
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
130
|
-
/**
|
|
131
|
-
* HTTP DELETE /gateway/connection/{realm}
|
|
132
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
133
|
-
*/
|
|
134
|
-
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
135
|
-
/**
|
|
136
|
-
* HTTP GET /gateway/connection/{realm}
|
|
137
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
138
|
-
*/
|
|
139
|
-
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
140
|
-
/**
|
|
141
|
-
* HTTP PUT /gateway/connection/{realm}
|
|
142
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
143
|
-
*/
|
|
144
|
-
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
145
|
-
/**
|
|
146
|
-
* HTTP GET /gateway/status/{realm}
|
|
147
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
148
|
-
*/
|
|
149
|
-
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
150
|
-
}
|
|
151
|
-
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
152
|
-
protected httpClient: HttpClient<O>;
|
|
153
|
-
constructor(httpClient: HttpClient<O>);
|
|
154
|
-
/**
|
|
155
|
-
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
156
|
-
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
157
|
-
*/
|
|
158
|
-
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
159
|
-
/**
|
|
160
|
-
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
161
|
-
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
162
|
-
*/
|
|
163
|
-
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
164
|
-
}
|
|
165
|
-
export declare class AgentResourceClient<O> {
|
|
166
|
-
protected httpClient: HttpClient<O>;
|
|
167
|
-
constructor(httpClient: HttpClient<O>);
|
|
168
|
-
/**
|
|
169
|
-
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
170
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
171
|
-
*/
|
|
172
|
-
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
173
|
-
realm?: string;
|
|
174
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
175
|
-
/**
|
|
176
|
-
* HTTP POST /agent/assetImport/{agentId}
|
|
177
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
178
|
-
*/
|
|
179
|
-
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
180
|
-
realm?: string;
|
|
181
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
182
|
-
/**
|
|
183
|
-
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
184
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
185
|
-
*/
|
|
186
|
-
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
187
|
-
parentId?: string;
|
|
188
|
-
realm?: string;
|
|
189
|
-
}, options?: O): RestResponse<Model.Agent[]>;
|
|
190
|
-
}
|
|
191
|
-
export declare class AlarmResourceClient<O> {
|
|
117
|
+
export declare class GatewayServiceResourceClient<O> {
|
|
192
118
|
protected httpClient: HttpClient<O>;
|
|
193
119
|
constructor(httpClient: HttpClient<O>);
|
|
194
120
|
/**
|
|
195
|
-
* HTTP POST /
|
|
196
|
-
* Java method: org.openremote.model.
|
|
197
|
-
*/
|
|
198
|
-
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
199
|
-
assetIds?: string[];
|
|
200
|
-
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
201
|
-
/**
|
|
202
|
-
* HTTP GET /alarm
|
|
203
|
-
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
204
|
-
*/
|
|
205
|
-
getAlarms(queryParams?: {
|
|
206
|
-
realm?: string;
|
|
207
|
-
status?: Model.AlarmStatus;
|
|
208
|
-
assetId?: string;
|
|
209
|
-
assigneeId?: string;
|
|
210
|
-
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
211
|
-
/**
|
|
212
|
-
* HTTP DELETE /alarm
|
|
213
|
-
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
214
|
-
*/
|
|
215
|
-
removeAlarms(ids: number[], options?: O): RestResponse<void>;
|
|
216
|
-
/**
|
|
217
|
-
* HTTP PUT /alarm/assets
|
|
218
|
-
* Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
|
|
121
|
+
* HTTP POST /gateway/tunnel
|
|
122
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
219
123
|
*/
|
|
220
|
-
|
|
124
|
+
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
221
125
|
/**
|
|
222
|
-
* HTTP
|
|
223
|
-
* Java method: org.openremote.model.
|
|
126
|
+
* HTTP DELETE /gateway/tunnel
|
|
127
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
224
128
|
*/
|
|
225
|
-
|
|
129
|
+
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
226
130
|
/**
|
|
227
|
-
* HTTP
|
|
228
|
-
* Java method: org.openremote.model.
|
|
131
|
+
* HTTP GET /gateway/tunnel/{realm}
|
|
132
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
229
133
|
*/
|
|
230
|
-
|
|
134
|
+
getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
231
135
|
/**
|
|
232
|
-
* HTTP
|
|
233
|
-
* Java method: org.openremote.model.
|
|
136
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
137
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
234
138
|
*/
|
|
235
|
-
|
|
139
|
+
getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
236
140
|
/**
|
|
237
|
-
* HTTP GET /
|
|
238
|
-
* Java method: org.openremote.model.
|
|
141
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
142
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
239
143
|
*/
|
|
240
|
-
|
|
241
|
-
realm?: string;
|
|
242
|
-
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
144
|
+
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
243
145
|
}
|
|
244
146
|
export declare class AssetResourceClient<O> {
|
|
245
147
|
protected httpClient: HttpClient<O>;
|
|
@@ -345,129 +247,151 @@ export declare class AssetResourceClient<O> {
|
|
|
345
247
|
assetIds?: string[];
|
|
346
248
|
}, options?: O): RestResponse<void>;
|
|
347
249
|
}
|
|
348
|
-
export declare class
|
|
250
|
+
export declare class AssetDatapointResourceClient<O> {
|
|
349
251
|
protected httpClient: HttpClient<O>;
|
|
350
252
|
constructor(httpClient: HttpClient<O>);
|
|
351
253
|
/**
|
|
352
|
-
* HTTP GET /
|
|
353
|
-
* Java method: org.openremote.model.
|
|
254
|
+
* HTTP GET /asset/datapoint/export
|
|
255
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
354
256
|
*/
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
257
|
+
getDatapointExport(queryParams?: {
|
|
258
|
+
attributeRefs?: string;
|
|
259
|
+
fromTimestamp?: number;
|
|
260
|
+
toTimestamp?: number;
|
|
261
|
+
}, options?: O): RestResponse<any>;
|
|
359
262
|
/**
|
|
360
|
-
* HTTP GET /
|
|
361
|
-
* Java method: org.openremote.model.
|
|
263
|
+
* HTTP GET /asset/datapoint/periods
|
|
264
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
362
265
|
*/
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
266
|
+
getDatapointPeriod(queryParams?: {
|
|
267
|
+
assetId?: string;
|
|
268
|
+
attributeName?: string;
|
|
269
|
+
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
270
|
+
/**
|
|
271
|
+
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
272
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
273
|
+
*/
|
|
274
|
+
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
275
|
+
}
|
|
276
|
+
export declare class RealmResourceClient<O> {
|
|
277
|
+
protected httpClient: HttpClient<O>;
|
|
278
|
+
constructor(httpClient: HttpClient<O>);
|
|
279
|
+
/**
|
|
280
|
+
* HTTP POST /realm
|
|
281
|
+
* Java method: org.openremote.model.security.RealmResource.create
|
|
282
|
+
*/
|
|
283
|
+
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
284
|
+
/**
|
|
285
|
+
* HTTP GET /realm
|
|
286
|
+
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
287
|
+
*/
|
|
288
|
+
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
289
|
+
/**
|
|
290
|
+
* HTTP GET /realm/accessible
|
|
291
|
+
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
292
|
+
*/
|
|
293
|
+
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
366
294
|
/**
|
|
367
|
-
* HTTP
|
|
368
|
-
* Java method: org.openremote.model.
|
|
295
|
+
* HTTP DELETE /realm/{name}
|
|
296
|
+
* Java method: org.openremote.model.security.RealmResource.delete
|
|
369
297
|
*/
|
|
370
|
-
|
|
371
|
-
parentId?: string;
|
|
372
|
-
parentType?: string;
|
|
373
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
298
|
+
delete(name: string, options?: O): RestResponse<void>;
|
|
374
299
|
/**
|
|
375
|
-
* HTTP GET /
|
|
376
|
-
* Java method: org.openremote.model.
|
|
300
|
+
* HTTP GET /realm/{name}
|
|
301
|
+
* Java method: org.openremote.model.security.RealmResource.get
|
|
377
302
|
*/
|
|
378
|
-
|
|
379
|
-
parentId?: string;
|
|
380
|
-
}, options?: O): RestResponse<{
|
|
381
|
-
[index: string]: Model.MetaItemDescriptor;
|
|
382
|
-
}>;
|
|
303
|
+
get(name: string, options?: O): RestResponse<Model.Realm>;
|
|
383
304
|
/**
|
|
384
|
-
* HTTP
|
|
385
|
-
* Java method: org.openremote.model.
|
|
305
|
+
* HTTP PUT /realm/{name}
|
|
306
|
+
* Java method: org.openremote.model.security.RealmResource.update
|
|
386
307
|
*/
|
|
387
|
-
|
|
388
|
-
parentId?: string;
|
|
389
|
-
}, options?: O): RestResponse<{
|
|
390
|
-
[index: string]: Model.ValueDescriptor;
|
|
391
|
-
}>;
|
|
308
|
+
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
392
309
|
}
|
|
393
|
-
export declare class
|
|
310
|
+
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
394
311
|
protected httpClient: HttpClient<O>;
|
|
395
312
|
constructor(httpClient: HttpClient<O>);
|
|
396
313
|
/**
|
|
397
|
-
* HTTP POST /
|
|
398
|
-
* Java method: org.openremote.model.
|
|
314
|
+
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
315
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
399
316
|
*/
|
|
400
|
-
|
|
317
|
+
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
401
318
|
/**
|
|
402
|
-
* HTTP
|
|
403
|
-
* Java method: org.openremote.model.
|
|
319
|
+
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
320
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
404
321
|
*/
|
|
405
|
-
|
|
322
|
+
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
323
|
+
}
|
|
324
|
+
export declare class FlowResourceClient<O> {
|
|
325
|
+
protected httpClient: HttpClient<O>;
|
|
326
|
+
constructor(httpClient: HttpClient<O>);
|
|
406
327
|
/**
|
|
407
|
-
* HTTP GET /
|
|
408
|
-
* Java method: org.openremote.model.
|
|
328
|
+
* HTTP GET /flow
|
|
329
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
409
330
|
*/
|
|
410
|
-
|
|
331
|
+
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
411
332
|
/**
|
|
412
|
-
* HTTP GET /
|
|
413
|
-
* Java method: org.openremote.model.
|
|
333
|
+
* HTTP GET /flow/{name}
|
|
334
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
414
335
|
*/
|
|
415
|
-
|
|
336
|
+
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
416
337
|
/**
|
|
417
|
-
* HTTP GET /
|
|
418
|
-
* Java method: org.openremote.model.
|
|
338
|
+
* HTTP GET /flow/{type}
|
|
339
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
419
340
|
*/
|
|
420
|
-
|
|
341
|
+
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
421
342
|
}
|
|
422
|
-
export declare class
|
|
343
|
+
export declare class AlarmResourceClient<O> {
|
|
423
344
|
protected httpClient: HttpClient<O>;
|
|
424
345
|
constructor(httpClient: HttpClient<O>);
|
|
425
346
|
/**
|
|
426
|
-
* HTTP POST /
|
|
427
|
-
* Java method: org.openremote.model.
|
|
347
|
+
* HTTP POST /alarm
|
|
348
|
+
* Java method: org.openremote.model.alarm.AlarmResource.createAlarm
|
|
428
349
|
*/
|
|
429
|
-
|
|
350
|
+
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
351
|
+
assetIds?: string[];
|
|
352
|
+
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
430
353
|
/**
|
|
431
|
-
* HTTP GET /
|
|
432
|
-
* Java method: org.openremote.model.
|
|
354
|
+
* HTTP GET /alarm
|
|
355
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
433
356
|
*/
|
|
434
|
-
|
|
357
|
+
getAlarms(queryParams?: {
|
|
358
|
+
realm?: string;
|
|
359
|
+
status?: Model.AlarmStatus;
|
|
360
|
+
assetId?: string;
|
|
361
|
+
assigneeId?: string;
|
|
362
|
+
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
435
363
|
/**
|
|
436
|
-
* HTTP DELETE /
|
|
437
|
-
* Java method: org.openremote.model.
|
|
364
|
+
* HTTP DELETE /alarm
|
|
365
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
438
366
|
*/
|
|
439
|
-
|
|
367
|
+
removeAlarms(ids: number[], options?: O): RestResponse<void>;
|
|
440
368
|
/**
|
|
441
|
-
* HTTP PUT /
|
|
442
|
-
* Java method: org.openremote.model.
|
|
369
|
+
* HTTP PUT /alarm/assets
|
|
370
|
+
* Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
|
|
443
371
|
*/
|
|
444
|
-
|
|
445
|
-
}
|
|
446
|
-
export declare class AssetDatapointResourceClient<O> {
|
|
447
|
-
protected httpClient: HttpClient<O>;
|
|
448
|
-
constructor(httpClient: HttpClient<O>);
|
|
372
|
+
setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
|
|
449
373
|
/**
|
|
450
|
-
* HTTP GET /
|
|
451
|
-
* Java method: org.openremote.model.
|
|
374
|
+
* HTTP GET /alarm/{alarmId}
|
|
375
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarm
|
|
452
376
|
*/
|
|
453
|
-
|
|
454
|
-
attributeRefs?: string;
|
|
455
|
-
fromTimestamp?: number;
|
|
456
|
-
toTimestamp?: number;
|
|
457
|
-
}, options?: O): RestResponse<any>;
|
|
377
|
+
getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
|
|
458
378
|
/**
|
|
459
|
-
* HTTP
|
|
460
|
-
* Java method: org.openremote.model.
|
|
379
|
+
* HTTP DELETE /alarm/{alarmId}
|
|
380
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
|
|
461
381
|
*/
|
|
462
|
-
|
|
463
|
-
assetId?: string;
|
|
464
|
-
attributeName?: string;
|
|
465
|
-
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
382
|
+
removeAlarm(alarmId: number, options?: O): RestResponse<void>;
|
|
466
383
|
/**
|
|
467
|
-
* HTTP
|
|
468
|
-
* Java method: org.openremote.model.
|
|
384
|
+
* HTTP PUT /alarm/{alarmId}
|
|
385
|
+
* Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
|
|
469
386
|
*/
|
|
470
|
-
|
|
387
|
+
updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
|
|
388
|
+
/**
|
|
389
|
+
* HTTP GET /alarm/{alarmId}/assets
|
|
390
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
|
|
391
|
+
*/
|
|
392
|
+
getAssetLinks(alarmId: number, queryParams?: {
|
|
393
|
+
realm?: string;
|
|
394
|
+
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
471
395
|
}
|
|
472
396
|
export declare class UserResourceClient<O> {
|
|
473
397
|
protected httpClient: HttpClient<O>;
|
|
@@ -593,51 +517,61 @@ export declare class UserResourceClient<O> {
|
|
|
593
517
|
*/
|
|
594
518
|
get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
|
|
595
519
|
}
|
|
596
|
-
export declare class
|
|
520
|
+
export declare class MapResourceClient<O> {
|
|
597
521
|
protected httpClient: HttpClient<O>;
|
|
598
522
|
constructor(httpClient: HttpClient<O>);
|
|
599
523
|
/**
|
|
600
|
-
* HTTP
|
|
601
|
-
* Java method: org.openremote.model.
|
|
524
|
+
* HTTP GET /map
|
|
525
|
+
* Java method: org.openremote.model.map.MapResource.getSettings
|
|
602
526
|
*/
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
protected httpClient: HttpClient<O>;
|
|
607
|
-
constructor(httpClient: HttpClient<O>);
|
|
527
|
+
getSettings(options?: O): RestResponse<{
|
|
528
|
+
[id: string]: unknown;
|
|
529
|
+
}>;
|
|
608
530
|
/**
|
|
609
|
-
* HTTP
|
|
610
|
-
* Java method: org.openremote.model.
|
|
531
|
+
* HTTP PUT /map
|
|
532
|
+
* Java method: org.openremote.model.map.MapResource.saveSettings
|
|
611
533
|
*/
|
|
612
|
-
|
|
613
|
-
[index: string]:
|
|
614
|
-
}>;
|
|
534
|
+
saveSettings(mapConfig: {
|
|
535
|
+
[index: string]: Model.MapRealmConfig;
|
|
536
|
+
}, options?: O): RestResponse<any>;
|
|
615
537
|
/**
|
|
616
|
-
* HTTP GET /
|
|
617
|
-
* Java method: org.openremote.model.
|
|
538
|
+
* HTTP GET /map/js
|
|
539
|
+
* Java method: org.openremote.model.map.MapResource.getSettingsJs
|
|
618
540
|
*/
|
|
619
|
-
|
|
620
|
-
[
|
|
541
|
+
getSettingsJs(options?: O): RestResponse<{
|
|
542
|
+
[id: string]: unknown;
|
|
621
543
|
}>;
|
|
544
|
+
/**
|
|
545
|
+
* HTTP GET /map/tile/{zoom}/{column}/{row}
|
|
546
|
+
* Java method: org.openremote.model.map.MapResource.getTile
|
|
547
|
+
*/
|
|
548
|
+
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
622
549
|
}
|
|
623
|
-
export declare class
|
|
550
|
+
export declare class AgentResourceClient<O> {
|
|
624
551
|
protected httpClient: HttpClient<O>;
|
|
625
552
|
constructor(httpClient: HttpClient<O>);
|
|
626
553
|
/**
|
|
627
|
-
* HTTP GET /
|
|
628
|
-
* Java method: org.openremote.model.
|
|
554
|
+
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
555
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
629
556
|
*/
|
|
630
|
-
|
|
557
|
+
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
558
|
+
realm?: string;
|
|
559
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
631
560
|
/**
|
|
632
|
-
* HTTP
|
|
633
|
-
* Java method: org.openremote.model.
|
|
561
|
+
* HTTP POST /agent/assetImport/{agentId}
|
|
562
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
634
563
|
*/
|
|
635
|
-
|
|
564
|
+
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
565
|
+
realm?: string;
|
|
566
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
636
567
|
/**
|
|
637
|
-
* HTTP GET /
|
|
638
|
-
* Java method: org.openremote.model.
|
|
568
|
+
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
569
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
639
570
|
*/
|
|
640
|
-
|
|
571
|
+
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
572
|
+
parentId?: string;
|
|
573
|
+
realm?: string;
|
|
574
|
+
}, options?: O): RestResponse<Model.Agent[]>;
|
|
641
575
|
}
|
|
642
576
|
export declare class DashboardResourceClient<O> {
|
|
643
577
|
protected httpClient: HttpClient<O>;
|
|
@@ -648,90 +582,30 @@ export declare class DashboardResourceClient<O> {
|
|
|
648
582
|
*/
|
|
649
583
|
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
650
584
|
/**
|
|
651
|
-
* HTTP PUT /dashboard
|
|
652
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
653
|
-
*/
|
|
654
|
-
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
655
|
-
/**
|
|
656
|
-
* HTTP GET /dashboard/all/{realm}
|
|
657
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
658
|
-
*/
|
|
659
|
-
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
660
|
-
/**
|
|
661
|
-
* HTTP POST /dashboard/query
|
|
662
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
663
|
-
*/
|
|
664
|
-
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
665
|
-
/**
|
|
666
|
-
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
667
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
668
|
-
*/
|
|
669
|
-
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
670
|
-
/**
|
|
671
|
-
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
672
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
673
|
-
*/
|
|
674
|
-
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
675
|
-
}
|
|
676
|
-
export declare class RealmResourceClient<O> {
|
|
677
|
-
protected httpClient: HttpClient<O>;
|
|
678
|
-
constructor(httpClient: HttpClient<O>);
|
|
679
|
-
/**
|
|
680
|
-
* HTTP POST /realm
|
|
681
|
-
* Java method: org.openremote.model.security.RealmResource.create
|
|
682
|
-
*/
|
|
683
|
-
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
684
|
-
/**
|
|
685
|
-
* HTTP GET /realm
|
|
686
|
-
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
687
|
-
*/
|
|
688
|
-
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
689
|
-
/**
|
|
690
|
-
* HTTP GET /realm/accessible
|
|
691
|
-
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
692
|
-
*/
|
|
693
|
-
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
694
|
-
/**
|
|
695
|
-
* HTTP DELETE /realm/{name}
|
|
696
|
-
* Java method: org.openremote.model.security.RealmResource.delete
|
|
697
|
-
*/
|
|
698
|
-
delete(name: string, options?: O): RestResponse<void>;
|
|
699
|
-
/**
|
|
700
|
-
* HTTP GET /realm/{name}
|
|
701
|
-
* Java method: org.openremote.model.security.RealmResource.get
|
|
702
|
-
*/
|
|
703
|
-
get(name: string, options?: O): RestResponse<Model.Realm>;
|
|
704
|
-
/**
|
|
705
|
-
* HTTP PUT /realm/{name}
|
|
706
|
-
* Java method: org.openremote.model.security.RealmResource.update
|
|
585
|
+
* HTTP PUT /dashboard
|
|
586
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
707
587
|
*/
|
|
708
|
-
update(
|
|
709
|
-
}
|
|
710
|
-
export declare class ConfigurationResourceClient<O> {
|
|
711
|
-
protected httpClient: HttpClient<O>;
|
|
712
|
-
constructor(httpClient: HttpClient<O>);
|
|
588
|
+
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
713
589
|
/**
|
|
714
|
-
* HTTP GET /
|
|
715
|
-
* Java method: org.openremote.model.
|
|
590
|
+
* HTTP GET /dashboard/all/{realm}
|
|
591
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
716
592
|
*/
|
|
717
|
-
|
|
593
|
+
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
718
594
|
/**
|
|
719
|
-
* HTTP
|
|
720
|
-
* Java method: org.openremote.model.
|
|
595
|
+
* HTTP POST /dashboard/query
|
|
596
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
721
597
|
*/
|
|
722
|
-
|
|
598
|
+
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
723
599
|
/**
|
|
724
|
-
* HTTP
|
|
725
|
-
* Java method: org.openremote.model.
|
|
600
|
+
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
601
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
726
602
|
*/
|
|
727
|
-
|
|
728
|
-
path?: string;
|
|
729
|
-
}, options?: O): RestResponse<string>;
|
|
603
|
+
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
730
604
|
/**
|
|
731
|
-
* HTTP GET /
|
|
732
|
-
* Java method: org.openremote.model.
|
|
605
|
+
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
606
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
733
607
|
*/
|
|
734
|
-
|
|
608
|
+
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
735
609
|
}
|
|
736
610
|
export declare class SyslogResourceClient<O> {
|
|
737
611
|
protected httpClient: HttpClient<O>;
|
|
@@ -765,6 +639,42 @@ export declare class SyslogResourceClient<O> {
|
|
|
765
639
|
subCategory?: string[];
|
|
766
640
|
}, options?: O): RestResponse<any>;
|
|
767
641
|
}
|
|
642
|
+
export declare class GatewayClientResourceClient<O> {
|
|
643
|
+
protected httpClient: HttpClient<O>;
|
|
644
|
+
constructor(httpClient: HttpClient<O>);
|
|
645
|
+
/**
|
|
646
|
+
* HTTP DELETE /gateway/connection
|
|
647
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
648
|
+
*/
|
|
649
|
+
deleteConnections(queryParams?: {
|
|
650
|
+
realm?: string[];
|
|
651
|
+
}, options?: O): RestResponse<void>;
|
|
652
|
+
/**
|
|
653
|
+
* HTTP GET /gateway/connection
|
|
654
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
655
|
+
*/
|
|
656
|
+
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
657
|
+
/**
|
|
658
|
+
* HTTP DELETE /gateway/connection/{realm}
|
|
659
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
660
|
+
*/
|
|
661
|
+
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
662
|
+
/**
|
|
663
|
+
* HTTP GET /gateway/connection/{realm}
|
|
664
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
665
|
+
*/
|
|
666
|
+
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
667
|
+
/**
|
|
668
|
+
* HTTP PUT /gateway/connection/{realm}
|
|
669
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
670
|
+
*/
|
|
671
|
+
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
672
|
+
/**
|
|
673
|
+
* HTTP GET /gateway/status/{realm}
|
|
674
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
675
|
+
*/
|
|
676
|
+
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
677
|
+
}
|
|
768
678
|
export declare class RulesResourceClient<O> {
|
|
769
679
|
protected httpClient: HttpClient<O>;
|
|
770
680
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -873,51 +783,141 @@ export declare class RulesResourceClient<O> {
|
|
|
873
783
|
*/
|
|
874
784
|
updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
875
785
|
}
|
|
786
|
+
export declare class ConfigurationResourceClient<O> {
|
|
787
|
+
protected httpClient: HttpClient<O>;
|
|
788
|
+
constructor(httpClient: HttpClient<O>);
|
|
789
|
+
/**
|
|
790
|
+
* HTTP GET /configuration/manager
|
|
791
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
792
|
+
*/
|
|
793
|
+
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
794
|
+
/**
|
|
795
|
+
* HTTP PUT /configuration/manager
|
|
796
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
797
|
+
*/
|
|
798
|
+
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
799
|
+
/**
|
|
800
|
+
* HTTP POST /configuration/manager/file
|
|
801
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
802
|
+
*/
|
|
803
|
+
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
804
|
+
path?: string;
|
|
805
|
+
}, options?: O): RestResponse<string>;
|
|
806
|
+
/**
|
|
807
|
+
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
808
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
809
|
+
*/
|
|
810
|
+
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
811
|
+
}
|
|
812
|
+
export declare class AppResourceClient<O> {
|
|
813
|
+
protected httpClient: HttpClient<O>;
|
|
814
|
+
constructor(httpClient: HttpClient<O>);
|
|
815
|
+
/**
|
|
816
|
+
* HTTP GET /apps
|
|
817
|
+
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
818
|
+
*/
|
|
819
|
+
getApps(options?: O): RestResponse<string[]>;
|
|
820
|
+
/**
|
|
821
|
+
* HTTP GET /apps/consoleConfig
|
|
822
|
+
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
823
|
+
*/
|
|
824
|
+
getConsoleConfig(options?: O): RestResponse<any>;
|
|
825
|
+
/**
|
|
826
|
+
* HTTP GET /apps/info
|
|
827
|
+
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
828
|
+
*/
|
|
829
|
+
getAppInfos(options?: O): RestResponse<any>;
|
|
830
|
+
}
|
|
831
|
+
export declare class AssetModelResourceClient<O> {
|
|
832
|
+
protected httpClient: HttpClient<O>;
|
|
833
|
+
constructor(httpClient: HttpClient<O>);
|
|
834
|
+
/**
|
|
835
|
+
* HTTP GET /model/assetDescriptors
|
|
836
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
837
|
+
*/
|
|
838
|
+
getAssetDescriptors(queryParams?: {
|
|
839
|
+
parentId?: string;
|
|
840
|
+
parentType?: string;
|
|
841
|
+
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
842
|
+
/**
|
|
843
|
+
* HTTP GET /model/assetInfo/{assetType}
|
|
844
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
845
|
+
*/
|
|
846
|
+
getAssetInfo(assetType: string, queryParams?: {
|
|
847
|
+
parentId?: string;
|
|
848
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
849
|
+
/**
|
|
850
|
+
* HTTP GET /model/assetInfos
|
|
851
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
852
|
+
*/
|
|
853
|
+
getAssetInfos(queryParams?: {
|
|
854
|
+
parentId?: string;
|
|
855
|
+
parentType?: string;
|
|
856
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
857
|
+
/**
|
|
858
|
+
* HTTP GET /model/metaItemDescriptors
|
|
859
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
|
|
860
|
+
*/
|
|
861
|
+
getMetaItemDescriptors(queryParams?: {
|
|
862
|
+
parentId?: string;
|
|
863
|
+
}, options?: O): RestResponse<{
|
|
864
|
+
[index: string]: Model.MetaItemDescriptor;
|
|
865
|
+
}>;
|
|
866
|
+
/**
|
|
867
|
+
* HTTP GET /model/valueDescriptors
|
|
868
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
|
|
869
|
+
*/
|
|
870
|
+
getValueDescriptors(queryParams?: {
|
|
871
|
+
parentId?: string;
|
|
872
|
+
}, options?: O): RestResponse<{
|
|
873
|
+
[index: string]: Model.ValueDescriptor;
|
|
874
|
+
}>;
|
|
875
|
+
}
|
|
876
876
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
877
877
|
export declare class ApiClient {
|
|
878
|
+
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
879
|
+
protected _consoleResource: AxiosConsoleResourceClient;
|
|
880
|
+
protected _statusResource: AxiosStatusResourceClient;
|
|
878
881
|
protected _notificationResource: AxiosNotificationResourceClient;
|
|
879
|
-
protected _mapResource: AxiosMapResourceClient;
|
|
880
|
-
protected _flowResource: AxiosFlowResourceClient;
|
|
881
|
-
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
882
|
-
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
883
|
-
protected _agentResource: AxiosAgentResourceClient;
|
|
884
|
-
protected _alarmResource: AxiosAlarmResourceClient;
|
|
885
|
-
protected _assetResource: AxiosAssetResourceClient;
|
|
886
|
-
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
887
882
|
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
888
|
-
protected
|
|
883
|
+
protected _assetResource: AxiosAssetResourceClient;
|
|
889
884
|
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
885
|
+
protected _realmResource: AxiosRealmResourceClient;
|
|
886
|
+
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
887
|
+
protected _flowResource: AxiosFlowResourceClient;
|
|
888
|
+
protected _alarmResource: AxiosAlarmResourceClient;
|
|
890
889
|
protected _userResource: AxiosUserResourceClient;
|
|
891
|
-
protected
|
|
892
|
-
protected
|
|
893
|
-
protected _appResource: AxiosAppResourceClient;
|
|
890
|
+
protected _mapResource: AxiosMapResourceClient;
|
|
891
|
+
protected _agentResource: AxiosAgentResourceClient;
|
|
894
892
|
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
895
|
-
protected _realmResource: AxiosRealmResourceClient;
|
|
896
|
-
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
897
893
|
protected _syslogResource: AxiosSyslogResourceClient;
|
|
894
|
+
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
898
895
|
protected _rulesResource: AxiosRulesResourceClient;
|
|
896
|
+
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
897
|
+
protected _appResource: AxiosAppResourceClient;
|
|
898
|
+
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
899
899
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
900
|
+
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
901
|
+
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
902
|
+
get StatusResource(): AxiosStatusResourceClient;
|
|
900
903
|
get NotificationResource(): AxiosNotificationResourceClient;
|
|
901
|
-
get MapResource(): AxiosMapResourceClient;
|
|
902
|
-
get FlowResource(): AxiosFlowResourceClient;
|
|
903
|
-
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
904
|
-
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
905
|
-
get AgentResource(): AxiosAgentResourceClient;
|
|
906
|
-
get AlarmResource(): AxiosAlarmResourceClient;
|
|
907
|
-
get AssetResource(): AxiosAssetResourceClient;
|
|
908
|
-
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
909
904
|
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
910
|
-
get
|
|
905
|
+
get AssetResource(): AxiosAssetResourceClient;
|
|
911
906
|
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
907
|
+
get RealmResource(): AxiosRealmResourceClient;
|
|
908
|
+
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
909
|
+
get FlowResource(): AxiosFlowResourceClient;
|
|
910
|
+
get AlarmResource(): AxiosAlarmResourceClient;
|
|
912
911
|
get UserResource(): AxiosUserResourceClient;
|
|
913
|
-
get
|
|
914
|
-
get
|
|
915
|
-
get AppResource(): AxiosAppResourceClient;
|
|
912
|
+
get MapResource(): AxiosMapResourceClient;
|
|
913
|
+
get AgentResource(): AxiosAgentResourceClient;
|
|
916
914
|
get DashboardResource(): AxiosDashboardResourceClient;
|
|
917
|
-
get RealmResource(): AxiosRealmResourceClient;
|
|
918
|
-
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
919
915
|
get SyslogResource(): AxiosSyslogResourceClient;
|
|
916
|
+
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
920
917
|
get RulesResource(): AxiosRulesResourceClient;
|
|
918
|
+
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
919
|
+
get AppResource(): AxiosAppResourceClient;
|
|
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
|
|
928
|
+
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
929
929
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
930
930
|
}
|
|
931
|
-
export declare class
|
|
931
|
+
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
932
932
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
933
933
|
}
|
|
934
|
-
export declare class
|
|
934
|
+
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
935
935
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
936
936
|
}
|
|
937
|
-
export declare class
|
|
937
|
+
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
938
938
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
939
939
|
}
|
|
940
|
-
export declare class
|
|
940
|
+
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
941
941
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
942
942
|
}
|
|
943
|
-
export declare class
|
|
943
|
+
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
944
944
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
945
945
|
}
|
|
946
|
-
export declare class
|
|
946
|
+
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
947
947
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
948
948
|
}
|
|
949
|
-
export declare class
|
|
949
|
+
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
950
950
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
951
951
|
}
|
|
952
|
-
export declare class
|
|
952
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
953
953
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
954
954
|
}
|
|
955
|
-
export declare class
|
|
955
|
+
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
956
956
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
957
957
|
}
|
|
958
|
-
export declare class
|
|
958
|
+
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
959
959
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
960
960
|
}
|
|
961
|
-
export declare class
|
|
961
|
+
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
962
962
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
963
963
|
}
|
|
964
|
-
export declare class
|
|
964
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
965
965
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
966
966
|
}
|
|
967
|
-
export declare class
|
|
967
|
+
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
968
968
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
969
969
|
}
|
|
970
|
-
export declare class
|
|
970
|
+
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
971
971
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
972
972
|
}
|
|
973
|
-
export declare class
|
|
973
|
+
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
974
974
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
975
975
|
}
|
|
976
|
-
export declare class
|
|
976
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
977
977
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
978
978
|
}
|
|
979
|
-
export declare class
|
|
979
|
+
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
980
980
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
981
981
|
}
|
|
982
982
|
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<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
|
}
|