@openremote/rest 1.12.0-snapshot.20251118161313 → 1.12.0-snapshot.20251119090154

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,152 +9,23 @@ export interface HttpClient<O> {
9
9
  options?: O;
10
10
  }): RestResponse<R>;
11
11
  }
12
- export declare class SyslogResourceClient<O> {
13
- protected httpClient: HttpClient<O>;
14
- constructor(httpClient: HttpClient<O>);
15
- /**
16
- * HTTP GET /syslog/config
17
- * Java method: org.openremote.model.syslog.SyslogResource.getConfig
18
- */
19
- getConfig(options?: O): RestResponse<Model.SyslogConfig>;
20
- /**
21
- * HTTP PUT /syslog/config
22
- * Java method: org.openremote.model.syslog.SyslogResource.updateConfig
23
- */
24
- updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
25
- /**
26
- * HTTP DELETE /syslog/event
27
- * Java method: org.openremote.model.syslog.SyslogResource.clearEvents
28
- */
29
- clearEvents(options?: O): RestResponse<void>;
30
- /**
31
- * HTTP GET /syslog/event
32
- * Java method: org.openremote.model.syslog.SyslogResource.getEvents
33
- */
34
- getEvents(queryParams?: {
35
- level?: Model.SyslogLevel;
36
- per_page?: number;
37
- page?: number;
38
- from?: number;
39
- to?: number;
40
- category?: Model.SyslogCategory[];
41
- subCategory?: string[];
42
- }, options?: O): RestResponse<any>;
43
- }
44
- export declare class RealmResourceClient<O> {
45
- protected httpClient: HttpClient<O>;
46
- constructor(httpClient: HttpClient<O>);
47
- /**
48
- * HTTP POST /realm
49
- * Java method: org.openremote.model.security.RealmResource.create
50
- */
51
- create(realm: Model.Realm, options?: O): RestResponse<void>;
52
- /**
53
- * HTTP GET /realm
54
- * Java method: org.openremote.model.security.RealmResource.getAll
55
- */
56
- getAll(options?: O): RestResponse<Model.Realm[]>;
57
- /**
58
- * HTTP GET /realm/accessible
59
- * Java method: org.openremote.model.security.RealmResource.getAccessible
60
- */
61
- getAccessible(options?: O): RestResponse<Model.Realm[]>;
62
- /**
63
- * HTTP DELETE /realm/{name}
64
- * Java method: org.openremote.model.security.RealmResource.delete
65
- */
66
- delete(name: string, options?: O): RestResponse<void>;
67
- /**
68
- * HTTP GET /realm/{name}
69
- * Java method: org.openremote.model.security.RealmResource.get
70
- */
71
- get(name: string, options?: O): RestResponse<Model.Realm>;
72
- /**
73
- * HTTP PUT /realm/{name}
74
- * Java method: org.openremote.model.security.RealmResource.update
75
- */
76
- update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
77
- }
78
- export declare class GatewayClientResourceClient<O> {
79
- protected httpClient: HttpClient<O>;
80
- constructor(httpClient: HttpClient<O>);
81
- /**
82
- * HTTP DELETE /gateway/connection
83
- * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
84
- */
85
- deleteConnections(queryParams?: {
86
- realm?: string[];
87
- }, options?: O): RestResponse<void>;
88
- /**
89
- * HTTP GET /gateway/connection
90
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
91
- */
92
- getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
93
- /**
94
- * HTTP DELETE /gateway/connection/{realm}
95
- * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
96
- */
97
- deleteConnection(realm: string, options?: O): RestResponse<void>;
98
- /**
99
- * HTTP GET /gateway/connection/{realm}
100
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
101
- */
102
- getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
103
- /**
104
- * HTTP PUT /gateway/connection/{realm}
105
- * Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
106
- */
107
- setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
108
- /**
109
- * HTTP GET /gateway/status/{realm}
110
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
111
- */
112
- getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
113
- }
114
- export declare class AppResourceClient<O> {
115
- protected httpClient: HttpClient<O>;
116
- constructor(httpClient: HttpClient<O>);
117
- /**
118
- * HTTP GET /apps
119
- * Java method: org.openremote.model.apps.AppResource.getApps
120
- */
121
- getApps(options?: O): RestResponse<string[]>;
122
- /**
123
- * HTTP GET /apps/consoleConfig
124
- * Java method: org.openremote.model.apps.AppResource.getConsoleConfig
125
- */
126
- getConsoleConfig(options?: O): RestResponse<any>;
127
- /**
128
- * HTTP GET /apps/info
129
- * Java method: org.openremote.model.apps.AppResource.getAppInfos
130
- */
131
- getAppInfos(options?: O): RestResponse<any>;
132
- }
133
- export declare class AgentResourceClient<O> {
12
+ export declare class StatusResourceClient<O> {
134
13
  protected httpClient: HttpClient<O>;
135
14
  constructor(httpClient: HttpClient<O>);
136
15
  /**
137
- * HTTP GET /agent/assetDiscovery/{agentId}
138
- * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
139
- */
140
- doProtocolAssetDiscovery(agentId: string, queryParams?: {
141
- realm?: string;
142
- }, options?: O): RestResponse<Model.AssetTreeNode[]>;
143
- /**
144
- * HTTP POST /agent/assetImport/{agentId}
145
- * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
16
+ * HTTP GET /health
17
+ * Java method: org.openremote.model.system.StatusResource.getHealthStatus
146
18
  */
147
- doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
148
- realm?: string;
149
- }, options?: O): RestResponse<Model.AssetTreeNode[]>;
19
+ getHealthStatus(options?: O): RestResponse<{
20
+ [index: string]: any;
21
+ }>;
150
22
  /**
151
- * HTTP GET /agent/instanceDiscovery/{agentType}
152
- * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
23
+ * HTTP GET /info
24
+ * Java method: org.openremote.model.system.StatusResource.getInfo
153
25
  */
