@openremote/rest 1.9.0-snapshot.20250903163007 → 1.9.0-snapshot.20250904114348

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