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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,123 +9,133 @@ export interface HttpClient<O> {
9
9
  options?: O;
10
10
  }): RestResponse<R>;
11
11
  }
12
- export declare class FlowResourceClient<O> {
12
+ export declare class AssetResourceClient<O> {
13
13
  protected httpClient: HttpClient<O>;
14
14
  constructor(httpClient: HttpClient<O>);
15
15
  /**
16
- * HTTP GET /flow
17
- * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
16
+ * HTTP POST /asset
17
+ * Java method: org.openremote.model.asset.AssetResource.create
18
18
  */
19
- getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
19
+ create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
20
20
  /**
21
- * HTTP GET /flow/{name}
22
- * Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
21
+ * HTTP DELETE /asset
22
+ * Java method: org.openremote.model.asset.AssetResource.delete
23
23
  */
24
- getNodeDefinition(name: any, options?: O): RestResponse<Model.Node>;
24
+ delete(queryParams?: {
25
+ assetId?: any[];
26
+ }, options?: O): RestResponse<void>;
25
27
  /**
26
- * HTTP GET /flow/{type}
27
- * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
28
+ * HTTP PUT /asset/attributes
29
+ * Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
28
30
  */
29
- getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
30
- }
31
- export declare class NotificationResourceClient<O> {
32
- protected httpClient: HttpClient<O>;
33
- constructor(httpClient: HttpClient<O>);
31
+ writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
34
32
  /**
35
- * HTTP GET /notification
36
- * Java method: org.openremote.model.notification.NotificationResource.getNotifications
33
+ * HTTP PUT /asset/attributes/timestamp
34
+ * Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
37
35
  */
38
- getNotifications(queryParams?: {
39
- id?: any;
40
- type?: any;
41
- from?: any;
42
- to?: any;
43
- realmId?: any;
44
- userId?: any;
45
- assetId?: any;
46
- }, options?: O): RestResponse<Model.SentNotification[]>;
36
+ writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
47
37
  /**
48
- * HTTP DELETE /notification
49
- * Java method: org.openremote.model.notification.NotificationResource.removeNotifications
38
+ * HTTP DELETE /asset/parent
39
+ * Java method: org.openremote.model.asset.AssetResource.updateNoneParent
50
40
  */
51
- removeNotifications(queryParams?: {
52
- id?: any;
53
- type?: any;
54
- from?: any;
55
- to?: any;
56
- realmId?: any;
41
+ updateNoneParent(queryParams?: {
42
+ assetIds?: any[];
43
+ }, options?: O): RestResponse<void>;
44
+ /**
45
+ * HTTP GET /asset/partial/{assetId}
46
+ * Java method: org.openremote.model.asset.AssetResource.getPartial
47
+ */
48
+ getPartial(assetId: any, options?: O): RestResponse<Model.Asset>;
49
+ /**
50
+ * HTTP POST /asset/query
51
+ * Java method: org.openremote.model.asset.AssetResource.queryAssets
52
+ */
53
+ queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
54
+ /**
55
+ * HTTP GET /asset/user/current
56
+ * Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
57
+ */
58
+ getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
59
+ /**
60
+ * HTTP POST /asset/user/link
61
+ * Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
62
+ */
63
+ createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
64
+ /**
65
+ * HTTP GET /asset/user/link
66
+ * Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
67
+ */
68
+ getUserAssetLinks(queryParams?: {
69
+ realm?: any;
57
70
  userId?: any;
58
71
  assetId?: any;
59
- }, options?: O): RestResponse<void>;
72
+ }, options?: O): RestResponse<Model.UserAssetLink[]>;
60
73
  /**
61
- * HTTP POST /notification/alert
62
- * Java method: org.openremote.model.notification.NotificationResource.sendNotification
74
+ * HTTP POST /asset/user/link/delete
75
+ * Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
63
76
  */
64
- sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
77
+ deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
65
78
  /**
66
- * HTTP DELETE /notification/{notificationId}
67
- * Java method: org.openremote.model.notification.NotificationResource.removeNotification
79
+ * HTTP DELETE /asset/user/link/{realm}/{userId}
80
+ * Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
68
81
  */
69
- removeNotification(notificationId: any, options?: O): RestResponse<void>;
82
+ deleteAllUserAssetLinks(realm: any, userId: any, options?: O): RestResponse<void>;
70
83
  /**
71
- * HTTP PUT /notification/{notificationId}/acknowledged
72
- * Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
84
+ * HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
85
+ * Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
73
86
  */
74
- notificationAcknowledged(notificationId: any, acknowledgement: any, queryParams?: {
75
- targetId?: any;
76
- }, options?: O): RestResponse<void>;
87
+ deleteUserAssetLink(realm: any, userId: any, assetId: any, options?: O): RestResponse<void>;
77
88
  /**
78
- * HTTP PUT /notification/{notificationId}/delivered
79
- * Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
89
+ * HTTP GET /asset/{assetId}
90
+ * Java method: org.openremote.model.asset.AssetResource.get
80
91
  */
81
- notificationDelivered(notificationId: any, queryParams?: {
82
- targetId?: any;
92
+ get(assetId: any, options?: O): RestResponse<Model.Asset>;
93
+ /**
94
+ * HTTP PUT /asset/{assetId}
95
+ * Java method: org.openremote.model.asset.AssetResource.update
96
+ */
97
+ update(assetId: any, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
98
+ /**
99
+ * HTTP PUT /asset/{assetId}/attribute/{attributeName}
100
+ * Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
101
+ */
102
+ writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: any, attributeName: any, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
103
+ /**
104
+ * HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
105
+ * Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
106
+ */
107
+ writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: any, attributeName: any, timestamp: any, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
108
+ /**
109
+ * HTTP PUT /asset/{parentAssetId}/child
110
+ * Java method: org.openremote.model.asset.AssetResource.updateParent
111
+ */
112
+ updateParent(parentAssetId: any, queryParams?: {
113
+ assetIds?: any[];
83
114
  }, options?: O): RestResponse<void>;
84
115
  }
85
- export declare class AssetModelResourceClient<O> {
116
+ export declare class ProvisioningResourceClient<O> {
86
117
  protected httpClient: HttpClient<O>;
87
118
  constructor(httpClient: HttpClient<O>);
88
119
  /**
89
- * HTTP GET /model/assetDescriptors
90
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
91
- */
92
- getAssetDescriptors(queryParams?: {
93
- parentId?: any;
94
- parentType?: any;
95
- }, options?: O): RestResponse<Model.AssetDescriptor[]>;
96
- /**
97
- * HTTP GET /model/assetInfo/{assetType}
98
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
120
+ * HTTP POST /provisioning
121
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
99
122
  */
100
- getAssetInfo(assetType: any, queryParams?: {
101
- parentId?: any;
102
- }, options?: O): RestResponse<Model.AssetTypeInfo>;
123
+ createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
103
124
  /**
104
- * HTTP GET /model/assetInfos
105
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
125
+ * HTTP GET /provisioning
126
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
106
127
  */
107
- getAssetInfos(queryParams?: {
108
- parentId?: any;
109
- parentType?: any;
110
- }, options?: O): RestResponse<Model.AssetTypeInfo[]>;
128
+ getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
111
129
  /**
112
- * HTTP GET /model/metaItemDescriptors
113
- * Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
130
+ * HTTP DELETE /provisioning/{id}
131
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
114
132
  */
115
- getMetaItemDescriptors(queryParams?: {
116
- parentId?: any;
117
- }, options?: O): RestResponse<{
118
- [index: string]: Model.MetaItemDescriptor;
119
- }>;
133
+ deleteProvisioningConfig(id: any, options?: O): RestResponse<void>;
120
134
  /**
121
- * HTTP GET /model/valueDescriptors
122
- * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
135
+ * HTTP PUT /provisioning/{id}
136
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
123
137
  */
124
- getValueDescriptors(queryParams?: {
125
- parentId?: any;
126
- }, options?: O): RestResponse<{
127
- [index: string]: Model.ValueDescriptor;
128
- }>;
138
+ updateProvisioningConfig(id: any, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
129
139
  }
130
140
  export declare class AgentResourceClient<O> {
131
141
  protected httpClient: HttpClient<O>;
@@ -153,39 +163,85 @@ export declare class AgentResourceClient<O> {
153
163
  realm?: any;
154
164
  }, options?: O): RestResponse<Model.Agent[]>;
155
165
  }
156
- export declare class RealmResourceClient<O> {
166
+ export declare class ConsoleResourceClient<O> {
157
167
  protected httpClient: HttpClient<O>;
158
168
  constructor(httpClient: HttpClient<O>);
159
169
  /**
160
- * HTTP POST /realm
161
- * Java method: org.openremote.model.security.RealmResource.create
170
+ * HTTP POST /console/register
171
+ * Java method: org.openremote.model.console.ConsoleResource.register
162
172
  */
163
- create(realm: Model.Realm, options?: O): RestResponse<void>;
173
+ register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
174
+ }
175
+ export declare class AlarmResourceClient<O> {
176
+ protected httpClient: HttpClient<O>;
177
+ constructor(httpClient: HttpClient<O>);
164
178
  /**
165
- * HTTP GET /realm
166
- * Java method: org.openremote.model.security.RealmResource.getAll
179
+ * HTTP POST /alarm
180
+ * Java method: org.openremote.model.alarm.AlarmResource.createAlarm
167
181
  */
168
- getAll(options?: O): RestResponse<Model.Realm[]>;
182
+ createAlarm(alarm: Model.Alarm, queryParams?: {
183
+ assetIds?: any[];
184
+ }, options?: O): RestResponse<Model.SentAlarm>;
169
185
  /**
170
- * HTTP GET /realm/accessible
171
- * Java method: org.openremote.model.security.RealmResource.getAccessible
186
+ * HTTP GET /alarm
187
+ * Java method: org.openremote.model.alarm.AlarmResource.getAlarms
172
188
  */
173
- getAccessible(options?: O): RestResponse<Model.Realm[]>;
189
+ getAlarms(queryParams?: {
190
+ realm?: any;
191
+ status?: Model.AlarmStatus;
192
+ assetId?: any;
193
+ assigneeId?: any;
194
+ }, options?: O): RestResponse<Model.SentAlarm[]>;
174
195
  /**
175
- * HTTP DELETE /realm/{name}
176
- * Java method: org.openremote.model.security.RealmResource.delete
196
+ * HTTP DELETE /alarm
197
+ * Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
177
198
  */
178
- delete(name: any, options?: O): RestResponse<void>;
199
+ removeAlarms(ids: any[], options?: O): RestResponse<void>;
179
200
  /**
180
- * HTTP GET /realm/{name}
181
- * Java method: org.openremote.model.security.RealmResource.get
201
+ * HTTP PUT /alarm/assets
202
+ * Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
182
203
  */
183
- get(name: any, options?: O): RestResponse<Model.Realm>;
204
+ setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
184
205
  /**
185
- * HTTP PUT /realm/{name}
186
- * Java method: org.openremote.model.security.RealmResource.update
206
+ * HTTP GET /alarm/{alarmId}
207
+ * Java method: org.openremote.model.alarm.AlarmResource.getAlarm
187
208
  */
188
- update(name: any, realm: Model.Realm, options?: O): RestResponse<void>;
209
+ getAlarm(alarmId: any, options?: O): RestResponse<Model.SentAlarm>;
210
+ /**
211
+ * HTTP DELETE /alarm/{alarmId}
212
+ * Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
213
+ */
214
+ removeAlarm(alarmId: any, options?: O): RestResponse<void>;
215
+ /**
216
+ * HTTP PUT /alarm/{alarmId}
217
+ * Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
218
+ */
219
+ updateAlarm(alarmId: any, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
220
+ /**
221
+ * HTTP GET /alarm/{alarmId}/assets
222
+ * Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
223
+ */
224
+ getAssetLinks(alarmId: any, queryParams?: {
225
+ realm?: any;
226
+ }, options?: O): RestResponse<Model.AlarmAssetLink[]>;
227
+ }
228
+ export declare class StatusResourceClient<O> {
229
+ protected httpClient: HttpClient<O>;
230
+ constructor(httpClient: HttpClient<O>);
231
+ /**
232
+ * HTTP GET /health
233
+ * Java method: org.openremote.model.system.StatusResource.getHealthStatus
234
+ */
235
+ getHealthStatus(options?: O): RestResponse<{
236
+ [index: string]: any;
237
+ }>;
238
+ /**
239
+ * HTTP GET /info
240
+ * Java method: org.openremote.model.system.StatusResource.getInfo
241
+ */
242
+ getInfo(options?: O): RestResponse<{
243
+ [index: string]: any;
244
+ }>;
189
245
  }
190
246
  export declare class RulesResourceClient<O> {
191
247
  protected httpClient: HttpClient<O>;
@@ -295,225 +351,54 @@ export declare class RulesResourceClient<O> {
295
351
  */
296
352
  updateGlobalRuleset(id: any, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
297
353
  }
298
- export declare class AssetResourceClient<O> {
299
- protected httpClient: HttpClient<O>;
300
- constructor(httpClient: HttpClient<O>);
301
- /**
302
- * HTTP POST /asset
303
- * Java method: org.openremote.model.asset.AssetResource.create
304
- */
305
- create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
306
- /**
307
- * HTTP DELETE /asset
308
- * Java method: org.openremote.model.asset.AssetResource.delete
309
- */
310
- delete(queryParams?: {
311
- assetId?: any[];
312
- }, options?: O): RestResponse<void>;
313
- /**
314
- * HTTP PUT /asset/attributes
315
- * Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
316
- */
317
- writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
318
- /**
319
- * HTTP PUT /asset/attributes/timestamp
320
- * Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
321
- */
322
- writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
323
- /**
324
- * HTTP DELETE /asset/parent
325
- * Java method: org.openremote.model.asset.AssetResource.updateNoneParent
326
- */
327
- updateNoneParent(queryParams?: {
328
- assetIds?: any[];
329
- }, options?: O): RestResponse<void>;
330
- /**
331
- * HTTP GET /asset/partial/{assetId}
332
- * Java method: org.openremote.model.asset.AssetResource.getPartial
333
- */
334
- getPartial(assetId: any, options?: O): RestResponse<Model.Asset>;
335
- /**
336
- * HTTP POST /asset/query
337
- * Java method: org.openremote.model.asset.AssetResource.queryAssets
338
- */
339
- queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
340
- /**
341
- * HTTP GET /asset/user/current
342
- * Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
343
- */
344
- getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
345
- /**
346
- * HTTP POST /asset/user/link
347
- * Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
348
- */
349
- createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
350
- /**
351
- * HTTP GET /asset/user/link
352
- * Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
353
- */
354
- getUserAssetLinks(queryParams?: {
355
- realm?: any;
356
- userId?: any;
357
- assetId?: any;
358
- }, options?: O): RestResponse<Model.UserAssetLink[]>;
359
- /**
360
- * HTTP POST /asset/user/link/delete
361
- * Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
362
- */
363
- deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
364
- /**
365
- * HTTP DELETE /asset/user/link/{realm}/{userId}
366
- * Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
367
- */
368
- deleteAllUserAssetLinks(realm: any, userId: any, options?: O): RestResponse<void>;
369
- /**
370
- * HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
371
- * Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
372
- */
373
- deleteUserAssetLink(realm: any, userId: any, assetId: any, options?: O): RestResponse<void>;
374
- /**
375
- * HTTP GET /asset/{assetId}
376
- * Java method: org.openremote.model.asset.AssetResource.get
377
- */
378
- get(assetId: any, options?: O): RestResponse<Model.Asset>;
379
- /**
380
- * HTTP PUT /asset/{assetId}
381
- * Java method: org.openremote.model.asset.AssetResource.update
382
- */
383
- update(assetId: any, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
384
- /**
385
- * HTTP PUT /asset/{assetId}/attribute/{attributeName}
386
- * Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
387
- */
388
- writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: any, attributeName: any, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
389
- /**
390
- * HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
391
- * Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
392
- */
393
- writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: any, attributeName: any, timestamp: any, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
394
- /**
395
- * HTTP PUT /asset/{parentAssetId}/child
396
- * Java method: org.openremote.model.asset.AssetResource.updateParent
397
- */
398
- updateParent(parentAssetId: any, queryParams?: {
399
- assetIds?: any[];
400
- }, options?: O): RestResponse<void>;
401
- }
402
- export declare class AlarmResourceClient<O> {
403
- protected httpClient: HttpClient<O>;
404
- constructor(httpClient: HttpClient<O>);
405
- /**
406
- * HTTP POST /alarm
407
- * Java method: org.openremote.model.alarm.AlarmResource.createAlarm
408
- */
409
- createAlarm(alarm: Model.Alarm, queryParams?: {
410
- assetIds?: any[];
411
- }, options?: O): RestResponse<Model.SentAlarm>;
412
- /**
413
- * HTTP GET /alarm
414
- * Java method: org.openremote.model.alarm.AlarmResource.getAlarms
415
- */
416
- getAlarms(queryParams?: {
417
- realm?: any;
418
- status?: Model.AlarmStatus;
419
- assetId?: any;
420
- assigneeId?: any;
421
- }, options?: O): RestResponse<Model.SentAlarm[]>;
422
- /**
423
- * HTTP DELETE /alarm
424
- * Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
425
- */
426
- removeAlarms(ids: any[], options?: O): RestResponse<void>;
427
- /**
428
- * HTTP PUT /alarm/assets
429
- * Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
430
- */
431
- setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
432
- /**
433
- * HTTP GET /alarm/{alarmId}
434
- * Java method: org.openremote.model.alarm.AlarmResource.getAlarm
435
- */
436
- getAlarm(alarmId: any, options?: O): RestResponse<Model.SentAlarm>;
437
- /**
438
- * HTTP DELETE /alarm/{alarmId}
439
- * Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
440
- */
441
- removeAlarm(alarmId: any, options?: O): RestResponse<void>;
442
- /**
443
- * HTTP PUT /alarm/{alarmId}
444
- * Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
445
- */
446
- updateAlarm(alarmId: any, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
447
- /**
448
- * HTTP GET /alarm/{alarmId}/assets
449
- * Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
450
- */
451
- getAssetLinks(alarmId: any, queryParams?: {
452
- realm?: any;
453
- }, options?: O): RestResponse<Model.AlarmAssetLink[]>;
454
- }
455
- export declare class AppResourceClient<O> {
354
+ export declare class FlowResourceClient<O> {
456
355
  protected httpClient: HttpClient<O>;
457
356
  constructor(httpClient: HttpClient<O>);
458
357
  /**
459
- * HTTP GET /apps
460
- * Java method: org.openremote.model.apps.AppResource.getApps
358
+ * HTTP GET /flow
359
+ * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
461
360
  */
462
- getApps(options?: O): RestResponse<any[]>;
361
+ getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
463
362
  /**
464
- * HTTP GET /apps/consoleConfig
465
- * Java method: org.openremote.model.apps.AppResource.getConsoleConfig
363
+ * HTTP GET /flow/{name}
364
+ * Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
466
365
  */
467
- getConsoleConfig(options?: O): RestResponse<any>;
366
+ getNodeDefinition(name: any, options?: O): RestResponse<Model.Node>;
468
367
  /**
469
- * HTTP GET /apps/info
470
- * Java method: org.openremote.model.apps.AppResource.getAppInfos
368
+ * HTTP GET /flow/{type}
369
+ * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
471
370
  */
472
- getAppInfos(options?: O): RestResponse<any>;
371
+ getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
473
372
  }
474
- export declare class ConfigurationResourceClient<O> {
373
+ export declare class MapResourceClient<O> {
475
374
  protected httpClient: HttpClient<O>;
476
375
  constructor(httpClient: HttpClient<O>);
477
376
  /**
478
- * HTTP GET /configuration/manager
479
- * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
480
- */
481
- getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
482
- /**
483
- * HTTP PUT /configuration/manager
484
- * Java method: org.openremote.model.manager.ConfigurationResource.update
377
+ * HTTP GET /map
378
+ * Java method: org.openremote.model.map.MapResource.getSettings
485
379
  */
486
- update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
380
+ getSettings(options?: O): RestResponse<{
381
+ [id: string]: any;
382
+ }>;
487
383
  /**
488
- * HTTP POST /configuration/manager/file
489
- * Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
384
+ * HTTP PUT /map
385
+ * Java method: org.openremote.model.map.MapResource.saveSettings
490
386
  */
491
- fileUpload(fileInfo: Model.FileInfo, queryParams?: {
492
- path?: any;
387
+ saveSettings(mapConfig: {
388
+ [index: string]: Model.MapRealmConfig;
493
389
  }, options?: O): RestResponse<any>;
494
390
  /**
495
- * HTTP GET /configuration/manager/image/{filename: .+}
496
- * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
497
- */
498
- getManagerConfigImage(filename: any, options?: O): RestResponse<any>;
499
- }
500
- export declare class StatusResourceClient<O> {
501
- protected httpClient: HttpClient<O>;
502
- constructor(httpClient: HttpClient<O>);
503
- /**
504
- * HTTP GET /health
505
- * Java method: org.openremote.model.system.StatusResource.getHealthStatus
391
+ * HTTP GET /map/js
392
+ * Java method: org.openremote.model.map.MapResource.getSettingsJs
506
393
  */
507
- getHealthStatus(options?: O): RestResponse<{
508
- [index: string]: any;
394
+ getSettingsJs(options?: O): RestResponse<{
395
+ [id: string]: any;
509
396
  }>;
510
397
  /**
511
- * HTTP GET /info
512
- * Java method: org.openremote.model.system.StatusResource.getInfo
398
+ * HTTP GET /map/tile/{zoom}/{column}/{row}
399
+ * Java method: org.openremote.model.map.MapResource.getTile
513
400
  */
514
- getInfo(options?: O): RestResponse<{
515
- [index: string]: any;
516
- }>;
401
+ getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
517
402
  }
518
403
  export declare class SyslogResourceClient<O> {
519
404
  protected httpClient: HttpClient<O>;
@@ -547,6 +432,40 @@ export declare class SyslogResourceClient<O> {
547
432
  subCategory?: any[];
548
433
  }, options?: O): RestResponse<any>;
549
434
  }
435
+ export declare class RealmResourceClient<O> {
436
+ protected httpClient: HttpClient<O>;
437
+ constructor(httpClient: HttpClient<O>);
438
+ /**
439
+ * HTTP POST /realm
440
+ * Java method: org.openremote.model.security.RealmResource.create
441
+ */
442
+ create(realm: Model.Realm, options?: O): RestResponse<void>;
443
+ /**
444
+ * HTTP GET /realm
445
+ * Java method: org.openremote.model.security.RealmResource.getAll
446
+ */
447
+ getAll(options?: O): RestResponse<Model.Realm[]>;
448
+ /**
449
+ * HTTP GET /realm/accessible
450
+ * Java method: org.openremote.model.security.RealmResource.getAccessible
451
+ */
452
+ getAccessible(options?: O): RestResponse<Model.Realm[]>;
453
+ /**
454
+ * HTTP DELETE /realm/{name}
455
+ * Java method: org.openremote.model.security.RealmResource.delete
456
+ */
457
+ delete(name: any, options?: O): RestResponse<void>;
458
+ /**
459
+ * HTTP GET /realm/{name}
460
+ * Java method: org.openremote.model.security.RealmResource.get
461
+ */
462
+ get(name: any, options?: O): RestResponse<Model.Realm>;
463
+ /**
464
+ * HTTP PUT /realm/{name}
465
+ * Java method: org.openremote.model.security.RealmResource.update
466
+ */
467
+ update(name: any, realm: Model.Realm, options?: O): RestResponse<void>;
468
+ }
550
469
  export declare class AssetPredictedDatapointResourceClient<O> {
551
470
  protected httpClient: HttpClient<O>;
552
471
  constructor(httpClient: HttpClient<O>);
@@ -561,41 +480,124 @@ export declare class AssetPredictedDatapointResourceClient<O> {
561
480
  */
562
481
  writePredictedDatapoints(assetId: any, attributeName: any, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
563
482
  }
564
- export declare class GatewayClientResourceClient<O> {
483
+ export declare class AppResourceClient<O> {
565
484
  protected httpClient: HttpClient<O>;
566
485
  constructor(httpClient: HttpClient<O>);
567
486
  /**
568
- * HTTP DELETE /gateway/connection
569
- * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
487
+ * HTTP GET /apps
488
+ * Java method: org.openremote.model.apps.AppResource.getApps
570
489
  */
571
- deleteConnections(queryParams?: {
572
- realm?: any[];
573
- }, options?: O): RestResponse<void>;
490
+ getApps(options?: O): RestResponse<any[]>;
574
491
  /**
575
- * HTTP GET /gateway/connection
576
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
492
+ * HTTP GET /apps/consoleConfig
493
+ * Java method: org.openremote.model.apps.AppResource.getConsoleConfig
577
494
  */
578
- getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
495
+ getConsoleConfig(options?: O): RestResponse<any>;
579
496
  /**
580
- * HTTP DELETE /gateway/connection/{realm}
581
- * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
497
+ * HTTP GET /apps/info
498
+ * Java method: org.openremote.model.apps.AppResource.getAppInfos
582
499
  */
583
- deleteConnection(realm: any, options?: O): RestResponse<void>;
500
+ getAppInfos(options?: O): RestResponse<any>;
501
+ }
502
+ export declare class AssetModelResourceClient<O> {
503
+ protected httpClient: HttpClient<O>;
504
+ constructor(httpClient: HttpClient<O>);
584
505
  /**
585
- * HTTP GET /gateway/connection/{realm}
586
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
506
+ * HTTP GET /model/assetDescriptors
507
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
587
508
  */
588
- getConnection(realm: any, options?: O): RestResponse<Model.GatewayConnection>;
509
+ getAssetDescriptors(queryParams?: {
510
+ parentId?: any;
511
+ parentType?: any;
512
+ }, options?: O): RestResponse<Model.AssetDescriptor[]>;
589
513
  /**
590
- * HTTP PUT /gateway/connection/{realm}
591
- * Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
514
+ * HTTP GET /model/assetInfo/{assetType}
515
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
592
516
  */
593
- setConnection(realm: any, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
517
+ getAssetInfo(assetType: any, queryParams?: {
518
+ parentId?: any;
519
+ }, options?: O): RestResponse<Model.AssetTypeInfo>;
594
520
  /**
595
- * HTTP GET /gateway/status/{realm}
596
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
521
+ * HTTP GET /model/assetInfos
522
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
597
523
  */
598
- getConnectionStatus(realm: any, options?: O): RestResponse<Model.ConnectionStatus>;
524
+ getAssetInfos(queryParams?: {
525
+ parentId?: any;
526
+ parentType?: any;
527
+ }, options?: O): RestResponse<Model.AssetTypeInfo[]>;
528
+ /**
529
+ * HTTP GET /model/metaItemDescriptors
530
+ * Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
531
+ */
532
+ getMetaItemDescriptors(queryParams?: {
533
+ parentId?: any;
534
+ }, options?: O): RestResponse<{
535
+ [index: string]: Model.MetaItemDescriptor;
536
+ }>;
537
+ /**
538
+ * HTTP GET /model/valueDescriptors
539
+ * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
540
+ */
541
+ getValueDescriptors(queryParams?: {
542
+ parentId?: any;
543
+ }, options?: O): RestResponse<{
544
+ [index: string]: Model.ValueDescriptor;
545
+ }>;
546
+ }
547
+ export declare class GatewayServiceResourceClient<O> {
548
+ protected httpClient: HttpClient<O>;
549
+ constructor(httpClient: HttpClient<O>);
550
+ /**
551
+ * HTTP POST /gateway/tunnel
552
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
553
+ */
554
+ startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
555
+ /**
556
+ * HTTP DELETE /gateway/tunnel
557
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
558
+ */
559
+ stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
560
+ /**
561
+ * HTTP GET /gateway/tunnel/{realm}
562
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
563
+ */
564
+ getAllActiveTunnelInfos(realm: any, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
565
+ /**
566
+ * HTTP GET /gateway/tunnel/{realm}/{id}
567
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
568
+ */
569
+ getGatewayActiveTunnelInfos(realm: any, id: any, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
570
+ /**
571
+ * HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
572
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
573
+ */
574
+ getActiveTunnelInfo(realm: any, id: any, target: any, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
575
+ }
576
+ export declare class AssetDatapointResourceClient<O> {
577
+ protected httpClient: HttpClient<O>;
578
+ constructor(httpClient: HttpClient<O>);
579
+ /**
580
+ * HTTP GET /asset/datapoint/export
581
+ * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
582
+ */
583
+ getDatapointExport(queryParams?: {
584
+ attributeRefs?: any;
585
+ fromTimestamp?: number;
586
+ toTimestamp?: number;
587
+ }, options?: O): RestResponse<any>;
588
+ /**
589
+ * HTTP GET /asset/datapoint/periods
590
+ * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
591
+ */
592
+ getDatapointPeriod(queryParams?: {
593
+ assetId?: any;
594
+ attributeName?: any;
595
+ }, options?: O): RestResponse<Model.DatapointPeriod>;
596
+ /**
597
+ * HTTP POST /asset/datapoint/{assetId}/{attributeName}
598
+ * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
599
+ */
600
+ getDatapoints(assetId: any, attributeName: any, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
599
601
  }
600
602
  export declare class UserResourceClient<O> {
601
603
  protected httpClient: HttpClient<O>;
@@ -691,35 +693,125 @@ export declare class UserResourceClient<O> {
691
693
  */
692
694
  getUserSessions(realm: any, userId: any, options?: O): RestResponse<Model.UserSession[]>;
693
695
  /**
694
- * HTTP POST /user/{realm}/users
695
- * Java method: org.openremote.model.security.UserResource.create
696
+ * HTTP POST /user/{realm}/users
697
+ * Java method: org.openremote.model.security.UserResource.create
698
+ */
699
+ create(realm: any, user: Model.User, options?: O): RestResponse<Model.User>;
700
+ /**
701
+ * HTTP PUT /user/{realm}/users
702
+ * Java method: org.openremote.model.security.UserResource.update
703
+ */
704
+ update(realm: any, user: Model.User, options?: O): RestResponse<Model.User>;
705
+ /**
706
+ * HTTP DELETE /user/{realm}/users/{userId}
707
+ * Java method: org.openremote.model.security.UserResource.delete
708
+ */
709
+ delete(realm: any, userId: any, options?: O): RestResponse<void>;
710
+ /**
711
+ * HTTP GET /user/{realm}/{clientId}/roles
712
+ * Java method: org.openremote.model.security.UserResource.getClientRoles
713
+ */
714
+ getClientRoles(realm: any, clientId: any, options?: O): RestResponse<Model.Role[]>;
715
+ /**
716
+ * HTTP PUT /user/{realm}/{clientId}/roles
717
+ * Java method: org.openremote.model.security.UserResource.updateClientRoles
718
+ */
719
+ updateClientRoles(realm: any, clientId: any, roles: Model.Role[], options?: O): RestResponse<void>;
720
+ /**
721
+ * HTTP GET /user/{realm}/{userId}
722
+ * Java method: org.openremote.model.security.UserResource.get
723
+ */
724
+ get(realm: any, userId: any, options?: O): RestResponse<Model.User>;
725
+ }
726
+ export declare class NotificationResourceClient<O> {
727
+ protected httpClient: HttpClient<O>;
728
+ constructor(httpClient: HttpClient<O>);
729
+ /**
730
+ * HTTP GET /notification
731
+ * Java method: org.openremote.model.notification.NotificationResource.getNotifications
732
+ */
733
+ getNotifications(queryParams?: {
734
+ id?: any;
735
+ type?: any;
736
+ from?: any;
737
+ to?: any;
738
+ realmId?: any;
739
+ userId?: any;
740
+ assetId?: any;
741
+ }, options?: O): RestResponse<Model.SentNotification[]>;
742
+ /**
743
+ * HTTP DELETE /notification
744
+ * Java method: org.openremote.model.notification.NotificationResource.removeNotifications
745
+ */
746
+ removeNotifications(queryParams?: {
747
+ id?: any;
748
+ type?: any;
749
+ from?: any;
750
+ to?: any;
751
+ realmId?: any;
752
+ userId?: any;
753
+ assetId?: any;
754
+ }, options?: O): RestResponse<void>;
755
+ /**
756
+ * HTTP POST /notification/alert
757
+ * Java method: org.openremote.model.notification.NotificationResource.sendNotification
758
+ */
759
+ sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
760
+ /**
761
+ * HTTP DELETE /notification/{notificationId}
762
+ * Java method: org.openremote.model.notification.NotificationResource.removeNotification
763
+ */
764
+ removeNotification(notificationId: any, options?: O): RestResponse<void>;
765
+ /**
766
+ * HTTP PUT /notification/{notificationId}/acknowledged
767
+ * Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
768
+ */
769
+ notificationAcknowledged(notificationId: any, acknowledgement: any, queryParams?: {
770
+ targetId?: any;
771
+ }, options?: O): RestResponse<void>;
772
+ /**
773
+ * HTTP PUT /notification/{notificationId}/delivered
774
+ * Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
775
+ */
776
+ notificationDelivered(notificationId: any, queryParams?: {
777
+ targetId?: any;
778
+ }, options?: O): RestResponse<void>;
779
+ }
780
+ export declare class GatewayClientResourceClient<O> {
781
+ protected httpClient: HttpClient<O>;
782
+ constructor(httpClient: HttpClient<O>);
783
+ /**
784
+ * HTTP DELETE /gateway/connection
785
+ * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
696
786
  */
697
- create(realm: any, user: Model.User, options?: O): RestResponse<Model.User>;
787
+ deleteConnections(queryParams?: {
788
+ realm?: any[];
789
+ }, options?: O): RestResponse<void>;
698
790
  /**
699
- * HTTP PUT /user/{realm}/users
700
- * Java method: org.openremote.model.security.UserResource.update
791
+ * HTTP GET /gateway/connection
792
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
701
793
  */
702
- update(realm: any, user: Model.User, options?: O): RestResponse<Model.User>;
794
+ getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
703
795
  /**
704
- * HTTP DELETE /user/{realm}/users/{userId}
705
- * Java method: org.openremote.model.security.UserResource.delete
796
+ * HTTP DELETE /gateway/connection/{realm}
797
+ * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
706
798
  */
707
- delete(realm: any, userId: any, options?: O): RestResponse<void>;
799
+ deleteConnection(realm: any, options?: O): RestResponse<void>;
708
800
  /**
709
- * HTTP GET /user/{realm}/{clientId}/roles
710
- * Java method: org.openremote.model.security.UserResource.getClientRoles
801
+ * HTTP GET /gateway/connection/{realm}
802
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
711
803
  */
712
- getClientRoles(realm: any, clientId: any, options?: O): RestResponse<Model.Role[]>;
804
+ getConnection(realm: any, options?: O): RestResponse<Model.GatewayConnection>;
713
805
  /**
714
- * HTTP PUT /user/{realm}/{clientId}/roles
715
- * Java method: org.openremote.model.security.UserResource.updateClientRoles
806
+ * HTTP PUT /gateway/connection/{realm}
807
+ * Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
716
808
  */
717
- updateClientRoles(realm: any, clientId: any, roles: Model.Role[], options?: O): RestResponse<void>;
809
+ setConnection(realm: any, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
718
810
  /**
719
- * HTTP GET /user/{realm}/{userId}
720
- * Java method: org.openremote.model.security.UserResource.get
811
+ * HTTP GET /gateway/status/{realm}
812
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
721
813
  */
722
- get(realm: any, userId: any, options?: O): RestResponse<Model.User>;
814
+ getConnectionStatus(realm: any, options?: O): RestResponse<Model.ConnectionStatus>;
723
815
  }
724
816
  export declare class DashboardResourceClient<O> {
725
817
  protected httpClient: HttpClient<O>;
@@ -755,169 +847,77 @@ export declare class DashboardResourceClient<O> {
755
847
  */
756
848
  get(realm: any, dashboardId: any, options?: O): RestResponse<Model.Dashboard>;
757
849
  }
758
- export declare class ProvisioningResourceClient<O> {
759
- protected httpClient: HttpClient<O>;
760
- constructor(httpClient: HttpClient<O>);
761
- /**
762
- * HTTP POST /provisioning
763
- * Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
764
- */
765
- createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
766
- /**
767
- * HTTP GET /provisioning
768
- * Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
769
- */
770
- getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
771
- /**
772
- * HTTP DELETE /provisioning/{id}
773
- * Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
774
- */
775
- deleteProvisioningConfig(id: any, options?: O): RestResponse<void>;
776
- /**
777
- * HTTP PUT /provisioning/{id}
778
- * Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
779
- */
780
- updateProvisioningConfig(id: any, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
781
- }
782
- export declare class AssetDatapointResourceClient<O> {
850
+ export declare class ConfigurationResourceClient<O> {
783
851
  protected httpClient: HttpClient<O>;
784
852
  constructor(httpClient: HttpClient<O>);
785
853
  /**
786
- * HTTP GET /asset/datapoint/export
787
- * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
788
- */
789
- getDatapointExport(queryParams?: {
790
- attributeRefs?: any;
791
- fromTimestamp?: number;
792
- toTimestamp?: number;
793
- }, options?: O): RestResponse<any>;
794
- /**
795
- * HTTP GET /asset/datapoint/periods
796
- * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
797
- */
798
- getDatapointPeriod(queryParams?: {
799
- assetId?: any;
800
- attributeName?: any;
801
- }, options?: O): RestResponse<Model.DatapointPeriod>;
802
- /**
803
- * HTTP POST /asset/datapoint/{assetId}/{attributeName}
804
- * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
854
+ * HTTP GET /configuration/manager
855
+ * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
805
856
  */
806
- getDatapoints(assetId: any, attributeName: any, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
807
- }
808
- export declare class MapResourceClient<O> {
809
- protected httpClient: HttpClient<O>;
810
- constructor(httpClient: HttpClient<O>);
857
+ getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
811
858
  /**
812
- * HTTP GET /map
813
- * Java method: org.openremote.model.map.MapResource.getSettings
859
+ * HTTP PUT /configuration/manager
860
+ * Java method: org.openremote.model.manager.ConfigurationResource.update
814
861
  */
815
- getSettings(options?: O): RestResponse<{
816
- [id: string]: any;
817
- }>;
862
+ update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
818
863
  /**
819
- * HTTP PUT /map
820
- * Java method: org.openremote.model.map.MapResource.saveSettings
864
+ * HTTP POST /configuration/manager/file
865
+ * Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
821
866
  */
822
- saveSettings(mapConfig: {
823
- [index: string]: Model.MapRealmConfig;
867
+ fileUpload(fileInfo: Model.FileInfo, queryParams?: {
868
+ path?: any;
824
869
  }, options?: O): RestResponse<any>;
825
870
  /**
826
- * HTTP GET /map/js
827
- * Java method: org.openremote.model.map.MapResource.getSettingsJs
828
- */
829
- getSettingsJs(options?: O): RestResponse<{
830
- [id: string]: any;
831
- }>;
832
- /**
833
- * HTTP GET /map/tile/{zoom}/{column}/{row}
834
- * Java method: org.openremote.model.map.MapResource.getTile
835
- */
836
- getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
837
- }
838
- export declare class GatewayServiceResourceClient<O> {
839
- protected httpClient: HttpClient<O>;
840
- constructor(httpClient: HttpClient<O>);
841
- /**
842
- * HTTP POST /gateway/tunnel
843
- * Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
844
- */
845
- startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
846
- /**
847
- * HTTP DELETE /gateway/tunnel
848
- * Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
849
- */
850
- stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
851
- /**
852
- * HTTP GET /gateway/tunnel/{realm}
853
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
854
- */
855
- getAllActiveTunnelInfos(realm: any, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
856
- /**
857
- * HTTP GET /gateway/tunnel/{realm}/{id}
858
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
859
- */
860
- getGatewayActiveTunnelInfos(realm: any, id: any, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
861
- /**
862
- * HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
863
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
864
- */
865
- getActiveTunnelInfo(realm: any, id: any, target: any, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
866
- }
867
- export declare class ConsoleResourceClient<O> {
868
- protected httpClient: HttpClient<O>;
869
- constructor(httpClient: HttpClient<O>);
870
- /**
871
- * HTTP POST /console/register
872
- * Java method: org.openremote.model.console.ConsoleResource.register
871
+ * HTTP GET /configuration/manager/image/{filename: .+}
872
+ * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
873
873
  */
874
- register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
874
+ getManagerConfigImage(filename: any, options?: O): RestResponse<any>;
875
875
  }
876
876
  export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
877
877
  export declare class ApiClient {
878
- protected _flowResource: AxiosFlowResourceClient;
879
- protected _notificationResource: AxiosNotificationResourceClient;
880
- protected _assetModelResource: AxiosAssetModelResourceClient;
881
- protected _agentResource: AxiosAgentResourceClient;
882
- protected _realmResource: AxiosRealmResourceClient;
883
- protected _rulesResource: AxiosRulesResourceClient;
884
878
  protected _assetResource: AxiosAssetResourceClient;
879
+ protected _provisioningResource: AxiosProvisioningResourceClient;
880
+ protected _agentResource: AxiosAgentResourceClient;
881
+ protected _consoleResource: AxiosConsoleResourceClient;
885
882
  protected _alarmResource: AxiosAlarmResourceClient;
886
- protected _appResource: AxiosAppResourceClient;
887
- protected _configurationResource: AxiosConfigurationResourceClient;
888
883
  protected _statusResource: AxiosStatusResourceClient;
884
+ protected _rulesResource: AxiosRulesResourceClient;
885
+ protected _flowResource: AxiosFlowResourceClient;
886
+ protected _mapResource: AxiosMapResourceClient;
889
887
  protected _syslogResource: AxiosSyslogResourceClient;
888
+ protected _realmResource: AxiosRealmResourceClient;
890
889
  protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
891
- protected _gatewayClientResource: AxiosGatewayClientResourceClient;
890
+ protected _appResource: AxiosAppResourceClient;
891
+ protected _assetModelResource: AxiosAssetModelResourceClient;
892
+ protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
893
+ protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
892
894
  protected _userResource: AxiosUserResourceClient;
895
+ protected _notificationResource: AxiosNotificationResourceClient;
896
+ protected _gatewayClientResource: AxiosGatewayClientResourceClient;
893
897
  protected _dashboardResource: AxiosDashboardResourceClient;
894
- protected _provisioningResource: AxiosProvisioningResourceClient;
895
- protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
896
- protected _mapResource: AxiosMapResourceClient;
897
- protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
898
- protected _consoleResource: AxiosConsoleResourceClient;
898
+ protected _configurationResource: AxiosConfigurationResourceClient;
899
899
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
900
- get FlowResource(): AxiosFlowResourceClient;
901
- get NotificationResource(): AxiosNotificationResourceClient;
902
- get AssetModelResource(): AxiosAssetModelResourceClient;
903
- get AgentResource(): AxiosAgentResourceClient;
904
- get RealmResource(): AxiosRealmResourceClient;
905
- get RulesResource(): AxiosRulesResourceClient;
906
900
  get AssetResource(): AxiosAssetResourceClient;
901
+ get ProvisioningResource(): AxiosProvisioningResourceClient;
902
+ get AgentResource(): AxiosAgentResourceClient;
903
+ get ConsoleResource(): AxiosConsoleResourceClient;
907
904
  get AlarmResource(): AxiosAlarmResourceClient;
908
- get AppResource(): AxiosAppResourceClient;
909
- get ConfigurationResource(): AxiosConfigurationResourceClient;
910
905
  get StatusResource(): AxiosStatusResourceClient;
906
+ get RulesResource(): AxiosRulesResourceClient;
907
+ get FlowResource(): AxiosFlowResourceClient;
908
+ get MapResource(): AxiosMapResourceClient;
911
909
  get SyslogResource(): AxiosSyslogResourceClient;
910
+ get RealmResource(): AxiosRealmResourceClient;
912
911
  get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
913
- get GatewayClientResource(): AxiosGatewayClientResourceClient;
912
+ get AppResource(): AxiosAppResourceClient;
913
+ get AssetModelResource(): AxiosAssetModelResourceClient;
914
+ get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
915
+ get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
914
916
  get UserResource(): AxiosUserResourceClient;
917
+ get NotificationResource(): AxiosNotificationResourceClient;
918
+ get GatewayClientResource(): AxiosGatewayClientResourceClient;
915
919
  get DashboardResource(): AxiosDashboardResourceClient;
916
- get ProvisioningResource(): AxiosProvisioningResourceClient;
917
- get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
918
- get MapResource(): AxiosMapResourceClient;
919
- get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
920
- get ConsoleResource(): AxiosConsoleResourceClient;
920
+ get ConfigurationResource(): AxiosConfigurationResourceClient;
921
921
  }
922
922
  import * as Axios from "axios";
923
923
  declare module "axios" {
@@ -925,66 +925,66 @@ declare module "axios" {
925
925
  data: R;
926
926
  }
927
927
  }
928
- export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
929
- constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
930
- }
931
- export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
928
+ export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
932
929
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
933
930
  }
934
- export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
931
+ export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
935
932
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
936
933
  }
937
934
  export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
938
935
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
939
936
  }
940
- export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
937
+ export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
941
938
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
942
939
  }
943
- export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
940
+ export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
944
941
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
945
942
  }
946
- export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
943
+ export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
947
944
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
948
945
  }
949
- export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
946
+ export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
950
947
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
951
948
  }
952
- export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
949
+ export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
953
950
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
954
951
  }
955
- export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
952
+ export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
956
953
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
957
954
  }
958
- export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
955
+ export declare class AxiosSyslogResourceClient extends SyslogResourceClient<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 AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
962
959
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
963
960
  }
964
961
  export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
965
962
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
966
963
  }
967
- export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
964
+ export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
968
965
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
969
966
  }
970
- export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
967
+ export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
971
968
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
972
969
  }
973
- export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
970
+ export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
974
971
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
975
972
  }
976
- export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<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 AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
976
+ export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
980
977
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
981
978
  }
982
- export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
979
+ export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
983
980
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
984
981
  }
985
- export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
982
+ export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
986
983
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
987
984
  }
988
- export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
985
+ export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
986
+ constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
987
+ }
988
+ export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
989
989
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
990
990
  }