@openremote/rest 1.3.0-snapshot.20250117163435 → 1.3.0-snapshot.20250120082100

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