154
- doProtocolInstanceDiscovery(agentType: string, queryParams?: {
155
- parentId?: string;
156
- realm?: string;
157
- }, options?: O): RestResponse<Model.Agent[]>;
26
+ getInfo(options?: O): RestResponse<{
27
+ [index: string]: any;
28
+ }>;
158
29
  }
159
30
  export declare class RulesResourceClient<O> {
160
31
  protected httpClient: HttpClient<O>;
@@ -264,88 +135,6 @@ export declare class RulesResourceClient<O> {
264
135
  */
265
136
  updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
266
137
  }
267
- export declare class GatewayServiceResourceClient<O> {
268
- protected httpClient: HttpClient<O>;
269
- constructor(httpClient: HttpClient<O>);
270
- /**
271
- * HTTP POST /gateway/tunnel
272
- * Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
273
- */
274
- startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
275
- /**
276
- * HTTP DELETE /gateway/tunnel
277
- * Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
278
- */
279
- stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
280
- /**
281
- * HTTP GET /gateway/tunnel/{realm}
282
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
283
- */
284
- getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
285
- /**
286
- * HTTP GET /gateway/tunnel/{realm}/{id}
287
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
288
- */
289
- getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
290
- /**
291
- * HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
292
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
293
- */
294
- getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
295
- }
296
- export declare class AssetModelResourceClient<O> {
297
- protected httpClient: HttpClient<O>;
298
- constructor(httpClient: HttpClient<O>);
299
- /**
300
- * HTTP GET /model/assetDescriptors
301
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
302
- */
303
- getAssetDescriptors(queryParams?: {
304
- parentId?: string;
305
- parentType?: string;
306
- }, options?: O): RestResponse<Model.AssetDescriptor[]>;
307
- /**
308
- * HTTP GET /model/assetInfo/{assetType}
309
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
310
- */
311
- getAssetInfo(assetType: string, queryParams?: {
312
- parentId?: string;
313
- }, options?: O): RestResponse<Model.AssetTypeInfo>;
314
- /**
315
- * HTTP GET /model/assetInfos
316
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
317
- */
318
- getAssetInfos(queryParams?: {
319
- parentId?: string;
320
- parentType?: string;
321
- }, options?: O): RestResponse<Model.AssetTypeInfo[]>;
322
- /**
323
- * HTTP GET /model/getValueDescriptorSchema
324
- * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptorSchema
325
- */
326
- getValueDescriptorSchema(queryParams?: {
327
- name?: string;
328
- hash?: string;
329
- }, options?: O): RestResponse<any>;
330
- /**
331
- * HTTP GET /model/metaItemDescriptors
332
- * Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
333
- */
334
- getMetaItemDescriptors(queryParams?: {
335
- parentId?: string;
336
- }, options?: O): RestResponse<{
337
- [index: string]: Model.MetaItemDescriptor;
338
- }>;
339
- /**
340
- * HTTP GET /model/valueDescriptors
341
- * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
342
- */
343
- getValueDescriptors(queryParams?: {
344
- parentId?: string;
345
- }, options?: O): RestResponse<{
346
- [index: string]: Model.ValueDescriptor;
347
- }>;
348
- }
349
138
  export declare class NotificationResourceClient<O> {
350
139
  protected httpClient: HttpClient<O>;
351
140
  constructor(httpClient: HttpClient<O>);
@@ -400,60 +189,158 @@ export declare class NotificationResourceClient<O> {
400
189
  targetId?: string;
401
190
  }, options?: O): RestResponse<void>;
402
191
  }
