@openremote/rest 1.12.0-snapshot.20251211105103 → 1.12.0-snapshot.20251211154713

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,58 +9,223 @@ export interface HttpClient<O> {
9
9
  options?: O;
10
10
  }): RestResponse<R>;
11
11
  }
12
- export declare class StatusResourceClient<O> {
12
+ export declare class GatewayServiceResourceClient<O> {
13
13
  protected httpClient: HttpClient<O>;
14
14
  constructor(httpClient: HttpClient<O>);
15
15
  /**
16
- * HTTP GET /health
17
- * Java method: org.openremote.model.system.StatusResource.getHealthStatus
16
+ * HTTP POST /gateway/tunnel
17
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
18
18
  */
19
- getHealthStatus(options?: O): RestResponse<{
20
- [index: string]: any;
21
- }>;
19
+ startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
22
20
  /**
23
- * HTTP GET /info
24
- * Java method: org.openremote.model.system.StatusResource.getInfo
21
+ * HTTP DELETE /gateway/tunnel
22
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
25
23
  */
26
- getInfo(options?: O): RestResponse<{
27
- [index: string]: any;
28
- }>;
24
+ stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
25
+ /**
26
+ * HTTP GET /gateway/tunnel/{realm}
27
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
28
+ */
29
+ getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
30
+ /**
31
+ * HTTP GET /gateway/tunnel/{realm}/{id}
32
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
33
+ */
34
+ getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
35
+ /**
36
+ * HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
37
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
38
+ */
39
+ getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
29
40
  }
30
- export declare class AssetDatapointResourceClient<O> {
41
+ export declare class GatewayClientResourceClient<O> {
31
42
  protected httpClient: HttpClient<O>;
32
43
  constructor(httpClient: HttpClient<O>);
33
44
  /**
34
- * HTTP GET /asset/datapoint/export
35
- * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
45
+ * HTTP DELETE /gateway/connection
46
+ * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
36
47
  */
37
- getDatapointExport(queryParams?: {
38
- attributeRefs?: string;
39
- fromTimestamp?: number;
40
- toTimestamp?: number;
41
- }, options?: O): RestResponse<any>;
48
+ deleteConnections(queryParams?: {
49
+ realm?: string[];
50
+ }, options?: O): RestResponse<void>;
42
51
  /**
43
- * HTTP GET /asset/datapoint/periods
44
- * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
52
+ * HTTP GET /gateway/connection
53
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
45
54
  */
46
- getDatapointPeriod(queryParams?: {
55
+ getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
56
+ /**
57
+ * HTTP DELETE /gateway/connection/{realm}
58
+ * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
59
+ */
60
+ deleteConnection(realm: string, options?: O): RestResponse<void>;
61
+ /**
62
+ * HTTP GET /gateway/connection/{realm}
63
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
64
+ */
65
+ getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
66
+ /**
67
+ * HTTP PUT /gateway/connection/{realm}
68
+ * Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
69
+ */
70
+ setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
71
+ /**
72
+ * HTTP GET /gateway/status/{realm}
73
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
74
+ */
75
+ getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
76
+ }
77
+ export declare class AgentResourceClient<O> {
78
+ protected httpClient: HttpClient<O>;
79
+ constructor(httpClient: HttpClient<O>);
80
+ /**
81
+ * HTTP GET /agent/assetDiscovery/{agentId}
82
+ * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
83
+ */
84
+ doProtocolAssetDiscovery(agentId: string, queryParams?: {
85
+ realm?: string;
86
+ }, options?: O): RestResponse<Model.AssetTreeNode[]>;
87
+ /**
88
+ * HTTP POST /agent/assetImport/{agentId}
89
+ * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
90
+ */
91
+ doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
92
+ realm?: string;
93
+ }, options?: O): RestResponse<Model.AssetTreeNode[]>;
94
+ /**
95
+ * HTTP GET /agent/instanceDiscovery/{agentType}
96
+ * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
97
+ */
98
+ doProtocolInstanceDiscovery(agentType: string, queryParams?: {
99
+ parentId?: string;
100
+ realm?: string;
101
+ }, options?: O): RestResponse<Model.Agent[]>;
102
+ }
103
+ export declare class AssetResourceClient<O> {
104
+ protected httpClient: HttpClient<O>;
105
+ constructor(httpClient: HttpClient<O>);
106
+ /**
107
+ * HTTP POST /asset
108
+ * Java method: org.openremote.model.asset.AssetResource.create
109
+ */
110
+ create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
111
+ /**
112
+ * HTTP DELETE /asset
113
+ * Java method: org.openremote.model.asset.AssetResource.delete
114
+ */
115
+ delete(queryParams?: {
116
+ assetId?: string[];
117
+ }, options?: O): RestResponse<void>;
118
+ /**
119
+ * HTTP PUT /asset/attributes
120
+ * Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
121
+ */
122
+ writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
123
+ /**
124
+ * HTTP PUT /asset/attributes/timestamp
125
+ * Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
126
+ */
127
+ writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
128
+ /**
129
+ * HTTP DELETE /asset/parent
130
+ * Java method: org.openremote.model.asset.AssetResource.updateNoneParent
131
+ */
132
+ updateNoneParent(queryParams?: {
133
+ assetIds?: string[];
134
+ }, options?: O): RestResponse<void>;
135
+ /**
136
+ * HTTP GET /asset/partial/{assetId}
137
+ * Java method: org.openremote.model.asset.AssetResource.getPartial
138
+ */
139
+ getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
140
+ /**
141
+ * HTTP POST /asset/query
142
+ * Java method: org.openremote.model.asset.AssetResource.queryAssets
143
+ */
144
+ queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
145
+ /**
146
+ * HTTP POST /asset/tree
147
+ * Java method: org.openremote.model.asset.AssetResource.queryAssetTree
148
+ */
149
+ queryAssetTree(query: Model.AssetQuery, options?: O): RestResponse<Model.AssetTree>;
150
+ /**
151
+ * HTTP GET /asset/user/current
152
+ * Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
153
+ */
154
+ getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
155
+ /**
156
+ * HTTP POST /asset/user/link
157
+ * Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
158
+ */
159
+ createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
160
+ /**
161
+ * HTTP GET /asset/user/link
162
+ * Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
163
+ */
164
+ getUserAssetLinks(queryParams?: {
165
+ realm?: string;
166
+ userId?: string;
47
167
  assetId?: string;
48
- attributeName?: string;
49
- }, options?: O): RestResponse<Model.DatapointPeriod>;
168
+ }, options?: O): RestResponse<Model.UserAssetLink[]>;
50
169
  /**
51
- * HTTP POST /asset/datapoint/{assetId}/{attributeName}
52
- * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
170
+ * HTTP POST /asset/user/link/delete
171
+ * Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
53
172
  */
54
- getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
173
+ deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
174
+ /**
175
+ * HTTP DELETE /asset/user/link/{realm}/{userId}
176
+ * Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
177
+ */
178
+ deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
179
+ /**
180
+ * HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
181
+ * Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
182
+ */
183
+ deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
184
+ /**
185
+ * HTTP GET /asset/{assetId}
186
+ * Java method: org.openremote.model.asset.AssetResource.get
187
+ */
188
+ get(assetId: string, options?: O): RestResponse<Model.Asset>;
189
+ /**
190
+ * HTTP PUT /asset/{assetId}
191
+ * Java method: org.openremote.model.asset.AssetResource.update
192
+ */
193
+ update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
194
+ /**
195
+ * HTTP PUT /asset/{assetId}/attribute/{attributeName}
196
+ * Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
197
+ */
198
+ writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
199
+ /**
200
+ * HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
201
+ * Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
202
+ */
203
+ writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
204
+ /**
205
+ * HTTP PUT /asset/{parentAssetId}/child
206
+ * Java method: org.openremote.model.asset.AssetResource.updateParent
207
+ */
208
+ updateParent(parentAssetId: string, queryParams?: {
209
+ assetIds?: string[];
210
+ }, options?: O): RestResponse<void>;
55
211
  }
