@openremote/rest 1.8.0-snapshot.20250718083153 → 1.8.0-snapshot.20250722100739

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