@openremote/rest 1.13.0-snapshot.20251216145940 → 1.13.0-snapshot.20251217164512

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,66 +9,59 @@ export interface HttpClient<O> {
9
9
  options?: O;
10
10
  }): RestResponse<R>;
11
11
  }
12
- export declare class GatewayServiceResourceClient<O> {
12
+ export declare class NotificationResourceClient<O> {
13
13
  protected httpClient: HttpClient<O>;
14
14
  constructor(httpClient: HttpClient<O>);
15
15
  /**
16
- * HTTP POST /gateway/tunnel
17
- * Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
18
- */
19
- startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
20
- /**
21
- * HTTP DELETE /gateway/tunnel
22
- * Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
23
- */
24
- stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
25
- /**
26
- * HTTP GET /gateway/tunnel/{realm}
27
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
28
- */
29
- getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
30
- /**
31
- * HTTP GET /gateway/tunnel/{realm}/{id}
32
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
16
+ * HTTP GET /notification
17
+ * Java method: org.openremote.model.notification.NotificationResource.getNotifications
33
18
  */
34
- getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
19
+ getNotifications(queryParams?: {
20
+ id?: number;
21
+ type?: string;
22
+ from?: number;
23
+ to?: number;
24
+ realmId?: string;
25
+ userId?: string;
26
+ assetId?: string;
27
+ }, options?: O): RestResponse<Model.SentNotification[]>;
35
28
  /**
36
- * HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
37
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
29
+ * HTTP DELETE /notification
30
+ * Java method: org.openremote.model.notification.NotificationResource.removeNotifications
38
31
  */
39
- getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
40
- }
41
- export declare class SyslogResourceClient<O> {
42
- protected httpClient: HttpClient<O>;
43
- constructor(httpClient: HttpClient<O>);
32
+ removeNotifications(queryParams?: {
33
+ id?: number;
34
+ type?: string;
35
+ from?: number;
36
+ to?: number;
37
+ realmId?: string;
38
+ userId?: string;
39
+ assetId?: string;
40
+ }, options?: O): RestResponse<void>;
44
41
  /**
45
- * HTTP GET /syslog/config
46
- * Java method: org.openremote.model.syslog.SyslogResource.getConfig
42
+ * HTTP POST /notification/alert
43
+ * Java method: org.openremote.model.notification.NotificationResource.sendNotification
47
44
  */
48
- getConfig(options?: O): RestResponse<Model.SyslogConfig>;
45
+ sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
49
46
  /**
50
- * HTTP PUT /syslog/config
51
- * Java method: org.openremote.model.syslog.SyslogResource.updateConfig
47
+ * HTTP DELETE /notification/{notificationId}
48
+ * Java method: org.openremote.model.notification.NotificationResource.removeNotification
52
49
  */
53
- updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
50
+ removeNotification(notificationId: number, options?: O): RestResponse<void>;
54
51
  /**
55
- * HTTP DELETE /syslog/event
56
- * Java method: org.openremote.model.syslog.SyslogResource.clearEvents
52
+ * HTTP PUT /notification/{notificationId}/acknowledged
53
+ * Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
57
54
  */
58
- clearEvents(options?: O): RestResponse<void>;
55
+ notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
56
+ targetId?: string;
57
+ }, options?: O): RestResponse<void>;
59
58
  /**
60
- * HTTP GET /syslog/event
61
- * Java method: org.openremote.model.syslog.SyslogResource.getEvents
59
+ * HTTP PUT /notification/{notificationId}/delivered
60
+ * Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
62
61
  */
63
- getEvents(queryParams?: {
64
- level?: Model.SyslogLevel;
65
- per_page?: number;
66
- page?: number;
67
- from?: number;
68
- to?: number;
69
- category?: Model.SyslogCategory[];
70
- subCategory?: string[];
71
- }, options?: O): RestResponse<any>;
62
+ notificationDelivered(notificationId: number, queryParams?: {
63
+ targetId?: string;
64
+ }, options?: O): RestResponse<void>;
72
65
  }
