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