@openremote/rest 1.7.0-snapshot.20250702121923 → 1.7.0-snapshot.20250704092907

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