@openremote/rest 1.3.0-snapshot.20250217130454 → 1.3.0-snapshot.20250217182018

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,32 +9,6 @@ export interface HttpClient<O> {
9
9
  options?: O;
10
10
  }): RestResponse<R>;
11
11
  }
12
- export declare class AssetDatapointResourceClient<O> {
13
- protected httpClient: HttpClient<O>;
14
- constructor(httpClient: HttpClient<O>);
15
- /**
16
- * HTTP GET /asset/datapoint/export
17
- * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
18
- */
19
- getDatapointExport(queryParams?: {
20
- attributeRefs?: any;
21
- fromTimestamp?: number;
22
- toTimestamp?: number;
23
- }, options?: O): RestResponse<any>;
24
- /**
25
- * HTTP GET /asset/datapoint/periods
26
- * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
27
- */
28
- getDatapointPeriod(queryParams?: {
29
- assetId?: any;
30
- attributeName?: any;
31
- }, options?: O): RestResponse<Model.DatapointPeriod>;
32
- /**
33
- * HTTP POST /asset/datapoint/{assetId}/{attributeName}
34
- * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
35
- */
36
- getDatapoints(assetId: any, attributeName: any, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
37
- }
38
12
  export declare class AssetResourceClient<O> {
39
13
  protected httpClient: HttpClient<O>;
40
14
  constructor(httpClient: HttpClient<O>);
@@ -139,104 +113,6 @@ export declare class AssetResourceClient<O> {
139
113
  assetIds?: any[];
140
114
  }, options?: O): RestResponse<void>;
141
115
  }
