@openremote/rest 1.3.0-snapshot.20250129131844 → 1.3.0-snapshot.20250130102555

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