73
66
  export declare class ConfigurationResourceClient<O> {
74
67
  protected httpClient: HttpClient<O>;
@@ -96,115 +89,6 @@ export declare class ConfigurationResourceClient<O> {
96
89
  */
97
90
  getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
98
91
  }
99
- export declare class AssetResourceClient<O> {
100
- protected httpClient: HttpClient<O>;
101
- constructor(httpClient: HttpClient<O>);
102
- /**
103
- * HTTP POST /asset
104
- * Java method: org.openremote.model.asset.AssetResource.create
105
- */
106
- create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
107
- /**
108
- * HTTP DELETE /asset
109
- * Java method: org.openremote.model.asset.AssetResource.delete
110
- */
111
- delete(queryParams?: {
112
- assetId?: string[];
113
- }, options?: O): RestResponse<void>;
114
- /**
115
- * HTTP PUT /asset/attributes
116
- * Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
117
- */
118
- writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
119
- /**
120
- * HTTP PUT /asset/attributes/timestamp
121
- * Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
122
- */
123
- writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
124
- /**
125
- * HTTP DELETE /asset/parent
126
- * Java method: org.openremote.model.asset.AssetResource.updateNoneParent
127
- */
128
- updateNoneParent(queryParams?: {
129
- assetIds?: string[];
130
- }, options?: O): RestResponse<void>;
131
- /**
132
- * HTTP GET /asset/partial/{assetId}
133
- * Java method: org.openremote.model.asset.AssetResource.getPartial
134
- */
135
- getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
136
- /**
137
- * HTTP POST /asset/query
138
- * Java method: org.openremote.model.asset.AssetResource.queryAssets
139
- */
140
- queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
141
- /**
142
- * HTTP POST /asset/tree
143
- * Java method: org.openremote.model.asset.AssetResource.queryAssetTree
144
- */
145
- queryAssetTree(query: Model.AssetQuery, options?: O): RestResponse<Model.AssetTree>;
146
- /**
147
- * HTTP GET /asset/user/current
148
- * Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
149
- */
150
- getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
151
- /**
152
- * HTTP POST /asset/user/link
153
- * Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
154
- */
155
- createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
156
- /**
157
- * HTTP GET /asset/user/link
158
- * Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
159
- */
160
- getUserAssetLinks(queryParams?: {
161
- realm?: string;
162
- userId?: string;
163
- assetId?: string;
164
- }, options?: O): RestResponse<Model.UserAssetLink[]>;
165
- /**
166
- * HTTP POST /asset/user/link/delete
167
- * Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
168
- */
169
- deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
170
- /**
171
- * HTTP DELETE /asset/user/link/{realm}/{userId}
172
- * Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
173
- */
174
- deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
175
- /**
176
- * HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
177
- * Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
178
- */
179
- deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
180
- /**
181
- * HTTP GET /asset/{assetId}
182
- * Java method: org.openremote.model.asset.AssetResource.get
183
- */
184
- get(assetId: string, options?: O): RestResponse<Model.Asset>;
185
- /**
186
- * HTTP PUT /asset/{assetId}
187
- * Java method: org.openremote.model.asset.AssetResource.update
188
- */
189
- update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
190
- /**
191
- * HTTP PUT /asset/{assetId}/attribute/{attributeName}
192
- * Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
193
- */
194
- writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
195
- /**
196
- * HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
197
- * Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
198
- */
199
- writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
200
- /**
201
- * HTTP PUT /asset/{parentAssetId}/child
202
- * Java method: org.openremote.model.asset.AssetResource.updateParent
203
- */
204
- updateParent(parentAssetId: string, queryParams?: {
205
- assetIds?: string[];
206
- }, options?: O): RestResponse<void>;
207
- }
208
92
  export declare class AssetDatapointResourceClient<O> {
209
93
  protected httpClient: HttpClient<O>;
210
94
  constructor(httpClient: HttpClient<O>);
@@ -231,25 +115,6 @@ export declare class AssetDatapointResourceClient<O> {
231
115
  */
232
116
  getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
233
117
  }
234
- export declare class FlowResourceClient<O> {
235
- protected httpClient: HttpClient<O>;
236
- constructor(httpClient: HttpClient<O>);
237
- /**
238
- * HTTP GET /flow
239
- * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
240
- */
241
- getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
242
- /**
243
- * HTTP GET /flow/{name}
244
- * Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
245
- */
246
- getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
247
- /**
248
- * HTTP GET /flow/{type}
249
- * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
250
- */
251
- getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
252
- }
253
118
  export declare class RulesResourceClient<O> {
254
119
  protected httpClient: HttpClient<O>;
255
120
  constructor(httpClient: HttpClient<O>);
@@ -358,6 +223,25 @@ export declare class RulesResourceClient<O> {
358
223
  */
359
224
  updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
360
225
  }
226
+ export declare class AppResourceClient<O> {
227
+ protected httpClient: HttpClient<O>;
228
+ constructor(httpClient: HttpClient<O>);
229
+ /**
230
+ * HTTP GET /apps
231
+ * Java method: org.openremote.model.apps.AppResource.getApps
232
+ */
233
+ getApps(options?: O): RestResponse<string[]>;
234
+ /**
235
+ * HTTP GET /apps/consoleConfig
236
+ * Java method: org.openremote.model.apps.AppResource.getConsoleConfig
237
+ */
238
+ getConsoleConfig(options?: O): RestResponse<any>;
239
+ /**
240
+ * HTTP GET /apps/info
241
+ * Java method: org.openremote.model.apps.AppResource.getAppInfos
242
+ */
243
+ getAppInfos(options?: O): RestResponse<any>;
244
+ }
361
245
  export declare class UserResourceClient<O> {
362
246
  protected httpClient: HttpClient<O>;
363
247
  constructor(httpClient: HttpClient<O>);
@@ -482,66 +366,113 @@ export declare class UserResourceClient<O> {
482
366
  */
483
367
  get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
484
368
  }
485
- export declare class ConsoleResourceClient<O> {
369
+ export declare class MapResourceClient<O> {
486
370
  protected httpClient: HttpClient<O>;
487
371
  constructor(httpClient: HttpClient<O>);
488
372
  /**
489
- * HTTP POST /console/register
490
- * Java method: org.openremote.model.console.ConsoleResource.register
373
+ * HTTP GET /map
374
+ * Java method: org.openremote.model.map.MapResource.getSettings
491
375
  */
492
- register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
493
- }
494
- export declare class DashboardResourceClient<O> {
495
- protected httpClient: HttpClient<O>;
496
- constructor(httpClient: HttpClient<O>);
376
+ getSettings(options?: O): RestResponse<{
377
+ [id: string]: unknown;
378
+ }>;
497
379
  /**
498
- * HTTP POST /dashboard
499
- * Java method: org.openremote.model.dashboard.DashboardResource.create
380
+ * HTTP PUT /map
381
+ * Java method: org.openremote.model.map.MapResource.saveSettings
500
382
  */
501
- create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
383
+ saveSettings(mapConfig: Model.MapConfig, options?: O): RestResponse<{
384
+ [id: string]: unknown;
385
+ }>;
502
386
  /**
503
- * HTTP PUT /dashboard
504
- * Java method: org.openremote.model.dashboard.DashboardResource.update
387
+ * HTTP DELETE /map/deleteMap
388
+ * Java method: org.openremote.model.map.MapResource.deleteMap
505
389
  */
506
- update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
390
+ deleteMap(options?: O): RestResponse<{
391
+ [id: string]: unknown;
392
+ }>;
507
393
  /**
508
- * HTTP GET /dashboard/all/{realm}
509
- * Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
394
+ * HTTP GET /map/getCustomMapInfo
395
+ * Java method: org.openremote.model.map.MapResource.getCustomMapInfo
510
396
  */
511
- getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
397
+ getCustomMapInfo(options?: O): RestResponse<{
398
+ [id: string]: unknown;
399
+ }>;
512
400
  /**
513
- * HTTP POST /dashboard/query
514
- * Java method: org.openremote.model.dashboard.DashboardResource.query
401
+ * HTTP GET /map/js
402
+ * Java method: org.openremote.model.map.MapResource.getSettingsJs
515
403
  */
516
- query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
404
+ getSettingsJs(options?: O): RestResponse<{
405
+ [id: string]: unknown;
406
+ }>;
517
407
  /**
518
- * HTTP DELETE /dashboard/{realm}/{dashboardId}
519
- * Java method: org.openremote.model.dashboard.DashboardResource.delete
408
+ * HTTP GET /map/tile/{zoom}/{column}/{row}
409
+ * Java method: org.openremote.model.map.MapResource.getTile
520
410
  */
521
- delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
411
+ getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
522
412
  /**
523
- * HTTP GET /dashboard/{realm}/{dashboardId}
524
- * Java method: org.openremote.model.dashboard.DashboardResource.get
413
+ * HTTP POST /map/upload
414
+ * Java method: org.openremote.model.map.MapResource.uploadMap
525
415
  */
526
- get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
416
+ uploadMap(queryParams?: {
417
+ filename?: string;
418
+ }, options?: O): RestResponse<{
419
+ [id: string]: unknown;
420
+ }>;
527
421
  }
528
- export declare class StatusResourceClient<O> {
422
+ export declare class ExternalServiceResourceClient<O> {
529
423
  protected httpClient: HttpClient<O>;
530
424
  constructor(httpClient: HttpClient<O>);
531
425
  /**
532
- * HTTP GET /health
533
- * Java method: org.openremote.model.system.StatusResource.getHealthStatus
426
+ * Response code 200 - List of registered external services
427
+ * HTTP GET /service
428
+ * Java method: org.openremote.model.services.ExternalServiceResource.getServices
534
429
  */
535
- getHealthStatus(options?: O): RestResponse<{
536
- [index: string]: any;
537
- }>;
430
+ getServices(queryParams?: {
431
+ realm?: string;
432
+ }, options?: O): RestResponse<Model.ExternalService[]>;
538
433
  /**
539
- * HTTP GET /info
540
- * Java method: org.openremote.model.system.StatusResource.getInfo
434
+ * Response code 200 - Service registered successfully
435
+ * Response code 400 - Invalid external service object
436
+ * Response code 409 - ExternalService instance already registered
437
+ * HTTP POST /service
438
+ * Java method: org.openremote.model.services.ExternalServiceResource.registerService
541
439
  */
542
- getInfo(options?: O): RestResponse<{
543
- [index: string]: any;
544
- }>;
440
+ registerService(service: Model.ExternalService, options?: O): RestResponse<Model.ExternalService>;
441
+ /**
442
+ * Response code 200 - List of registered external services
443
+ * HTTP GET /service/global
444
+ * Java method: org.openremote.model.services.ExternalServiceResource.getGlobalServices
445
+ */
446
+ getGlobalServices(options?: O): RestResponse<Model.ExternalService[]>;
447
+ /**
448
+ * Response code 200 - Service registered successfully
449
+ * Response code 400 - Invalid external service object
450
+ * Response code 409 - ExternalService instance already registered
451
+ * HTTP POST /service/global
452
+ * Java method: org.openremote.model.services.ExternalServiceResource.registerGlobalService
453
+ */
454
+ registerGlobalService(service: Model.ExternalService, options?: O): RestResponse<Model.ExternalService>;
455
+ /**
456
+ * Response code 204 - Service deregistered successfully
457
+ * Response code 404 - Service instance not found
458
+ * HTTP DELETE /service/{serviceId}/{instanceId}
459
+ * Java method: org.openremote.model.services.ExternalServiceResource.deregisterService
460
+ */
461
+ deregisterService(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
462
+ /**
463
+ * Response code 200 - ExternalService retrieved successfully
464
+ * Response code 404 - ExternalService not found
465
+ * HTTP GET /service/{serviceId}/{instanceId}
466
+ * Java method: org.openremote.model.services.ExternalServiceResource.getService
467
+ */
468
+ getService(serviceId: string, instanceId: number, options?: O): RestResponse<Model.ExternalService>;
469
+ /**
470
+ * Response code 204 - Heartbeat sent successfully
471
+ * Response code 404 - Service instance not found
472
+ * HTTP PUT /service/{serviceId}/{instanceId}
473
+ * Java method: org.openremote.model.services.ExternalServiceResource.heartbeat
474
+ */
475
+ heartbeat(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
545
476
  }
546
477
  export declare class RealmResourceClient<O> {
547
478
  protected httpClient: HttpClient<O>;
@@ -577,110 +508,259 @@ export declare class RealmResourceClient<O> {
577
508
  */
578
509
  update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
579
510
  }
580
- export declare class GatewayClientResourceClient<O> {
511
+ export declare class ConsoleResourceClient<O> {
581
512
  protected httpClient: HttpClient<O>;
582
513
  constructor(httpClient: HttpClient<O>);
583
514
  /**
584
- * HTTP DELETE /gateway/connection
585
- * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
515
+ * HTTP POST /console/register
516
+ * Java method: org.openremote.model.console.ConsoleResource.register
586
517
  */
587
- deleteConnections(queryParams?: {
588
- realm?: string[];
518
+ register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
519
+ }
520
+ export declare class AssetPredictedDatapointResourceClient<O> {
521
+ protected httpClient: HttpClient<O>;
522
+ constructor(httpClient: HttpClient<O>);
523
+ /**
524
+ * HTTP POST /asset/predicted/{assetId}/{attributeName}
525
+ * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
526
+ */
527
+ getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
528
+ /**
529
+ * HTTP PUT /asset/predicted/{assetId}/{attributeName}
530
+ * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
531
+ */
532
+ writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
533
+ }
534
+ export declare class AssetResourceClient<O> {
535
+ protected httpClient: HttpClient<O>;
536
+ constructor(httpClient: HttpClient<O>);
537
+ /**
538
+ * HTTP POST /asset
539
+ * Java method: org.openremote.model.asset.AssetResource.create
540
+ */
541
+ create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
542
+ /**
543
+ * HTTP DELETE /asset
544
+ * Java method: org.openremote.model.asset.AssetResource.delete
545
+ */
546
+ delete(queryParams?: {
547
+ assetId?: string[];
589
548
  }, options?: O): RestResponse<void>;
590
549
  /**
591
- * HTTP GET /gateway/connection
592
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
550
+ * HTTP PUT /asset/attributes
551
+ * Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
593
552
  */
594
- getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
553
+ writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
595
554
  /**
596
- * HTTP DELETE /gateway/connection/{realm}
597
- * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
555
+ * HTTP PUT /asset/attributes/timestamp
556
+ * Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
598
557
  */
599
- deleteConnection(realm: string, options?: O): RestResponse<void>;
558
+ writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
600
559
  /**
601
- * HTTP GET /gateway/connection/{realm}
602
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
560
+ * HTTP DELETE /asset/parent
561
+ * Java method: org.openremote.model.asset.AssetResource.updateNoneParent
603
562
  */
604
- getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
563
+ updateNoneParent(queryParams?: {
564
+ assetIds?: string[];
565
+ }, options?: O): RestResponse<void>;
605
566
  /**
606
- * HTTP PUT /gateway/connection/{realm}
607
- * Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
567
+ * HTTP GET /asset/partial/{assetId}
568
+ * Java method: org.openremote.model.asset.AssetResource.getPartial
608
569
  */
609
- setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
570
+ getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
610
571
  /**
611
- * HTTP GET /gateway/status/{realm}
612
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
572
+ * HTTP POST /asset/query
573
+ * Java method: org.openremote.model.asset.AssetResource.queryAssets
613
574
  */
614
- getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
575
+ queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
576
+ /**
577
+ * HTTP POST /asset/tree
578
+ * Java method: org.openremote.model.asset.AssetResource.queryAssetTree
579
+ */
580
+ queryAssetTree(query: Model.AssetQuery, options?: O): RestResponse<Model.AssetTree>;
581
+ /**
582
+ * HTTP GET /asset/user/current
583
+ * Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
584
+ */
585
+ getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
586
+ /**
587
+ * HTTP POST /asset/user/link
588
+ * Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
589
+ */
590
+ createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
591
+ /**
592
+ * HTTP GET /asset/user/link
593
+ * Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
594
+ */
595
+ getUserAssetLinks(queryParams?: {
596
+ realm?: string;
597
+ userId?: string;
598
+ assetId?: string;
599
+ }, options?: O): RestResponse<Model.UserAssetLink[]>;
600
+ /**
601
+ * HTTP POST /asset/user/link/delete
602
+ * Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
603
+ */
604
+ deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
605
+ /**
606
+ * HTTP DELETE /asset/user/link/{realm}/{userId}
607
+ * Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
608
+ */
609
+ deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
610
+ /**
611
+ * HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
612
+ * Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
613
+ */
614
+ deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
615
+ /**
616
+ * HTTP GET /asset/{assetId}
617
+ * Java method: org.openremote.model.asset.AssetResource.get
618
+ */
619
+ get(assetId: string, options?: O): RestResponse<Model.Asset>;
620
+ /**
621
+ * HTTP PUT /asset/{assetId}
622
+ * Java method: org.openremote.model.asset.AssetResource.update
623
+ */
624
+ update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
625
+ /**
626
+ * HTTP PUT /asset/{assetId}/attribute/{attributeName}
627
+ * Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
628
+ */
629
+ writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
630
+ /**
631
+ * HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
632
+ * Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
633
+ */
634
+ writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
635
+ /**
636
+ * HTTP PUT /asset/{parentAssetId}/child
637
+ * Java method: org.openremote.model.asset.AssetResource.updateParent
638
+ */
639
+ updateParent(parentAssetId: string, queryParams?: {
640
+ assetIds?: string[];
641
+ }, options?: O): RestResponse<void>;
615
642
  }
616
- export declare class ExternalServiceResourceClient<O> {
643
+ export declare class FlowResourceClient<O> {
617
644
  protected httpClient: HttpClient<O>;
618
645
  constructor(httpClient: HttpClient<O>);
619
646
  /**
620
- * Response code 200 - List of registered external services
621
- * HTTP GET /service
622
- * Java method: org.openremote.model.services.ExternalServiceResource.getServices
647
+ * HTTP GET /flow
648
+ * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
623
649
  */
624
- getServices(queryParams?: {
625
- realm?: string;
626
- }, options?: O): RestResponse<Model.ExternalService[]>;
650
+ getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
627
651
  /**
628
- * Response code 200 - Service registered successfully
629
- * Response code 400 - Invalid external service object
630
- * Response code 409 - ExternalService instance already registered
631
- * HTTP POST /service
632
- * Java method: org.openremote.model.services.ExternalServiceResource.registerService
652
+ * HTTP GET /flow/{name}
653
+ * Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
633
654
  */
634
- registerService(service: Model.ExternalService, options?: O): RestResponse<Model.ExternalService>;
655
+ getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
635
656
  /**
636
- * Response code 200 - List of registered external services
637
- * HTTP GET /service/global
638
- * Java method: org.openremote.model.services.ExternalServiceResource.getGlobalServices
657
+ * HTTP GET /flow/{type}
658
+ * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
639
659
  */
640
- getGlobalServices(options?: O): RestResponse<Model.ExternalService[]>;
660
+ getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
661
+ }
662
+ export declare class StatusResourceClient<O> {
663
+ protected httpClient: HttpClient<O>;
664
+ constructor(httpClient: HttpClient<O>);
641
665
  /**
642
- * Response code 200 - Service registered successfully
643
- * Response code 400 - Invalid external service object
644
- * Response code 409 - ExternalService instance already registered
645
- * HTTP POST /service/global
646
- * Java method: org.openremote.model.services.ExternalServiceResource.registerGlobalService
666
+ * HTTP GET /health
667
+ * Java method: org.openremote.model.system.StatusResource.getHealthStatus
647
668
  */
648
- registerGlobalService(service: Model.ExternalService, options?: O): RestResponse<Model.ExternalService>;
669
+ getHealthStatus(options?: O): RestResponse<{
670
+ [index: string]: any;
671
+ }>;
649
672
  /**
650
- * Response code 204 - Service deregistered successfully
651
- * Response code 404 - Service instance not found
652
- * HTTP DELETE /service/{serviceId}/{instanceId}
653
- * Java method: org.openremote.model.services.ExternalServiceResource.deregisterService
673
+ * HTTP GET /info
674
+ * Java method: org.openremote.model.system.StatusResource.getInfo
654
675
  */
655
- deregisterService(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
676
+ getInfo(options?: O): RestResponse<{
677
+ [index: string]: any;
678
+ }>;
679
+ }
680
+ export declare class AssetModelResourceClient<O> {
681
+ protected httpClient: HttpClient<O>;
682
+ constructor(httpClient: HttpClient<O>);
656
683
  /**
657
- * Response code 200 - ExternalService retrieved successfully
658
- * Response code 404 - ExternalService not found
659
- * HTTP GET /service/{serviceId}/{instanceId}
660
- * Java method: org.openremote.model.services.ExternalServiceResource.getService
684
+ * HTTP GET /model/assetDescriptors
685
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
661
686
  */
662
- getService(serviceId: string, instanceId: number, options?: O): RestResponse<Model.ExternalService>;
687
+ getAssetDescriptors(queryParams?: {
688
+ parentId?: string;
689
+ parentType?: string;
690
+ }, options?: O): RestResponse<Model.AssetDescriptor[]>;
663
691
  /**
664
- * Response code 204 - Heartbeat sent successfully
665
- * Response code 404 - Service instance not found
666
- * HTTP PUT /service/{serviceId}/{instanceId}
667
- * Java method: org.openremote.model.services.ExternalServiceResource.heartbeat
692
+ * HTTP GET /model/assetInfo/{assetType}
693
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
668
694
  */
669
- heartbeat(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
695
+ getAssetInfo(assetType: string, queryParams?: {
696
+ parentId?: string;
697
+ }, options?: O): RestResponse<Model.AssetTypeInfo>;
698
+ /**
699
+ * HTTP GET /model/assetInfos
700
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
701
+ */
702
+ getAssetInfos(queryParams?: {
703
+ parentId?: string;
704
+ parentType?: string;
705
+ }, options?: O): RestResponse<Model.AssetTypeInfo[]>;
706
+ /**
707
+ * HTTP GET /model/getValueDescriptorSchema
708
+ * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptorSchema
709
+ */
710
+ getValueDescriptorSchema(queryParams?: {
711
+ name?: string;
712
+ hash?: string;
713
+ }, options?: O): RestResponse<any>;
714
+ /**
715
+ * HTTP GET /model/metaItemDescriptors
716
+ * Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
717
+ */
718
+ getMetaItemDescriptors(queryParams?: {
719
+ parentId?: string;
720
+ }, options?: O): RestResponse<{
721
+ [index: string]: Model.MetaItemDescriptor;
722
+ }>;
723
+ /**
724
+ * HTTP GET /model/valueDescriptors
725
+ * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
726
+ */
727
+ getValueDescriptors(queryParams?: {
728
+ parentId?: string;
729
+ }, options?: O): RestResponse<{
730
+ [index: string]: Model.ValueDescriptor;
731
+ }>;
670
732
  }
671
- export declare class AssetPredictedDatapointResourceClient<O> {
733
+ export declare class SyslogResourceClient<O> {
672
734
  protected httpClient: HttpClient<O>;
673
735
  constructor(httpClient: HttpClient<O>);
674
736
  /**
675
- * HTTP POST /asset/predicted/{assetId}/{attributeName}
676
- * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
737
+ * HTTP GET /syslog/config
738
+ * Java method: org.openremote.model.syslog.SyslogResource.getConfig
677
739
  */
678
- getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
740
+ getConfig(options?: O): RestResponse<Model.SyslogConfig>;
679
741
  /**
680
- * HTTP PUT /asset/predicted/{assetId}/{attributeName}
681
- * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
742
+ * HTTP PUT /syslog/config
743
+ * Java method: org.openremote.model.syslog.SyslogResource.updateConfig
682
744
  */
683
- writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
745
+ updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
746
+ /**
747
+ * HTTP DELETE /syslog/event
748
+ * Java method: org.openremote.model.syslog.SyslogResource.clearEvents
749
+ */
750
+ clearEvents(options?: O): RestResponse<void>;
751
+ /**
752
+ * HTTP GET /syslog/event
753
+ * Java method: org.openremote.model.syslog.SyslogResource.getEvents
754
+ */
755
+ getEvents(queryParams?: {
756
+ level?: Model.SyslogLevel;
757
+ per_page?: number;
758
+ page?: number;
759
+ from?: number;
760
+ to?: number;
761
+ category?: Model.SyslogCategory[];
762
+ subCategory?: string[];
763
+ }, options?: O): RestResponse<any>;
684
764
  }
685
765
  export declare class ProvisioningResourceClient<O> {
686
766
  protected httpClient: HttpClient<O>;
@@ -706,25 +786,6 @@ export declare class ProvisioningResourceClient<O> {
706
786
  */
707
787
  updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
708
788
  }
709
- export declare class AppResourceClient<O> {
710
- protected httpClient: HttpClient<O>;
711
- constructor(httpClient: HttpClient<O>);
712
- /**
713
- * HTTP GET /apps
714
- * Java method: org.openremote.model.apps.AppResource.getApps
715
- */
716
- getApps(options?: O): RestResponse<string[]>;
717
- /**
718
- * HTTP GET /apps/consoleConfig
719
- * Java method: org.openremote.model.apps.AppResource.getConsoleConfig
720
- */
721
- getConsoleConfig(options?: O): RestResponse<any>;
722
- /**
723
- * HTTP GET /apps/info
724
- * Java method: org.openremote.model.apps.AppResource.getAppInfos
725
- */
726
- getAppInfos(options?: O): RestResponse<any>;
727
- }
728
789
  export declare class AgentResourceClient<O> {
729
790
  protected httpClient: HttpClient<O>;
730
791
  constructor(httpClient: HttpClient<O>);
@@ -742,174 +803,79 @@ export declare class AgentResourceClient<O> {
742
803
  doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
743
804
  realm?: string;
744
805
  }, options?: O): RestResponse<Model.AssetTreeNode[]>;
745
- /**
746
- * HTTP GET /agent/instanceDiscovery/{agentType}
747
- * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
748
- */
749
- doProtocolInstanceDiscovery(agentType: string, queryParams?: {
750
- parentId?: string;
751
- realm?: string;
752
- }, options?: O): RestResponse<Model.Agent[]>;
753
- }
754
- export declare class MapResourceClient<O> {
755
- protected httpClient: HttpClient<O>;
756
- constructor(httpClient: HttpClient<O>);
757
- /**
758
- * HTTP GET /map
759
- * Java method: org.openremote.model.map.MapResource.getSettings
760
- */
761
- getSettings(options?: O): RestResponse<{
762
- [id: string]: unknown;
763
- }>;
764
- /**
765
- * HTTP PUT /map
766
- * Java method: org.openremote.model.map.MapResource.saveSettings
767
- */
768
- saveSettings(mapConfig: Model.MapConfig, options?: O): RestResponse<{
769
- [id: string]: unknown;
770
- }>;
771
- /**
772
- * HTTP DELETE /map/deleteMap
773
- * Java method: org.openremote.model.map.MapResource.deleteMap
774
- */
775
- deleteMap(options?: O): RestResponse<{
776
- [id: string]: unknown;
777
- }>;
778
- /**
779
- * HTTP GET /map/getCustomMapInfo
780
- * Java method: org.openremote.model.map.MapResource.getCustomMapInfo
781
- */
782
- getCustomMapInfo(options?: O): RestResponse<{
783
- [id: string]: unknown;
784
- }>;
785
- /**
786
- * HTTP GET /map/js
787
- * Java method: org.openremote.model.map.MapResource.getSettingsJs
788
- */
789
- getSettingsJs(options?: O): RestResponse<{
790
- [id: string]: unknown;
791
- }>;
792
- /**
793
- * HTTP GET /map/tile/{zoom}/{column}/{row}
794
- * Java method: org.openremote.model.map.MapResource.getTile
795
- */
796
- getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
797
- /**
798
- * HTTP POST /map/upload
799
- * Java method: org.openremote.model.map.MapResource.uploadMap
806
+ /**
807
+ * HTTP GET /agent/instanceDiscovery/{agentType}
808
+ * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
800
809
  */
801
- uploadMap(queryParams?: {
802
- filename?: string;
803
- }, options?: O): RestResponse<{
804
- [id: string]: unknown;
805
- }>;
810
+ doProtocolInstanceDiscovery(agentType: string, queryParams?: {
811
+ parentId?: string;
812
+ realm?: string;
813
+ }, options?: O): RestResponse<Model.Agent[]>;
806
814
  }
807
- export declare class AssetModelResourceClient<O> {
815
+ export declare class GatewayServiceResourceClient<O> {
808
816
  protected httpClient: HttpClient<O>;
809
817
  constructor(httpClient: HttpClient<O>);
810
818
  /**
811
- * HTTP GET /model/assetDescriptors
812
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
813
- */
814
- getAssetDescriptors(queryParams?: {
815
- parentId?: string;
816
- parentType?: string;
817
- }, options?: O): RestResponse<Model.AssetDescriptor[]>;
818
- /**
819
- * HTTP GET /model/assetInfo/{assetType}
820
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
819
+ * HTTP POST /gateway/tunnel
820
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
821
821
  */
822
- getAssetInfo(assetType: string, queryParams?: {
823
- parentId?: string;
824
- }, options?: O): RestResponse<Model.AssetTypeInfo>;
822
+ startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
825
823
  /**
826
- * HTTP GET /model/assetInfos
827
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
824
+ * HTTP DELETE /gateway/tunnel
825
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
828
826
  */
829
- getAssetInfos(queryParams?: {
830
- parentId?: string;
831
- parentType?: string;
832
- }, options?: O): RestResponse<Model.AssetTypeInfo[]>;
827
+ stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
833
828
  /**
834
- * HTTP GET /model/getValueDescriptorSchema
835
- * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptorSchema
829
+ * HTTP GET /gateway/tunnel/{realm}
830
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
836
831
  */
837
- getValueDescriptorSchema(queryParams?: {
838
- name?: string;
839
- hash?: string;
840
- }, options?: O): RestResponse<any>;
832
+ getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
841
833
  /**
842
- * HTTP GET /model/metaItemDescriptors
843
- * Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
834
+ * HTTP GET /gateway/tunnel/{realm}/{id}
835
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
844
836
  */
845
- getMetaItemDescriptors(queryParams?: {
846
- parentId?: string;
847
- }, options?: O): RestResponse<{
848
- [index: string]: Model.MetaItemDescriptor;
849
- }>;
837
+ getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
850
838
  /**
851
- * HTTP GET /model/valueDescriptors
852
- * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
839
+ * HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
840
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
853
841
  */
854
- getValueDescriptors(queryParams?: {
855
- parentId?: string;
856
- }, options?: O): RestResponse<{
857
- [index: string]: Model.ValueDescriptor;
858
- }>;
842
+ getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
859
843
  }
860
- export declare class NotificationResourceClient<O> {
844
+ export declare class GatewayClientResourceClient<O> {
861
845
  protected httpClient: HttpClient<O>;
862
846
  constructor(httpClient: HttpClient<O>);
863
847
  /**
864
- * HTTP GET /notification
865
- * Java method: org.openremote.model.notification.NotificationResource.getNotifications
848
+ * HTTP DELETE /gateway/connection
849
+ * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
866
850
  */
867
- getNotifications(queryParams?: {
868
- id?: number;
869
- type?: string;
870
- from?: number;
871
- to?: number;
872
- realmId?: string;
873
- userId?: string;
874
- assetId?: string;
875
- }, options?: O): RestResponse<Model.SentNotification[]>;
851
+ deleteConnections(queryParams?: {
852
+ realm?: string[];
853
+ }, options?: O): RestResponse<void>;
876
854
  /**
877
- * HTTP DELETE /notification
878
- * Java method: org.openremote.model.notification.NotificationResource.removeNotifications
855
+ * HTTP GET /gateway/connection
856
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
879
857
  */
880
- removeNotifications(queryParams?: {
881
- id?: number;
882
- type?: string;
883
- from?: number;
884
- to?: number;
885
- realmId?: string;
886
- userId?: string;
887
- assetId?: string;
888
- }, options?: O): RestResponse<void>;
858
+ getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
889
859
  /**
890
- * HTTP POST /notification/alert
891
- * Java method: org.openremote.model.notification.NotificationResource.sendNotification
860
+ * HTTP DELETE /gateway/connection/{realm}
861
+ * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
892
862
  */
893
- sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
863
+ deleteConnection(realm: string, options?: O): RestResponse<void>;
894
864
  /**
895
- * HTTP DELETE /notification/{notificationId}
896
- * Java method: org.openremote.model.notification.NotificationResource.removeNotification
865
+ * HTTP GET /gateway/connection/{realm}
866
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
897
867
  */
898
- removeNotification(notificationId: number, options?: O): RestResponse<void>;
868
+ getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
899
869
  /**
900
- * HTTP PUT /notification/{notificationId}/acknowledged
901
- * Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
870
+ * HTTP PUT /gateway/connection/{realm}
871
+ * Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
902
872
  */
903
- notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
904
- targetId?: string;
905
- }, options?: O): RestResponse<void>;
873
+ setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
906
874
  /**
907
- * HTTP PUT /notification/{notificationId}/delivered
908
- * Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
875
+ * HTTP GET /gateway/status/{realm}
876
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
909
877
  */
910
- notificationDelivered(notificationId: number, queryParams?: {
911
- targetId?: string;
912
- }, options?: O): RestResponse<void>;
878
+ getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
913
879
  }
914
880
  export declare class AlarmResourceClient<O> {
915
881
  protected httpClient: HttpClient<O>;
@@ -964,53 +930,87 @@ export declare class AlarmResourceClient<O> {
964
930
  realm?: string;
965
931
  }, options?: O): RestResponse<Model.AlarmAssetLink[]>;
966
932
  }
933
+ export declare class DashboardResourceClient<O> {
934
+ protected httpClient: HttpClient<O>;
935
+ constructor(httpClient: HttpClient<O>);
936
+ /**
937
+ * HTTP POST /dashboard
938
+ * Java method: org.openremote.model.dashboard.DashboardResource.create
939
+ */
940
+ create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
941
+ /**
942
+ * HTTP PUT /dashboard
943
+ * Java method: org.openremote.model.dashboard.DashboardResource.update
944
+ */
945
+ update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
946
+ /**
947
+ * HTTP GET /dashboard/all/{realm}
948
+ * Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
949
+ */
950
+ getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
951
+ /**
952
+ * HTTP POST /dashboard/query
953
+ * Java method: org.openremote.model.dashboard.DashboardResource.query
954
+ */
955
+ query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
956
+ /**
957
+ * HTTP DELETE /dashboard/{realm}/{dashboardId}
958
+ * Java method: org.openremote.model.dashboard.DashboardResource.delete
959
+ */
960
+ delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
961
+ /**
962
+ * HTTP GET /dashboard/{realm}/{dashboardId}
963
+ * Java method: org.openremote.model.dashboard.DashboardResource.get
964
+ */
965
+ get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
966
+ }
967
967
  export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
968
968
  export declare class ApiClient {
969
- protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
970
- protected _syslogResource: AxiosSyslogResourceClient;
969
+ protected _notificationResource: AxiosNotificationResourceClient;
971
970
  protected _configurationResource: AxiosConfigurationResourceClient;
972
- protected _assetResource: AxiosAssetResourceClient;
973
971
  protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
974
- protected _flowResource: AxiosFlowResourceClient;
975
972
  protected _rulesResource: AxiosRulesResourceClient;
973
+ protected _appResource: AxiosAppResourceClient;
976
974
  protected _userResource: AxiosUserResourceClient;
977
- protected _consoleResource: AxiosConsoleResourceClient;
978
- protected _dashboardResource: AxiosDashboardResourceClient;
979
- protected _statusResource: AxiosStatusResourceClient;
980
- protected _realmResource: AxiosRealmResourceClient;
981
- protected _gatewayClientResource: AxiosGatewayClientResourceClient;
975
+ protected _mapResource: AxiosMapResourceClient;
982
976
  protected _externalServiceResource: AxiosExternalServiceResourceClient;
977
+ protected _realmResource: AxiosRealmResourceClient;
978
+ protected _consoleResource: AxiosConsoleResourceClient;
983
979
  protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
980
+ protected _assetResource: AxiosAssetResourceClient;
981
+ protected _flowResource: AxiosFlowResourceClient;
982
+ protected _statusResource: AxiosStatusResourceClient;
983
+ protected _assetModelResource: AxiosAssetModelResourceClient;
984
+ protected _syslogResource: AxiosSyslogResourceClient;
984
985
  protected _provisioningResource: AxiosProvisioningResourceClient;
985
- protected _appResource: AxiosAppResourceClient;
986
986
  protected _agentResource: AxiosAgentResourceClient;
987
- protected _mapResource: AxiosMapResourceClient;
988
- protected _assetModelResource: AxiosAssetModelResourceClient;
989
- protected _notificationResource: AxiosNotificationResourceClient;
987
+ protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
988
+ protected _gatewayClientResource: AxiosGatewayClientResourceClient;
990
989
  protected _alarmResource: AxiosAlarmResourceClient;
990
+ protected _dashboardResource: AxiosDashboardResourceClient;
991
991
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
992
- get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
993
- get SyslogResource(): AxiosSyslogResourceClient;
992
+ get NotificationResource(): AxiosNotificationResourceClient;
994
993
  get ConfigurationResource(): AxiosConfigurationResourceClient;
995
- get AssetResource(): AxiosAssetResourceClient;
996
994
  get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
997
- get FlowResource(): AxiosFlowResourceClient;
998
995
  get RulesResource(): AxiosRulesResourceClient;
996
+ get AppResource(): AxiosAppResourceClient;
999
997
  get UserResource(): AxiosUserResourceClient;
1000
- get ConsoleResource(): AxiosConsoleResourceClient;
1001
- get DashboardResource(): AxiosDashboardResourceClient;
1002
- get StatusResource(): AxiosStatusResourceClient;
1003
- get RealmResource(): AxiosRealmResourceClient;
1004
- get GatewayClientResource(): AxiosGatewayClientResourceClient;
998
+ get MapResource(): AxiosMapResourceClient;
1005
999
  get ExternalServiceResource(): AxiosExternalServiceResourceClient;
1000
+ get RealmResource(): AxiosRealmResourceClient;
1001
+ get ConsoleResource(): AxiosConsoleResourceClient;
1006
1002
  get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
1003
+ get AssetResource(): AxiosAssetResourceClient;
1004
+ get FlowResource(): AxiosFlowResourceClient;
1005
+ get StatusResource(): AxiosStatusResourceClient;
1006
+ get AssetModelResource(): AxiosAssetModelResourceClient;
1007
+ get SyslogResource(): AxiosSyslogResourceClient;
1007
1008
  get ProvisioningResource(): AxiosProvisioningResourceClient;
1008
- get AppResource(): AxiosAppResourceClient;
1009
1009
  get AgentResource(): AxiosAgentResourceClient;
1010
- get MapResource(): AxiosMapResourceClient;
1011
- get AssetModelResource(): AxiosAssetModelResourceClient;
1012
- get NotificationResource(): AxiosNotificationResourceClient;
1010
+ get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
1011
+ get GatewayClientResource(): AxiosGatewayClientResourceClient;
1013
1012
  get AlarmResource(): AxiosAlarmResourceClient;
1013
+ get DashboardResource(): AxiosDashboardResourceClient;
1014
1014
  }
1015
1015
  import * as Axios from "axios";
1016
1016
  declare module "axios" {
@@ -1018,70 +1018,70 @@ declare module "axios" {
1018
1018
  data: R;
1019
1019
  }
1020
1020
  }
1021
- export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
1021
+ export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
1022
1022
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1023
1023
  }
1024
- export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
1024
+ export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
1025
1025
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1026
1026
  }
1027
- export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
1027
+ export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
1028
1028
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1029
1029
  }
1030
- export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
1030
+ export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
1031
1031
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1032
1032
  }
1033
- export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
1033
+ export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
1034
1034
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1035
1035
  }
1036
- export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
1036
+ export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
1037
1037
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1038
1038
  }
1039
- export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
1039
+ export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
1040
1040
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1041
1041
  }
1042
- export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
1042
+ export declare class AxiosExternalServiceResourceClient extends ExternalServiceResourceClient<Axios.AxiosRequestConfig> {
1043
1043
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1044
1044
  }
1045
- export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
1045
+ export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
1046
1046
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1047
1047
  }
1048
- export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
1048
+ export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
1049
1049
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1050
1050
  }
1051
- export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
1051
+ export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
1052
1052
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1053
1053
  }
1054
- export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
1054
+ export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
1055
1055
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1056
1056
  }
1057
- export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
1057
+ export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
1058
1058
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1059
1059
  }
1060
- export declare class AxiosExternalServiceResourceClient extends ExternalServiceResourceClient<Axios.AxiosRequestConfig> {
1060
+ export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
1061
1061
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1062
1062
  }
1063
- export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
1063
+ export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
1064
1064
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1065
1065
  }
1066
- export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
1066
+ export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
1067
1067
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1068
1068
  }
1069
- export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
1069
+ export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
1070
1070
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1071
1071
  }
1072
1072
  export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
1073
1073
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1074
1074
  }
1075
- export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
1075
+ export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
1076
1076
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1077
1077
  }
1078
- export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
1078
+ export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
1079
1079
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1080
1080
  }
1081
- export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
1081
+ export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
1082
1082
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1083
1083
  }
1084
- export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
1084
+ export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
1085
1085
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1086
1086
  }
1087
1087
  //# sourceMappingURL=restclient.d.ts.map