@openremote/rest 1.9.0-snapshot.20250915103826 → 1.9.0-snapshot.20250915134245

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