403
- export declare class ExternalServiceResourceClient<O> {
192
+ export declare class ConfigurationResourceClient<O> {
404
193
  protected httpClient: HttpClient<O>;
405
194
  constructor(httpClient: HttpClient<O>);
406
195
  /**
407
- * Response code 200 - List of registered external services
408
- * HTTP GET /service
409
- * Java method: org.openremote.model.services.ExternalServiceResource.getServices
196
+ * HTTP GET /configuration/manager
197
+ * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
410
198
  */
411
- getServices(queryParams?: {
412
- realm?: string;
413
- }, options?: O): RestResponse<Model.ExternalService[]>;
199
+ getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
414
200
  /**
415
- * Response code 200 - Service registered successfully
416
- * Response code 400 - Invalid external service object
417
- * Response code 409 - ExternalService instance already registered
418
- * HTTP POST /service
419
- * Java method: org.openremote.model.services.ExternalServiceResource.registerService
201
+ * HTTP PUT /configuration/manager
202
+ * Java method: org.openremote.model.manager.ConfigurationResource.update
420
203
  */
421
- registerService(service: Model.ExternalService, options?: O): RestResponse<Model.ExternalService>;
204
+ update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
422
205
  /**
423
- * Response code 200 - List of registered external services
424
- * HTTP GET /service/global
425
- * Java method: org.openremote.model.services.ExternalServiceResource.getGlobalServices
206
+ * HTTP POST /configuration/manager/file
207
+ * Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
426
208
  */
427
- getGlobalServices(options?: O): RestResponse<Model.ExternalService[]>;
209
+ fileUpload(fileInfo: Model.FileInfo, queryParams?: {
210
+ path?: string;
211
+ }, options?: O): RestResponse<string>;
428
212
  /**
429
- * Response code 200 - Service registered successfully
430
- * Response code 400 - Invalid external service object
431
- * Response code 409 - ExternalService instance already registered
432
- * HTTP POST /service/global
433
- * Java method: org.openremote.model.services.ExternalServiceResource.registerGlobalService
213
+ * HTTP GET /configuration/manager/image/{filename: .+}
214
+ * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
434
215
  */
435
- registerGlobalService(service: Model.ExternalService, options?: O): RestResponse<Model.ExternalService>;
216
+ getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
217
+ }
218
+ export declare class AgentResourceClient<O> {
219
+ protected httpClient: HttpClient<O>;
220
+ constructor(httpClient: HttpClient<O>);
436
221
  /**
437
- * Response code 204 - Service deregistered successfully
438
- * Response code 404 - Service instance not found
439
- * HTTP DELETE /service/{serviceId}/{instanceId}
440
- * Java method: org.openremote.model.services.ExternalServiceResource.deregisterService
222
+ * HTTP GET /agent/assetDiscovery/{agentId}
223
+ * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
441
224
  */
442
- deregisterService(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
225
+ doProtocolAssetDiscovery(agentId: string, queryParams?: {
226
+ realm?: string;
227
+ }, options?: O): RestResponse<Model.AssetTreeNode[]>;
443
228
  /**
444
- * Response code 200 - ExternalService retrieved successfully
445
- * Response code 404 - ExternalService not found
446
- * HTTP GET /service/{serviceId}/{instanceId}
447
- * Java method: org.openremote.model.services.ExternalServiceResource.getService
229
+ * HTTP POST /agent/assetImport/{agentId}
230
+ * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
448
231
  */
449
- getService(serviceId: string, instanceId: number, options?: O): RestResponse<Model.ExternalService>;
232
+ doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
233
+ realm?: string;
234
+ }, options?: O): RestResponse<Model.AssetTreeNode[]>;
450
235
  /**
451
- * Response code 204 - Heartbeat sent successfully
452
- * Response code 404 - Service instance not found
453
- * HTTP PUT /service/{serviceId}/{instanceId}
454
- * Java method: org.openremote.model.services.ExternalServiceResource.heartbeat
236
+ * HTTP GET /agent/instanceDiscovery/{agentType}
237
+ * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
455
238
  */
456
- heartbeat(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
239
+ doProtocolInstanceDiscovery(agentType: string, queryParams?: {
240
+ parentId?: string;
241
+ realm?: string;
242
+ }, options?: O): RestResponse<Model.Agent[]>;
243
+ }
244
+ export declare class AssetPredictedDatapointResourceClient<O> {
245
+ protected httpClient: HttpClient<O>;
246
+ constructor(httpClient: HttpClient<O>);
247
+ /**
248
+ * HTTP POST /asset/predicted/{assetId}/{attributeName}
249
+ * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
250
+ */
251
+ getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
252
+ /**
253
+ * HTTP PUT /asset/predicted/{assetId}/{attributeName}
254
+ * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
255
+ */
256
+ writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
257
+ }
258
+ export declare class RealmResourceClient<O> {
259
+ protected httpClient: HttpClient<O>;
260
+ constructor(httpClient: HttpClient<O>);
261
+ /**
262
+ * HTTP POST /realm
263
+ * Java method: org.openremote.model.security.RealmResource.create
264
+ */
265
+ create(realm: Model.Realm, options?: O): RestResponse<void>;
266
+ /**
267
+ * HTTP GET /realm
268
+ * Java method: org.openremote.model.security.RealmResource.getAll
269
+ */
270
+ getAll(options?: O): RestResponse<Model.Realm[]>;
271
+ /**
272
+ * HTTP GET /realm/accessible
273
+ * Java method: org.openremote.model.security.RealmResource.getAccessible
274
+ */
275
+ getAccessible(options?: O): RestResponse<Model.Realm[]>;
276
+ /**
277
+ * HTTP DELETE /realm/{name}
278
+ * Java method: org.openremote.model.security.RealmResource.delete
279
+ */
280
+ delete(name: string, options?: O): RestResponse<void>;
281
+ /**
282
+ * HTTP GET /realm/{name}
283
+ * Java method: org.openremote.model.security.RealmResource.get
284
+ */
285
+ get(name: string, options?: O): RestResponse<Model.Realm>;
286
+ /**
287
+ * HTTP PUT /realm/{name}
288
+ * Java method: org.openremote.model.security.RealmResource.update
289
+ */
290
+ update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
291
+ }
292
+ export declare class AlarmResourceClient<O> {
293
+ protected httpClient: HttpClient<O>;
294
+ constructor(httpClient: HttpClient<O>);
295
+ /**
296
+ * HTTP POST /alarm
297
+ * Java method: org.openremote.model.alarm.AlarmResource.createAlarm
298
+ */
299
+ createAlarm(alarm: Model.Alarm, queryParams?: {
300
+ assetIds?: string[];
301
+ }, options?: O): RestResponse<Model.SentAlarm>;
302
+ /**
303
+ * HTTP GET /alarm
304
+ * Java method: org.openremote.model.alarm.AlarmResource.getAlarms
305
+ */
306
+ getAlarms(queryParams?: {
307
+ realm?: string;
308
+ status?: Model.AlarmStatus;
309
+ assetId?: string;
310
+ assigneeId?: string;
311
+ }, options?: O): RestResponse<Model.SentAlarm[]>;
312
+ /**
313
+ * HTTP DELETE /alarm
314
+ * Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
315
+ */
316
+ removeAlarms(ids: number[], options?: O): RestResponse<void>;
317
+ /**
318
+ * HTTP PUT /alarm/assets
319
+ * Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
320
+ */
321
+ setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
322
+ /**
323
+ * HTTP GET /alarm/{alarmId}
324
+ * Java method: org.openremote.model.alarm.AlarmResource.getAlarm
325
+ */
326
+ getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
327
+ /**
328
+ * HTTP DELETE /alarm/{alarmId}
329
+ * Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
330
+ */
331
+ removeAlarm(alarmId: number, options?: O): RestResponse<void>;
332
+ /**
333
+ * HTTP PUT /alarm/{alarmId}
334
+ * Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
335
+ */
336
+ updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
337
+ /**
338
+ * HTTP GET /alarm/{alarmId}/assets
339
+ * Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
340
+ */
341
+ getAssetLinks(alarmId: number, queryParams?: {
342
+ realm?: string;
343
+ }, options?: O): RestResponse<Model.AlarmAssetLink[]>;
457
344
  }
458
345
  export declare class AssetResourceClient<O> {
459
346
  protected httpClient: HttpClient<O>;
@@ -573,90 +460,242 @@ export declare class ConsoleResourceClient<O> {
573
460
  */
574
461
  register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
575
462
  }
576
- export declare class AlarmResourceClient<O> {
463
+ export declare class ProvisioningResourceClient<O> {
577
464
  protected httpClient: HttpClient<O>;
578
465
  constructor(httpClient: HttpClient<O>);
579
466
  /**
580
- * HTTP POST /alarm
581
- * Java method: org.openremote.model.alarm.AlarmResource.createAlarm
582
- */
583
- createAlarm(alarm: Model.Alarm, queryParams?: {
584
- assetIds?: string[];
585
- }, options?: O): RestResponse<Model.SentAlarm>;
586
- /**
587
- * HTTP GET /alarm
588
- * Java method: org.openremote.model.alarm.AlarmResource.getAlarms
467
+ * HTTP POST /provisioning
468
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
589
469
  */
590
- getAlarms(queryParams?: {
591
- realm?: string;
592
- status?: Model.AlarmStatus;
593
- assetId?: string;
594
- assigneeId?: string;
595
- }, options?: O): RestResponse<Model.SentAlarm[]>;
470
+ createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
596
471
  /**
597
- * HTTP DELETE /alarm
598
- * Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
472
+ * HTTP GET /provisioning
473
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
599
474
  */
600
- removeAlarms(ids: number[], options?: O): RestResponse<void>;
475
+ getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
601
476
  /**
602
- * HTTP PUT /alarm/assets
603
- * Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
477
+ * HTTP DELETE /provisioning/{id}
478
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
604
479
  */
605
- setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
480
+ deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
606
481
  /**
607
- * HTTP GET /alarm/{alarmId}
608
- * Java method: org.openremote.model.alarm.AlarmResource.getAlarm
482
+ * HTTP PUT /provisioning/{id}
483
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
609
484
  */
610
- getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
485
+ updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
486
+ }
487
+ export declare class AssetDatapointResourceClient<O> {
488
+ protected httpClient: HttpClient<O>;
489
+ constructor(httpClient: HttpClient<O>);
611
490
  /**
612
- * HTTP DELETE /alarm/{alarmId}
613
- * Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
491
+ * HTTP GET /asset/datapoint/export
492
+ * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
614
493
  */
615
- removeAlarm(alarmId: number, options?: O): RestResponse<void>;
494
+ getDatapointExport(queryParams?: {
495
+ attributeRefs?: string;
496
+ fromTimestamp?: number;
497
+ toTimestamp?: number;
498
+ }, options?: O): RestResponse<any>;
616
499
  /**
617
- * HTTP PUT /alarm/{alarmId}
618
- * Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
500
+ * HTTP GET /asset/datapoint/periods
501
+ * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
619
502
  */
620
- updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
503
+ getDatapointPeriod(queryParams?: {
504
+ assetId?: string;
505
+ attributeName?: string;
506
+ }, options?: O): RestResponse<Model.DatapointPeriod>;
621
507
  /**
622
- * HTTP GET /alarm/{alarmId}/assets
623
- * Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
508
+ * HTTP POST /asset/datapoint/{assetId}/{attributeName}
509
+ * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
624
510
  */
625
- getAssetLinks(alarmId: number, queryParams?: {
626
- realm?: string;
627
- }, options?: O): RestResponse<Model.AlarmAssetLink[]>;
511
+ getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
628
512
  }
629
- export declare class MapResourceClient<O> {
513
+ export declare class GatewayClientResourceClient<O> {
630
514
  protected httpClient: HttpClient<O>;
631
515
  constructor(httpClient: HttpClient<O>);
632
516
  /**
633
- * HTTP GET /map
634
- * Java method: org.openremote.model.map.MapResource.getSettings
517
+ * HTTP DELETE /gateway/connection
518
+ * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
635
519
  */
636
- getSettings(options?: O): RestResponse<{
637
- [id: string]: unknown;
638
- }>;
520
+ deleteConnections(queryParams?: {
521
+ realm?: string[];
522
+ }, options?: O): RestResponse<void>;
639
523
  /**
640
- * HTTP PUT /map
641
- * Java method: org.openremote.model.map.MapResource.saveSettings
524
+ * HTTP GET /gateway/connection
525
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
642
526
  */
643
- saveSettings(mapConfig: Model.MapConfig, options?: O): RestResponse<{
644
- [id: string]: unknown;
645
- }>;
527
+ getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
646
528
  /**
647
- * HTTP DELETE /map/deleteMap
648
- * Java method: org.openremote.model.map.MapResource.deleteMap
529
+ * HTTP DELETE /gateway/connection/{realm}
530
+ * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
649
531
  */
650
- deleteMap(options?: O): RestResponse<{
651
- [id: string]: unknown;
652
- }>;
532
+ deleteConnection(realm: string, options?: O): RestResponse<void>;
653
533
  /**
654
- * HTTP GET /map/getCustomMapInfo
655
- * Java method: org.openremote.model.map.MapResource.getCustomMapInfo
534
+ * HTTP GET /gateway/connection/{realm}
535
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
656
536
  */
657
- getCustomMapInfo(options?: O): RestResponse<{
658
- [id: string]: unknown;
659
- }>;
537
+ getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
538
+ /**
539
+ * HTTP PUT /gateway/connection/{realm}
540
+ * Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
541
+ */
542
+ setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
543
+ /**
544
+ * HTTP GET /gateway/status/{realm}
545
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
546
+ */
547
+ getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
548
+ }
549
+ export declare class SyslogResourceClient<O> {
550
+ protected httpClient: HttpClient<O>;
551
+ constructor(httpClient: HttpClient<O>);
552
+ /**
553
+ * HTTP GET /syslog/config
554
+ * Java method: org.openremote.model.syslog.SyslogResource.getConfig
555
+ */
556
+ getConfig(options?: O): RestResponse<Model.SyslogConfig>;
557
+ /**
558
+ * HTTP PUT /syslog/config
559
+ * Java method: org.openremote.model.syslog.SyslogResource.updateConfig
560
+ */
561
+ updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
562
+ /**
563
+ * HTTP DELETE /syslog/event
564
+ * Java method: org.openremote.model.syslog.SyslogResource.clearEvents
565
+ */
566
+ clearEvents(options?: O): RestResponse<void>;
567
+ /**
568
+ * HTTP GET /syslog/event
569
+ * Java method: org.openremote.model.syslog.SyslogResource.getEvents
570
+ */
571
+ getEvents(queryParams?: {
572
+ level?: Model.SyslogLevel;
573
+ per_page?: number;
574
+ page?: number;
575
+ from?: number;
576
+ to?: number;
577
+ category?: Model.SyslogCategory[];
578
+ subCategory?: string[];
579
+ }, options?: O): RestResponse<any>;
580
+ }
581
+ export declare class AssetModelResourceClient<O> {
582
+ protected httpClient: HttpClient<O>;
583
+ constructor(httpClient: HttpClient<O>);
584
+ /**
585
+ * HTTP GET /model/assetDescriptors
586
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
587
+ */
588
+ getAssetDescriptors(queryParams?: {
589
+ parentId?: string;
590
+ parentType?: string;
591
+ }, options?: O): RestResponse<Model.AssetDescriptor[]>;
592
+ /**
593
+ * HTTP GET /model/assetInfo/{assetType}
594
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
595
+ */
596
+ getAssetInfo(assetType: string, queryParams?: {
597
+ parentId?: string;
598
+ }, options?: O): RestResponse<Model.AssetTypeInfo>;
599
+ /**
600
+ * HTTP GET /model/assetInfos
601
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
602
+ */
603
+ getAssetInfos(queryParams?: {
604
+ parentId?: string;
605
+ parentType?: string;
606
+ }, options?: O): RestResponse<Model.AssetTypeInfo[]>;
607
+ /**
608
+ * HTTP GET /model/getValueDescriptorSchema
609
+ * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptorSchema
610
+ */
611
+ getValueDescriptorSchema(queryParams?: {
612
+ name?: string;
613
+ hash?: string;
614
+ }, options?: O): RestResponse<any>;
615
+ /**
616
+ * HTTP GET /model/metaItemDescriptors
617
+ * Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
618
+ */
619
+ getMetaItemDescriptors(queryParams?: {
620
+ parentId?: string;
621
+ }, options?: O): RestResponse<{
622
+ [index: string]: Model.MetaItemDescriptor;
623
+ }>;
624
+ /**
625
+ * HTTP GET /model/valueDescriptors
626
+ * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
627
+ */
628
+ getValueDescriptors(queryParams?: {
629
+ parentId?: string;
630
+ }, options?: O): RestResponse<{
631
+ [index: string]: Model.ValueDescriptor;
632
+ }>;
633
+ }
634
+ export declare class DashboardResourceClient<O> {
635
+ protected httpClient: HttpClient<O>;
636
+ constructor(httpClient: HttpClient<O>);
637
+ /**
638
+ * HTTP POST /dashboard
639
+ * Java method: org.openremote.model.dashboard.DashboardResource.create
640
+ */
641
+ create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
642
+ /**
643
+ * HTTP PUT /dashboard
644
+ * Java method: org.openremote.model.dashboard.DashboardResource.update
645
+ */
646
+ update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
647
+ /**
648
+ * HTTP GET /dashboard/all/{realm}
649
+ * Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
650
+ */
651
+ getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
652
+ /**
653
+ * HTTP POST /dashboard/query
654
+ * Java method: org.openremote.model.dashboard.DashboardResource.query
655
+ */
656
+ query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
657
+ /**
658
+ * HTTP DELETE /dashboard/{realm}/{dashboardId}
659
+ * Java method: org.openremote.model.dashboard.DashboardResource.delete
660
+ */
661
+ delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
662
+ /**
663
+ * HTTP GET /dashboard/{realm}/{dashboardId}
664
+ * Java method: org.openremote.model.dashboard.DashboardResource.get
665
+ */
666
+ get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
667
+ }
668
+ export declare class MapResourceClient<O> {
669
+ protected httpClient: HttpClient<O>;
670
+ constructor(httpClient: HttpClient<O>);
671
+ /**
672
+ * HTTP GET /map
673
+ * Java method: org.openremote.model.map.MapResource.getSettings
674
+ */
675
+ getSettings(options?: O): RestResponse<{
676
+ [id: string]: unknown;
677
+ }>;
678
+ /**
679
+ * HTTP PUT /map
680
+ * Java method: org.openremote.model.map.MapResource.saveSettings
681
+ */
682
+ saveSettings(mapConfig: Model.MapConfig, options?: O): RestResponse<{
683
+ [id: string]: unknown;
684
+ }>;
685
+ /**
686
+ * HTTP DELETE /map/deleteMap
687
+ * Java method: org.openremote.model.map.MapResource.deleteMap
688
+ */
689
+ deleteMap(options?: O): RestResponse<{
690
+ [id: string]: unknown;
691
+ }>;
692
+ /**
693
+ * HTTP GET /map/getCustomMapInfo
694
+ * Java method: org.openremote.model.map.MapResource.getCustomMapInfo
695
+ */
696
+ getCustomMapInfo(options?: O): RestResponse<{
697
+ [id: string]: unknown;
698
+ }>;
660
699
  /**
661
700
  * HTTP GET /map/js
662
701
  * Java method: org.openremote.model.map.MapResource.getSettingsJs
@@ -679,6 +718,54 @@ export declare class MapResourceClient<O> {
679
718
  [id: string]: unknown;
680
719
  }>;
681
720
  }
721
+ export declare class GatewayServiceResourceClient<O> {
722
+ protected httpClient: HttpClient<O>;
723
+ constructor(httpClient: HttpClient<O>);
724
+ /**
725
+ * HTTP POST /gateway/tunnel
726
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
727
+ */
728
+ startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
729
+ /**
730
+ * HTTP DELETE /gateway/tunnel
731
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
732
+ */
733
+ stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
734
+ /**
735
+ * HTTP GET /gateway/tunnel/{realm}
736
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
737
+ */
738
+ getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
739
+ /**
740
+ * HTTP GET /gateway/tunnel/{realm}/{id}
741
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
742
+ */
743
+ getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
744
+ /**
745
+ * HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
746
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
747
+ */
748
+ getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
749
+ }
750
+ export declare class AppResourceClient<O> {
751
+ protected httpClient: HttpClient<O>;
752
+ constructor(httpClient: HttpClient<O>);
753
+ /**
754
+ * HTTP GET /apps
755
+ * Java method: org.openremote.model.apps.AppResource.getApps
756
+ */
757
+ getApps(options?: O): RestResponse<string[]>;
758
+ /**
759
+ * HTTP GET /apps/consoleConfig
760
+ * Java method: org.openremote.model.apps.AppResource.getConsoleConfig
761
+ */
762
+ getConsoleConfig(options?: O): RestResponse<any>;
763
+ /**
764
+ * HTTP GET /apps/info
765
+ * Java method: org.openremote.model.apps.AppResource.getAppInfos
766
+ */
767
+ getAppInfos(options?: O): RestResponse<any>;
768
+ }
682
769
  export declare class UserResourceClient<O> {
683
770
  protected httpClient: HttpClient<O>;
684
771
  constructor(httpClient: HttpClient<O>);
@@ -822,195 +909,108 @@ export declare class FlowResourceClient<O> {
822
909
  */
823
910
  getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
824
911
  }
825
- export declare class ConfigurationResourceClient<O> {
826
- protected httpClient: HttpClient<O>;
827
- constructor(httpClient: HttpClient<O>);
828
- /**
829
- * HTTP GET /configuration/manager
830
- * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
831
- */
832
- getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
833
- /**
834
- * HTTP PUT /configuration/manager
835
- * Java method: org.openremote.model.manager.ConfigurationResource.update
836
- */
837
- update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
838
- /**
839
- * HTTP POST /configuration/manager/file
840
- * Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
841
- */
842
- fileUpload(fileInfo: Model.FileInfo, queryParams?: {
843
- path?: string;
844
- }, options?: O): RestResponse<string>;
845
- /**
846
- * HTTP GET /configuration/manager/image/{filename: .+}
847
- * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
848
- */
849
- getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
850
- }
851
- export declare class ProvisioningResourceClient<O> {
852
- protected httpClient: HttpClient<O>;
853
- constructor(httpClient: HttpClient<O>);
854
- /**
855
- * HTTP POST /provisioning
856
- * Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
857
- */
858
- createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
859
- /**
860
- * HTTP GET /provisioning
861
- * Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
862
- */
863
- getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
864
- /**
865
- * HTTP DELETE /provisioning/{id}
866
- * Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
867
- */
868
- deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
869
- /**
870
- * HTTP PUT /provisioning/{id}
871
- * Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
872
- */
873
- updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
874
- }
875
- export declare class DashboardResourceClient<O> {
876
- protected httpClient: HttpClient<O>;
877
- constructor(httpClient: HttpClient<O>);
878
- /**
879
- * HTTP POST /dashboard
880
- * Java method: org.openremote.model.dashboard.DashboardResource.create
881
- */
882
- create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
883
- /**
884
- * HTTP PUT /dashboard
885
- * Java method: org.openremote.model.dashboard.DashboardResource.update
886
- */
887
- update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
888
- /**
889
- * HTTP GET /dashboard/all/{realm}
890
- * Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
891
- */
892
- getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
893
- /**
894
- * HTTP POST /dashboard/query
895
- * Java method: org.openremote.model.dashboard.DashboardResource.query
896
- */
897
- query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
898
- /**
899
- * HTTP DELETE /dashboard/{realm}/{dashboardId}
900
- * Java method: org.openremote.model.dashboard.DashboardResource.delete
901
- */
902
- delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
903
- /**
904
- * HTTP GET /dashboard/{realm}/{dashboardId}
905
- * Java method: org.openremote.model.dashboard.DashboardResource.get
906
- */
907
- get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
908
- }
909
- export declare class StatusResourceClient<O> {
912
+ export declare class ExternalServiceResourceClient<O> {
910
913
  protected httpClient: HttpClient<O>;
911
914
  constructor(httpClient: HttpClient<O>);
912
915
  /**
913
- * HTTP GET /health
914
- * Java method: org.openremote.model.system.StatusResource.getHealthStatus
916
+ * Response code 200 - List of registered external services
917
+ * HTTP GET /service
918
+ * Java method: org.openremote.model.services.ExternalServiceResource.getServices
915
919
  */
916
- getHealthStatus(options?: O): RestResponse<{
917
- [index: string]: any;
918
- }>;
920
+ getServices(queryParams?: {
921
+ realm?: string;
922
+ }, options?: O): RestResponse<Model.ExternalService[]>;
919
923
  /**
920
- * HTTP GET /info
921
- * Java method: org.openremote.model.system.StatusResource.getInfo
924
+ * Response code 200 - Service registered successfully
925
+ * Response code 400 - Invalid external service object
926
+ * Response code 409 - ExternalService instance already registered
927
+ * HTTP POST /service
928
+ * Java method: org.openremote.model.services.ExternalServiceResource.registerService
922
929
  */
923
- getInfo(options?: O): RestResponse<{
924
- [index: string]: any;
925
- }>;
926
- }
927
- export declare class AssetPredictedDatapointResourceClient<O> {
928
- protected httpClient: HttpClient<O>;
929
- constructor(httpClient: HttpClient<O>);
930
+ registerService(service: Model.ExternalService, options?: O): RestResponse<Model.ExternalService>;
930
931
  /**
931
- * HTTP POST /asset/predicted/{assetId}/{attributeName}
932
- * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
932
+ * Response code 200 - List of registered external services
933
+ * HTTP GET /service/global
934
+ * Java method: org.openremote.model.services.ExternalServiceResource.getGlobalServices
933
935
  */
934
- getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
936
+ getGlobalServices(options?: O): RestResponse<Model.ExternalService[]>;
935
937
  /**
936
- * HTTP PUT /asset/predicted/{assetId}/{attributeName}
937
- * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
938
+ * Response code 200 - Service registered successfully
939
+ * Response code 400 - Invalid external service object
940
+ * Response code 409 - ExternalService instance already registered
941
+ * HTTP POST /service/global
942
+ * Java method: org.openremote.model.services.ExternalServiceResource.registerGlobalService
938
943
  */
939
- writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
940
- }
941
- export declare class AssetDatapointResourceClient<O> {
942
- protected httpClient: HttpClient<O>;
943
- constructor(httpClient: HttpClient<O>);
944
+ registerGlobalService(service: Model.ExternalService, options?: O): RestResponse<Model.ExternalService>;
944
945
  /**
945
- * HTTP GET /asset/datapoint/export
946
- * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
946
+ * Response code 204 - Service deregistered successfully
947
+ * Response code 404 - Service instance not found
948
+ * HTTP DELETE /service/{serviceId}/{instanceId}
949
+ * Java method: org.openremote.model.services.ExternalServiceResource.deregisterService
947
950
  */
948
- getDatapointExport(queryParams?: {
949
- attributeRefs?: string;
950
- fromTimestamp?: number;
951
- toTimestamp?: number;
952
- }, options?: O): RestResponse<any>;
951
+ deregisterService(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
953
952
  /**
954
- * HTTP GET /asset/datapoint/periods
955
- * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
953
+ * Response code 200 - ExternalService retrieved successfully
954
+ * Response code 404 - ExternalService not found
955
+ * HTTP GET /service/{serviceId}/{instanceId}
956
+ * Java method: org.openremote.model.services.ExternalServiceResource.getService
956
957
  */
957
- getDatapointPeriod(queryParams?: {
958
- assetId?: string;
959
- attributeName?: string;
960
- }, options?: O): RestResponse<Model.DatapointPeriod>;
958
+ getService(serviceId: string, instanceId: number, options?: O): RestResponse<Model.ExternalService>;
961
959
  /**
962
- * HTTP POST /asset/datapoint/{assetId}/{attributeName}
963
- * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
960
+ * Response code 204 - Heartbeat sent successfully
961
+ * Response code 404 - Service instance not found
962
+ * HTTP PUT /service/{serviceId}/{instanceId}
963
+ * Java method: org.openremote.model.services.ExternalServiceResource.heartbeat
964
964
  */
965
- getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
965
+ heartbeat(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
966
966
  }
967
967
  export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
968
968
  export declare class ApiClient {
969
- protected _syslogResource: AxiosSyslogResourceClient;
970
- protected _realmResource: AxiosRealmResourceClient;
971
- protected _gatewayClientResource: AxiosGatewayClientResourceClient;
972
- protected _appResource: AxiosAppResourceClient;
973
- protected _agentResource: AxiosAgentResourceClient;
969
+ protected _statusResource: AxiosStatusResourceClient;
974
970
  protected _rulesResource: AxiosRulesResourceClient;
975
- protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
976
- protected _assetModelResource: AxiosAssetModelResourceClient;
977
971
  protected _notificationResource: AxiosNotificationResourceClient;
978
- protected _externalServiceResource: AxiosExternalServiceResourceClient;
972
+ protected _configurationResource: AxiosConfigurationResourceClient;
973
+ protected _agentResource: AxiosAgentResourceClient;
974
+ protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
975
+ protected _realmResource: AxiosRealmResourceClient;
976
+ protected _alarmResource: AxiosAlarmResourceClient;
979
977
  protected _assetResource: AxiosAssetResourceClient;
980
978
  protected _consoleResource: AxiosConsoleResourceClient;
981
- protected _alarmResource: AxiosAlarmResourceClient;
979
+ protected _provisioningResource: AxiosProvisioningResourceClient;
980
+ protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
981
+ protected _gatewayClientResource: AxiosGatewayClientResourceClient;
982
+ protected _syslogResource: AxiosSyslogResourceClient;
983
+ protected _assetModelResource: AxiosAssetModelResourceClient;
984
+ protected _dashboardResource: AxiosDashboardResourceClient;
982
985
  protected _mapResource: AxiosMapResourceClient;
986
+ protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
987
+ protected _appResource: AxiosAppResourceClient;
983
988
  protected _userResource: AxiosUserResourceClient;
984
989
  protected _flowResource: AxiosFlowResourceClient;
985
- protected _configurationResource: AxiosConfigurationResourceClient;
986
- protected _provisioningResource: AxiosProvisioningResourceClient;
987
- protected _dashboardResource: AxiosDashboardResourceClient;
988
- protected _statusResource: AxiosStatusResourceClient;
989
- protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
990
- protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
990
+ protected _externalServiceResource: AxiosExternalServiceResourceClient;
991
991
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
992
- get SyslogResource(): AxiosSyslogResourceClient;
993
- get RealmResource(): AxiosRealmResourceClient;
994
- get GatewayClientResource(): AxiosGatewayClientResourceClient;
995
- get AppResource(): AxiosAppResourceClient;
996
- get AgentResource(): AxiosAgentResourceClient;
992
+ get StatusResource(): AxiosStatusResourceClient;
997
993
  get RulesResource(): AxiosRulesResourceClient;
998
- get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
999
- get AssetModelResource(): AxiosAssetModelResourceClient;
1000
994
  get NotificationResource(): AxiosNotificationResourceClient;
1001
- get ExternalServiceResource(): AxiosExternalServiceResourceClient;
995
+ get ConfigurationResource(): AxiosConfigurationResourceClient;
996
+ get AgentResource(): AxiosAgentResourceClient;
997
+ get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
998
+ get RealmResource(): AxiosRealmResourceClient;
999
+ get AlarmResource(): AxiosAlarmResourceClient;
1002
1000
  get AssetResource(): AxiosAssetResourceClient;
1003
1001
  get ConsoleResource(): AxiosConsoleResourceClient;
1004
- get AlarmResource(): AxiosAlarmResourceClient;
1002
+ get ProvisioningResource(): AxiosProvisioningResourceClient;
1003
+ get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
1004
+ get GatewayClientResource(): AxiosGatewayClientResourceClient;
1005
+ get SyslogResource(): AxiosSyslogResourceClient;
1006
+ get AssetModelResource(): AxiosAssetModelResourceClient;
1007
+ get DashboardResource(): AxiosDashboardResourceClient;
1005
1008
  get MapResource(): AxiosMapResourceClient;
1009
+ get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
1010
+ get AppResource(): AxiosAppResourceClient;
1006
1011
  get UserResource(): AxiosUserResourceClient;
1007
1012
  get FlowResource(): AxiosFlowResourceClient;
1008
- get ConfigurationResource(): AxiosConfigurationResourceClient;
1009
- get ProvisioningResource(): AxiosProvisioningResourceClient;
1010
- get DashboardResource(): AxiosDashboardResourceClient;
1011
- get StatusResource(): AxiosStatusResourceClient;
1012
- get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
1013
- get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
1013
+ get ExternalServiceResource(): AxiosExternalServiceResourceClient;
1014
1014
  }
1015
1015
  import * as Axios from "axios";
1016
1016
  declare module "axios" {
@@ -1018,69 +1018,69 @@ declare module "axios" {
1018
1018
  data: R;
1019
1019
  }
1020
1020
  }
1021
- export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
1021
+ export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
1022
1022
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1023
1023
  }
1024
- export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
1024
+ export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
1025
1025
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1026
1026
  }
1027
- export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
1027
+ export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
1028
1028
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1029
1029
  }
1030
- export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
1030
+ export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
1031
1031
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1032
1032
  }
1033
1033
  export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
1034
1034
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1035
1035
  }
1036
- export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
1036
+ export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
1037
1037
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1038
1038
  }
1039
- export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
1039
+ export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
1040
1040
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1041
1041
  }
1042
- export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
1042
+ export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
1043
1043
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1044
1044
  }
