@openremote/rest 1.9.0-snapshot.20250910134401 → 1.9.0-snapshot.20250910145636

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,94 +9,91 @@ export interface HttpClient<O> {
9
9
  options?: O;
10
10
  }): RestResponse<R>;
11
11
  }
12
- export declare class GatewayClientResourceClient<O> {
12
+ export declare class SyslogResourceClient<O> {
13
13
  protected httpClient: HttpClient<O>;
14
14
  constructor(httpClient: HttpClient<O>);
15
15
  /**
16
- * HTTP DELETE /gateway/connection
17
- * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
18
- */
19
- deleteConnections(queryParams?: {
20
- realm?: string[];
21
- }, options?: O): RestResponse<void>;
22
- /**
23
- * HTTP GET /gateway/connection
24
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
25
- */
26
- getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
27
- /**
28
- * HTTP DELETE /gateway/connection/{realm}
29
- * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
16
+ * HTTP GET /syslog/config
17
+ * Java method: org.openremote.model.syslog.SyslogResource.getConfig
30
18
  */
31
- deleteConnection(realm: string, options?: O): RestResponse<void>;
19
+ getConfig(options?: O): RestResponse<Model.SyslogConfig>;
32
20
  /**
33
- * HTTP GET /gateway/connection/{realm}
34
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
21
+ * HTTP PUT /syslog/config
22
+ * Java method: org.openremote.model.syslog.SyslogResource.updateConfig
35
23
  */
36
- getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
24
+ updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
37
25
  /**
38
- * HTTP PUT /gateway/connection/{realm}
39
- * Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
26
+ * HTTP DELETE /syslog/event
27
+ * Java method: org.openremote.model.syslog.SyslogResource.clearEvents
40
28
  */
41
- setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
29
+ clearEvents(options?: O): RestResponse<void>;
42
30
  /**
43
- * HTTP GET /gateway/status/{realm}
44
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
31
+ * HTTP GET /syslog/event
32
+ * Java method: org.openremote.model.syslog.SyslogResource.getEvents
45
33
  */
46
- getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
34
+ getEvents(queryParams?: {
35
+ level?: Model.SyslogLevel;
36
+ per_page?: number;
37
+ page?: number;
38
+ from?: number;
39
+ to?: number;
40
+ category?: Model.SyslogCategory[];
41
+ subCategory?: string[];
42
+ }, options?: O): RestResponse<any>;
47
43
  }
48
- export declare class AlarmResourceClient<O> {
44
+ export declare class NotificationResourceClient<O> {
49
45
  protected httpClient: HttpClient<O>;
50
46
  constructor(httpClient: HttpClient<O>);
51
47
  /**
52
- * HTTP POST /alarm
53
- * Java method: org.openremote.model.alarm.AlarmResource.createAlarm
54
- */
55
- createAlarm(alarm: Model.Alarm, queryParams?: {
56
- assetIds?: string[];
57
- }, options?: O): RestResponse<Model.SentAlarm>;
58
- /**
59
- * HTTP GET /alarm
60
- * Java method: org.openremote.model.alarm.AlarmResource.getAlarms
48
+ * HTTP GET /notification
49
+ * Java method: org.openremote.model.notification.NotificationResource.getNotifications
61
50
  */
62
- getAlarms(queryParams?: {
63
- realm?: string;
64
- status?: Model.AlarmStatus;
51
+ getNotifications(queryParams?: {
52
+ id?: number;
53
+ type?: string;
54
+ from?: number;
55
+ to?: number;
56
+ realmId?: string;
57
+ userId?: string;
65
58
  assetId?: string;
66
- assigneeId?: string;
67
- }, options?: O): RestResponse<Model.SentAlarm[]>;
68
- /**
69
- * HTTP DELETE /alarm
70
- * Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
71
- */
72
- removeAlarms(ids: number[], options?: O): RestResponse<void>;
59
+ }, options?: O): RestResponse<Model.SentNotification[]>;
73
60
  /**
74
- * HTTP PUT /alarm/assets
75
- * Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
61
+ * HTTP DELETE /notification
62
+ * Java method: org.openremote.model.notification.NotificationResource.removeNotifications
76
63
  */
77
- setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
64
+ removeNotifications(queryParams?: {
65
+ id?: number;
66
+ type?: string;
67
+ from?: number;
68
+ to?: number;
69
+ realmId?: string;
70
+ userId?: string;
71
+ assetId?: string;
72
+ }, options?: O): RestResponse<void>;
78
73
  /**
79
- * HTTP GET /alarm/{alarmId}
80
- * Java method: org.openremote.model.alarm.AlarmResource.getAlarm
74
+ * HTTP POST /notification/alert
75
+ * Java method: org.openremote.model.notification.NotificationResource.sendNotification
81
76
  */
82
- getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
77
+ sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
83
78
  /**
84
- * HTTP DELETE /alarm/{alarmId}
85
- * Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
79
+ * HTTP DELETE /notification/{notificationId}
80
+ * Java method: org.openremote.model.notification.NotificationResource.removeNotification
86
81
  */
87
- removeAlarm(alarmId: number, options?: O): RestResponse<void>;
82
+ removeNotification(notificationId: number, options?: O): RestResponse<void>;
88
83
  /**
89
- * HTTP PUT /alarm/{alarmId}
90
- * Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
84
+ * HTTP PUT /notification/{notificationId}/acknowledged
85
+ * Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
91
86
  */
92
- updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
87
+ notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
88
+ targetId?: string;
89
+ }, options?: O): RestResponse<void>;
93
90
  /**
94
- * HTTP GET /alarm/{alarmId}/assets
95
- * Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
91
+ * HTTP PUT /notification/{notificationId}/delivered
92
+ * Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
96
93
  */
97
- getAssetLinks(alarmId: number, queryParams?: {
98
- realm?: string;
99
- }, options?: O): RestResponse<Model.AlarmAssetLink[]>;
94
+ notificationDelivered(notificationId: number, queryParams?: {
95
+ targetId?: string;
96
+ }, options?: O): RestResponse<void>;
100
97
  }