142
- export declare class RealmResourceClient<O> {
143
- protected httpClient: HttpClient<O>;
144
- constructor(httpClient: HttpClient<O>);
145
- /**
146
- * HTTP POST /realm
147
- * Java method: org.openremote.model.security.RealmResource.create
148
- */
149
- create(realm: Model.Realm, options?: O): RestResponse<void>;
150
- /**
151
- * HTTP GET /realm
152
- * Java method: org.openremote.model.security.RealmResource.getAll
153
- */
154
- getAll(options?: O): RestResponse<Model.Realm[]>;
155
- /**
156
- * HTTP GET /realm/accessible
157
- * Java method: org.openremote.model.security.RealmResource.getAccessible
158
- */
159
- getAccessible(options?: O): RestResponse<Model.Realm[]>;
160
- /**
161
- * HTTP DELETE /realm/{name}
162
- * Java method: org.openremote.model.security.RealmResource.delete
163
- */
164
- delete(name: any, options?: O): RestResponse<void>;
165
- /**
166
- * HTTP GET /realm/{name}
167
- * Java method: org.openremote.model.security.RealmResource.get
168
- */
169
- get(name: any, options?: O): RestResponse<Model.Realm>;
170
- /**
171
- * HTTP PUT /realm/{name}
172
- * Java method: org.openremote.model.security.RealmResource.update
173
- */
174
- update(name: any, realm: Model.Realm, options?: O): RestResponse<void>;
175
- }
176
- export declare class AssetModelResourceClient<O> {
177
- protected httpClient: HttpClient<O>;
178
- constructor(httpClient: HttpClient<O>);
179
- /**
180
- * HTTP GET /model/assetDescriptors
181
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
182
- */
183
- getAssetDescriptors(queryParams?: {
184
- parentId?: any;
185
- parentType?: any;
186
- }, options?: O): RestResponse<Model.AssetDescriptor[]>;
187
- /**
188
- * HTTP GET /model/assetInfo/{assetType}
189
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
190
- */
191
- getAssetInfo(assetType: any, queryParams?: {
192
- parentId?: any;
193
- }, options?: O): RestResponse<Model.AssetTypeInfo>;
194
- /**
195
- * HTTP GET /model/assetInfos
196
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
197
- */
198
- getAssetInfos(queryParams?: {
199
- parentId?: any;
200
- parentType?: any;
201
- }, options?: O): RestResponse<Model.AssetTypeInfo[]>;
202
- /**
203
- * HTTP GET /model/metaItemDescriptors
204
- * Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
205
- */
206
- getMetaItemDescriptors(queryParams?: {
207
- parentId?: any;
208
- }, options?: O): RestResponse<{
209
- [index: string]: Model.MetaItemDescriptor;
210
- }>;
211
- /**
212
- * HTTP GET /model/valueDescriptors
213
- * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
214
- */
215
- getValueDescriptors(queryParams?: {
216
- parentId?: any;
217
- }, options?: O): RestResponse<{
218
- [index: string]: Model.ValueDescriptor;
219
- }>;
220
- }
221
- export declare class FlowResourceClient<O> {
222
- protected httpClient: HttpClient<O>;
223
- constructor(httpClient: HttpClient<O>);
224
- /**
225
- * HTTP GET /flow
226
- * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
227
- */
228
- getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
229
- /**
230
- * HTTP GET /flow/{name}
231
- * Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
232
- */
233
- getNodeDefinition(name: any, options?: O): RestResponse<Model.Node>;
234
- /**
235
- * HTTP GET /flow/{type}
236
- * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
237
- */
238
- getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
239
- }
240
116
  export declare class ProvisioningResourceClient<O> {
241
117
  protected httpClient: HttpClient<O>;
242
118
  constructor(httpClient: HttpClient<O>);
@@ -261,15 +137,6 @@ export declare class ProvisioningResourceClient<O> {
261
137
  */
262
138
  updateProvisioningConfig(id: any, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
263
139
  }
264
- export declare class ConsoleResourceClient<O> {
265
- protected httpClient: HttpClient<O>;
266
- constructor(httpClient: HttpClient<O>);
267
- /**
268
- * HTTP POST /console/register
269
- * Java method: org.openremote.model.console.ConsoleResource.register
270
- */
271
- register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
272
- }
273
140
  export declare class AgentResourceClient<O> {
274
141
  protected httpClient: HttpClient<O>;
275
142
  constructor(httpClient: HttpClient<O>);
@@ -296,60 +163,85 @@ export declare class AgentResourceClient<O> {
296
163
  realm?: any;
297
164
  }, options?: O): RestResponse<Model.Agent[]>;
298
165
  }
299
- export declare class AppResourceClient<O> {
166
+ export declare class ConsoleResourceClient<O> {
300
167
  protected httpClient: HttpClient<O>;
301
168
  constructor(httpClient: HttpClient<O>);
302
169
  /**
303
- * HTTP GET /apps
304
- * Java method: org.openremote.model.apps.AppResource.getApps
170
+ * HTTP POST /console/register
171
+ * Java method: org.openremote.model.console.ConsoleResource.register
305
172
  */
306
- getApps(options?: O): RestResponse<any[]>;
173
+ register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
174
+ }
175
+ export declare class AlarmResourceClient<O> {
176
+ protected httpClient: HttpClient<O>;
177
+ constructor(httpClient: HttpClient<O>);
307
178
  /**
308
- * HTTP GET /apps/consoleConfig
309
- * Java method: org.openremote.model.apps.AppResource.getConsoleConfig
179
+ * HTTP POST /alarm
180
+ * Java method: org.openremote.model.alarm.AlarmResource.createAlarm
310
181
  */
311
- getConsoleConfig(options?: O): RestResponse<any>;
182
+ createAlarm(alarm: Model.Alarm, queryParams?: {
183
+ assetIds?: any[];
184
+ }, options?: O): RestResponse<Model.SentAlarm>;
312
185
  /**
313
- * HTTP GET /apps/info
314
- * Java method: org.openremote.model.apps.AppResource.getAppInfos
186
+ * HTTP GET /alarm
187
+ * Java method: org.openremote.model.alarm.AlarmResource.getAlarms
315
188
  */
316
- getAppInfos(options?: O): RestResponse<any>;
317
- }
318
- export declare class GatewayClientResourceClient<O> {
319
- protected httpClient: HttpClient<O>;
320
- constructor(httpClient: HttpClient<O>);
189
+ getAlarms(queryParams?: {
190
+ realm?: any;
191
+ status?: Model.AlarmStatus;
192
+ assetId?: any;
193
+ assigneeId?: any;
194
+ }, options?: O): RestResponse<Model.SentAlarm[]>;
321
195
  /**
322
- * HTTP DELETE /gateway/connection
323
- * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
196
+ * HTTP DELETE /alarm
197
+ * Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
324
198
  */
325
- deleteConnections(queryParams?: {
326
- realm?: any[];
327
- }, options?: O): RestResponse<void>;
199
+ removeAlarms(ids: any[], options?: O): RestResponse<void>;
328
200
  /**
329
- * HTTP GET /gateway/connection
330
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
201
+ * HTTP PUT /alarm/assets
202
+ * Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
331
203
  */
332
- getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
204
+ setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
333
205
  /**
334
- * HTTP DELETE /gateway/connection/{realm}
335
- * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
206
+ * HTTP GET /alarm/{alarmId}
207
+ * Java method: org.openremote.model.alarm.AlarmResource.getAlarm
336
208
  */
337
- deleteConnection(realm: any, options?: O): RestResponse<void>;
209
+ getAlarm(alarmId: any, options?: O): RestResponse<Model.SentAlarm>;
338
210
  /**
339
- * HTTP GET /gateway/connection/{realm}
340
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
211
+ * HTTP DELETE /alarm/{alarmId}
212
+ * Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
341
213
  */
342
- getConnection(realm: any, options?: O): RestResponse<Model.GatewayConnection>;
214
+ removeAlarm(alarmId: any, options?: O): RestResponse<void>;
343
215
  /**
344
- * HTTP PUT /gateway/connection/{realm}
345
- * Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
216
+ * HTTP PUT /alarm/{alarmId}
217
+ * Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
346
218
  */
347
- setConnection(realm: any, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
219
+ updateAlarm(alarmId: any, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
348
220
  /**
349
- * HTTP GET /gateway/status/{realm}
350
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
221
+ * HTTP GET /alarm/{alarmId}/assets
222
+ * Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
351
223
  */
352
- getConnectionStatus(realm: any, options?: O): RestResponse<Model.ConnectionStatus>;
224
+ getAssetLinks(alarmId: any, queryParams?: {
225
+ realm?: any;
226
+ }, options?: O): RestResponse<Model.AlarmAssetLink[]>;
227
+ }
228
+ export declare class StatusResourceClient<O> {
229
+ protected httpClient: HttpClient<O>;
230
+ constructor(httpClient: HttpClient<O>);
231
+ /**
232
+ * HTTP GET /health
233
+ * Java method: org.openremote.model.system.StatusResource.getHealthStatus
234
+ */
235
+ getHealthStatus(options?: O): RestResponse<{
236
+ [index: string]: any;
237
+ }>;
238
+ /**
239
+ * HTTP GET /info
240
+ * Java method: org.openremote.model.system.StatusResource.getInfo
241
+ */
242
+ getInfo(options?: O): RestResponse<{
243
+ [index: string]: any;
244
+ }>;
353
245
  }
354
246
  export declare class RulesResourceClient<O> {
355
247
  protected httpClient: HttpClient<O>;
@@ -459,6 +351,25 @@ export declare class RulesResourceClient<O> {
459
351
  */
460
352
  updateGlobalRuleset(id: any, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
461
353
  }
354
+ export declare class FlowResourceClient<O> {
355
+ protected httpClient: HttpClient<O>;
356
+ constructor(httpClient: HttpClient<O>);
357
+ /**
358
+ * HTTP GET /flow
359
+ * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
360
+ */
361
+ getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
362
+ /**
363
+ * HTTP GET /flow/{name}
364
+ * Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
365
+ */
366
+ getNodeDefinition(name: any, options?: O): RestResponse<Model.Node>;
367
+ /**
368
+ * HTTP GET /flow/{type}
369
+ * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
370
+ */
371
+ getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
372
+ }
462
373
  export declare class MapResourceClient<O> {
463
374
  protected httpClient: HttpClient<O>;
464
375
  constructor(httpClient: HttpClient<O>);
@@ -489,23 +400,204 @@ export declare class MapResourceClient<O> {
489
400
  */
490
401
  getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
491
402
  }
492
- export declare class StatusResourceClient<O> {
403
+ export declare class SyslogResourceClient<O> {
493
404
  protected httpClient: HttpClient<O>;
494
405
  constructor(httpClient: HttpClient<O>);
495
406
  /**
496
- * HTTP GET /health
497
- * Java method: org.openremote.model.system.StatusResource.getHealthStatus
407
+ * HTTP GET /syslog/config
408
+ * Java method: org.openremote.model.syslog.SyslogResource.getConfig
498
409
  */
499
- getHealthStatus(options?: O): RestResponse<{
500
- [index: string]: any;
501
- }>;
410
+ getConfig(options?: O): RestResponse<Model.SyslogConfig>;
502
411
  /**
503
- * HTTP GET /info
504
- * Java method: org.openremote.model.system.StatusResource.getInfo
412
+ * HTTP PUT /syslog/config
413
+ * Java method: org.openremote.model.syslog.SyslogResource.updateConfig
505
414
  */
506
- getInfo(options?: O): RestResponse<{
507
- [index: string]: any;
415
+ updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
416
+ /**
417
+ * HTTP DELETE /syslog/event
418
+ * Java method: org.openremote.model.syslog.SyslogResource.clearEvents
419
+ */
420
+ clearEvents(options?: O): RestResponse<void>;
421
+ /**
422
+ * HTTP GET /syslog/event
423
+ * Java method: org.openremote.model.syslog.SyslogResource.getEvents
424
+ */
425
+ getEvents(queryParams?: {
426
+ level?: Model.SyslogLevel;
427
+ per_page?: any;
428
+ page?: any;
429
+ from?: any;
430
+ to?: any;
431
+ category?: Model.SyslogCategory[];
432
+ subCategory?: any[];
433
+ }, options?: O): RestResponse<any>;
434
+ }
435
+ export declare class RealmResourceClient<O> {
436
+ protected httpClient: HttpClient<O>;
437
+ constructor(httpClient: HttpClient<O>);
438
+ /**
439
+ * HTTP POST /realm
440
+ * Java method: org.openremote.model.security.RealmResource.create
441
+ */
442
+ create(realm: Model.Realm, options?: O): RestResponse<void>;
443
+ /**
444
+ * HTTP GET /realm
445
+ * Java method: org.openremote.model.security.RealmResource.getAll
446
+ */
447
+ getAll(options?: O): RestResponse<Model.Realm[]>;
448
+ /**
449
+ * HTTP GET /realm/accessible
450
+ * Java method: org.openremote.model.security.RealmResource.getAccessible
451
+ */
452
+ getAccessible(options?: O): RestResponse<Model.Realm[]>;
453
+ /**
454
+ * HTTP DELETE /realm/{name}
455
+ * Java method: org.openremote.model.security.RealmResource.delete
456
+ */
457
+ delete(name: any, options?: O): RestResponse<void>;
458
+ /**
459
+ * HTTP GET /realm/{name}
460
+ * Java method: org.openremote.model.security.RealmResource.get
461
+ */
462
+ get(name: any, options?: O): RestResponse<Model.Realm>;
463
+ /**
464
+ * HTTP PUT /realm/{name}
465
+ * Java method: org.openremote.model.security.RealmResource.update
466
+ */
467
+ update(name: any, realm: Model.Realm, options?: O): RestResponse<void>;
468
+ }
469
+ export declare class AssetPredictedDatapointResourceClient<O> {
470
+ protected httpClient: HttpClient<O>;
471
+ constructor(httpClient: HttpClient<O>);
472
+ /**
473
+ * HTTP POST /asset/predicted/{assetId}/{attributeName}
474
+ * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
475
+ */
476
+ getPredictedDatapoints(assetId: any, attributeName: any, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
477
+ /**
478
+ * HTTP PUT /asset/predicted/{assetId}/{attributeName}
479
+ * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
480
+ */
481
+ writePredictedDatapoints(assetId: any, attributeName: any, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
482
+ }
483
+ export declare class AppResourceClient<O> {
484
+ protected httpClient: HttpClient<O>;
485
+ constructor(httpClient: HttpClient<O>);
486
+ /**
487
+ * HTTP GET /apps
488
+ * Java method: org.openremote.model.apps.AppResource.getApps
489
+ */
490
+ getApps(options?: O): RestResponse<any[]>;
491
+ /**
492
+ * HTTP GET /apps/consoleConfig
493
+ * Java method: org.openremote.model.apps.AppResource.getConsoleConfig
494
+ */
495
+ getConsoleConfig(options?: O): RestResponse<any>;
496
+ /**
497
+ * HTTP GET /apps/info
498
+ * Java method: org.openremote.model.apps.AppResource.getAppInfos
499
+ */
500
+ getAppInfos(options?: O): RestResponse<any>;
501
+ }
502
+ export declare class AssetModelResourceClient<O> {
503
+ protected httpClient: HttpClient<O>;
504
+ constructor(httpClient: HttpClient<O>);
505
+ /**
506
+ * HTTP GET /model/assetDescriptors
507
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
508
+ */
509
+ getAssetDescriptors(queryParams?: {
510
+ parentId?: any;
511
+ parentType?: any;
512
+ }, options?: O): RestResponse<Model.AssetDescriptor[]>;
513
+ /**
514
+ * HTTP GET /model/assetInfo/{assetType}
515
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
516
+ */
517
+ getAssetInfo(assetType: any, queryParams?: {
518
+ parentId?: any;
519
+ }, options?: O): RestResponse<Model.AssetTypeInfo>;
520
+ /**
521
+ * HTTP GET /model/assetInfos
522
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
523
+ */
524
+ getAssetInfos(queryParams?: {
525
+ parentId?: any;
526
+ parentType?: any;
527
+ }, options?: O): RestResponse<Model.AssetTypeInfo[]>;
528
+ /**
529
+ * HTTP GET /model/metaItemDescriptors
530
+ * Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
531
+ */
532
+ getMetaItemDescriptors(queryParams?: {
533
+ parentId?: any;
534
+ }, options?: O): RestResponse<{
535
+ [index: string]: Model.MetaItemDescriptor;
508
536
  }>;
537
+ /**
538
+ * HTTP GET /model/valueDescriptors
539
+ * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
540
+ */
541
+ getValueDescriptors(queryParams?: {
542
+ parentId?: any;
543
+ }, options?: O): RestResponse<{
544
+ [index: string]: Model.ValueDescriptor;
545
+ }>;
546
+ }
547
+ export declare class GatewayServiceResourceClient<O> {
548
+ protected httpClient: HttpClient<O>;
549
+ constructor(httpClient: HttpClient<O>);
550
+ /**
551
+ * HTTP POST /gateway/tunnel
552
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
553
+ */
554
+ startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
555
+ /**
556
+ * HTTP DELETE /gateway/tunnel
557
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
558
+ */
559
+ stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
560
+ /**
561
+ * HTTP GET /gateway/tunnel/{realm}
562
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
563
+ */
564
+ getAllActiveTunnelInfos(realm: any, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
565
+ /**
566
+ * HTTP GET /gateway/tunnel/{realm}/{id}
567
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
568
+ */
569
+ getGatewayActiveTunnelInfos(realm: any, id: any, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
570
+ /**
571
+ * HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
572
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
573
+ */
574
+ getActiveTunnelInfo(realm: any, id: any, target: any, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
575
+ }
576
+ export declare class AssetDatapointResourceClient<O> {
577
+ protected httpClient: HttpClient<O>;
578
+ constructor(httpClient: HttpClient<O>);
579
+ /**
580
+ * HTTP GET /asset/datapoint/export
581
+ * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
582
+ */
583
+ getDatapointExport(queryParams?: {
584
+ attributeRefs?: any;
585
+ fromTimestamp?: number;
586
+ toTimestamp?: number;
587
+ }, options?: O): RestResponse<any>;
588
+ /**
589
+ * HTTP GET /asset/datapoint/periods
590
+ * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
591
+ */
592
+ getDatapointPeriod(queryParams?: {
593
+ assetId?: any;
594
+ attributeName?: any;
595
+ }, options?: O): RestResponse<Model.DatapointPeriod>;
596
+ /**
597
+ * HTTP POST /asset/datapoint/{assetId}/{attributeName}
598
+ * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
599
+ */
600
+ getDatapoints(assetId: any, attributeName: any, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
509
601
  }
510
602
  export declare class UserResourceClient<O> {
511
603
  protected httpClient: HttpClient<O>;
@@ -685,113 +777,41 @@ export declare class NotificationResourceClient<O> {
685
777
  targetId?: any;
686
778
  }, options?: O): RestResponse<void>;
687
779
  }
688
- export declare class AlarmResourceClient<O> {
689
- protected httpClient: HttpClient<O>;
690
- constructor(httpClient: HttpClient<O>);
691
- /**
692
- * HTTP POST /alarm
693
- * Java method: org.openremote.model.alarm.AlarmResource.createAlarm
694
- */
695
- createAlarm(alarm: Model.Alarm, queryParams?: {
696
- assetIds?: any[];
697
- }, options?: O): RestResponse<Model.SentAlarm>;
698
- /**
699
- * HTTP GET /alarm
700
- * Java method: org.openremote.model.alarm.AlarmResource.getAlarms
701
- */
702
- getAlarms(queryParams?: {
703
- realm?: any;
704
- status?: Model.AlarmStatus;
705
- assetId?: any;
706
- assigneeId?: any;
707
- }, options?: O): RestResponse<Model.SentAlarm[]>;
708
- /**
709
- * HTTP DELETE /alarm
710
- * Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
711
- */
712
- removeAlarms(ids: any[], options?: O): RestResponse<void>;
713
- /**
714
- * HTTP PUT /alarm/assets
715
- * Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
716
- */
717
- setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
718
- /**
719
- * HTTP GET /alarm/{alarmId}
720
- * Java method: org.openremote.model.alarm.AlarmResource.getAlarm
721
- */
722
- getAlarm(alarmId: any, options?: O): RestResponse<Model.SentAlarm>;
723
- /**
724
- * HTTP DELETE /alarm/{alarmId}
725
- * Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
726
- */
727
- removeAlarm(alarmId: any, options?: O): RestResponse<void>;
728
- /**
729
- * HTTP PUT /alarm/{alarmId}
730
- * Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
731
- */
732
- updateAlarm(alarmId: any, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
733
- /**
734
- * HTTP GET /alarm/{alarmId}/assets
735
- * Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
736
- */
737
- getAssetLinks(alarmId: any, queryParams?: {
738
- realm?: any;
739
- }, options?: O): RestResponse<Model.AlarmAssetLink[]>;
740
- }
741
- export declare class ConfigurationResourceClient<O> {
780
+ export declare class GatewayClientResourceClient<O> {
742
781
  protected httpClient: HttpClient<O>;
743
782
  constructor(httpClient: HttpClient<O>);
744
783
  /**
745
- * HTTP GET /configuration/manager
746
- * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
747
- */
748
- getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
749
- /**
750
- * HTTP PUT /configuration/manager
751
- * Java method: org.openremote.model.manager.ConfigurationResource.update
752
- */
753
- update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
754
- /**
755
- * HTTP POST /configuration/manager/file
756
- * Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
757
- */
758
- fileUpload(fileInfo: Model.FileInfo, queryParams?: {
759
- path?: any;
760
- }, options?: O): RestResponse<any>;
761
- /**
762
- * HTTP GET /configuration/manager/image/{filename: .+}
763
- * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
784
+ * HTTP DELETE /gateway/connection
785
+ * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
764
786
  */
765
- getManagerConfigImage(filename: any, options?: O): RestResponse<any>;
766
- }
767
- export declare class GatewayServiceResourceClient<O> {
768
- protected httpClient: HttpClient<O>;
769
- constructor(httpClient: HttpClient<O>);
787
+ deleteConnections(queryParams?: {
788
+ realm?: any[];
789
+ }, options?: O): RestResponse<void>;
770
790
  /**
771
- * HTTP POST /gateway/tunnel
772
- * Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
791
+ * HTTP GET /gateway/connection
792
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
773
793
  */
774
- startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
794
+ getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
775
795
  /**
776
- * HTTP DELETE /gateway/tunnel
777
- * Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
796
+ * HTTP DELETE /gateway/connection/{realm}
797
+ * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
778
798
  */
779
- stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
799
+ deleteConnection(realm: any, options?: O): RestResponse<void>;
780
800
  /**
781
- * HTTP GET /gateway/tunnel/{realm}
782
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
801
+ * HTTP GET /gateway/connection/{realm}
802
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
783
803
  */
784
- getAllActiveTunnelInfos(realm: any, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
804
+ getConnection(realm: any, options?: O): RestResponse<Model.GatewayConnection>;
785
805
  /**
786
- * HTTP GET /gateway/tunnel/{realm}/{id}
787
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
806
+ * HTTP PUT /gateway/connection/{realm}
807
+ * Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
788
808
  */
789
- getGatewayActiveTunnelInfos(realm: any, id: any, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
809
+ setConnection(realm: any, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
790
810
  /**
791
- * HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
792
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
811
+ * HTTP GET /gateway/status/{realm}
812
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
793
813
  */
794
- getActiveTunnelInfo(realm: any, id: any, target: any, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
814
+ getConnectionStatus(realm: any, options?: O): RestResponse<Model.ConnectionStatus>;
795
815
  }
796
816
  export declare class DashboardResourceClient<O> {
797
817
  protected httpClient: HttpClient<O>;
@@ -827,97 +847,77 @@ export declare class DashboardResourceClient<O> {
827
847
  */
828
848
  get(realm: any, dashboardId: any, options?: O): RestResponse<Model.Dashboard>;
829
849
  }
830
- export declare class SyslogResourceClient<O> {
850
+ export declare class ConfigurationResourceClient<O> {
831
851
  protected httpClient: HttpClient<O>;
832
852
  constructor(httpClient: HttpClient<O>);
833
853
  /**
834
- * HTTP GET /syslog/config
835
- * Java method: org.openremote.model.syslog.SyslogResource.getConfig
836
- */
837
- getConfig(options?: O): RestResponse<Model.SyslogConfig>;
838
- /**
839
- * HTTP PUT /syslog/config
840
- * Java method: org.openremote.model.syslog.SyslogResource.updateConfig
854
+ * HTTP GET /configuration/manager
855
+ * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
841
856
  */
842
- updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
857
+ getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
843
858
  /**
844
- * HTTP DELETE /syslog/event
845
- * Java method: org.openremote.model.syslog.SyslogResource.clearEvents
859
+ * HTTP PUT /configuration/manager
860
+ * Java method: org.openremote.model.manager.ConfigurationResource.update
846
861
  */
847
- clearEvents(options?: O): RestResponse<void>;
862
+ update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
848
863
  /**
849
- * HTTP GET /syslog/event
850
- * Java method: org.openremote.model.syslog.SyslogResource.getEvents
864
+ * HTTP POST /configuration/manager/file
865
+ * Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
851
866
  */
852
- getEvents(queryParams?: {
853
- level?: Model.SyslogLevel;
854
- per_page?: any;
855
- page?: any;
856
- from?: any;
857
- to?: any;
858
- category?: Model.SyslogCategory[];
859
- subCategory?: any[];
867
+ fileUpload(fileInfo: Model.FileInfo, queryParams?: {
868
+ path?: any;
860
869
  }, options?: O): RestResponse<any>;
861
- }
862
- export declare class AssetPredictedDatapointResourceClient<O> {
863
- protected httpClient: HttpClient<O>;
864
- constructor(httpClient: HttpClient<O>);
865
- /**
866
- * HTTP POST /asset/predicted/{assetId}/{attributeName}
867
- * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
868
- */
869
- getPredictedDatapoints(assetId: any, attributeName: any, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
870
870
  /**
871
- * HTTP PUT /asset/predicted/{assetId}/{attributeName}
872
- * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
871
+ * HTTP GET /configuration/manager/image/{filename: .+}
872
+ * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
873
873
  */
874
- writePredictedDatapoints(assetId: any, attributeName: any, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
874
+ getManagerConfigImage(filename: any, options?: O): RestResponse<any>;
875
875
  }
876
876
  export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
877
877
  export declare class ApiClient {
878
- protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
879
878
  protected _assetResource: AxiosAssetResourceClient;
880
- protected _realmResource: AxiosRealmResourceClient;
881
- protected _assetModelResource: AxiosAssetModelResourceClient;
882
- protected _flowResource: AxiosFlowResourceClient;
883
879
  protected _provisioningResource: AxiosProvisioningResourceClient;
884
- protected _consoleResource: AxiosConsoleResourceClient;
885
880
  protected _agentResource: AxiosAgentResourceClient;
886
- protected _appResource: AxiosAppResourceClient;
887
- protected _gatewayClientResource: AxiosGatewayClientResourceClient;
881
+ protected _consoleResource: AxiosConsoleResourceClient;
882
+ protected _alarmResource: AxiosAlarmResourceClient;
883
+ protected _statusResource: AxiosStatusResourceClient;
888
884
  protected _rulesResource: AxiosRulesResourceClient;
885
+ protected _flowResource: AxiosFlowResourceClient;
889
886
  protected _mapResource: AxiosMapResourceClient;
890
- protected _statusResource: AxiosStatusResourceClient;
887
+ protected _syslogResource: AxiosSyslogResourceClient;
888
+ protected _realmResource: AxiosRealmResourceClient;
889
+ protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
890
+ protected _appResource: AxiosAppResourceClient;
891
+ protected _assetModelResource: AxiosAssetModelResourceClient;
892
+ protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
893
+ protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
891
894
  protected _userResource: AxiosUserResourceClient;
892
895
  protected _notificationResource: AxiosNotificationResourceClient;
893
- protected _alarmResource: AxiosAlarmResourceClient;
894
- protected _configurationResource: AxiosConfigurationResourceClient;
895
- protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
896
+ protected _gatewayClientResource: AxiosGatewayClientResourceClient;
896
897
  protected _dashboardResource: AxiosDashboardResourceClient;
897
- protected _syslogResource: AxiosSyslogResourceClient;
898
- protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
898
+ protected _configurationResource: AxiosConfigurationResourceClient;
899
899
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
900
- get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
901
900
  get AssetResource(): AxiosAssetResourceClient;
902
- get RealmResource(): AxiosRealmResourceClient;
903
- get AssetModelResource(): AxiosAssetModelResourceClient;
904
- get FlowResource(): AxiosFlowResourceClient;
905
901
  get ProvisioningResource(): AxiosProvisioningResourceClient;
906
- get ConsoleResource(): AxiosConsoleResourceClient;
907
902
  get AgentResource(): AxiosAgentResourceClient;
908
- get AppResource(): AxiosAppResourceClient;
909
- get GatewayClientResource(): AxiosGatewayClientResourceClient;
903
+ get ConsoleResource(): AxiosConsoleResourceClient;
904
+ get AlarmResource(): AxiosAlarmResourceClient;
905
+ get StatusResource(): AxiosStatusResourceClient;
910
906
  get RulesResource(): AxiosRulesResourceClient;
907
+ get FlowResource(): AxiosFlowResourceClient;
911
908
  get MapResource(): AxiosMapResourceClient;
912
- get StatusResource(): AxiosStatusResourceClient;
909
+ get SyslogResource(): AxiosSyslogResourceClient;
910
+ get RealmResource(): AxiosRealmResourceClient;
911
+ get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
912
+ get AppResource(): AxiosAppResourceClient;
913
+ get AssetModelResource(): AxiosAssetModelResourceClient;
914
+ get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
915
+ get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
913
916
  get UserResource(): AxiosUserResourceClient;
914
917
  get NotificationResource(): AxiosNotificationResourceClient;
915
- get AlarmResource(): AxiosAlarmResourceClient;
916
- get ConfigurationResource(): AxiosConfigurationResourceClient;
917
- get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
918
+ get GatewayClientResource(): AxiosGatewayClientResourceClient;
918
919
  get DashboardResource(): AxiosDashboardResourceClient;
919
- get SyslogResource(): AxiosSyslogResourceClient;
920
- get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
920
+ get ConfigurationResource(): AxiosConfigurationResourceClient;
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 AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
928
+ export declare class AxiosAssetResourceClient extends AssetResourceClient<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 AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
932
932
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
933
933
  }
934
- export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
934
+ export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
935
935
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
936
936
  }
937
- export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
937
+ export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
938
938
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
939
939
  }
940
- export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
940
+ export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
941
941
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
942
942
  }
943
- export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
943
+ export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
944
944
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
945
945
  }
946
- export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
946
+ export declare class AxiosRulesResourceClient extends RulesResourceClient<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 AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
950
950
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
951
951
  }
952
- export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
952
+ export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
953
953
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
954
954
  }
955
- export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
955
+ export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
956
956
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
957
957
  }
958
- export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
958
+ export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
959
959
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
960
960
  }
961
- export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
961
+ export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
962
962
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
963
963
  }
964
- export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
964
+ export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
965
965
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
966
966
  }
967
- export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
967
+ export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
968
968
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
969
969
  }
970
- export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
970
+ export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
971
971
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
972
972
  }
973
- export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
973
+ export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
974
974
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
975
975
  }
976
- export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
976
+ export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
977
977
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
978
978
  }
979
- export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
979
+ export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
980
980
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
981
981
  }
982
- export declare class AxiosDashboardResourceClient extends DashboardResourceClient<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 AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
985
+ export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
986
986
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
987
987
  }
988
- export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
988
+ export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
989
989
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
990
990
  }