@openremote/rest 1.3.0-snapshot.20250122164613 → 1.3.0-snapshot.20250123095123

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