101
98
  export declare class ConsoleResourceClient<O> {
102
99
  protected httpClient: HttpClient<O>;
@@ -107,42 +104,109 @@ export declare class ConsoleResourceClient<O> {
107
104
  */
108
105
  register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
109
106
  }
110
- export declare class FlowResourceClient<O> {
107
+ export declare class AssetResourceClient<O> {
111
108
  protected httpClient: HttpClient<O>;
112
109
  constructor(httpClient: HttpClient<O>);
113
110
  /**
114
- * HTTP GET /flow
115
- * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
111
+ * HTTP POST /asset
112
+ * Java method: org.openremote.model.asset.AssetResource.create
116
113
  */
117
- getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
114
+ create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
118
115
  /**
119
- * HTTP GET /flow/{name}
120
- * Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
116
+ * HTTP DELETE /asset
117
+ * Java method: org.openremote.model.asset.AssetResource.delete
121
118
  */
122
- getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
119
+ delete(queryParams?: {
120
+ assetId?: string[];
121
+ }, options?: O): RestResponse<void>;
123
122
  /**
124
- * HTTP GET /flow/{type}
125
- * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
123
+ * HTTP PUT /asset/attributes
124
+ * Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
126
125
  */
127
- getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
128
- }
129
- export declare class StatusResourceClient<O> {
130
- protected httpClient: HttpClient<O>;
131
- constructor(httpClient: HttpClient<O>);
126
+ writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
132
127
  /**
133
- * HTTP GET /health
134
- * Java method: org.openremote.model.system.StatusResource.getHealthStatus
128
+ * HTTP PUT /asset/attributes/timestamp
129
+ * Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
135
130
  */
136
- getHealthStatus(options?: O): RestResponse<{
137
- [index: string]: any;
138
- }>;
131
+ writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
139
132
  /**
140
- * HTTP GET /info
141
- * Java method: org.openremote.model.system.StatusResource.getInfo
133
+ * HTTP DELETE /asset/parent
134
+ * Java method: org.openremote.model.asset.AssetResource.updateNoneParent
142
135
  */
143
- getInfo(options?: O): RestResponse<{
144
- [index: string]: any;
145
- }>;
136
+ updateNoneParent(queryParams?: {
137
+ assetIds?: string[];
138
+ }, options?: O): RestResponse<void>;
139
+ /**
140
+ * HTTP GET /asset/partial/{assetId}
141
+ * Java method: org.openremote.model.asset.AssetResource.getPartial
142
+ */
143
+ getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
144
+ /**
145
+ * HTTP POST /asset/query
146
+ * Java method: org.openremote.model.asset.AssetResource.queryAssets
147
+ */
148
+ queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
149
+ /**
150
+ * HTTP GET /asset/user/current
151
+ * Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
152
+ */
153
+ getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
154
+ /**
155
+ * HTTP POST /asset/user/link
156
+ * Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
157
+ */
158
+ createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
159
+ /**
160
+ * HTTP GET /asset/user/link
161
+ * Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
162
+ */
163
+ getUserAssetLinks(queryParams?: {
164
+ realm?: string;
165
+ userId?: string;
166
+ assetId?: string;
167
+ }, options?: O): RestResponse<Model.UserAssetLink[]>;
168
+ /**
169
+ * HTTP POST /asset/user/link/delete
170
+ * Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
171
+ */
172
+ deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
173
+ /**
174
+ * HTTP DELETE /asset/user/link/{realm}/{userId}
175
+ * Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
176
+ */
177
+ deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
178
+ /**
179
+ * HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
180
+ * Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
181
+ */
182
+ deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
183
+ /**
184
+ * HTTP GET /asset/{assetId}
185
+ * Java method: org.openremote.model.asset.AssetResource.get
186
+ */
187
+ get(assetId: string, options?: O): RestResponse<Model.Asset>;
188
+ /**
189
+ * HTTP PUT /asset/{assetId}
190
+ * Java method: org.openremote.model.asset.AssetResource.update
191
+ */
192
+ update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
193
+ /**
194
+ * HTTP PUT /asset/{assetId}/attribute/{attributeName}
195
+ * Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
196
+ */
197
+ writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
198
+ /**
199
+ * HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
200
+ * Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
201
+ */
202
+ writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
203
+ /**
204
+ * HTTP PUT /asset/{parentAssetId}/child
205
+ * Java method: org.openremote.model.asset.AssetResource.updateParent
206
+ */
207
+ updateParent(parentAssetId: string, queryParams?: {
208
+ assetIds?: string[];
209
+ }, options?: O): RestResponse<void>;
146
210
  }
147
211
  export declare class AssetDatapointResourceClient<O> {
148
212
  protected httpClient: HttpClient<O>;
@@ -170,6 +234,69 @@ export declare class AssetDatapointResourceClient<O> {
170
234
  */
171
235
  getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
172
236
  }
237
+ export declare class AssetModelResourceClient<O> {
238
+ protected httpClient: HttpClient<O>;
239
+ constructor(httpClient: HttpClient<O>);
240
+ /**
241
+ * HTTP GET /model/assetDescriptors
242
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
243
+ */
244
+ getAssetDescriptors(queryParams?: {
245
+ parentId?: string;
246
+ parentType?: string;
247
+ }, options?: O): RestResponse<Model.AssetDescriptor[]>;
248
+ /**
249
+ * HTTP GET /model/assetInfo/{assetType}
250
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
251
+ */
252
+ getAssetInfo(assetType: string, queryParams?: {
253
+ parentId?: string;
254
+ }, options?: O): RestResponse<Model.AssetTypeInfo>;
255
+ /**
256
+ * HTTP GET /model/assetInfos
257
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
258
+ */
259
+ getAssetInfos(queryParams?: {
260
+ parentId?: string;
261
+ parentType?: string;
262
+ }, options?: O): RestResponse<Model.AssetTypeInfo[]>;
263
+ /**
264
+ * HTTP GET /model/metaItemDescriptors
265
+ * Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
266
+ */
267
+ getMetaItemDescriptors(queryParams?: {
268
+ parentId?: string;
269
+ }, options?: O): RestResponse<{
270
+ [index: string]: Model.MetaItemDescriptor;
271
+ }>;
272
+ /**
273
+ * HTTP GET /model/valueDescriptors
274
+ * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
275
+ */
276
+ getValueDescriptors(queryParams?: {
277
+ parentId?: string;
278
+ }, options?: O): RestResponse<{
279
+ [index: string]: Model.ValueDescriptor;
280
+ }>;
281
+ }
282
+ export declare class StatusResourceClient<O> {
283
+ protected httpClient: HttpClient<O>;
284
+ constructor(httpClient: HttpClient<O>);
285
+ /**
286
+ * HTTP GET /health
287
+ * Java method: org.openremote.model.system.StatusResource.getHealthStatus
288
+ */
289
+ getHealthStatus(options?: O): RestResponse<{
290
+ [index: string]: any;
291
+ }>;
292
+ /**
293
+ * HTTP GET /info
294
+ * Java method: org.openremote.model.system.StatusResource.getInfo
295
+ */
296
+ getInfo(options?: O): RestResponse<{
297
+ [index: string]: any;
298
+ }>;
299
+ }
173
300
  export declare class MapResourceClient<O> {
174
301
  protected httpClient: HttpClient<O>;
175
302
  constructor(httpClient: HttpClient<O>);
@@ -223,123 +350,6 @@ export declare class MapResourceClient<O> {
223
350
  [id: string]: unknown;
224
351
  }>;
225
352
  }
226
- export declare class ConfigurationResourceClient<O> {
227
- protected httpClient: HttpClient<O>;
228
- constructor(httpClient: HttpClient<O>);
229
- /**
230
- * HTTP GET /configuration/manager
231
- * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
232
- */
233
- getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
234
- /**
235
- * HTTP PUT /configuration/manager
236
- * Java method: org.openremote.model.manager.ConfigurationResource.update
237
- */
238
- update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
239
- /**
240
- * HTTP POST /configuration/manager/file
241
- * Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
242
- */
243
- fileUpload(fileInfo: Model.FileInfo, queryParams?: {
244
- path?: string;
245
- }, options?: O): RestResponse<string>;
246
- /**
247
- * HTTP GET /configuration/manager/image/{filename: .+}
248
- * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
249
- */
250
- getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
251
- }
252
- export declare class AssetPredictedDatapointResourceClient<O> {
253
- protected httpClient: HttpClient<O>;
254
- constructor(httpClient: HttpClient<O>);
255
- /**
256
- * HTTP POST /asset/predicted/{assetId}/{attributeName}
257
- * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
258
- */
259
- getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
260
- /**
261
- * HTTP PUT /asset/predicted/{assetId}/{attributeName}
262
- * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
263
- */
264
- writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
265
- }
266
- export declare class AgentResourceClient<O> {
267
- protected httpClient: HttpClient<O>;
268
- constructor(httpClient: HttpClient<O>);
269
- /**
270
- * HTTP GET /agent/assetDiscovery/{agentId}
271
- * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
272
- */
273
- doProtocolAssetDiscovery(agentId: string, queryParams?: {
274
- realm?: string;
275
- }, options?: O): RestResponse<Model.AssetTreeNode[]>;
276
- /**
277
- * HTTP POST /agent/assetImport/{agentId}
278
- * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
279
- */
280
- doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
281
- realm?: string;
282
- }, options?: O): RestResponse<Model.AssetTreeNode[]>;
283
- /**
284
- * HTTP GET /agent/instanceDiscovery/{agentType}
285
- * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
286
- */
287
- doProtocolInstanceDiscovery(agentType: string, queryParams?: {
288
- parentId?: string;
289
- realm?: string;
290
- }, options?: O): RestResponse<Model.Agent[]>;
291
- }
292
- export declare class AppResourceClient<O> {
293
- protected httpClient: HttpClient<O>;
294
- constructor(httpClient: HttpClient<O>);
295
- /**
296
- * HTTP GET /apps
297
- * Java method: org.openremote.model.apps.AppResource.getApps
298
- */
299
- getApps(options?: O): RestResponse<string[]>;
300
- /**
301
- * HTTP GET /apps/consoleConfig
302
- * Java method: org.openremote.model.apps.AppResource.getConsoleConfig
303
- */
304
- getConsoleConfig(options?: O): RestResponse<any>;
305
- /**
306
- * HTTP GET /apps/info
307
- * Java method: org.openremote.model.apps.AppResource.getAppInfos
308
- */
309
- getAppInfos(options?: O): RestResponse<any>;
310
- }
311
- export declare class SyslogResourceClient<O> {
312
- protected httpClient: HttpClient<O>;
313
- constructor(httpClient: HttpClient<O>);
314
- /**
315
- * HTTP GET /syslog/config
316
- * Java method: org.openremote.model.syslog.SyslogResource.getConfig
317
- */
318
- getConfig(options?: O): RestResponse<Model.SyslogConfig>;
319
- /**
320
- * HTTP PUT /syslog/config
321
- * Java method: org.openremote.model.syslog.SyslogResource.updateConfig
322
- */
323
- updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
324
- /**
325
- * HTTP DELETE /syslog/event
326
- * Java method: org.openremote.model.syslog.SyslogResource.clearEvents
327
- */
328
- clearEvents(options?: O): RestResponse<void>;
329
- /**
330
- * HTTP GET /syslog/event
331
- * Java method: org.openremote.model.syslog.SyslogResource.getEvents
332
- */
333
- getEvents(queryParams?: {
334
- level?: Model.SyslogLevel;
335
- per_page?: number;
336
- page?: number;
337
- from?: number;
338
- to?: number;
339
- category?: Model.SyslogCategory[];
340
- subCategory?: string[];
341
- }, options?: O): RestResponse<any>;
342
- }
343
353
  export declare class RulesResourceClient<O> {
344
354
  protected httpClient: HttpClient<O>;
345
355
  constructor(httpClient: HttpClient<O>);
@@ -426,72 +436,113 @@ export declare class RulesResourceClient<O> {
426
436
  * HTTP GET /rules/realm/{id}
427
437
  * Java method: org.openremote.model.rules.RulesResource.getRealmRuleset
428
438
  */
429
- getRealmRuleset(id: number, options?: O): RestResponse<Model.RealmRuleset>;
439
+ getRealmRuleset(id: number, options?: O): RestResponse<Model.RealmRuleset>;
440
+ /**
441
+ * HTTP PUT /rules/realm/{id}
442
+ * Java method: org.openremote.model.rules.RulesResource.updateRealmRuleset
443
+ */
444
+ updateRealmRuleset(id: number, ruleset: Model.RealmRuleset, options?: O): RestResponse<void>;
445
+ /**
446
+ * HTTP DELETE /rules/{id}
447
+ * Java method: org.openremote.model.rules.RulesResource.deleteGlobalRuleset
448
+ */
449
+ deleteGlobalRuleset(id: number, options?: O): RestResponse<void>;
450
+ /**
451
+ * HTTP GET /rules/{id}
452
+ * Java method: org.openremote.model.rules.RulesResource.getGlobalRuleset
453
+ */
454
+ getGlobalRuleset(id: number, options?: O): RestResponse<Model.GlobalRuleset>;
455
+ /**
456
+ * HTTP PUT /rules/{id}
457
+ * Java method: org.openremote.model.rules.RulesResource.updateGlobalRuleset
458
+ */
459
+ updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
460
+ }
461
+ export declare class ProvisioningResourceClient<O> {
462
+ protected httpClient: HttpClient<O>;
463
+ constructor(httpClient: HttpClient<O>);
464
+ /**
465
+ * HTTP POST /provisioning
466
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
467
+ */
468
+ createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
469
+ /**
470
+ * HTTP GET /provisioning
471
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
472
+ */
473
+ getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
474
+ /**
475
+ * HTTP DELETE /provisioning/{id}
476
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
477
+ */
478
+ deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
479
+ /**
480
+ * HTTP PUT /provisioning/{id}
481
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
482
+ */
483
+ updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
484
+ }
485
+ export declare class GatewayServiceResourceClient<O> {
486
+ protected httpClient: HttpClient<O>;
487
+ constructor(httpClient: HttpClient<O>);
488
+ /**
489
+ * HTTP POST /gateway/tunnel
490
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
491
+ */
492
+ startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
430
493
  /**
431
- * HTTP PUT /rules/realm/{id}
432
- * Java method: org.openremote.model.rules.RulesResource.updateRealmRuleset
494
+ * HTTP DELETE /gateway/tunnel
495
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
433
496
  */
434
- updateRealmRuleset(id: number, ruleset: Model.RealmRuleset, options?: O): RestResponse<void>;
497
+ stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
435
498
  /**
436
- * HTTP DELETE /rules/{id}
437
- * Java method: org.openremote.model.rules.RulesResource.deleteGlobalRuleset
499
+ * HTTP GET /gateway/tunnel/{realm}
500
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
438
501
  */
439
- deleteGlobalRuleset(id: number, options?: O): RestResponse<void>;
502
+ getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
440
503
  /**
441
- * HTTP GET /rules/{id}
442
- * Java method: org.openremote.model.rules.RulesResource.getGlobalRuleset
504
+ * HTTP GET /gateway/tunnel/{realm}/{id}
505
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
443
506
  */
444
- getGlobalRuleset(id: number, options?: O): RestResponse<Model.GlobalRuleset>;
507
+ getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
445
508
  /**
446
- * HTTP PUT /rules/{id}
447
- * Java method: org.openremote.model.rules.RulesResource.updateGlobalRuleset
509
+ * HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
510
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
448
511
  */
449
- updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
512
+ getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
450
513
  }
451
- export declare class AssetModelResourceClient<O> {
514
+ export declare class FlowResourceClient<O> {
452
515
  protected httpClient: HttpClient<O>;
453
516
  constructor(httpClient: HttpClient<O>);
454
517
  /**
455
- * HTTP GET /model/assetDescriptors
456
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
518
+ * HTTP GET /flow
519
+ * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
457
520
  */
458
- getAssetDescriptors(queryParams?: {
459
- parentId?: string;
460
- parentType?: string;
461
- }, options?: O): RestResponse<Model.AssetDescriptor[]>;
521
+ getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
462
522
  /**
463
- * HTTP GET /model/assetInfo/{assetType}
464
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
523
+ * HTTP GET /flow/{name}
524
+ * Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
465
525
  */
466
- getAssetInfo(assetType: string, queryParams?: {
467
- parentId?: string;
468
- }, options?: O): RestResponse<Model.AssetTypeInfo>;
526
+ getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
469
527
  /**
470
- * HTTP GET /model/assetInfos
471
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
528
+ * HTTP GET /flow/{type}
529
+ * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
472
530
  */
473
- getAssetInfos(queryParams?: {
474
- parentId?: string;
475
- parentType?: string;
476
- }, options?: O): RestResponse<Model.AssetTypeInfo[]>;
531
+ getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
532
+ }
533
+ export declare class AssetPredictedDatapointResourceClient<O> {
534
+ protected httpClient: HttpClient<O>;
535
+ constructor(httpClient: HttpClient<O>);
477
536
  /**
478
- * HTTP GET /model/metaItemDescriptors
479
- * Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
537
+ * HTTP POST /asset/predicted/{assetId}/{attributeName}
538
+ * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
480
539
  */
481
- getMetaItemDescriptors(queryParams?: {
482
- parentId?: string;
483
- }, options?: O): RestResponse<{
484
- [index: string]: Model.MetaItemDescriptor;
485
- }>;
540
+ getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
486
541
  /**
487
- * HTTP GET /model/valueDescriptors
488
- * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
542
+ * HTTP PUT /asset/predicted/{assetId}/{attributeName}
543
+ * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
489
544
  */
490
- getValueDescriptors(queryParams?: {
491
- parentId?: string;
492
- }, options?: O): RestResponse<{
493
- [index: string]: Model.ValueDescriptor;
494
- }>;
545
+ writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
495
546
  }
496
547
  export declare class UserResourceClient<O> {
497
548
  protected httpClient: HttpClient<O>;
@@ -617,163 +668,6 @@ export declare class UserResourceClient<O> {
617
668
  */
618
669
  get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
619
670
  }
620
- export declare class ProvisioningResourceClient<O> {
621
- protected httpClient: HttpClient<O>;
622
- constructor(httpClient: HttpClient<O>);
623
- /**
624
- * HTTP POST /provisioning
625
- * Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
626
- */
627
- createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
628
- /**
629
- * HTTP GET /provisioning
630
- * Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
631
- */
632
- getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
633
- /**
634
- * HTTP DELETE /provisioning/{id}
635
- * Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
636
- */
637
- deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
638
- /**
639
- * HTTP PUT /provisioning/{id}
640
- * Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
641
- */
642
- updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
643
- }
644
- export declare class GatewayServiceResourceClient<O> {
645
- protected httpClient: HttpClient<O>;
646
- constructor(httpClient: HttpClient<O>);
647
- /**
648
- * HTTP POST /gateway/tunnel
649
- * Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
650
- */
651
- startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
652
- /**
653
- * HTTP DELETE /gateway/tunnel
654
- * Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
655
- */
656
- stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
657
- /**
658
- * HTTP GET /gateway/tunnel/{realm}
659
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
660
- */
661
- getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
662
- /**
663
- * HTTP GET /gateway/tunnel/{realm}/{id}
664
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
665
- */
666
- getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
667
- /**
668
- * HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
669
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
670
- */
671
- getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
672
- }
673
- export declare class AssetResourceClient<O> {
674
- protected httpClient: HttpClient<O>;
675
- constructor(httpClient: HttpClient<O>);
676
- /**
677
- * HTTP POST /asset
678
- * Java method: org.openremote.model.asset.AssetResource.create
679
- */
680
- create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
681
- /**
682
- * HTTP DELETE /asset
683
- * Java method: org.openremote.model.asset.AssetResource.delete
684
- */
685
- delete(queryParams?: {
686
- assetId?: string[];
687
- }, options?: O): RestResponse<void>;
688
- /**
689
- * HTTP PUT /asset/attributes
690
- * Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
691
- */
692
- writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
693
- /**
694
- * HTTP PUT /asset/attributes/timestamp
695
- * Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
696
- */
697
- writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
698
- /**
699
- * HTTP DELETE /asset/parent
700
- * Java method: org.openremote.model.asset.AssetResource.updateNoneParent
701
- */
702
- updateNoneParent(queryParams?: {
703
- assetIds?: string[];
704
- }, options?: O): RestResponse<void>;
705
- /**
706
- * HTTP GET /asset/partial/{assetId}
707
- * Java method: org.openremote.model.asset.AssetResource.getPartial
708
- */
709
- getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
710
- /**
711
- * HTTP POST /asset/query
712
- * Java method: org.openremote.model.asset.AssetResource.queryAssets
713
- */
714
- queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
715
- /**
716
- * HTTP GET /asset/user/current
717
- * Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
718
- */
719
- getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
720
- /**
721
- * HTTP POST /asset/user/link
722
- * Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
723
- */
724
- createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
725
- /**
726
- * HTTP GET /asset/user/link
727
- * Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
728
- */
729
- getUserAssetLinks(queryParams?: {
730
- realm?: string;
731
- userId?: string;
732
- assetId?: string;
733
- }, options?: O): RestResponse<Model.UserAssetLink[]>;
734
- /**
735
- * HTTP POST /asset/user/link/delete
736
- * Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
737
- */
738
- deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
739
- /**
740
- * HTTP DELETE /asset/user/link/{realm}/{userId}
741
- * Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
742
- */
743
- deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
744
- /**
745
- * HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
746
- * Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
747
- */
748
- deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
749
- /**
750
- * HTTP GET /asset/{assetId}
751
- * Java method: org.openremote.model.asset.AssetResource.get
752
- */
753
- get(assetId: string, options?: O): RestResponse<Model.Asset>;
754
- /**
755
- * HTTP PUT /asset/{assetId}
756
- * Java method: org.openremote.model.asset.AssetResource.update
757
- */
758
- update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
759
- /**
760
- * HTTP PUT /asset/{assetId}/attribute/{attributeName}
761
- * Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
762
- */
763
- writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
764
- /**
765
- * HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
766
- * Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
767
- */
768
- writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
769
- /**
770
- * HTTP PUT /asset/{parentAssetId}/child
771
- * Java method: org.openremote.model.asset.AssetResource.updateParent
772
- */
773
- updateParent(parentAssetId: string, queryParams?: {
774
- assetIds?: string[];
775
- }, options?: O): RestResponse<void>;
776
- }
777
671
  export declare class RealmResourceClient<O> {
778
672
  protected httpClient: HttpClient<O>;
779
673
  constructor(httpClient: HttpClient<O>);
@@ -806,61 +700,86 @@ export declare class RealmResourceClient<O> {
806
700
  * HTTP PUT /realm/{name}
807
701
  * Java method: org.openremote.model.security.RealmResource.update
808
702
  */
809
- update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
703
+ update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
704
+ }
705
+ export declare class AgentResourceClient<O> {
706
+ protected httpClient: HttpClient<O>;
707
+ constructor(httpClient: HttpClient<O>);
708
+ /**
709
+ * HTTP GET /agent/assetDiscovery/{agentId}
710
+ * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
711
+ */
712
+ doProtocolAssetDiscovery(agentId: string, queryParams?: {
713
+ realm?: string;
714
+ }, options?: O): RestResponse<Model.AssetTreeNode[]>;
715
+ /**
716
+ * HTTP POST /agent/assetImport/{agentId}
717
+ * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
718
+ */
719
+ doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
720
+ realm?: string;
721
+ }, options?: O): RestResponse<Model.AssetTreeNode[]>;
722
+ /**
723
+ * HTTP GET /agent/instanceDiscovery/{agentType}
724
+ * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
725
+ */
726
+ doProtocolInstanceDiscovery(agentType: string, queryParams?: {
727
+ parentId?: string;
728
+ realm?: string;
729
+ }, options?: O): RestResponse<Model.Agent[]>;
810
730
  }
811
- export declare class NotificationResourceClient<O> {
731
+ export declare class AlarmResourceClient<O> {
812
732
  protected httpClient: HttpClient<O>;
813
733
  constructor(httpClient: HttpClient<O>);
814
734
  /**
815
- * HTTP GET /notification
816
- * Java method: org.openremote.model.notification.NotificationResource.getNotifications
735
+ * HTTP POST /alarm
736
+ * Java method: org.openremote.model.alarm.AlarmResource.createAlarm
817
737
  */
818
- getNotifications(queryParams?: {
819
- id?: number;
820
- type?: string;
821
- from?: number;
822
- to?: number;
823
- realmId?: string;
824
- userId?: string;
825
- assetId?: string;
826
- }, options?: O): RestResponse<Model.SentNotification[]>;
738
+ createAlarm(alarm: Model.Alarm, queryParams?: {
739
+ assetIds?: string[];
740
+ }, options?: O): RestResponse<Model.SentAlarm>;
827
741
  /**
828
- * HTTP DELETE /notification
829
- * Java method: org.openremote.model.notification.NotificationResource.removeNotifications
742
+ * HTTP GET /alarm
743
+ * Java method: org.openremote.model.alarm.AlarmResource.getAlarms
830
744
  */
831
- removeNotifications(queryParams?: {
832
- id?: number;
833
- type?: string;
834
- from?: number;
835
- to?: number;
836
- realmId?: string;
837
- userId?: string;
745
+ getAlarms(queryParams?: {
746
+ realm?: string;
747
+ status?: Model.AlarmStatus;
838
748
  assetId?: string;
839
- }, options?: O): RestResponse<void>;
749
+ assigneeId?: string;
750
+ }, options?: O): RestResponse<Model.SentAlarm[]>;
840
751
  /**
841
- * HTTP POST /notification/alert
842
- * Java method: org.openremote.model.notification.NotificationResource.sendNotification
752
+ * HTTP DELETE /alarm
753
+ * Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
843
754
  */
844
- sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
755
+ removeAlarms(ids: number[], options?: O): RestResponse<void>;
845
756
  /**
846
- * HTTP DELETE /notification/{notificationId}
847
- * Java method: org.openremote.model.notification.NotificationResource.removeNotification
757
+ * HTTP PUT /alarm/assets
758
+ * Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
848
759
  */
849
- removeNotification(notificationId: number, options?: O): RestResponse<void>;
760
+ setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
850
761
  /**
851
- * HTTP PUT /notification/{notificationId}/acknowledged
852
- * Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
762
+ * HTTP GET /alarm/{alarmId}
763
+ * Java method: org.openremote.model.alarm.AlarmResource.getAlarm
853
764
  */
854
- notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
855
- targetId?: string;
856
- }, options?: O): RestResponse<void>;
765
+ getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
857
766
  /**
858
- * HTTP PUT /notification/{notificationId}/delivered
859
- * Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
767
+ * HTTP DELETE /alarm/{alarmId}
768
+ * Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
860
769
  */
861
- notificationDelivered(notificationId: number, queryParams?: {
862
- targetId?: string;
863
- }, options?: O): RestResponse<void>;
770
+ removeAlarm(alarmId: number, options?: O): RestResponse<void>;
771
+ /**
772
+ * HTTP PUT /alarm/{alarmId}
773
+ * Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
774
+ */
775
+ updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
776
+ /**
777
+ * HTTP GET /alarm/{alarmId}/assets
778
+ * Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
779
+ */
780
+ getAssetLinks(alarmId: number, queryParams?: {
781
+ realm?: string;
782
+ }, options?: O): RestResponse<Model.AlarmAssetLink[]>;
864
783
  }
865
784
  export declare class DashboardResourceClient<O> {
866
785
  protected httpClient: HttpClient<O>;
@@ -896,51 +815,132 @@ export declare class DashboardResourceClient<O> {
896
815
  */
897
816
  get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
898
817
  }
818
+ export declare class GatewayClientResourceClient<O> {
819
+ protected httpClient: HttpClient<O>;
820
+ constructor(httpClient: HttpClient<O>);
821
+ /**
822
+ * HTTP DELETE /gateway/connection
823
+ * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
824
+ */
825
+ deleteConnections(queryParams?: {
826
+ realm?: string[];
827
+ }, options?: O): RestResponse<void>;
828
+ /**
829
+ * HTTP GET /gateway/connection
830
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
831
+ */
832
+ getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
833
+ /**
834
+ * HTTP DELETE /gateway/connection/{realm}
835
+ * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
836
+ */
837
+ deleteConnection(realm: string, options?: O): RestResponse<void>;
838
+ /**
839
+ * HTTP GET /gateway/connection/{realm}
840
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
841
+ */
842
+ getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
843
+ /**
844
+ * HTTP PUT /gateway/connection/{realm}
845
+ * Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
846
+ */
847
+ setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
848
+ /**
849
+ * HTTP GET /gateway/status/{realm}
850
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
851
+ */
852
+ getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
853
+ }
854
+ export declare class ConfigurationResourceClient<O> {
855
+ protected httpClient: HttpClient<O>;
856
+ constructor(httpClient: HttpClient<O>);
857
+ /**
858
+ * HTTP GET /configuration/manager
859
+ * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
860
+ */
861
+ getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
862
+ /**
863
+ * HTTP PUT /configuration/manager
864
+ * Java method: org.openremote.model.manager.ConfigurationResource.update
865
+ */
866
+ update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
867
+ /**
868
+ * HTTP POST /configuration/manager/file
869
+ * Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
870
+ */
871
+ fileUpload(fileInfo: Model.FileInfo, queryParams?: {
872
+ path?: string;
873
+ }, options?: O): RestResponse<string>;
874
+ /**
875
+ * HTTP GET /configuration/manager/image/{filename: .+}
876
+ * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
877
+ */
878
+ getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
879
+ }
880
+ export declare class AppResourceClient<O> {
881
+ protected httpClient: HttpClient<O>;
882
+ constructor(httpClient: HttpClient<O>);
883
+ /**
884
+ * HTTP GET /apps
885
+ * Java method: org.openremote.model.apps.AppResource.getApps
886
+ */
887
+ getApps(options?: O): RestResponse<string[]>;
888
+ /**
889
+ * HTTP GET /apps/consoleConfig
890
+ * Java method: org.openremote.model.apps.AppResource.getConsoleConfig
891
+ */
892
+ getConsoleConfig(options?: O): RestResponse<any>;
893
+ /**
894
+ * HTTP GET /apps/info
895
+ * Java method: org.openremote.model.apps.AppResource.getAppInfos
896
+ */
897
+ getAppInfos(options?: O): RestResponse<any>;
898
+ }
899
899
  export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
900
900
  export declare class ApiClient {
901
- protected _gatewayClientResource: AxiosGatewayClientResourceClient;
902
- protected _alarmResource: AxiosAlarmResourceClient;
901
+ protected _syslogResource: AxiosSyslogResourceClient;
902
+ protected _notificationResource: AxiosNotificationResourceClient;
903
903
  protected _consoleResource: AxiosConsoleResourceClient;
904
- protected _flowResource: AxiosFlowResourceClient;
905
- protected _statusResource: AxiosStatusResourceClient;
904
+ protected _assetResource: AxiosAssetResourceClient;
906
905
  protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
906
+ protected _assetModelResource: AxiosAssetModelResourceClient;
907
+ protected _statusResource: AxiosStatusResourceClient;
907
908
  protected _mapResource: AxiosMapResourceClient;
908
- protected _configurationResource: AxiosConfigurationResourceClient;
909
- protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
910
- protected _agentResource: AxiosAgentResourceClient;
911
- protected _appResource: AxiosAppResourceClient;
912
- protected _syslogResource: AxiosSyslogResourceClient;
913
909
  protected _rulesResource: AxiosRulesResourceClient;
914
- protected _assetModelResource: AxiosAssetModelResourceClient;
915
- protected _userResource: AxiosUserResourceClient;
916
910
  protected _provisioningResource: AxiosProvisioningResourceClient;
917
911
  protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
918
- protected _assetResource: AxiosAssetResourceClient;
912
+ protected _flowResource: AxiosFlowResourceClient;
913
+ protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
914
+ protected _userResource: AxiosUserResourceClient;
919
915
  protected _realmResource: AxiosRealmResourceClient;
920
- protected _notificationResource: AxiosNotificationResourceClient;
916
+ protected _agentResource: AxiosAgentResourceClient;
917
+ protected _alarmResource: AxiosAlarmResourceClient;
921
918
  protected _dashboardResource: AxiosDashboardResourceClient;
919
+ protected _gatewayClientResource: AxiosGatewayClientResourceClient;
920
+ protected _configurationResource: AxiosConfigurationResourceClient;
921
+ protected _appResource: AxiosAppResourceClient;
922
922
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
923
- get GatewayClientResource(): AxiosGatewayClientResourceClient;
924
- get AlarmResource(): AxiosAlarmResourceClient;
923
+ get SyslogResource(): AxiosSyslogResourceClient;
924
+ get NotificationResource(): AxiosNotificationResourceClient;
925
925
  get ConsoleResource(): AxiosConsoleResourceClient;
926
- get FlowResource(): AxiosFlowResourceClient;
927
- get StatusResource(): AxiosStatusResourceClient;
926
+ get AssetResource(): AxiosAssetResourceClient;
928
927
  get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
928
+ get AssetModelResource(): AxiosAssetModelResourceClient;
929
+ get StatusResource(): AxiosStatusResourceClient;
929
930
  get MapResource(): AxiosMapResourceClient;
930
- get ConfigurationResource(): AxiosConfigurationResourceClient;
931
- get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
932
- get AgentResource(): AxiosAgentResourceClient;
933
- get AppResource(): AxiosAppResourceClient;
934
- get SyslogResource(): AxiosSyslogResourceClient;
935
931
  get RulesResource(): AxiosRulesResourceClient;
936
- get AssetModelResource(): AxiosAssetModelResourceClient;
937
- get UserResource(): AxiosUserResourceClient;
938
932
  get ProvisioningResource(): AxiosProvisioningResourceClient;
939
933
  get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
940
- get AssetResource(): AxiosAssetResourceClient;
934
+ get FlowResource(): AxiosFlowResourceClient;
935
+ get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
936
+ get UserResource(): AxiosUserResourceClient;
941
937
  get RealmResource(): AxiosRealmResourceClient;
942
- get NotificationResource(): AxiosNotificationResourceClient;
938
+ get AgentResource(): AxiosAgentResourceClient;
939
+ get AlarmResource(): AxiosAlarmResourceClient;
943
940
  get DashboardResource(): AxiosDashboardResourceClient;
941
+ get GatewayClientResource(): AxiosGatewayClientResourceClient;
942
+ get ConfigurationResource(): AxiosConfigurationResourceClient;
943
+ get AppResource(): AxiosAppResourceClient;
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 AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
951
+ export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
952
952
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
953
953
  }
954
- export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
954
+ export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
955
955
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
956
956
  }
957
957
  export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
958
958
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
959
959
  }
960
- export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
961
- constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
962
- }
963
- export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
960
+ export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
964
961
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
965
962
  }
966
963
  export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
967
964
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
968
965
  }
969
- export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
966
+ export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
970
967
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
971
968
  }
972
- export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
969
+ export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
973
970
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
974
971
  }
975
- export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
972
+ export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
976
973
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
977
974
  }
978
- export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
975
+ export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
979
976
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
980
977
  }
981
- export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
978
+ export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
982
979
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
983
980
  }
984
- export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
981
+ export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
985
982
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
986
983
  }
987
- export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
984
+ export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
988
985
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
989
986
  }
990
- export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
987
+ export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
991
988
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
992
989
  }
993
990
  export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
994
991
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
995
992
  }
996
- export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
993
+ export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
997
994
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
998
995
  }
999
- export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
996
+ export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
1000
997
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1001
998
  }
1002
- export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
999
+ export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
1003
1000
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1004
1001
  }
1005
- export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
1002
+ export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
1006
1003
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1007
1004
  }
1008
- export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
1005
+ export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
1009
1006
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1010
1007
  }
1011
- export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
1008
+ export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
1009
+ constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1010
+ }
1011
+ export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
1012
1012
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1013
1013
  }