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