@openremote/rest 1.3.0-snapshot.20250203163248 → 1.3.0-snapshot.20250210131111

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