@openremote/rest 1.8.0-snapshot.20250725070921 → 1.8.0-snapshot.20250725120000

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