@openremote/rest 1.4.0-snapshot.20250318122506 → 1.4.0-snapshot.20250318144406

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