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