1045
- export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
1045
+ export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
1046
1046
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1047
1047
  }
1048
- export declare class AxiosExternalServiceResourceClient extends ExternalServiceResourceClient<Axios.AxiosRequestConfig> {
1048
+ export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
1049
1049
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1050
1050
  }
1051
- export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
1051
+ export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
1052
1052
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1053
1053
  }
1054
- export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
1054
+ export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
1055
1055
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1056
1056
  }
1057
- export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
1057
+ export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
1058
1058
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1059
1059
  }
1060
- export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
1060
+ export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
1061
1061
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1062
1062
  }
1063
- export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
1063
+ export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
1064
1064
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1065
1065
  }
1066
- export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
1066
+ export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
1067
1067
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1068
1068
  }
1069
- export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
1069
+ export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
1070
1070
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1071
1071
  }
1072
- export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
1072
+ export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
1073
1073
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1074
1074
  }
1075
- export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
1075
+ export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
1076
1076
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1077
1077
  }
1078
- export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
1078
+ export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
1079
1079
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1080
1080
  }
1081
- export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
1081
+ export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
1082
1082
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1083
1083
  }
1084
- export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
1084
+ export declare class AxiosExternalServiceResourceClient extends ExternalServiceResourceClient<Axios.AxiosRequestConfig> {
1085
1085
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1086
1086
  }