@openremote/rest 1.3.0-snapshot.20250210131111 → 1.3.0-snapshot.20250210152721

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