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