56
- export declare class ConsoleResourceClient<O> {
212
+ export declare class StatusResourceClient<O> {
57
213
  protected httpClient: HttpClient<O>;
58
214
  constructor(httpClient: HttpClient<O>);
59
215
  /**
60
- * HTTP POST /console/register
61
- * Java method: org.openremote.model.console.ConsoleResource.register
216
+ * HTTP GET /health
217
+ * Java method: org.openremote.model.system.StatusResource.getHealthStatus
62
218
  */
63
- register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
219
+ getHealthStatus(options?: O): RestResponse<{
220
+ [index: string]: any;
221
+ }>;
222
+ /**
223
+ * HTTP GET /info
224
+ * Java method: org.openremote.model.system.StatusResource.getInfo
225
+ */
226
+ getInfo(options?: O): RestResponse<{
227
+ [index: string]: any;
228
+ }>;
64
229
  }
65
230
  export declare class MapResourceClient<O> {
66
231
  protected httpClient: HttpClient<O>;
@@ -115,6 +280,25 @@ export declare class MapResourceClient<O> {
115
280
  [id: string]: unknown;
116
281
  }>;
117
282
  }
283
+ export declare class FlowResourceClient<O> {
284
+ protected httpClient: HttpClient<O>;
285
+ constructor(httpClient: HttpClient<O>);
286
+ /**
287
+ * HTTP GET /flow
288
+ * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
289
+ */
290
+ getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
291
+ /**
292
+ * HTTP GET /flow/{name}
293
+ * Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
294
+ */
295
+ getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
296
+ /**
297
+ * HTTP GET /flow/{type}
298
+ * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
299
+ */
300
+ getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
301
+ }
118
302
  export declare class NotificationResourceClient<O> {
119
303
  protected httpClient: HttpClient<O>;
120
304
  constructor(httpClient: HttpClient<O>);
@@ -169,153 +353,6 @@ export declare class NotificationResourceClient<O> {
169
353
  targetId?: string;
170
354
  }, options?: O): RestResponse<void>;
171
355
  }
