@openremote/rest 1.8.0-snapshot.20250819150420 → 1.8.0

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