@openremote/rest 1.3.0-snapshot.20250128141336 → 1.3.0-snapshot.20250129131844
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 +397 -397
- 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,50 +9,6 @@ export interface HttpClient<O> {
|
|
|
9
9
|
options?: O;
|
|
10
10
|
}): RestResponse<R>;
|
|
11
11
|
}
|
|
12
|
-
export declare class StatusResourceClient<O> {
|
|
13
|
-
protected httpClient: HttpClient<O>;
|
|
14
|
-
constructor(httpClient: HttpClient<O>);
|
|
15
|
-
/**
|
|
16
|
-
* HTTP GET /health
|
|
17
|
-
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
18
|
-
*/
|
|
19
|
-
getHealthStatus(options?: O): RestResponse<{
|
|
20
|
-
[index: string]: any;
|
|
21
|
-
}>;
|
|
22
|
-
/**
|
|
23
|
-
* HTTP GET /info
|
|
24
|
-
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
25
|
-
*/
|
|
26
|
-
getInfo(options?: O): RestResponse<{
|
|
27
|
-
[index: string]: any;
|
|
28
|
-
}>;
|
|
29
|
-
}
|
|
30
|
-
export declare class AgentResourceClient<O> {
|
|
31
|
-
protected httpClient: HttpClient<O>;
|
|
32
|
-
constructor(httpClient: HttpClient<O>);
|
|
33
|
-
/**
|
|
34
|
-
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
35
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
36
|
-
*/
|
|
37
|
-
doProtocolAssetDiscovery(agentId: any, queryParams?: {
|
|
38
|
-
realm?: any;
|
|
39
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
40
|
-
/**
|
|
41
|
-
* HTTP POST /agent/assetImport/{agentId}
|
|
42
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
43
|
-
*/
|
|
44
|
-
doProtocolAssetImport(agentId: any, fileInfo: Model.FileInfo, queryParams?: {
|
|
45
|
-
realm?: any;
|
|
46
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
47
|
-
/**
|
|
48
|
-
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
49
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
50
|
-
*/
|
|
51
|
-
doProtocolInstanceDiscovery(agentType: any, queryParams?: {
|
|
52
|
-
parentId?: any;
|
|
53
|
-
realm?: any;
|
|
54
|
-
}, options?: O): RestResponse<Model.Agent[]>;
|
|
55
|
-
}
|
|
56
12
|
export declare class GatewayClientResourceClient<O> {
|
|
57
13
|
protected httpClient: HttpClient<O>;
|
|
58
14
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -89,6 +45,102 @@ export declare class GatewayClientResourceClient<O> {
|
|
|
89
45
|
*/
|
|
90
46
|
getConnectionStatus(realm: any, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
91
47
|
}
|
|
48
|
+
export declare class ProvisioningResourceClient<O> {
|
|
49
|
+
protected httpClient: HttpClient<O>;
|
|
50
|
+
constructor(httpClient: HttpClient<O>);
|
|
51
|
+
/**
|
|
52
|
+
* HTTP POST /provisioning
|
|
53
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
54
|
+
*/
|
|
55
|
+
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
56
|
+
/**
|
|
57
|
+
* HTTP GET /provisioning
|
|
58
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
59
|
+
*/
|
|
60
|
+
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
61
|
+
/**
|
|
62
|
+
* HTTP DELETE /provisioning/{id}
|
|
63
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
64
|
+
*/
|
|
65
|
+
deleteProvisioningConfig(id: any, options?: O): RestResponse<void>;
|
|
66
|
+
/**
|
|
67
|
+
* HTTP PUT /provisioning/{id}
|
|
68
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
|
|
69
|
+
*/
|
|
70
|
+
updateProvisioningConfig(id: any, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
71
|
+
}
|
|
72
|
+
export declare class ConsoleResourceClient<O> {
|
|
73
|
+
protected httpClient: HttpClient<O>;
|
|
74
|
+
constructor(httpClient: HttpClient<O>);
|
|
75
|
+
/**
|
|
76
|
+
* HTTP POST /console/register
|
|
77
|
+
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
78
|
+
*/
|
|
79
|
+
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
80
|
+
}
|
|
81
|
+
export declare class GatewayServiceResourceClient<O> {
|
|
82
|
+
protected httpClient: HttpClient<O>;
|
|
83
|
+
constructor(httpClient: HttpClient<O>);
|
|
84
|
+
/**
|
|
85
|
+
* HTTP POST /gateway/tunnel
|
|
86
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
87
|
+
*/
|
|
88
|
+
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
89
|
+
/**
|
|
90
|
+
* HTTP DELETE /gateway/tunnel
|
|
91
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
92
|
+
*/
|
|
93
|
+
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
94
|
+
/**
|
|
95
|
+
* HTTP GET /gateway/tunnel/{realm}
|
|
96
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
97
|
+
*/
|
|
98
|
+
getAllActiveTunnelInfos(realm: any, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
99
|
+
/**
|
|
100
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
101
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
102
|
+
*/
|
|
103
|
+
getGatewayActiveTunnelInfos(realm: any, id: any, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
104
|
+
/**
|
|
105
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
106
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
107
|
+
*/
|
|
108
|
+
getActiveTunnelInfo(realm: any, id: any, target: any, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
109
|
+
}
|
|
110
|
+
export declare class RealmResourceClient<O> {
|
|
111
|
+
protected httpClient: HttpClient<O>;
|
|
112
|
+
constructor(httpClient: HttpClient<O>);
|
|
113
|
+
/**
|
|
114
|
+
* HTTP POST /realm
|
|
115
|
+
* Java method: org.openremote.model.security.RealmResource.create
|
|
116
|
+
*/
|
|
117
|
+
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
118
|
+
/**
|
|
119
|
+
* HTTP GET /realm
|
|
120
|
+
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
121
|
+
*/
|
|
122
|
+
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
123
|
+
/**
|
|
124
|
+
* HTTP GET /realm/accessible
|
|
125
|
+
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
126
|
+
*/
|
|
127
|
+
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
128
|
+
/**
|
|
129
|
+
* HTTP DELETE /realm/{name}
|
|
130
|
+
* Java method: org.openremote.model.security.RealmResource.delete
|
|
131
|
+
*/
|
|
132
|
+
delete(name: any, options?: O): RestResponse<void>;
|
|
133
|
+
/**
|
|
134
|
+
* HTTP GET /realm/{name}
|
|
135
|
+
* Java method: org.openremote.model.security.RealmResource.get
|
|
136
|
+
*/
|
|
137
|
+
get(name: any, options?: O): RestResponse<Model.Realm>;
|
|
138
|
+
/**
|
|
139
|
+
* HTTP PUT /realm/{name}
|
|
140
|
+
* Java method: org.openremote.model.security.RealmResource.update
|
|
141
|
+
*/
|
|
142
|
+
update(name: any, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
143
|
+
}
|
|
92
144
|
export declare class NotificationResourceClient<O> {
|
|
93
145
|
protected httpClient: HttpClient<O>;
|
|
94
146
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -169,79 +221,163 @@ export declare class AssetDatapointResourceClient<O> {
|
|
|
169
221
|
*/
|
|
170
222
|
getDatapoints(assetId: any, attributeName: any, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
171
223
|
}
|
|
172
|
-
export declare class
|
|
224
|
+
export declare class RulesResourceClient<O> {
|
|
173
225
|
protected httpClient: HttpClient<O>;
|
|
174
226
|
constructor(httpClient: HttpClient<O>);
|
|
175
227
|
/**
|
|
176
|
-
* HTTP POST /
|
|
177
|
-
* Java method: org.openremote.model.
|
|
228
|
+
* HTTP POST /rules
|
|
229
|
+
* Java method: org.openremote.model.rules.RulesResource.createGlobalRuleset
|
|
178
230
|
*/
|
|
179
|
-
|
|
231
|
+
createGlobalRuleset(ruleset: Model.GlobalRuleset, options?: O): RestResponse<number>;
|
|
180
232
|
/**
|
|
181
|
-
* HTTP GET /
|
|
182
|
-
* Java method: org.openremote.model.
|
|
233
|
+
* HTTP GET /rules
|
|
234
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalRulesets
|
|
183
235
|
*/
|
|
184
|
-
|
|
236
|
+
getGlobalRulesets(queryParams?: {
|
|
237
|
+
language?: Model.RulesetLang[];
|
|
238
|
+
fullyPopulate?: boolean;
|
|
239
|
+
}, options?: O): RestResponse<Model.GlobalRuleset[]>;
|
|
185
240
|
/**
|
|
186
|
-
* HTTP
|
|
187
|
-
* Java method: org.openremote.model.
|
|
241
|
+
* HTTP POST /rules/asset
|
|
242
|
+
* Java method: org.openremote.model.rules.RulesResource.createAssetRuleset
|
|
188
243
|
*/
|
|
189
|
-
|
|
244
|
+
createAssetRuleset(ruleset: Model.AssetRuleset, options?: O): RestResponse<number>;
|
|
190
245
|
/**
|
|
191
|
-
* HTTP
|
|
192
|
-
* Java method: org.openremote.model.
|
|
246
|
+
* HTTP GET /rules/asset/for/{assetId}
|
|
247
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetRulesets
|
|
193
248
|
*/
|
|
194
|
-
|
|
249
|
+
getAssetRulesets(assetId: any, queryParams?: {
|
|
250
|
+
language?: Model.RulesetLang[];
|
|
251
|
+
fullyPopulate?: boolean;
|
|
252
|
+
}, options?: O): RestResponse<Model.AssetRuleset[]>;
|
|
195
253
|
/**
|
|
196
|
-
* HTTP
|
|
197
|
-
* Java method: org.openremote.model.
|
|
254
|
+
* HTTP DELETE /rules/asset/{id}
|
|
255
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteAssetRuleset
|
|
198
256
|
*/
|
|
199
|
-
|
|
257
|
+
deleteAssetRuleset(id: any, options?: O): RestResponse<void>;
|
|
200
258
|
/**
|
|
201
|
-
* HTTP
|
|
202
|
-
* Java method: org.openremote.model.
|
|
259
|
+
* HTTP GET /rules/asset/{id}
|
|
260
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetRuleset
|
|
203
261
|
*/
|
|
204
|
-
|
|
262
|
+
getAssetRuleset(id: any, options?: O): RestResponse<Model.AssetRuleset>;
|
|
263
|
+
/**
|
|
264
|
+
* HTTP PUT /rules/asset/{id}
|
|
265
|
+
* Java method: org.openremote.model.rules.RulesResource.updateAssetRuleset
|
|
266
|
+
*/
|
|
267
|
+
updateAssetRuleset(id: any, ruleset: Model.AssetRuleset, options?: O): RestResponse<void>;
|
|
268
|
+
/**
|
|
269
|
+
* HTTP GET /rules/geofences/{assetId}
|
|
270
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetGeofences
|
|
271
|
+
*/
|
|
272
|
+
getAssetGeofences(assetId: any, options?: O): RestResponse<Model.GeofenceDefinition[]>;
|
|
273
|
+
/**
|
|
274
|
+
* HTTP GET /rules/info/asset/{assetId}
|
|
275
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetEngineInfo
|
|
276
|
+
*/
|
|
277
|
+
getAssetEngineInfo(assetId: any, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
278
|
+
/**
|
|
279
|
+
* HTTP GET /rules/info/global
|
|
280
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalEngineInfo
|
|
281
|
+
*/
|
|
282
|
+
getGlobalEngineInfo(options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
283
|
+
/**
|
|
284
|
+
* HTTP GET /rules/info/realm/{realm}
|
|
285
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmEngineInfo
|
|
286
|
+
*/
|
|
287
|
+
getRealmEngineInfo(realm: any, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
288
|
+
/**
|
|
289
|
+
* HTTP POST /rules/realm
|
|
290
|
+
* Java method: org.openremote.model.rules.RulesResource.createRealmRuleset
|
|
291
|
+
*/
|
|
292
|
+
createRealmRuleset(ruleset: Model.RealmRuleset, options?: O): RestResponse<number>;
|
|
293
|
+
/**
|
|
294
|
+
* HTTP GET /rules/realm/for/{realm}
|
|
295
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmRulesets
|
|
296
|
+
*/
|
|
297
|
+
getRealmRulesets(realm: any, queryParams?: {
|
|
298
|
+
language?: Model.RulesetLang[];
|
|
299
|
+
fullyPopulate?: boolean;
|
|
300
|
+
}, options?: O): RestResponse<Model.RealmRuleset[]>;
|
|
301
|
+
/**
|
|
302
|
+
* HTTP DELETE /rules/realm/{id}
|
|
303
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteRealmRuleset
|
|
304
|
+
*/
|
|
305
|
+
deleteRealmRuleset(id: any, options?: O): RestResponse<void>;
|
|
306
|
+
/**
|
|
307
|
+
* HTTP GET /rules/realm/{id}
|
|
308
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmRuleset
|
|
309
|
+
*/
|
|
310
|
+
getRealmRuleset(id: any, options?: O): RestResponse<Model.RealmRuleset>;
|
|
311
|
+
/**
|
|
312
|
+
* HTTP PUT /rules/realm/{id}
|
|
313
|
+
* Java method: org.openremote.model.rules.RulesResource.updateRealmRuleset
|
|
314
|
+
*/
|
|
315
|
+
updateRealmRuleset(id: any, ruleset: Model.RealmRuleset, options?: O): RestResponse<void>;
|
|
316
|
+
/**
|
|
317
|
+
* HTTP DELETE /rules/{id}
|
|
318
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteGlobalRuleset
|
|
319
|
+
*/
|
|
320
|
+
deleteGlobalRuleset(id: any, options?: O): RestResponse<void>;
|
|
321
|
+
/**
|
|
322
|
+
* HTTP GET /rules/{id}
|
|
323
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalRuleset
|
|
324
|
+
*/
|
|
325
|
+
getGlobalRuleset(id: any, options?: O): RestResponse<Model.GlobalRuleset>;
|
|
326
|
+
/**
|
|
327
|
+
* HTTP PUT /rules/{id}
|
|
328
|
+
* Java method: org.openremote.model.rules.RulesResource.updateGlobalRuleset
|
|
329
|
+
*/
|
|
330
|
+
updateGlobalRuleset(id: any, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
205
331
|
}
|
|
206
|
-
export declare class
|
|
332
|
+
export declare class SyslogResourceClient<O> {
|
|
207
333
|
protected httpClient: HttpClient<O>;
|
|
208
334
|
constructor(httpClient: HttpClient<O>);
|
|
209
335
|
/**
|
|
210
|
-
* HTTP GET /
|
|
211
|
-
* Java method: org.openremote.model.
|
|
336
|
+
* HTTP GET /syslog/config
|
|
337
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
212
338
|
*/
|
|
213
|
-
|
|
339
|
+
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
214
340
|
/**
|
|
215
|
-
* HTTP PUT /
|
|
216
|
-
* Java method: org.openremote.model.
|
|
341
|
+
* HTTP PUT /syslog/config
|
|
342
|
+
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
217
343
|
*/
|
|
218
|
-
|
|
344
|
+
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
219
345
|
/**
|
|
220
|
-
* HTTP
|
|
221
|
-
* Java method: org.openremote.model.
|
|
346
|
+
* HTTP DELETE /syslog/event
|
|
347
|
+
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
222
348
|
*/
|
|
223
|
-
|
|
224
|
-
|
|
349
|
+
clearEvents(options?: O): RestResponse<void>;
|
|
350
|
+
/**
|
|
351
|
+
* HTTP GET /syslog/event
|
|
352
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
353
|
+
*/
|
|
354
|
+
getEvents(queryParams?: {
|
|
355
|
+
level?: Model.SyslogLevel;
|
|
356
|
+
per_page?: any;
|
|
357
|
+
page?: any;
|
|
358
|
+
from?: any;
|
|
359
|
+
to?: any;
|
|
360
|
+
category?: Model.SyslogCategory[];
|
|
361
|
+
subCategory?: any[];
|
|
225
362
|
}, options?: O): RestResponse<any>;
|
|
226
|
-
/**
|
|
227
|
-
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
228
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
229
|
-
*/
|
|
230
|
-
getManagerConfigImage(filename: any, options?: O): RestResponse<any>;
|
|
231
363
|
}
|
|
232
|
-
export declare class
|
|
364
|
+
export declare class StatusResourceClient<O> {
|
|
233
365
|
protected httpClient: HttpClient<O>;
|
|
234
366
|
constructor(httpClient: HttpClient<O>);
|
|
235
367
|
/**
|
|
236
|
-
* HTTP
|
|
237
|
-
* Java method: org.openremote.model.
|
|
368
|
+
* HTTP GET /health
|
|
369
|
+
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
238
370
|
*/
|
|
239
|
-
|
|
371
|
+
getHealthStatus(options?: O): RestResponse<{
|
|
372
|
+
[index: string]: any;
|
|
373
|
+
}>;
|
|
240
374
|
/**
|
|
241
|
-
* HTTP
|
|
242
|
-
* Java method: org.openremote.model.
|
|
375
|
+
* HTTP GET /info
|
|
376
|
+
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
243
377
|
*/
|
|
244
|
-
|
|
378
|
+
getInfo(options?: O): RestResponse<{
|
|
379
|
+
[index: string]: any;
|
|
380
|
+
}>;
|
|
245
381
|
}
|
|
246
382
|
export declare class AssetResourceClient<O> {
|
|
247
383
|
protected httpClient: HttpClient<O>;
|
|
@@ -347,6 +483,65 @@ export declare class AssetResourceClient<O> {
|
|
|
347
483
|
assetIds?: any[];
|
|
348
484
|
}, options?: O): RestResponse<void>;
|
|
349
485
|
}
|
|
486
|
+
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
487
|
+
protected httpClient: HttpClient<O>;
|
|
488
|
+
constructor(httpClient: HttpClient<O>);
|
|
489
|
+
/**
|
|
490
|
+
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
491
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
492
|
+
*/
|
|
493
|
+
getPredictedDatapoints(assetId: any, attributeName: any, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
494
|
+
/**
|
|
495
|
+
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
496
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
497
|
+
*/
|
|
498
|
+
writePredictedDatapoints(assetId: any, attributeName: any, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
499
|
+
}
|
|
500
|
+
export declare class AssetModelResourceClient<O> {
|
|
501
|
+
protected httpClient: HttpClient<O>;
|
|
502
|
+
constructor(httpClient: HttpClient<O>);
|
|
503
|
+
/**
|
|
504
|
+
* HTTP GET /model/assetDescriptors
|
|
505
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
506
|
+
*/
|
|
507
|
+
getAssetDescriptors(queryParams?: {
|
|
508
|
+
parentId?: any;
|
|
509
|
+
parentType?: any;
|
|
510
|
+
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
511
|
+
/**
|
|
512
|
+
* HTTP GET /model/assetInfo/{assetType}
|
|
513
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
514
|
+
*/
|
|
515
|
+
getAssetInfo(assetType: any, queryParams?: {
|
|
516
|
+
parentId?: any;
|
|
517
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
518
|
+
/**
|
|
519
|
+
* HTTP GET /model/assetInfos
|
|
520
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
521
|
+
*/
|
|
522
|
+
getAssetInfos(queryParams?: {
|
|
523
|
+
parentId?: any;
|
|
524
|
+
parentType?: any;
|
|
525
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
526
|
+
/**
|
|
527
|
+
* HTTP GET /model/metaItemDescriptors
|
|
528
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
|
|
529
|
+
*/
|
|
530
|
+
getMetaItemDescriptors(queryParams?: {
|
|
531
|
+
parentId?: any;
|
|
532
|
+
}, options?: O): RestResponse<{
|
|
533
|
+
[index: string]: Model.MetaItemDescriptor;
|
|
534
|
+
}>;
|
|
535
|
+
/**
|
|
536
|
+
* HTTP GET /model/valueDescriptors
|
|
537
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
|
|
538
|
+
*/
|
|
539
|
+
getValueDescriptors(queryParams?: {
|
|
540
|
+
parentId?: any;
|
|
541
|
+
}, options?: O): RestResponse<{
|
|
542
|
+
[index: string]: Model.ValueDescriptor;
|
|
543
|
+
}>;
|
|
544
|
+
}
|
|
350
545
|
export declare class UserResourceClient<O> {
|
|
351
546
|
protected httpClient: HttpClient<O>;
|
|
352
547
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -471,113 +666,39 @@ export declare class UserResourceClient<O> {
|
|
|
471
666
|
*/
|
|
472
667
|
get(realm: any, userId: any, options?: O): RestResponse<Model.User>;
|
|
473
668
|
}
|
|
474
|
-
export declare class
|
|
669
|
+
export declare class DashboardResourceClient<O> {
|
|
475
670
|
protected httpClient: HttpClient<O>;
|
|
476
671
|
constructor(httpClient: HttpClient<O>);
|
|
477
672
|
/**
|
|
478
|
-
* HTTP POST /
|
|
479
|
-
* Java method: org.openremote.model.
|
|
480
|
-
*/
|
|
481
|
-
createGlobalRuleset(ruleset: Model.GlobalRuleset, options?: O): RestResponse<number>;
|
|
482
|
-
/**
|
|
483
|
-
* HTTP GET /rules
|
|
484
|
-
* Java method: org.openremote.model.rules.RulesResource.getGlobalRulesets
|
|
485
|
-
*/
|
|
486
|
-
getGlobalRulesets(queryParams?: {
|
|
487
|
-
language?: Model.RulesetLang[];
|
|
488
|
-
fullyPopulate?: boolean;
|
|
489
|
-
}, options?: O): RestResponse<Model.GlobalRuleset[]>;
|
|
490
|
-
/**
|
|
491
|
-
* HTTP POST /rules/asset
|
|
492
|
-
* Java method: org.openremote.model.rules.RulesResource.createAssetRuleset
|
|
493
|
-
*/
|
|
494
|
-
createAssetRuleset(ruleset: Model.AssetRuleset, options?: O): RestResponse<number>;
|
|
495
|
-
/**
|
|
496
|
-
* HTTP GET /rules/asset/for/{assetId}
|
|
497
|
-
* Java method: org.openremote.model.rules.RulesResource.getAssetRulesets
|
|
498
|
-
*/
|
|
499
|
-
getAssetRulesets(assetId: any, queryParams?: {
|
|
500
|
-
language?: Model.RulesetLang[];
|
|
501
|
-
fullyPopulate?: boolean;
|
|
502
|
-
}, options?: O): RestResponse<Model.AssetRuleset[]>;
|
|
503
|
-
/**
|
|
504
|
-
* HTTP DELETE /rules/asset/{id}
|
|
505
|
-
* Java method: org.openremote.model.rules.RulesResource.deleteAssetRuleset
|
|
506
|
-
*/
|
|
507
|
-
deleteAssetRuleset(id: any, options?: O): RestResponse<void>;
|
|
508
|
-
/**
|
|
509
|
-
* HTTP GET /rules/asset/{id}
|
|
510
|
-
* Java method: org.openremote.model.rules.RulesResource.getAssetRuleset
|
|
511
|
-
*/
|
|
512
|
-
getAssetRuleset(id: any, options?: O): RestResponse<Model.AssetRuleset>;
|
|
513
|
-
/**
|
|
514
|
-
* HTTP PUT /rules/asset/{id}
|
|
515
|
-
* Java method: org.openremote.model.rules.RulesResource.updateAssetRuleset
|
|
516
|
-
*/
|
|
517
|
-
updateAssetRuleset(id: any, ruleset: Model.AssetRuleset, options?: O): RestResponse<void>;
|
|
518
|
-
/**
|
|
519
|
-
* HTTP GET /rules/geofences/{assetId}
|
|
520
|
-
* Java method: org.openremote.model.rules.RulesResource.getAssetGeofences
|
|
521
|
-
*/
|
|
522
|
-
getAssetGeofences(assetId: any, options?: O): RestResponse<Model.GeofenceDefinition[]>;
|
|
523
|
-
/**
|
|
524
|
-
* HTTP GET /rules/info/asset/{assetId}
|
|
525
|
-
* Java method: org.openremote.model.rules.RulesResource.getAssetEngineInfo
|
|
526
|
-
*/
|
|
527
|
-
getAssetEngineInfo(assetId: any, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
528
|
-
/**
|
|
529
|
-
* HTTP GET /rules/info/global
|
|
530
|
-
* Java method: org.openremote.model.rules.RulesResource.getGlobalEngineInfo
|
|
531
|
-
*/
|
|
532
|
-
getGlobalEngineInfo(options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
533
|
-
/**
|
|
534
|
-
* HTTP GET /rules/info/realm/{realm}
|
|
535
|
-
* Java method: org.openremote.model.rules.RulesResource.getRealmEngineInfo
|
|
536
|
-
*/
|
|
537
|
-
getRealmEngineInfo(realm: any, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
538
|
-
/**
|
|
539
|
-
* HTTP POST /rules/realm
|
|
540
|
-
* Java method: org.openremote.model.rules.RulesResource.createRealmRuleset
|
|
541
|
-
*/
|
|
542
|
-
createRealmRuleset(ruleset: Model.RealmRuleset, options?: O): RestResponse<number>;
|
|
543
|
-
/**
|
|
544
|
-
* HTTP GET /rules/realm/for/{realm}
|
|
545
|
-
* Java method: org.openremote.model.rules.RulesResource.getRealmRulesets
|
|
546
|
-
*/
|
|
547
|
-
getRealmRulesets(realm: any, queryParams?: {
|
|
548
|
-
language?: Model.RulesetLang[];
|
|
549
|
-
fullyPopulate?: boolean;
|
|
550
|
-
}, options?: O): RestResponse<Model.RealmRuleset[]>;
|
|
551
|
-
/**
|
|
552
|
-
* HTTP DELETE /rules/realm/{id}
|
|
553
|
-
* Java method: org.openremote.model.rules.RulesResource.deleteRealmRuleset
|
|
673
|
+
* HTTP POST /dashboard
|
|
674
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
554
675
|
*/
|
|
555
|
-
|
|
676
|
+
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
556
677
|
/**
|
|
557
|
-
* HTTP
|
|
558
|
-
* Java method: org.openremote.model.
|
|
678
|
+
* HTTP PUT /dashboard
|
|
679
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
559
680
|
*/
|
|
560
|
-
|
|
681
|
+
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
561
682
|
/**
|
|
562
|
-
* HTTP
|
|
563
|
-
* Java method: org.openremote.model.
|
|
683
|
+
* HTTP GET /dashboard/all/{realm}
|
|
684
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
564
685
|
*/
|
|
565
|
-
|
|
686
|
+
getAllRealmDashboards(realm: any, options?: O): RestResponse<Model.Dashboard[]>;
|
|
566
687
|
/**
|
|
567
|
-
* HTTP
|
|
568
|
-
* Java method: org.openremote.model.
|
|
688
|
+
* HTTP POST /dashboard/query
|
|
689
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
569
690
|
*/
|
|
570
|
-
|
|
691
|
+
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
571
692
|
/**
|
|
572
|
-
* HTTP
|
|
573
|
-
* Java method: org.openremote.model.
|
|
693
|
+
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
694
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
574
695
|
*/
|
|
575
|
-
|
|
696
|
+
delete(realm: any, dashboardId: any, options?: O): RestResponse<void>;
|
|
576
697
|
/**
|
|
577
|
-
* HTTP
|
|
578
|
-
* Java method: org.openremote.model.
|
|
698
|
+
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
699
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
579
700
|
*/
|
|
580
|
-
|
|
701
|
+
get(realm: any, dashboardId: any, options?: O): RestResponse<Model.Dashboard>;
|
|
581
702
|
}
|
|
582
703
|
export declare class AlarmResourceClient<O> {
|
|
583
704
|
protected httpClient: HttpClient<O>;
|
|
@@ -620,105 +741,43 @@ export declare class AlarmResourceClient<O> {
|
|
|
620
741
|
*/
|
|
621
742
|
removeAlarm(alarmId: any, options?: O): RestResponse<void>;
|
|
622
743
|
/**
|
|
623
|
-
* HTTP PUT /alarm/{alarmId}
|
|
624
|
-
* Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
|
|
625
|
-
*/
|
|
626
|
-
updateAlarm(alarmId: any, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
|
|
627
|
-
/**
|
|
628
|
-
* HTTP GET /alarm/{alarmId}/assets
|
|
629
|
-
* Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
|
|
630
|
-
*/
|
|
631
|
-
getAssetLinks(alarmId: any, queryParams?: {
|
|
632
|
-
realm?: any;
|
|
633
|
-
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
634
|
-
}
|
|
635
|
-
export declare class DashboardResourceClient<O> {
|
|
636
|
-
protected httpClient: HttpClient<O>;
|
|
637
|
-
constructor(httpClient: HttpClient<O>);
|
|
638
|
-
/**
|
|
639
|
-
* HTTP POST /dashboard
|
|
640
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
641
|
-
*/
|
|
642
|
-
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
643
|
-
/**
|
|
644
|
-
* HTTP PUT /dashboard
|
|
645
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
646
|
-
*/
|
|
647
|
-
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
648
|
-
/**
|
|
649
|
-
* HTTP GET /dashboard/all/{realm}
|
|
650
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
651
|
-
*/
|
|
652
|
-
getAllRealmDashboards(realm: any, options?: O): RestResponse<Model.Dashboard[]>;
|
|
653
|
-
/**
|
|
654
|
-
* HTTP POST /dashboard/query
|
|
655
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
656
|
-
*/
|
|
657
|
-
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
658
|
-
/**
|
|
659
|
-
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
660
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
661
|
-
*/
|
|
662
|
-
delete(realm: any, dashboardId: any, options?: O): RestResponse<void>;
|
|
663
|
-
/**
|
|
664
|
-
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
665
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
666
|
-
*/
|
|
667
|
-
get(realm: any, dashboardId: any, options?: O): RestResponse<Model.Dashboard>;
|
|
668
|
-
}
|
|
669
|
-
export declare class ConsoleResourceClient<O> {
|
|
670
|
-
protected httpClient: HttpClient<O>;
|
|
671
|
-
constructor(httpClient: HttpClient<O>);
|
|
672
|
-
/**
|
|
673
|
-
* HTTP POST /console/register
|
|
674
|
-
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
675
|
-
*/
|
|
676
|
-
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
677
|
-
}
|
|
678
|
-
export declare class AssetModelResourceClient<O> {
|
|
679
|
-
protected httpClient: HttpClient<O>;
|
|
680
|
-
constructor(httpClient: HttpClient<O>);
|
|
681
|
-
/**
|
|
682
|
-
* HTTP GET /model/assetDescriptors
|
|
683
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
744
|
+
* HTTP PUT /alarm/{alarmId}
|
|
745
|
+
* Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
|
|
684
746
|
*/
|
|
685
|
-
|
|
686
|
-
parentId?: any;
|
|
687
|
-
parentType?: any;
|
|
688
|
-
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
747
|
+
updateAlarm(alarmId: any, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
|
|
689
748
|
/**
|
|
690
|
-
* HTTP GET /
|
|
691
|
-
* Java method: org.openremote.model.
|
|
749
|
+
* HTTP GET /alarm/{alarmId}/assets
|
|
750
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
|
|
692
751
|
*/
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
}, options?: O): RestResponse<Model.
|
|
752
|
+
getAssetLinks(alarmId: any, queryParams?: {
|
|
753
|
+
realm?: any;
|
|
754
|
+
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
755
|
+
}
|
|
756
|
+
export declare class AgentResourceClient<O> {
|
|
757
|
+
protected httpClient: HttpClient<O>;
|
|
758
|
+
constructor(httpClient: HttpClient<O>);
|
|
696
759
|
/**
|
|
697
|
-
* HTTP GET /
|
|
698
|
-
* Java method: org.openremote.model.asset.
|
|
760
|
+
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
761
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
699
762
|
*/
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
763
|
+
doProtocolAssetDiscovery(agentId: any, queryParams?: {
|
|
764
|
+
realm?: any;
|
|
765
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
704
766
|
/**
|
|
705
|
-
* HTTP
|
|
706
|
-
* Java method: org.openremote.model.asset.
|
|
767
|
+
* HTTP POST /agent/assetImport/{agentId}
|
|
768
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
707
769
|
*/
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
}, options?: O): RestResponse<
|
|
711
|
-
[index: string]: Model.MetaItemDescriptor;
|
|
712
|
-
}>;
|
|
770
|
+
doProtocolAssetImport(agentId: any, fileInfo: Model.FileInfo, queryParams?: {
|
|
771
|
+
realm?: any;
|
|
772
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
713
773
|
/**
|
|
714
|
-
* HTTP GET /
|
|
715
|
-
* Java method: org.openremote.model.asset.
|
|
774
|
+
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
775
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
716
776
|
*/
|
|
717
|
-
|
|
777
|
+
doProtocolInstanceDiscovery(agentType: any, queryParams?: {
|
|
718
778
|
parentId?: any;
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
}>;
|
|
779
|
+
realm?: any;
|
|
780
|
+
}, options?: O): RestResponse<Model.Agent[]>;
|
|
722
781
|
}
|
|
723
782
|
export declare class AppResourceClient<O> {
|
|
724
783
|
protected httpClient: HttpClient<O>;
|
|
@@ -739,6 +798,32 @@ export declare class AppResourceClient<O> {
|
|
|
739
798
|
*/
|
|
740
799
|
getAppInfos(options?: O): RestResponse<any>;
|
|
741
800
|
}
|
|
801
|
+
export declare class ConfigurationResourceClient<O> {
|
|
802
|
+
protected httpClient: HttpClient<O>;
|
|
803
|
+
constructor(httpClient: HttpClient<O>);
|
|
804
|
+
/**
|
|
805
|
+
* HTTP GET /configuration/manager
|
|
806
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
807
|
+
*/
|
|
808
|
+
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
809
|
+
/**
|
|
810
|
+
* HTTP PUT /configuration/manager
|
|
811
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
812
|
+
*/
|
|
813
|
+
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
814
|
+
/**
|
|
815
|
+
* HTTP POST /configuration/manager/file
|
|
816
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
817
|
+
*/
|
|
818
|
+
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
819
|
+
path?: any;
|
|
820
|
+
}, options?: O): RestResponse<any>;
|
|
821
|
+
/**
|
|
822
|
+
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
823
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
824
|
+
*/
|
|
825
|
+
getManagerConfigImage(filename: any, options?: O): RestResponse<any>;
|
|
826
|
+
}
|
|
742
827
|
export declare class FlowResourceClient<O> {
|
|
743
828
|
protected httpClient: HttpClient<O>;
|
|
744
829
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -788,136 +873,51 @@ export declare class MapResourceClient<O> {
|
|
|
788
873
|
*/
|
|
789
874
|
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
790
875
|
}
|
|
791
|
-
export declare class SyslogResourceClient<O> {
|
|
792
|
-
protected httpClient: HttpClient<O>;
|
|
793
|
-
constructor(httpClient: HttpClient<O>);
|
|
794
|
-
/**
|
|
795
|
-
* HTTP GET /syslog/config
|
|
796
|
-
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
797
|
-
*/
|
|
798
|
-
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
799
|
-
/**
|
|
800
|
-
* HTTP PUT /syslog/config
|
|
801
|
-
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
802
|
-
*/
|
|
803
|
-
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
804
|
-
/**
|
|
805
|
-
* HTTP DELETE /syslog/event
|
|
806
|
-
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
807
|
-
*/
|
|
808
|
-
clearEvents(options?: O): RestResponse<void>;
|
|
809
|
-
/**
|
|
810
|
-
* HTTP GET /syslog/event
|
|
811
|
-
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
812
|
-
*/
|
|
813
|
-
getEvents(queryParams?: {
|
|
814
|
-
level?: Model.SyslogLevel;
|
|
815
|
-
per_page?: any;
|
|
816
|
-
page?: any;
|
|
817
|
-
from?: any;
|
|
818
|
-
to?: any;
|
|
819
|
-
category?: Model.SyslogCategory[];
|
|
820
|
-
subCategory?: any[];
|
|
821
|
-
}, options?: O): RestResponse<any>;
|
|
822
|
-
}
|
|
823
|
-
export declare class GatewayServiceResourceClient<O> {
|
|
824
|
-
protected httpClient: HttpClient<O>;
|
|
825
|
-
constructor(httpClient: HttpClient<O>);
|
|
826
|
-
/**
|
|
827
|
-
* HTTP POST /gateway/tunnel
|
|
828
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
829
|
-
*/
|
|
830
|
-
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
831
|
-
/**
|
|
832
|
-
* HTTP DELETE /gateway/tunnel
|
|
833
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
834
|
-
*/
|
|
835
|
-
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
836
|
-
/**
|
|
837
|
-
* HTTP GET /gateway/tunnel/{realm}
|
|
838
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
839
|
-
*/
|
|
840
|
-
getAllActiveTunnelInfos(realm: any, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
841
|
-
/**
|
|
842
|
-
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
843
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
844
|
-
*/
|
|
845
|
-
getGatewayActiveTunnelInfos(realm: any, id: any, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
846
|
-
/**
|
|
847
|
-
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
848
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
849
|
-
*/
|
|
850
|
-
getActiveTunnelInfo(realm: any, id: any, target: any, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
851
|
-
}
|
|
852
|
-
export declare class ProvisioningResourceClient<O> {
|
|
853
|
-
protected httpClient: HttpClient<O>;
|
|
854
|
-
constructor(httpClient: HttpClient<O>);
|
|
855
|
-
/**
|
|
856
|
-
* HTTP POST /provisioning
|
|
857
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
858
|
-
*/
|
|
859
|
-
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
860
|
-
/**
|
|
861
|
-
* HTTP GET /provisioning
|
|
862
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
863
|
-
*/
|
|
864
|
-
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
865
|
-
/**
|
|
866
|
-
* HTTP DELETE /provisioning/{id}
|
|
867
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
868
|
-
*/
|
|
869
|
-
deleteProvisioningConfig(id: any, options?: O): RestResponse<void>;
|
|
870
|
-
/**
|
|
871
|
-
* HTTP PUT /provisioning/{id}
|
|
872
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
|
|
873
|
-
*/
|
|
874
|
-
updateProvisioningConfig(id: any, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
875
|
-
}
|
|
876
876
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
877
877
|
export declare class ApiClient {
|
|
878
|
-
protected _statusResource: AxiosStatusResourceClient;
|
|
879
|
-
protected _agentResource: AxiosAgentResourceClient;
|
|
880
878
|
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
879
|
+
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
880
|
+
protected _consoleResource: AxiosConsoleResourceClient;
|
|
881
|
+
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
882
|
+
protected _realmResource: AxiosRealmResourceClient;
|
|
881
883
|
protected _notificationResource: AxiosNotificationResourceClient;
|
|
882
884
|
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
883
|
-
protected
|
|
884
|
-
protected
|
|
885
|
-
protected
|
|
885
|
+
protected _rulesResource: AxiosRulesResourceClient;
|
|
886
|
+
protected _syslogResource: AxiosSyslogResourceClient;
|
|
887
|
+
protected _statusResource: AxiosStatusResourceClient;
|
|
886
888
|
protected _assetResource: AxiosAssetResourceClient;
|
|
889
|
+
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
890
|
+
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
887
891
|
protected _userResource: AxiosUserResourceClient;
|
|
888
|
-
protected _rulesResource: AxiosRulesResourceClient;
|
|
889
|
-
protected _alarmResource: AxiosAlarmResourceClient;
|
|
890
892
|
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
891
|
-
protected
|
|
892
|
-
protected
|
|
893
|
+
protected _alarmResource: AxiosAlarmResourceClient;
|
|
894
|
+
protected _agentResource: AxiosAgentResourceClient;
|
|
893
895
|
protected _appResource: AxiosAppResourceClient;
|
|
896
|
+
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
894
897
|
protected _flowResource: AxiosFlowResourceClient;
|
|
895
898
|
protected _mapResource: AxiosMapResourceClient;
|
|
896
|
-
protected _syslogResource: AxiosSyslogResourceClient;
|
|
897
|
-
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
898
|
-
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
899
899
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
900
|
-
get StatusResource(): AxiosStatusResourceClient;
|
|
901
|
-
get AgentResource(): AxiosAgentResourceClient;
|
|
902
900
|
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
901
|
+
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
902
|
+
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
903
|
+
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
904
|
+
get RealmResource(): AxiosRealmResourceClient;
|
|
903
905
|
get NotificationResource(): AxiosNotificationResourceClient;
|
|
904
906
|
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
905
|
-
get
|
|
906
|
-
get
|
|
907
|
-
get
|
|
907
|
+
get RulesResource(): AxiosRulesResourceClient;
|
|
908
|
+
get SyslogResource(): AxiosSyslogResourceClient;
|
|
909
|
+
get StatusResource(): AxiosStatusResourceClient;
|
|
908
910
|
get AssetResource(): AxiosAssetResourceClient;
|
|
911
|
+
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
912
|
+
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
909
913
|
get UserResource(): AxiosUserResourceClient;
|
|
910
|
-
get RulesResource(): AxiosRulesResourceClient;
|
|
911
|
-
get AlarmResource(): AxiosAlarmResourceClient;
|
|
912
914
|
get DashboardResource(): AxiosDashboardResourceClient;
|
|
913
|
-
get
|
|
914
|
-
get
|
|
915
|
+
get AlarmResource(): AxiosAlarmResourceClient;
|
|
916
|
+
get AgentResource(): AxiosAgentResourceClient;
|
|
915
917
|
get AppResource(): AxiosAppResourceClient;
|
|
918
|
+
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
916
919
|
get FlowResource(): AxiosFlowResourceClient;
|
|
917
920
|
get MapResource(): AxiosMapResourceClient;
|
|
918
|
-
get SyslogResource(): AxiosSyslogResourceClient;
|
|
919
|
-
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
920
|
-
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
921
921
|
}
|
|
922
922
|
import * as Axios from "axios";
|
|
923
923
|
declare module "axios" {
|
|
@@ -925,13 +925,19 @@ declare module "axios" {
|
|
|
925
925
|
data: R;
|
|
926
926
|
}
|
|
927
927
|
}
|
|
928
|
-
export declare class
|
|
928
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
929
929
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
930
930
|
}
|
|
931
|
-
export declare class
|
|
931
|
+
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
932
932
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
933
933
|
}
|
|
934
|
-
export declare class
|
|
934
|
+
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
935
|
+
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
936
|
+
}
|
|
937
|
+
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
938
|
+
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
939
|
+
}
|
|
940
|
+
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
935
941
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
936
942
|
}
|
|
937
943
|
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
@@ -940,51 +946,45 @@ export declare class AxiosNotificationResourceClient extends NotificationResourc
|
|
|
940
946
|
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
941
947
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
942
948
|
}
|
|
943
|
-
export declare class
|
|
949
|
+
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
944
950
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
945
951
|
}
|
|
946
|
-
export declare class
|
|
952
|
+
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
947
953
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
948
954
|
}
|
|
949
|
-
export declare class
|
|
955
|
+
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
950
956
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
951
957
|
}
|
|
952
958
|
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
953
959
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
954
960
|
}
|
|
955
|
-
export declare class
|
|
961
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
956
962
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
957
963
|
}
|
|
958
|
-
export declare class
|
|
964
|
+
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
959
965
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
960
966
|
}
|
|
961
|
-
export declare class
|
|
967
|
+
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
962
968
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
963
969
|
}
|
|
964
970
|
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
965
971
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
966
972
|
}
|
|
967
|
-
export declare class
|
|
973
|
+
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
968
974
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
969
975
|
}
|
|
970
|
-
export declare class
|
|
976
|
+
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
971
977
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
972
978
|
}
|
|
973
979
|
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
974
980
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
975
981
|
}
|
|
976
|
-
export declare class
|
|
977
|
-
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
978
|
-
}
|
|
979
|
-
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
980
|
-
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
981
|
-
}
|
|
982
|
-
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
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 AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
986
986
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
987
987
|
}
|
|
988
|
-
export declare class
|
|
988
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
989
989
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
990
990
|
}
|