@openremote/rest 1.7.0-snapshot.20250704123426 → 1.7.0-snapshot.20250707100509

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