172
- export declare class ConfigurationResourceClient<O> {
173
- protected httpClient: HttpClient<O>;
174
- constructor(httpClient: HttpClient<O>);
175
- /**
176
- * HTTP GET /configuration/manager
177
- * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
178
- */
179
- getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
180
- /**
181
- * HTTP PUT /configuration/manager
182
- * Java method: org.openremote.model.manager.ConfigurationResource.update
183
- */
184
- update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
185
- /**
186
- * HTTP POST /configuration/manager/file
187
- * Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
188
- */
189
- fileUpload(fileInfo: Model.FileInfo, queryParams?: {
190
- path?: string;
191
- }, options?: O): RestResponse<string>;
192
- /**
193
- * HTTP GET /configuration/manager/image/{filename: .+}
194
- * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
195
- */
196
- getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
197
- }
198
- export declare class RealmResourceClient<O> {
199
- protected httpClient: HttpClient<O>;
200
- constructor(httpClient: HttpClient<O>);
201
- /**
202
- * HTTP POST /realm
203
- * Java method: org.openremote.model.security.RealmResource.create
204
- */
205
- create(realm: Model.Realm, options?: O): RestResponse<void>;
206
- /**
207
- * HTTP GET /realm
208
- * Java method: org.openremote.model.security.RealmResource.getAll
209
- */
210
- getAll(options?: O): RestResponse<Model.Realm[]>;
211
- /**
212
- * HTTP GET /realm/accessible
213
- * Java method: org.openremote.model.security.RealmResource.getAccessible
214
- */
215
- getAccessible(options?: O): RestResponse<Model.Realm[]>;
216
- /**
217
- * HTTP DELETE /realm/{name}
218
- * Java method: org.openremote.model.security.RealmResource.delete
219
- */
220
- delete(name: string, options?: O): RestResponse<void>;
221
- /**
222
- * HTTP GET /realm/{name}
223
- * Java method: org.openremote.model.security.RealmResource.get
224
- */
225
- get(name: string, options?: O): RestResponse<Model.Realm>;
226
- /**
227
- * HTTP PUT /realm/{name}
228
- * Java method: org.openremote.model.security.RealmResource.update
229
- */
230
- update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
231
- }
232
- export declare class SyslogResourceClient<O> {
233
- protected httpClient: HttpClient<O>;
234
- constructor(httpClient: HttpClient<O>);
235
- /**
236
- * HTTP GET /syslog/config
237
- * Java method: org.openremote.model.syslog.SyslogResource.getConfig
238
- */
239
- getConfig(options?: O): RestResponse<Model.SyslogConfig>;
240
- /**
241
- * HTTP PUT /syslog/config
242
- * Java method: org.openremote.model.syslog.SyslogResource.updateConfig
243
- */
244
- updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
245
- /**
246
- * HTTP DELETE /syslog/event
247
- * Java method: org.openremote.model.syslog.SyslogResource.clearEvents
248
- */
249
- clearEvents(options?: O): RestResponse<void>;
250
- /**
251
- * HTTP GET /syslog/event
252
- * Java method: org.openremote.model.syslog.SyslogResource.getEvents
253
- */
254
- getEvents(queryParams?: {
255
- level?: Model.SyslogLevel;
256
- per_page?: number;
257
- page?: number;
258
- from?: number;
259
- to?: number;
260
- category?: Model.SyslogCategory[];
261
- subCategory?: string[];
262
- }, options?: O): RestResponse<any>;
263
- }
264
- export declare class AgentResourceClient<O> {
265
- protected httpClient: HttpClient<O>;
266
- constructor(httpClient: HttpClient<O>);
267
- /**
268
- * HTTP GET /agent/assetDiscovery/{agentId}
269
- * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
270
- */
271
- doProtocolAssetDiscovery(agentId: string, queryParams?: {
272
- realm?: string;
273
- }, options?: O): RestResponse<Model.AssetTreeNode[]>;
274
- /**
275
- * HTTP POST /agent/assetImport/{agentId}
276
- * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
277
- */
278
- doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
279
- realm?: string;
280
- }, options?: O): RestResponse<Model.AssetTreeNode[]>;
281
- /**
282
- * HTTP GET /agent/instanceDiscovery/{agentType}
283
- * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
284
- */
285
- doProtocolInstanceDiscovery(agentType: string, queryParams?: {
286
- parentId?: string;
287
- realm?: string;
288
- }, options?: O): RestResponse<Model.Agent[]>;
289
- }
290
- export declare class GatewayServiceResourceClient<O> {
291
- protected httpClient: HttpClient<O>;
292
- constructor(httpClient: HttpClient<O>);
293
- /**
294
- * HTTP POST /gateway/tunnel
295
- * Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
296
- */
297
- startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
298
- /**
299
- * HTTP DELETE /gateway/tunnel
300
- * Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
301
- */
302
- stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
303
- /**
304
- * HTTP GET /gateway/tunnel/{realm}
305
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
306
- */
307
- getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
308
- /**
309
- * HTTP GET /gateway/tunnel/{realm}/{id}
310
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
311
- */
312
- getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
313
- /**
314
- * HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
315
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
316
- */
317
- getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
318
- }
319
356
  export declare class ExternalServiceResourceClient<O> {
320
357
  protected httpClient: HttpClient<O>;
321
358
  constructor(httpClient: HttpClient<O>);
@@ -365,47 +402,11 @@ export declare class ExternalServiceResourceClient<O> {
365
402
  getService(serviceId: string, instanceId: number, options?: O): RestResponse<Model.ExternalService>;
366
403
  /**
367
404
  * Response code 204 - Heartbeat sent successfully
368
- * Response code 404 - Service instance not found
369
- * HTTP PUT /service/{serviceId}/{instanceId}
370
- * Java method: org.openremote.model.services.ExternalServiceResource.heartbeat
371
- */
372
- heartbeat(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
373
- }
374
- export declare class GatewayClientResourceClient<O> {
375
- protected httpClient: HttpClient<O>;
376
- constructor(httpClient: HttpClient<O>);
377
- /**
378
- * HTTP DELETE /gateway/connection
379
- * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
380
- */
381
- deleteConnections(queryParams?: {
382
- realm?: string[];
383
- }, options?: O): RestResponse<void>;
384
- /**
385
- * HTTP GET /gateway/connection
386
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
387
- */
388
- getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
389
- /**
390
- * HTTP DELETE /gateway/connection/{realm}
391
- * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
392
- */
393
- deleteConnection(realm: string, options?: O): RestResponse<void>;
394
- /**
395
- * HTTP GET /gateway/connection/{realm}
396
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
397
- */
398
- getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
399
- /**
400
- * HTTP PUT /gateway/connection/{realm}
401
- * Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
402
- */
403
- setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
404
- /**
405
- * HTTP GET /gateway/status/{realm}
406
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
405
+ * Response code 404 - Service instance not found
406
+ * HTTP PUT /service/{serviceId}/{instanceId}
407
+ * Java method: org.openremote.model.services.ExternalServiceResource.heartbeat
407
408
  */
408
- getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
409
+ heartbeat(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
409
410
  }
410
411
  export declare class UserResourceClient<O> {
411
412
  protected httpClient: HttpClient<O>;
@@ -531,24 +532,74 @@ export declare class UserResourceClient<O> {
531
532
  */
532
533
  get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
533
534
  }
534
- export declare class FlowResourceClient<O> {
535
+ export declare class ProvisioningResourceClient<O> {
535
536
  protected httpClient: HttpClient<O>;
536
537
  constructor(httpClient: HttpClient<O>);
537
538
  /**
538
- * HTTP GET /flow
539
- * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
539
+ * HTTP POST /provisioning
540
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
540
541
  */
541
- getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
542
+ createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
542
543
  /**
543
- * HTTP GET /flow/{name}
544
- * Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
544
+ * HTTP GET /provisioning
545
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
545
546
  */
546
- getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
547
+ getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
547
548
  /**
548
- * HTTP GET /flow/{type}
549
- * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
549
+ * HTTP DELETE /provisioning/{id}
550
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
550
551
  */
551
- getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
552
+ deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
553
+ /**
554
+ * HTTP PUT /provisioning/{id}
555
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
556
+ */
557
+ updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
558
+ }
559
+ export declare class AppResourceClient<O> {
560
+ protected httpClient: HttpClient<O>;
561
+ constructor(httpClient: HttpClient<O>);
562
+ /**
563
+ * HTTP GET /apps
564
+ * Java method: org.openremote.model.apps.AppResource.getApps
565
+ */
566
+ getApps(options?: O): RestResponse<string[]>;
567
+ /**
568
+ * HTTP GET /apps/consoleConfig
569
+ * Java method: org.openremote.model.apps.AppResource.getConsoleConfig
570
+ */
571
+ getConsoleConfig(options?: O): RestResponse<any>;
572
+ /**
573
+ * HTTP GET /apps/info
574
+ * Java method: org.openremote.model.apps.AppResource.getAppInfos
575
+ */
576
+ getAppInfos(options?: O): RestResponse<any>;
577
+ }
578
+ export declare class AssetDatapointResourceClient<O> {
579
+ protected httpClient: HttpClient<O>;
580
+ constructor(httpClient: HttpClient<O>);
581
+ /**
582
+ * HTTP GET /asset/datapoint/export
583
+ * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
584
+ */
585
+ getDatapointExport(queryParams?: {
586
+ attributeRefs?: string;
587
+ fromTimestamp?: number;
588
+ toTimestamp?: number;
589
+ }, options?: O): RestResponse<any>;
590
+ /**
591
+ * HTTP GET /asset/datapoint/periods
592
+ * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
593
+ */
594
+ getDatapointPeriod(queryParams?: {
595
+ assetId?: string;
596
+ attributeName?: string;
597
+ }, options?: O): RestResponse<Model.DatapointPeriod>;
598
+ /**
599
+ * HTTP POST /asset/datapoint/{assetId}/{attributeName}
600
+ * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
601
+ */
602
+ getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
552
603
  }
553
604
  export declare class AlarmResourceClient<O> {
554
605
  protected httpClient: HttpClient<O>;
@@ -603,167 +654,198 @@ export declare class AlarmResourceClient<O> {
603
654
  realm?: string;
604
655
  }, options?: O): RestResponse<Model.AlarmAssetLink[]>;
605
656
  }
606
- export declare class AssetResourceClient<O> {
657
+ export declare class RealmResourceClient<O> {
607
658
  protected httpClient: HttpClient<O>;
608
659
  constructor(httpClient: HttpClient<O>);
609
660
  /**
610
- * HTTP POST /asset
611
- * Java method: org.openremote.model.asset.AssetResource.create
661
+ * HTTP POST /realm
662
+ * Java method: org.openremote.model.security.RealmResource.create
612
663
  */
613
- create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
664
+ create(realm: Model.Realm, options?: O): RestResponse<void>;
614
665
  /**
615
- * HTTP DELETE /asset
616
- * Java method: org.openremote.model.asset.AssetResource.delete
666
+ * HTTP GET /realm
667
+ * Java method: org.openremote.model.security.RealmResource.getAll
617
668
  */
618
- delete(queryParams?: {
619
- assetId?: string[];
620
- }, options?: O): RestResponse<void>;
669
+ getAll(options?: O): RestResponse<Model.Realm[]>;
621
670
  /**
622
- * HTTP PUT /asset/attributes
623
- * Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
671
+ * HTTP GET /realm/accessible
672
+ * Java method: org.openremote.model.security.RealmResource.getAccessible
624
673
  */
625
- writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
674
+ getAccessible(options?: O): RestResponse<Model.Realm[]>;
626
675
  /**
627
- * HTTP PUT /asset/attributes/timestamp
628
- * Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
676
+ * HTTP DELETE /realm/{name}
677
+ * Java method: org.openremote.model.security.RealmResource.delete
629
678
  */
630
- writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
679
+ delete(name: string, options?: O): RestResponse<void>;
631
680
  /**
632
- * HTTP DELETE /asset/parent
633
- * Java method: org.openremote.model.asset.AssetResource.updateNoneParent
681
+ * HTTP GET /realm/{name}
682
+ * Java method: org.openremote.model.security.RealmResource.get
634
683
  */
635
- updateNoneParent(queryParams?: {
636
- assetIds?: string[];
637
- }, options?: O): RestResponse<void>;
684
+ get(name: string, options?: O): RestResponse<Model.Realm>;
638
685
  /**
639
- * HTTP GET /asset/partial/{assetId}
640
- * Java method: org.openremote.model.asset.AssetResource.getPartial
686
+ * HTTP PUT /realm/{name}
687
+ * Java method: org.openremote.model.security.RealmResource.update
641
688
  */
642
- getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
689
+ update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
690
+ }
691
+ export declare class AssetPredictedDatapointResourceClient<O> {
692
+ protected httpClient: HttpClient<O>;
693
+ constructor(httpClient: HttpClient<O>);
643
694
  /**
644
- * HTTP POST /asset/query
645
- * Java method: org.openremote.model.asset.AssetResource.queryAssets
695
+ * HTTP POST /asset/predicted/{assetId}/{attributeName}
696
+ * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
646
697
  */
647
- queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
698
+ getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
648
699
  /**
649
- * HTTP POST /asset/tree
650
- * Java method: org.openremote.model.asset.AssetResource.queryAssetTree
700
+ * HTTP PUT /asset/predicted/{assetId}/{attributeName}
701
+ * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
651
702
  */
652
- queryAssetTree(query: Model.AssetQuery, options?: O): RestResponse<Model.AssetTree>;
703
+ writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
704
+ }
705
+ export declare class AssetModelResourceClient<O> {
706
+ protected httpClient: HttpClient<O>;
707
+ constructor(httpClient: HttpClient<O>);
653
708
  /**
654
- * HTTP GET /asset/user/current
655
- * Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
709
+ * HTTP GET /model/assetDescriptors
710
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
656
711
  */
657
- getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
712
+ getAssetDescriptors(queryParams?: {
713
+ parentId?: string;
714
+ parentType?: string;
715
+ }, options?: O): RestResponse<Model.AssetDescriptor[]>;
658
716
  /**
659
- * HTTP POST /asset/user/link
660
- * Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
717
+ * HTTP GET /model/assetInfo/{assetType}
718
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
661
719
  */
662
- createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
720
+ getAssetInfo(assetType: string, queryParams?: {
721
+ parentId?: string;
722
+ }, options?: O): RestResponse<Model.AssetTypeInfo>;
663
723
  /**
664
- * HTTP GET /asset/user/link
665
- * Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
724
+ * HTTP GET /model/assetInfos
725
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
666
726
  */
667
- getUserAssetLinks(queryParams?: {
668
- realm?: string;
669
- userId?: string;
670
- assetId?: string;
671
- }, options?: O): RestResponse<Model.UserAssetLink[]>;
727
+ getAssetInfos(queryParams?: {
728
+ parentId?: string;
729
+ parentType?: string;
730
+ }, options?: O): RestResponse<Model.AssetTypeInfo[]>;
672
731
  /**
673
- * HTTP POST /asset/user/link/delete
674
- * Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
732
+ * HTTP GET /model/getValueDescriptorSchema
733
+ * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptorSchema
675
734
  */
676
- deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
735
+ getValueDescriptorSchema(queryParams?: {
736
+ name?: string;
737
+ hash?: string;
738
+ }, options?: O): RestResponse<any>;
677
739
  /**
678
- * HTTP DELETE /asset/user/link/{realm}/{userId}
679
- * Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
740
+ * HTTP GET /model/metaItemDescriptors
741
+ * Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
680
742
  */
681
- deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
743
+ getMetaItemDescriptors(queryParams?: {
744
+ parentId?: string;
745
+ }, options?: O): RestResponse<{
746
+ [index: string]: Model.MetaItemDescriptor;
747
+ }>;
682
748
  /**
683
- * HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
684
- * Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
749
+ * HTTP GET /model/valueDescriptors
750
+ * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
685
751
  */
686
- deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
752
+ getValueDescriptors(queryParams?: {
753
+ parentId?: string;
754
+ }, options?: O): RestResponse<{
755
+ [index: string]: Model.ValueDescriptor;
756
+ }>;
757
+ }
758
+ export declare class DashboardResourceClient<O> {
759
+ protected httpClient: HttpClient<O>;
760
+ constructor(httpClient: HttpClient<O>);
687
761
  /**
688
- * HTTP GET /asset/{assetId}
689
- * Java method: org.openremote.model.asset.AssetResource.get
762
+ * HTTP POST /dashboard
763
+ * Java method: org.openremote.model.dashboard.DashboardResource.create
690
764
  */
691
- get(assetId: string, options?: O): RestResponse<Model.Asset>;
765
+ create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
692
766
  /**
693
- * HTTP PUT /asset/{assetId}
694
- * Java method: org.openremote.model.asset.AssetResource.update
767
+ * HTTP PUT /dashboard
768
+ * Java method: org.openremote.model.dashboard.DashboardResource.update
695
769
  */
696
- update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
770
+ update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
697
771
  /**
698
- * HTTP PUT /asset/{assetId}/attribute/{attributeName}
699
- * Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
772
+ * HTTP GET /dashboard/all/{realm}
773
+ * Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
700
774
  */
701
- writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
775
+ getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
702
776
  /**
703
- * HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
704
- * Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
777
+ * HTTP POST /dashboard/query
778
+ * Java method: org.openremote.model.dashboard.DashboardResource.query
705
779
  */
706
- writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
780
+ query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
707
781
  /**
708
- * HTTP PUT /asset/{parentAssetId}/child
709
- * Java method: org.openremote.model.asset.AssetResource.updateParent
782
+ * HTTP DELETE /dashboard/{realm}/{dashboardId}
783
+ * Java method: org.openremote.model.dashboard.DashboardResource.delete
784
+ */
785
+ delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
786
+ /**
787
+ * HTTP GET /dashboard/{realm}/{dashboardId}
788
+ * Java method: org.openremote.model.dashboard.DashboardResource.get
789
+ */
790
+ get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
791
+ }
792
+ export declare class ConfigurationResourceClient<O> {
793
+ protected httpClient: HttpClient<O>;
794
+ constructor(httpClient: HttpClient<O>);
795
+ /**
796
+ * HTTP GET /configuration/manager
797
+ * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
798
+ */
799
+ getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
800
+ /**
801
+ * HTTP PUT /configuration/manager
802
+ * Java method: org.openremote.model.manager.ConfigurationResource.update
803
+ */
804
+ update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
805
+ /**
806
+ * HTTP POST /configuration/manager/file
807
+ * Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
808
+ */
809
+ fileUpload(fileInfo: Model.FileInfo, queryParams?: {
810
+ path?: string;
811
+ }, options?: O): RestResponse<string>;
812
+ /**
813
+ * HTTP GET /configuration/manager/image/{filename: .+}
814
+ * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
710
815
  */
711
- updateParent(parentAssetId: string, queryParams?: {
712
- assetIds?: string[];
713
- }, options?: O): RestResponse<void>;
816
+ getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
714
817
  }
715
- export declare class AssetModelResourceClient<O> {
818
+ export declare class SyslogResourceClient<O> {
716
819
  protected httpClient: HttpClient<O>;
717
820
  constructor(httpClient: HttpClient<O>);
718
821
  /**
719
- * HTTP GET /model/assetDescriptors
720
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
822
+ * HTTP GET /syslog/config
823
+ * Java method: org.openremote.model.syslog.SyslogResource.getConfig
721
824
  */
722
- getAssetDescriptors(queryParams?: {
723
- parentId?: string;
724
- parentType?: string;
725
- }, options?: O): RestResponse<Model.AssetDescriptor[]>;
825
+ getConfig(options?: O): RestResponse<Model.SyslogConfig>;
726
826
  /**
727
- * HTTP GET /model/assetInfo/{assetType}
728
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
827
+ * HTTP PUT /syslog/config
828
+ * Java method: org.openremote.model.syslog.SyslogResource.updateConfig
729
829
  */
730
- getAssetInfo(assetType: string, queryParams?: {
731
- parentId?: string;
732
- }, options?: O): RestResponse<Model.AssetTypeInfo>;
830
+ updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
733
831
  /**
734
- * HTTP GET /model/assetInfos
735
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
832
+ * HTTP DELETE /syslog/event
833
+ * Java method: org.openremote.model.syslog.SyslogResource.clearEvents
736
834
  */
737
- getAssetInfos(queryParams?: {
738
- parentId?: string;
739
- parentType?: string;
740
- }, options?: O): RestResponse<Model.AssetTypeInfo[]>;
835
+ clearEvents(options?: O): RestResponse<void>;
741
836
  /**
742
- * HTTP GET /model/getValueDescriptorSchema
743
- * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptorSchema
837
+ * HTTP GET /syslog/event
838
+ * Java method: org.openremote.model.syslog.SyslogResource.getEvents
744
839
  */
745
- getValueDescriptorSchema(queryParams?: {
746
- name?: string;
747
- hash?: string;
840
+ getEvents(queryParams?: {
841
+ level?: Model.SyslogLevel;
842
+ per_page?: number;
843
+ page?: number;
844
+ from?: number;
845
+ to?: number;
846
+ category?: Model.SyslogCategory[];
847
+ subCategory?: string[];
748
848
  }, options?: O): RestResponse<any>;
749
- /**
750
- * HTTP GET /model/metaItemDescriptors
751
- * Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
752
- */
753
- getMetaItemDescriptors(queryParams?: {
754
- parentId?: string;
755
- }, options?: O): RestResponse<{
756
- [index: string]: Model.MetaItemDescriptor;
757
- }>;
758
- /**
759
- * HTTP GET /model/valueDescriptors
760
- * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
761
- */
762
- getValueDescriptors(queryParams?: {
763
- parentId?: string;
764
- }, options?: O): RestResponse<{
765
- [index: string]: Model.ValueDescriptor;
766
- }>;
767
849
  }
768
850
  export declare class RulesResourceClient<O> {
769
851
  protected httpClient: HttpClient<O>;
@@ -873,144 +955,62 @@ export declare class RulesResourceClient<O> {
873
955
  */
874
956
  updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
875
957
  }
876
- export declare class AssetPredictedDatapointResourceClient<O> {
877
- protected httpClient: HttpClient<O>;
878
- constructor(httpClient: HttpClient<O>);
879
- /**
880
- * HTTP POST /asset/predicted/{assetId}/{attributeName}
881
- * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
882
- */
883
- getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
884
- /**
885
- * HTTP PUT /asset/predicted/{assetId}/{attributeName}
886
- * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
887
- */
888
- writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
889
- }
890
- export declare class DashboardResourceClient<O> {
891
- protected httpClient: HttpClient<O>;
892
- constructor(httpClient: HttpClient<O>);
893
- /**
894
- * HTTP POST /dashboard
895
- * Java method: org.openremote.model.dashboard.DashboardResource.create
896
- */
897
- create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
898
- /**
899
- * HTTP PUT /dashboard
900
- * Java method: org.openremote.model.dashboard.DashboardResource.update
901
- */
902
- update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
903
- /**
904
- * HTTP GET /dashboard/all/{realm}
905
- * Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
906
- */
907
- getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
908
- /**
909
- * HTTP POST /dashboard/query
910
- * Java method: org.openremote.model.dashboard.DashboardResource.query
911
- */
912
- query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
913
- /**
914
- * HTTP DELETE /dashboard/{realm}/{dashboardId}
915
- * Java method: org.openremote.model.dashboard.DashboardResource.delete
916
- */
917
- delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
918
- /**
919
- * HTTP GET /dashboard/{realm}/{dashboardId}
920
- * Java method: org.openremote.model.dashboard.DashboardResource.get
921
- */
922
- get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
923
- }
924
- export declare class AppResourceClient<O> {
925
- protected httpClient: HttpClient<O>;
926
- constructor(httpClient: HttpClient<O>);
927
- /**
928
- * HTTP GET /apps
929
- * Java method: org.openremote.model.apps.AppResource.getApps
930
- */
931
- getApps(options?: O): RestResponse<string[]>;
932
- /**
933
- * HTTP GET /apps/consoleConfig
934
- * Java method: org.openremote.model.apps.AppResource.getConsoleConfig
935
- */
936
- getConsoleConfig(options?: O): RestResponse<any>;
937
- /**
938
- * HTTP GET /apps/info
939
- * Java method: org.openremote.model.apps.AppResource.getAppInfos
940
- */
941
- getAppInfos(options?: O): RestResponse<any>;
942
- }
943
- export declare class ProvisioningResourceClient<O> {
958
+ export declare class ConsoleResourceClient<O> {
944
959
  protected httpClient: HttpClient<O>;
945
960
  constructor(httpClient: HttpClient<O>);
946
961
  /**
947
- * HTTP POST /provisioning
948
- * Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
949
- */
950
- createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
951
- /**
952
- * HTTP GET /provisioning
953
- * Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
954
- */
955
- getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
956
- /**
957
- * HTTP DELETE /provisioning/{id}
958
- * Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
959
- */
960
- deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
961
- /**
962
- * HTTP PUT /provisioning/{id}
963
- * Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
962
+ * HTTP POST /console/register
963
+ * Java method: org.openremote.model.console.ConsoleResource.register
964
964
  */
965
- updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
965
+ register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
966
966
  }
967
967
  export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
968
968
  export declare class ApiClient {
969
+ protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
970
+ protected _gatewayClientResource: AxiosGatewayClientResourceClient;
971
+ protected _agentResource: AxiosAgentResourceClient;
972
+ protected _assetResource: AxiosAssetResourceClient;
969
973
  protected _statusResource: AxiosStatusResourceClient;
970
- protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
971
- protected _consoleResource: AxiosConsoleResourceClient;
972
974
  protected _mapResource: AxiosMapResourceClient;
975
+ protected _flowResource: AxiosFlowResourceClient;
973
976
  protected _notificationResource: AxiosNotificationResourceClient;
974
- protected _configurationResource: AxiosConfigurationResourceClient;
975
- protected _realmResource: AxiosRealmResourceClient;
976
- protected _syslogResource: AxiosSyslogResourceClient;
977
- protected _agentResource: AxiosAgentResourceClient;
978
- protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
979
977
  protected _externalServiceResource: AxiosExternalServiceResourceClient;
980
- protected _gatewayClientResource: AxiosGatewayClientResourceClient;
981
978
  protected _userResource: AxiosUserResourceClient;
982
- protected _flowResource: AxiosFlowResourceClient;
979
+ protected _provisioningResource: AxiosProvisioningResourceClient;
980
+ protected _appResource: AxiosAppResourceClient;
981
+ protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
983
982
  protected _alarmResource: AxiosAlarmResourceClient;
984
- protected _assetResource: AxiosAssetResourceClient;
985
- protected _assetModelResource: AxiosAssetModelResourceClient;
986
- protected _rulesResource: AxiosRulesResourceClient;
983
+ protected _realmResource: AxiosRealmResourceClient;
987
984
  protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
985
+ protected _assetModelResource: AxiosAssetModelResourceClient;
988
986
  protected _dashboardResource: AxiosDashboardResourceClient;
989
- protected _appResource: AxiosAppResourceClient;
990
- protected _provisioningResource: AxiosProvisioningResourceClient;
987
+ protected _configurationResource: AxiosConfigurationResourceClient;
988
+ protected _syslogResource: AxiosSyslogResourceClient;
989
+ protected _rulesResource: AxiosRulesResourceClient;
990
+ protected _consoleResource: AxiosConsoleResourceClient;
991
991
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
992
+ get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
993
+ get GatewayClientResource(): AxiosGatewayClientResourceClient;
994
+ get AgentResource(): AxiosAgentResourceClient;
995
+ get AssetResource(): AxiosAssetResourceClient;
992
996
  get StatusResource(): AxiosStatusResourceClient;
993
- get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
994
- get ConsoleResource(): AxiosConsoleResourceClient;
995
997
  get MapResource(): AxiosMapResourceClient;
998
+ get FlowResource(): AxiosFlowResourceClient;
996
999
  get NotificationResource(): AxiosNotificationResourceClient;
997
- get ConfigurationResource(): AxiosConfigurationResourceClient;
998
- get RealmResource(): AxiosRealmResourceClient;
999
- get SyslogResource(): AxiosSyslogResourceClient;
1000
- get AgentResource(): AxiosAgentResourceClient;
1001
- get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
1002
1000
  get ExternalServiceResource(): AxiosExternalServiceResourceClient;
1003
- get GatewayClientResource(): AxiosGatewayClientResourceClient;
1004
1001
  get UserResource(): AxiosUserResourceClient;
1005
- get FlowResource(): AxiosFlowResourceClient;
1002
+ get ProvisioningResource(): AxiosProvisioningResourceClient;
1003
+ get AppResource(): AxiosAppResourceClient;
1004
+ get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
1006
1005
  get AlarmResource(): AxiosAlarmResourceClient;
1007
- get AssetResource(): AxiosAssetResourceClient;
1008
- get AssetModelResource(): AxiosAssetModelResourceClient;
1009
- get RulesResource(): AxiosRulesResourceClient;
1006
+ get RealmResource(): AxiosRealmResourceClient;
1010
1007
  get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
1008
+ get AssetModelResource(): AxiosAssetModelResourceClient;
1011
1009
  get DashboardResource(): AxiosDashboardResourceClient;
1012
- get AppResource(): AxiosAppResourceClient;
1013
- get ProvisioningResource(): AxiosProvisioningResourceClient;
1010
+ get ConfigurationResource(): AxiosConfigurationResourceClient;
1011
+ get SyslogResource(): AxiosSyslogResourceClient;
1012
+ get RulesResource(): AxiosRulesResourceClient;
1013
+ get ConsoleResource(): AxiosConsoleResourceClient;
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 AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
1021
+ export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
1022
1022
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1023
1023
  }
1024
- export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
1024
+ export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
1025
1025
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1026
1026
  }
1027
- export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
1027
+ export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
1028
1028
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1029
1029
  }
1030
- export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
1030
+ export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
1031
1031
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1032
1032
  }
1033
- export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
1033
+ export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
1034
1034
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1035
1035
  }
1036
- export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
1036
+ export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
1037
1037
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1038
1038
  }
1039
- export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
1039
+ export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
1040
1040
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1041
1041
  }
1042
- export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
1042
+ export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
1043
1043
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1044
1044
  }
1045
- export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
1045
+ export declare class AxiosExternalServiceResourceClient extends ExternalServiceResourceClient<Axios.AxiosRequestConfig> {
1046
1046
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1047
1047
  }
1048
- export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
1048
+ export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
1049
1049
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1050
1050
  }
1051
- export declare class AxiosExternalServiceResourceClient extends ExternalServiceResourceClient<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 AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
1054
+ export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
1055
1055
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1056
1056
  }
1057
- export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
1057
+ export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
1058
1058
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1059
1059
  }
1060
- export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
1060
+ export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
1061
1061
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1062
1062
  }
1063
- export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
1063
+ export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
1064
1064
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1065
1065
  }
1066
- export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
1066
+ export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
1067
1067
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1068
1068
  }
1069
1069
  export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
1070
1070
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1071
1071
  }
1072
- export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
1072
+ export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
1073
1073
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1074
1074
  }
1075
- export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
1075
+ export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
1076
1076
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1077
1077
  }
1078
- export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
1078
+ export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
1079
1079
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1080
1080
  }
1081
- export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
1081
+ export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
1082
1082
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1083
1083
  }
1084
- export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
1084
+ export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
1085
1085
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1086
1086
  }