@openremote/rest 1.8.0-snapshot.20250715092710 → 1.8.0-snapshot.20250717100825

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