@openremote/rest 1.3.0-snapshot.20250117092414 → 1.3.0-snapshot.20250117163129

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,116 +9,86 @@ export interface HttpClient<O> {
9
9
  options?: O;
10
10
  }): RestResponse<R>;
11
11
  }
12
- export declare class FlowResourceClient<O> {
13
- protected httpClient: HttpClient<O>;
14
- constructor(httpClient: HttpClient<O>);
15
- /**
16
- * HTTP GET /flow
17
- * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
18
- */
19
- getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
20
- /**
21
- * HTTP GET /flow/{name}
22
- * Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
23
- */
24
- getNodeDefinition(name: any, options?: O): RestResponse<Model.Node>;
25
- /**
26
- * HTTP GET /flow/{type}
27
- * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
28
- */
29
- getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
30
- }
31
- export declare class DashboardResourceClient<O> {
12
+ export declare class GatewayServiceResourceClient<O> {
32
13
  protected httpClient: HttpClient<O>;
33
14
  constructor(httpClient: HttpClient<O>);
34
15
  /**
35
- * HTTP POST /dashboard
36
- * Java method: org.openremote.model.dashboard.DashboardResource.create
37
- */
38
- create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
39
- /**
40
- * HTTP PUT /dashboard
41
- * Java method: org.openremote.model.dashboard.DashboardResource.update
16
+ * HTTP POST /gateway/tunnel
17
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
42
18
  */
43
- update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
19
+ startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
44
20
  /**
45
- * HTTP GET /dashboard/all/{realm}
46
- * Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
21
+ * HTTP DELETE /gateway/tunnel
22
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
47
23
  */
48
- getAllRealmDashboards(realm: any, options?: O): RestResponse<Model.Dashboard[]>;
24
+ stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
49
25
  /**
50
- * HTTP POST /dashboard/query
51
- * Java method: org.openremote.model.dashboard.DashboardResource.query
26
+ * HTTP GET /gateway/tunnel/{realm}
27
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
52
28
  */
53
- query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
29
+ getAllActiveTunnelInfos(realm: any, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
54
30
  /**
55
- * HTTP DELETE /dashboard/{realm}/{dashboardId}
56
- * Java method: org.openremote.model.dashboard.DashboardResource.delete
31
+ * HTTP GET /gateway/tunnel/{realm}/{id}
32
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
57
33
  */
58
- delete(realm: any, dashboardId: any, options?: O): RestResponse<void>;
34
+ getGatewayActiveTunnelInfos(realm: any, id: any, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
59
35
  /**
60
- * HTTP GET /dashboard/{realm}/{dashboardId}
61
- * Java method: org.openremote.model.dashboard.DashboardResource.get
36
+ * HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
37
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
62
38
  */
63
- get(realm: any, dashboardId: any, options?: O): RestResponse<Model.Dashboard>;
39
+ getActiveTunnelInfo(realm: any, id: any, target: any, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
64
40
  }
65
- export declare class AppResourceClient<O> {
41
+ export declare class ConfigurationResourceClient<O> {
66
42
  protected httpClient: HttpClient<O>;
67
43
  constructor(httpClient: HttpClient<O>);
68
44
  /**
69
- * HTTP GET /apps
70
- * Java method: org.openremote.model.apps.AppResource.getApps
45
+ * HTTP GET /configuration/manager
46
+ * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
71
47
  */
72
- getApps(options?: O): RestResponse<any[]>;
48
+ getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
73
49
  /**
74
- * HTTP GET /apps/consoleConfig
75
- * Java method: org.openremote.model.apps.AppResource.getConsoleConfig
50
+ * HTTP PUT /configuration/manager
51
+ * Java method: org.openremote.model.manager.ConfigurationResource.update
76
52
  */
77
- getConsoleConfig(options?: O): RestResponse<any>;
53
+ update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
78
54
  /**
79
- * HTTP GET /apps/info
80
- * Java method: org.openremote.model.apps.AppResource.getAppInfos
55
+ * HTTP POST /configuration/manager/file
56
+ * Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
81
57
  */
82
- getAppInfos(options?: O): RestResponse<any>;
83
- }
84
- export declare class ConsoleResourceClient<O> {
85
- protected httpClient: HttpClient<O>;
86
- constructor(httpClient: HttpClient<O>);
58
+ fileUpload(fileInfo: Model.FileInfo, queryParams?: {
59
+ path?: any;
60
+ }, options?: O): RestResponse<any>;
87
61
  /**
88
- * HTTP POST /console/register
89
- * Java method: org.openremote.model.console.ConsoleResource.register
62
+ * HTTP GET /configuration/manager/image/{filename: .+}
63
+ * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
90
64
  */
91
- register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
65
+ getManagerConfigImage(filename: any, options?: O): RestResponse<any>;
92
66
  }
93
- export declare class MapResourceClient<O> {
67
+ export declare class AssetDatapointResourceClient<O> {
94
68
  protected httpClient: HttpClient<O>;
95
69
  constructor(httpClient: HttpClient<O>);
96
70
  /**
97
- * HTTP GET /map
98
- * Java method: org.openremote.model.map.MapResource.getSettings
99
- */
100
- getSettings(options?: O): RestResponse<{
101
- [id: string]: any;
102
- }>;
103
- /**
104
- * HTTP PUT /map
105
- * Java method: org.openremote.model.map.MapResource.saveSettings
71
+ * HTTP GET /asset/datapoint/export
72
+ * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
106
73
  */
107
- saveSettings(mapConfig: {
108
- [index: string]: Model.MapRealmConfig;
74
+ getDatapointExport(queryParams?: {
75
+ attributeRefs?: any;
76
+ fromTimestamp?: number;
77
+ toTimestamp?: number;
109
78
  }, options?: O): RestResponse<any>;
110
79
  /**
111
- * HTTP GET /map/js
112
- * Java method: org.openremote.model.map.MapResource.getSettingsJs
80
+ * HTTP GET /asset/datapoint/periods
81
+ * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
113
82
  */
114
- getSettingsJs(options?: O): RestResponse<{
115
- [id: string]: any;
116
- }>;
83
+ getDatapointPeriod(queryParams?: {
84
+ assetId?: any;
85
+ attributeName?: any;
86
+ }, options?: O): RestResponse<Model.DatapointPeriod>;
117
87
  /**
118
- * HTTP GET /map/tile/{zoom}/{column}/{row}
119
- * Java method: org.openremote.model.map.MapResource.getTile
88
+ * HTTP POST /asset/datapoint/{assetId}/{attributeName}
89
+ * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
120
90
  */
121
- getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
91
+ getDatapoints(assetId: any, attributeName: any, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
122
92
  }
123
93
  export declare class AlarmResourceClient<O> {
124
94
  protected httpClient: HttpClient<O>;
@@ -173,137 +143,204 @@ export declare class AlarmResourceClient<O> {
173
143
  realm?: any;
174
144
  }, options?: O): RestResponse<Model.AlarmAssetLink[]>;
175
145
  }
176
- export declare class RulesResourceClient<O> {
146
+ export declare class ConsoleResourceClient<O> {
177
147
  protected httpClient: HttpClient<O>;
178
148
  constructor(httpClient: HttpClient<O>);
179
149
  /**
180
- * HTTP POST /rules
181
- * Java method: org.openremote.model.rules.RulesResource.createGlobalRuleset
150
+ * HTTP POST /console/register
151
+ * Java method: org.openremote.model.console.ConsoleResource.register
182
152
  */
183
- createGlobalRuleset(ruleset: Model.GlobalRuleset, options?: O): RestResponse<number>;
153
+ register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
154
+ }
155
+ export declare class SyslogResourceClient<O> {
156
+ protected httpClient: HttpClient<O>;
157
+ constructor(httpClient: HttpClient<O>);
184
158
  /**
185
- * HTTP GET /rules
186
- * Java method: org.openremote.model.rules.RulesResource.getGlobalRulesets
159
+ * HTTP GET /syslog/config
160
+ * Java method: org.openremote.model.syslog.SyslogResource.getConfig
187
161
  */
188
- getGlobalRulesets(queryParams?: {
189
- language?: Model.RulesetLang[];
190
- fullyPopulate?: boolean;
191
- }, options?: O): RestResponse<Model.GlobalRuleset[]>;
162
+ getConfig(options?: O): RestResponse<Model.SyslogConfig>;
192
163
  /**
193
- * HTTP POST /rules/asset
194
- * Java method: org.openremote.model.rules.RulesResource.createAssetRuleset
164
+ * HTTP PUT /syslog/config
165
+ * Java method: org.openremote.model.syslog.SyslogResource.updateConfig
195
166
  */
196
- createAssetRuleset(ruleset: Model.AssetRuleset, options?: O): RestResponse<number>;
167
+ updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
197
168
  /**
198
- * HTTP GET /rules/asset/for/{assetId}
199
- * Java method: org.openremote.model.rules.RulesResource.getAssetRulesets
169
+ * HTTP DELETE /syslog/event
170
+ * Java method: org.openremote.model.syslog.SyslogResource.clearEvents
200
171
  */
201
- getAssetRulesets(assetId: any, queryParams?: {
202
- language?: Model.RulesetLang[];
203
- fullyPopulate?: boolean;
204
- }, options?: O): RestResponse<Model.AssetRuleset[]>;
172
+ clearEvents(options?: O): RestResponse<void>;
205
173
  /**
206
- * HTTP DELETE /rules/asset/{id}
207
- * Java method: org.openremote.model.rules.RulesResource.deleteAssetRuleset
174
+ * HTTP GET /syslog/event
175
+ * Java method: org.openremote.model.syslog.SyslogResource.getEvents
208
176
  */
209
- deleteAssetRuleset(id: any, options?: O): RestResponse<void>;
177
+ getEvents(queryParams?: {
178
+ level?: Model.SyslogLevel;
179
+ per_page?: any;
180
+ page?: any;
181
+ from?: any;
182
+ to?: any;
183
+ category?: Model.SyslogCategory[];
184
+ subCategory?: any[];
185
+ }, options?: O): RestResponse<any>;
186
+ }
187
+ export declare class AppResourceClient<O> {
188
+ protected httpClient: HttpClient<O>;
189
+ constructor(httpClient: HttpClient<O>);
210
190
  /**
211
- * HTTP GET /rules/asset/{id}
212
- * Java method: org.openremote.model.rules.RulesResource.getAssetRuleset
191
+ * HTTP GET /apps
192
+ * Java method: org.openremote.model.apps.AppResource.getApps
213
193
  */
214
- getAssetRuleset(id: any, options?: O): RestResponse<Model.AssetRuleset>;
194
+ getApps(options?: O): RestResponse<any[]>;
215
195
  /**
216
- * HTTP PUT /rules/asset/{id}
217
- * Java method: org.openremote.model.rules.RulesResource.updateAssetRuleset
196
+ * HTTP GET /apps/consoleConfig
197
+ * Java method: org.openremote.model.apps.AppResource.getConsoleConfig
218
198
  */
219
- updateAssetRuleset(id: any, ruleset: Model.AssetRuleset, options?: O): RestResponse<void>;
199
+ getConsoleConfig(options?: O): RestResponse<any>;
220
200
  /**
221
- * HTTP GET /rules/geofences/{assetId}
222
- * Java method: org.openremote.model.rules.RulesResource.getAssetGeofences
201
+ * HTTP GET /apps/info
202
+ * Java method: org.openremote.model.apps.AppResource.getAppInfos
223
203
  */
224
- getAssetGeofences(assetId: any, options?: O): RestResponse<Model.GeofenceDefinition[]>;
204
+ getAppInfos(options?: O): RestResponse<any>;
205
+ }
206
+ export declare class NotificationResourceClient<O> {
207
+ protected httpClient: HttpClient<O>;
208
+ constructor(httpClient: HttpClient<O>);
225
209
  /**
226
- * HTTP GET /rules/info/asset/{assetId}
227
- * Java method: org.openremote.model.rules.RulesResource.getAssetEngineInfo
210
+ * HTTP GET /notification
211
+ * Java method: org.openremote.model.notification.NotificationResource.getNotifications
228
212
  */
229
- getAssetEngineInfo(assetId: any, options?: O): RestResponse<Model.RulesEngineInfo>;
213
+ getNotifications(queryParams?: {
214
+ id?: any;
215
+ type?: any;
216
+ from?: any;
217
+ to?: any;
218
+ realmId?: any;
219
+ userId?: any;
220
+ assetId?: any;
221
+ }, options?: O): RestResponse<Model.SentNotification[]>;
230
222
  /**
231
- * HTTP GET /rules/info/global
232
- * Java method: org.openremote.model.rules.RulesResource.getGlobalEngineInfo
223
+ * HTTP DELETE /notification
224
+ * Java method: org.openremote.model.notification.NotificationResource.removeNotifications
233
225
  */
234
- getGlobalEngineInfo(options?: O): RestResponse<Model.RulesEngineInfo>;
226
+ removeNotifications(queryParams?: {
227
+ id?: any;
228
+ type?: any;
229
+ from?: any;
230
+ to?: any;
231
+ realmId?: any;
232
+ userId?: any;
233
+ assetId?: any;
234
+ }, options?: O): RestResponse<void>;
235
235
  /**
236
- * HTTP GET /rules/info/realm/{realm}
237
- * Java method: org.openremote.model.rules.RulesResource.getRealmEngineInfo
236
+ * HTTP POST /notification/alert
237
+ * Java method: org.openremote.model.notification.NotificationResource.sendNotification
238
238
  */
239
- getRealmEngineInfo(realm: any, options?: O): RestResponse<Model.RulesEngineInfo>;
239
+ sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
240
240
  /**
241
- * HTTP POST /rules/realm
242
- * Java method: org.openremote.model.rules.RulesResource.createRealmRuleset
241
+ * HTTP DELETE /notification/{notificationId}
242
+ * Java method: org.openremote.model.notification.NotificationResource.removeNotification
243
243
  */
244
- createRealmRuleset(ruleset: Model.RealmRuleset, options?: O): RestResponse<number>;
244
+ removeNotification(notificationId: any, options?: O): RestResponse<void>;
245
245
  /**
246
- * HTTP GET /rules/realm/for/{realm}
247
- * Java method: org.openremote.model.rules.RulesResource.getRealmRulesets
246
+ * HTTP PUT /notification/{notificationId}/acknowledged
247
+ * Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
248
248
  */
249
- getRealmRulesets(realm: any, queryParams?: {
250
- language?: Model.RulesetLang[];
251
- fullyPopulate?: boolean;
252
- }, options?: O): RestResponse<Model.RealmRuleset[]>;
249
+ notificationAcknowledged(notificationId: any, acknowledgement: any, queryParams?: {
250
+ targetId?: any;
251
+ }, options?: O): RestResponse<void>;
253
252
  /**
254
- * HTTP DELETE /rules/realm/{id}
255
- * Java method: org.openremote.model.rules.RulesResource.deleteRealmRuleset
253
+ * HTTP PUT /notification/{notificationId}/delivered
254
+ * Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
256
255
  */
257
- deleteRealmRuleset(id: any, options?: O): RestResponse<void>;
256
+ notificationDelivered(notificationId: any, queryParams?: {
257
+ targetId?: any;
258
+ }, options?: O): RestResponse<void>;
259
+ }
260
+ export declare class AssetPredictedDatapointResourceClient<O> {
261
+ protected httpClient: HttpClient<O>;
262
+ constructor(httpClient: HttpClient<O>);
258
263
  /**
259
- * HTTP GET /rules/realm/{id}
260
- * Java method: org.openremote.model.rules.RulesResource.getRealmRuleset
264
+ * HTTP POST /asset/predicted/{assetId}/{attributeName}
265
+ * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
261
266
  */
262
- getRealmRuleset(id: any, options?: O): RestResponse<Model.RealmRuleset>;
267
+ getPredictedDatapoints(assetId: any, attributeName: any, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
263
268
  /**
264
- * HTTP PUT /rules/realm/{id}
265
- * Java method: org.openremote.model.rules.RulesResource.updateRealmRuleset
269
+ * HTTP PUT /asset/predicted/{assetId}/{attributeName}
270
+ * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
266
271
  */
267
- updateRealmRuleset(id: any, ruleset: Model.RealmRuleset, options?: O): RestResponse<void>;
272
+ writePredictedDatapoints(assetId: any, attributeName: any, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
273
+ }
274
+ export declare class AgentResourceClient<O> {
275
+ protected httpClient: HttpClient<O>;
276
+ constructor(httpClient: HttpClient<O>);
268
277
  /**
269
- * HTTP DELETE /rules/{id}
270
- * Java method: org.openremote.model.rules.RulesResource.deleteGlobalRuleset
278
+ * HTTP GET /agent/assetDiscovery/{agentId}
279
+ * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
271
280
  */
272
- deleteGlobalRuleset(id: any, options?: O): RestResponse<void>;
281
+ doProtocolAssetDiscovery(agentId: any, queryParams?: {
282
+ realm?: any;
283
+ }, options?: O): RestResponse<Model.AssetTreeNode[]>;
273
284
  /**
274
- * HTTP GET /rules/{id}
275
- * Java method: org.openremote.model.rules.RulesResource.getGlobalRuleset
285
+ * HTTP POST /agent/assetImport/{agentId}
286
+ * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
276
287
  */
277
- getGlobalRuleset(id: any, options?: O): RestResponse<Model.GlobalRuleset>;
288
+ doProtocolAssetImport(agentId: any, fileInfo: Model.FileInfo, queryParams?: {
289
+ realm?: any;
290
+ }, options?: O): RestResponse<Model.AssetTreeNode[]>;
278
291
  /**
279
- * HTTP PUT /rules/{id}
280
- * Java method: org.openremote.model.rules.RulesResource.updateGlobalRuleset
292
+ * HTTP GET /agent/instanceDiscovery/{agentType}
293
+ * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
281
294
  */
282
- updateGlobalRuleset(id: any, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
295
+ doProtocolInstanceDiscovery(agentType: any, queryParams?: {
296
+ parentId?: any;
297
+ realm?: any;
298
+ }, options?: O): RestResponse<Model.Agent[]>;
283
299
  }
284
- export declare class ProvisioningResourceClient<O> {
300
+ export declare class AssetModelResourceClient<O> {
285
301
  protected httpClient: HttpClient<O>;
286
302
  constructor(httpClient: HttpClient<O>);
287
303
  /**
288
- * HTTP POST /provisioning
289
- * Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
304
+ * HTTP GET /model/assetDescriptors
305
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
290
306
  */
291
- createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
307
+ getAssetDescriptors(queryParams?: {
308
+ parentId?: any;
309
+ parentType?: any;
310
+ }, options?: O): RestResponse<Model.AssetDescriptor[]>;
292
311
  /**
293
- * HTTP GET /provisioning
294
- * Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
312
+ * HTTP GET /model/assetInfo/{assetType}
313
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
295
314
  */
296
- getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
315
+ getAssetInfo(assetType: any, queryParams?: {
316
+ parentId?: any;
317
+ }, options?: O): RestResponse<Model.AssetTypeInfo>;
297
318
  /**
298
- * HTTP DELETE /provisioning/{id}
299
- * Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
319
+ * HTTP GET /model/assetInfos
320
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
300
321
  */
301
- deleteProvisioningConfig(id: any, options?: O): RestResponse<void>;
322
+ getAssetInfos(queryParams?: {
323
+ parentId?: any;
324
+ parentType?: any;
325
+ }, options?: O): RestResponse<Model.AssetTypeInfo[]>;
302
326
  /**
303
- * HTTP PUT /provisioning/{id}
304
- * Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
327
+ * HTTP GET /model/metaItemDescriptors
328
+ * Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
305
329
  */
306
- updateProvisioningConfig(id: any, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
330
+ getMetaItemDescriptors(queryParams?: {
331
+ parentId?: any;
332
+ }, options?: O): RestResponse<{
333
+ [index: string]: Model.MetaItemDescriptor;
334
+ }>;
335
+ /**
336
+ * HTTP GET /model/valueDescriptors
337
+ * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
338
+ */
339
+ getValueDescriptors(queryParams?: {
340
+ parentId?: any;
341
+ }, options?: O): RestResponse<{
342
+ [index: string]: Model.ValueDescriptor;
343
+ }>;
307
344
  }
308
345
  export declare class GatewayClientResourceClient<O> {
309
346
  protected httpClient: HttpClient<O>;
@@ -341,6 +378,58 @@ export declare class GatewayClientResourceClient<O> {
341
378
  */
342
379
  getConnectionStatus(realm: any, options?: O): RestResponse<Model.ConnectionStatus>;
343
380
  }
381
+ export declare class StatusResourceClient<O> {
382
+ protected httpClient: HttpClient<O>;
383
+ constructor(httpClient: HttpClient<O>);
384
+ /**
385
+ * HTTP GET /health
386
+ * Java method: org.openremote.model.system.StatusResource.getHealthStatus
387
+ */
388
+ getHealthStatus(options?: O): RestResponse<{
389
+ [index: string]: any;
390
+ }>;
391
+ /**
392
+ * HTTP GET /info
393
+ * Java method: org.openremote.model.system.StatusResource.getInfo
394
+ */
395
+ getInfo(options?: O): RestResponse<{
396
+ [index: string]: any;
397
+ }>;
398
+ }
399
+ export declare class RealmResourceClient<O> {
400
+ protected httpClient: HttpClient<O>;
401
+ constructor(httpClient: HttpClient<O>);
402
+ /**
403
+ * HTTP POST /realm
404
+ * Java method: org.openremote.model.security.RealmResource.create
405
+ */
406
+ create(realm: Model.Realm, options?: O): RestResponse<void>;
407
+ /**
408
+ * HTTP GET /realm
409
+ * Java method: org.openremote.model.security.RealmResource.getAll
410
+ */
411
+ getAll(options?: O): RestResponse<Model.Realm[]>;
412
+ /**
413
+ * HTTP GET /realm/accessible
414
+ * Java method: org.openremote.model.security.RealmResource.getAccessible
415
+ */
416
+ getAccessible(options?: O): RestResponse<Model.Realm[]>;
417
+ /**
418
+ * HTTP DELETE /realm/{name}
419
+ * Java method: org.openremote.model.security.RealmResource.delete
420
+ */
421
+ delete(name: any, options?: O): RestResponse<void>;
422
+ /**
423
+ * HTTP GET /realm/{name}
424
+ * Java method: org.openremote.model.security.RealmResource.get
425
+ */
426
+ get(name: any, options?: O): RestResponse<Model.Realm>;
427
+ /**
428
+ * HTTP PUT /realm/{name}
429
+ * Java method: org.openremote.model.security.RealmResource.update
430
+ */
431
+ update(name: any, realm: Model.Realm, options?: O): RestResponse<void>;
432
+ }
344
433
  export declare class AssetResourceClient<O> {
345
434
  protected httpClient: HttpClient<O>;
346
435
  constructor(httpClient: HttpClient<O>);
@@ -569,355 +658,266 @@ export declare class UserResourceClient<O> {
569
658
  */
570
659
  get(realm: any, userId: any, options?: O): RestResponse<Model.User>;
571
660
  }
572
- export declare class AssetDatapointResourceClient<O> {
661
+ export declare class MapResourceClient<O> {
573
662
  protected httpClient: HttpClient<O>;
574
663
  constructor(httpClient: HttpClient<O>);
575
664
  /**
576
- * HTTP GET /asset/datapoint/export
577
- * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
665
+ * HTTP GET /map
666
+ * Java method: org.openremote.model.map.MapResource.getSettings
578
667
  */
579
- getDatapointExport(queryParams?: {
580
- attributeRefs?: any;
581
- fromTimestamp?: number;
582
- toTimestamp?: number;
668
+ getSettings(options?: O): RestResponse<{
669
+ [id: string]: any;
670
+ }>;
671
+ /**
672
+ * HTTP PUT /map
673
+ * Java method: org.openremote.model.map.MapResource.saveSettings
674
+ */
675
+ saveSettings(mapConfig: {
676
+ [index: string]: Model.MapRealmConfig;
583
677
  }, options?: O): RestResponse<any>;
584
678
  /**
585
- * HTTP GET /asset/datapoint/periods
586
- * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
679
+ * HTTP GET /map/js
680
+ * Java method: org.openremote.model.map.MapResource.getSettingsJs
587
681
  */
588
- getDatapointPeriod(queryParams?: {
589
- assetId?: any;
590
- attributeName?: any;
591
- }, options?: O): RestResponse<Model.DatapointPeriod>;
682
+ getSettingsJs(options?: O): RestResponse<{
683
+ [id: string]: any;
684
+ }>;
592
685
  /**
593
- * HTTP POST /asset/datapoint/{assetId}/{attributeName}
594
- * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
686
+ * HTTP GET /map/tile/{zoom}/{column}/{row}
687
+ * Java method: org.openremote.model.map.MapResource.getTile
595
688
  */
596
- getDatapoints(assetId: any, attributeName: any, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
689
+ getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
597
690
  }
598
- export declare class RealmResourceClient<O> {
691
+ export declare class DashboardResourceClient<O> {
599
692
  protected httpClient: HttpClient<O>;
600
693
  constructor(httpClient: HttpClient<O>);
601
694
  /**
602
- * HTTP POST /realm
603
- * Java method: org.openremote.model.security.RealmResource.create
695
+ * HTTP POST /dashboard
696
+ * Java method: org.openremote.model.dashboard.DashboardResource.create
604
697
  */
605
- create(realm: Model.Realm, options?: O): RestResponse<void>;
698
+ create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
606
699
  /**
607
- * HTTP GET /realm
608
- * Java method: org.openremote.model.security.RealmResource.getAll
700
+ * HTTP PUT /dashboard
701
+ * Java method: org.openremote.model.dashboard.DashboardResource.update
609
702
  */
610
- getAll(options?: O): RestResponse<Model.Realm[]>;
703
+ update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
611
704
  /**
612
- * HTTP GET /realm/accessible
613
- * Java method: org.openremote.model.security.RealmResource.getAccessible
705
+ * HTTP GET /dashboard/all/{realm}
706
+ * Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
614
707
  */
615
- getAccessible(options?: O): RestResponse<Model.Realm[]>;
708
+ getAllRealmDashboards(realm: any, options?: O): RestResponse<Model.Dashboard[]>;
616
709
  /**
617
- * HTTP DELETE /realm/{name}
618
- * Java method: org.openremote.model.security.RealmResource.delete
710
+ * HTTP POST /dashboard/query
711
+ * Java method: org.openremote.model.dashboard.DashboardResource.query
619
712
  */
620
- delete(name: any, options?: O): RestResponse<void>;
713
+ query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
621
714
  /**
622
- * HTTP GET /realm/{name}
623
- * Java method: org.openremote.model.security.RealmResource.get
715
+ * HTTP DELETE /dashboard/{realm}/{dashboardId}
716
+ * Java method: org.openremote.model.dashboard.DashboardResource.delete
624
717
  */
625
- get(name: any, options?: O): RestResponse<Model.Realm>;
718
+ delete(realm: any, dashboardId: any, options?: O): RestResponse<void>;
626
719
  /**
627
- * HTTP PUT /realm/{name}
628
- * Java method: org.openremote.model.security.RealmResource.update
720
+ * HTTP GET /dashboard/{realm}/{dashboardId}
721
+ * Java method: org.openremote.model.dashboard.DashboardResource.get
629
722
  */
630
- update(name: any, realm: Model.Realm, options?: O): RestResponse<void>;
723
+ get(realm: any, dashboardId: any, options?: O): RestResponse<Model.Dashboard>;
631
724
  }
632
- export declare class ConfigurationResourceClient<O> {
725
+ export declare class ProvisioningResourceClient<O> {
633
726
  protected httpClient: HttpClient<O>;
634
727
  constructor(httpClient: HttpClient<O>);
635
728
  /**
636
- * HTTP GET /configuration/manager
637
- * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
729
+ * HTTP POST /provisioning
730
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
638
731
  */
639
- getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
732
+ createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
640
733
  /**
641
- * HTTP PUT /configuration/manager
642
- * Java method: org.openremote.model.manager.ConfigurationResource.update
734
+ * HTTP GET /provisioning
735
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
643
736
  */
644
- update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
737
+ getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
645
738
  /**
646
- * HTTP POST /configuration/manager/file
647
- * Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
739
+ * HTTP DELETE /provisioning/{id}
740
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
648
741
  */
649
- fileUpload(fileInfo: Model.FileInfo, queryParams?: {
650
- path?: any;
651
- }, options?: O): RestResponse<any>;
742
+ deleteProvisioningConfig(id: any, options?: O): RestResponse<void>;
652
743
  /**
653
- * HTTP GET /configuration/manager/image/{filename: .+}
654
- * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
744
+ * HTTP PUT /provisioning/{id}
745
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
655
746
  */
656
- getManagerConfigImage(filename: any, options?: O): RestResponse<any>;
747
+ updateProvisioningConfig(id: any, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
657
748
  }
658
- export declare class NotificationResourceClient<O> {
749
+ export declare class RulesResourceClient<O> {
659
750
  protected httpClient: HttpClient<O>;
660
751
  constructor(httpClient: HttpClient<O>);
661
752
  /**
662
- * HTTP GET /notification
663
- * Java method: org.openremote.model.notification.NotificationResource.getNotifications
753
+ * HTTP POST /rules
754
+ * Java method: org.openremote.model.rules.RulesResource.createGlobalRuleset
664
755
  */
665
- getNotifications(queryParams?: {
666
- id?: any;
667
- type?: any;
668
- from?: any;
669
- to?: any;
670
- realmId?: any;
671
- userId?: any;
672
- assetId?: any;
673
- }, options?: O): RestResponse<Model.SentNotification[]>;
674
- /**
675
- * HTTP DELETE /notification
676
- * Java method: org.openremote.model.notification.NotificationResource.removeNotifications
677
- */
678
- removeNotifications(queryParams?: {
679
- id?: any;
680
- type?: any;
681
- from?: any;
682
- to?: any;
683
- realmId?: any;
684
- userId?: any;
685
- assetId?: any;
686
- }, options?: O): RestResponse<void>;
687
- /**
688
- * HTTP POST /notification/alert
689
- * Java method: org.openremote.model.notification.NotificationResource.sendNotification
690
- */
691
- sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
692
- /**
693
- * HTTP DELETE /notification/{notificationId}
694
- * Java method: org.openremote.model.notification.NotificationResource.removeNotification
695
- */
696
- removeNotification(notificationId: any, options?: O): RestResponse<void>;
697
- /**
698
- * HTTP PUT /notification/{notificationId}/acknowledged
699
- * Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
700
- */
701
- notificationAcknowledged(notificationId: any, acknowledgement: any, queryParams?: {
702
- targetId?: any;
703
- }, options?: O): RestResponse<void>;
756
+ createGlobalRuleset(ruleset: Model.GlobalRuleset, options?: O): RestResponse<number>;
704
757
  /**
705
- * HTTP PUT /notification/{notificationId}/delivered
706
- * Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
758
+ * HTTP GET /rules
759
+ * Java method: org.openremote.model.rules.RulesResource.getGlobalRulesets
707
760
  */
708
- notificationDelivered(notificationId: any, queryParams?: {
709
- targetId?: any;
710
- }, options?: O): RestResponse<void>;
711
- }
712
- export declare class GatewayServiceResourceClient<O> {
713
- protected httpClient: HttpClient<O>;
714
- constructor(httpClient: HttpClient<O>);
761
+ getGlobalRulesets(queryParams?: {
762
+ language?: Model.RulesetLang[];
763
+ fullyPopulate?: boolean;
764
+ }, options?: O): RestResponse<Model.GlobalRuleset[]>;
715
765
  /**
716
- * HTTP POST /gateway/tunnel
717
- * Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
766
+ * HTTP POST /rules/asset
767
+ * Java method: org.openremote.model.rules.RulesResource.createAssetRuleset
718
768
  */
719
- startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
769
+ createAssetRuleset(ruleset: Model.AssetRuleset, options?: O): RestResponse<number>;
720
770
  /**
721
- * HTTP DELETE /gateway/tunnel
722
- * Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
771
+ * HTTP GET /rules/asset/for/{assetId}
772
+ * Java method: org.openremote.model.rules.RulesResource.getAssetRulesets
723
773
  */
724
- stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
774
+ getAssetRulesets(assetId: any, queryParams?: {
775
+ language?: Model.RulesetLang[];
776
+ fullyPopulate?: boolean;
777
+ }, options?: O): RestResponse<Model.AssetRuleset[]>;
725
778
  /**
726
- * HTTP GET /gateway/tunnel/{realm}
727
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
779
+ * HTTP DELETE /rules/asset/{id}
780
+ * Java method: org.openremote.model.rules.RulesResource.deleteAssetRuleset
728
781
  */
729
- getAllActiveTunnelInfos(realm: any, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
782
+ deleteAssetRuleset(id: any, options?: O): RestResponse<void>;
730
783
  /**
731
- * HTTP GET /gateway/tunnel/{realm}/{id}
732
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
784
+ * HTTP GET /rules/asset/{id}
785
+ * Java method: org.openremote.model.rules.RulesResource.getAssetRuleset
733
786
  */
734
- getGatewayActiveTunnelInfos(realm: any, id: any, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
787
+ getAssetRuleset(id: any, options?: O): RestResponse<Model.AssetRuleset>;
735
788
  /**
736
- * HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
737
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
789
+ * HTTP PUT /rules/asset/{id}
790
+ * Java method: org.openremote.model.rules.RulesResource.updateAssetRuleset
738
791
  */
739
- getActiveTunnelInfo(realm: any, id: any, target: any, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
740
- }
741
- export declare class AssetPredictedDatapointResourceClient<O> {
742
- protected httpClient: HttpClient<O>;
743
- constructor(httpClient: HttpClient<O>);
792
+ updateAssetRuleset(id: any, ruleset: Model.AssetRuleset, options?: O): RestResponse<void>;
744
793
  /**
745
- * HTTP POST /asset/predicted/{assetId}/{attributeName}
746
- * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
794
+ * HTTP GET /rules/geofences/{assetId}
795
+ * Java method: org.openremote.model.rules.RulesResource.getAssetGeofences
747
796
  */
748
- getPredictedDatapoints(assetId: any, attributeName: any, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
797
+ getAssetGeofences(assetId: any, options?: O): RestResponse<Model.GeofenceDefinition[]>;
749
798
  /**
750
- * HTTP PUT /asset/predicted/{assetId}/{attributeName}
751
- * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
799
+ * HTTP GET /rules/info/asset/{assetId}
800
+ * Java method: org.openremote.model.rules.RulesResource.getAssetEngineInfo
752
801
  */
753
- writePredictedDatapoints(assetId: any, attributeName: any, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
754
- }
755
- export declare class AgentResourceClient<O> {
756
- protected httpClient: HttpClient<O>;
757
- constructor(httpClient: HttpClient<O>);
802
+ getAssetEngineInfo(assetId: any, options?: O): RestResponse<Model.RulesEngineInfo>;
758
803
  /**
759
- * HTTP GET /agent/assetDiscovery/{agentId}
760
- * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
804
+ * HTTP GET /rules/info/global
805
+ * Java method: org.openremote.model.rules.RulesResource.getGlobalEngineInfo
761
806
  */
762
- doProtocolAssetDiscovery(agentId: any, queryParams?: {
763
- realm?: any;
764
- }, options?: O): RestResponse<Model.AssetTreeNode[]>;
807
+ getGlobalEngineInfo(options?: O): RestResponse<Model.RulesEngineInfo>;
765
808
  /**
766
- * HTTP POST /agent/assetImport/{agentId}
767
- * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
809
+ * HTTP GET /rules/info/realm/{realm}
810
+ * Java method: org.openremote.model.rules.RulesResource.getRealmEngineInfo
768
811
  */
769
- doProtocolAssetImport(agentId: any, fileInfo: Model.FileInfo, queryParams?: {
770
- realm?: any;
771
- }, options?: O): RestResponse<Model.AssetTreeNode[]>;
812
+ getRealmEngineInfo(realm: any, options?: O): RestResponse<Model.RulesEngineInfo>;
772
813
  /**
773
- * HTTP GET /agent/instanceDiscovery/{agentType}
774
- * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
814
+ * HTTP POST /rules/realm
815
+ * Java method: org.openremote.model.rules.RulesResource.createRealmRuleset
775
816
  */
776
- doProtocolInstanceDiscovery(agentType: any, queryParams?: {
777
- parentId?: any;
778
- realm?: any;
779
- }, options?: O): RestResponse<Model.Agent[]>;
780
- }
781
- export declare class AssetModelResourceClient<O> {
782
- protected httpClient: HttpClient<O>;
783
- constructor(httpClient: HttpClient<O>);
817
+ createRealmRuleset(ruleset: Model.RealmRuleset, options?: O): RestResponse<number>;
784
818
  /**
785
- * HTTP GET /model/assetDescriptors
786
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
819
+ * HTTP GET /rules/realm/for/{realm}
820
+ * Java method: org.openremote.model.rules.RulesResource.getRealmRulesets
787
821
  */
788
- getAssetDescriptors(queryParams?: {
789
- parentId?: any;
790
- parentType?: any;
791
- }, options?: O): RestResponse<Model.AssetDescriptor[]>;
822
+ getRealmRulesets(realm: any, queryParams?: {
823
+ language?: Model.RulesetLang[];
824
+ fullyPopulate?: boolean;
825
+ }, options?: O): RestResponse<Model.RealmRuleset[]>;
792
826
  /**
793
- * HTTP GET /model/assetInfo/{assetType}
794
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
827
+ * HTTP DELETE /rules/realm/{id}
828
+ * Java method: org.openremote.model.rules.RulesResource.deleteRealmRuleset
795
829
  */
796
- getAssetInfo(assetType: any, queryParams?: {
797
- parentId?: any;
798
- }, options?: O): RestResponse<Model.AssetTypeInfo>;
830
+ deleteRealmRuleset(id: any, options?: O): RestResponse<void>;
799
831
  /**
800
- * HTTP GET /model/assetInfos
801
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
832
+ * HTTP GET /rules/realm/{id}
833
+ * Java method: org.openremote.model.rules.RulesResource.getRealmRuleset
802
834
  */
803
- getAssetInfos(queryParams?: {
804
- parentId?: any;
805
- parentType?: any;
806
- }, options?: O): RestResponse<Model.AssetTypeInfo[]>;
835
+ getRealmRuleset(id: any, options?: O): RestResponse<Model.RealmRuleset>;
807
836
  /**
808
- * HTTP GET /model/metaItemDescriptors
809
- * Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
837
+ * HTTP PUT /rules/realm/{id}
838
+ * Java method: org.openremote.model.rules.RulesResource.updateRealmRuleset
810
839
  */
811
- getMetaItemDescriptors(queryParams?: {
812
- parentId?: any;
813
- }, options?: O): RestResponse<{
814
- [index: string]: Model.MetaItemDescriptor;
815
- }>;
840
+ updateRealmRuleset(id: any, ruleset: Model.RealmRuleset, options?: O): RestResponse<void>;
816
841
  /**
817
- * HTTP GET /model/valueDescriptors
818
- * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
842
+ * HTTP DELETE /rules/{id}
843
+ * Java method: org.openremote.model.rules.RulesResource.deleteGlobalRuleset
819
844
  */
820
- getValueDescriptors(queryParams?: {
821
- parentId?: any;
822
- }, options?: O): RestResponse<{
823
- [index: string]: Model.ValueDescriptor;
824
- }>;
825
- }
826
- export declare class StatusResourceClient<O> {
827
- protected httpClient: HttpClient<O>;
828
- constructor(httpClient: HttpClient<O>);
845
+ deleteGlobalRuleset(id: any, options?: O): RestResponse<void>;
829
846
  /**
830
- * HTTP GET /health
831
- * Java method: org.openremote.model.system.StatusResource.getHealthStatus
847
+ * HTTP GET /rules/{id}
848
+ * Java method: org.openremote.model.rules.RulesResource.getGlobalRuleset
832
849
  */
833
- getHealthStatus(options?: O): RestResponse<{
834
- [index: string]: any;
835
- }>;
850
+ getGlobalRuleset(id: any, options?: O): RestResponse<Model.GlobalRuleset>;
836
851
  /**
837
- * HTTP GET /info
838
- * Java method: org.openremote.model.system.StatusResource.getInfo
852
+ * HTTP PUT /rules/{id}
853
+ * Java method: org.openremote.model.rules.RulesResource.updateGlobalRuleset
839
854
  */
840
- getInfo(options?: O): RestResponse<{
841
- [index: string]: any;
842
- }>;
855
+ updateGlobalRuleset(id: any, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
843
856
  }
844
- export declare class SyslogResourceClient<O> {
857
+ export declare class FlowResourceClient<O> {
845
858
  protected httpClient: HttpClient<O>;
846
859
  constructor(httpClient: HttpClient<O>);
847
860
  /**
848
- * HTTP GET /syslog/config
849
- * Java method: org.openremote.model.syslog.SyslogResource.getConfig
850
- */
851
- getConfig(options?: O): RestResponse<Model.SyslogConfig>;
852
- /**
853
- * HTTP PUT /syslog/config
854
- * Java method: org.openremote.model.syslog.SyslogResource.updateConfig
861
+ * HTTP GET /flow
862
+ * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
855
863
  */
856
- updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
864
+ getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
857
865
  /**
858
- * HTTP DELETE /syslog/event
859
- * Java method: org.openremote.model.syslog.SyslogResource.clearEvents
866
+ * HTTP GET /flow/{name}
867
+ * Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
860
868
  */
861
- clearEvents(options?: O): RestResponse<void>;
869
+ getNodeDefinition(name: any, options?: O): RestResponse<Model.Node>;
862
870
  /**
863
- * HTTP GET /syslog/event
864
- * Java method: org.openremote.model.syslog.SyslogResource.getEvents
871
+ * HTTP GET /flow/{type}
872
+ * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
865
873
  */
866
- getEvents(queryParams?: {
867
- level?: Model.SyslogLevel;
868
- per_page?: any;
869
- page?: any;
870
- from?: any;
871
- to?: any;
872
- category?: Model.SyslogCategory[];
873
- subCategory?: any[];
874
- }, options?: O): RestResponse<any>;
874
+ getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
875
875
  }
876
876
  export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
877
877
  export declare class ApiClient {
878
- protected _flowResource: AxiosFlowResourceClient;
879
- protected _dashboardResource: AxiosDashboardResourceClient;
880
- protected _appResource: AxiosAppResourceClient;
881
- protected _consoleResource: AxiosConsoleResourceClient;
882
- protected _mapResource: AxiosMapResourceClient;
883
- protected _alarmResource: AxiosAlarmResourceClient;
884
- protected _rulesResource: AxiosRulesResourceClient;
885
- protected _provisioningResource: AxiosProvisioningResourceClient;
886
- protected _gatewayClientResource: AxiosGatewayClientResourceClient;
887
- protected _assetResource: AxiosAssetResourceClient;
888
- protected _userResource: AxiosUserResourceClient;
889
- protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
890
- protected _realmResource: AxiosRealmResourceClient;
878
+ protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
891
879
  protected _configurationResource: AxiosConfigurationResourceClient;
880
+ protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
881
+ protected _alarmResource: AxiosAlarmResourceClient;
882
+ protected _consoleResource: AxiosConsoleResourceClient;
883
+ protected _syslogResource: AxiosSyslogResourceClient;
884
+ protected _appResource: AxiosAppResourceClient;
892
885
  protected _notificationResource: AxiosNotificationResourceClient;
893
- protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
894
886
  protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
895
887
  protected _agentResource: AxiosAgentResourceClient;
896
888
  protected _assetModelResource: AxiosAssetModelResourceClient;
889
+ protected _gatewayClientResource: AxiosGatewayClientResourceClient;
897
890
  protected _statusResource: AxiosStatusResourceClient;
898
- protected _syslogResource: AxiosSyslogResourceClient;
891
+ protected _realmResource: AxiosRealmResourceClient;
892
+ protected _assetResource: AxiosAssetResourceClient;
893
+ protected _userResource: AxiosUserResourceClient;
894
+ protected _mapResource: AxiosMapResourceClient;
895
+ protected _dashboardResource: AxiosDashboardResourceClient;
896
+ protected _provisioningResource: AxiosProvisioningResourceClient;
897
+ protected _rulesResource: AxiosRulesResourceClient;
898
+ protected _flowResource: AxiosFlowResourceClient;
899
899
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
900
- get FlowResource(): AxiosFlowResourceClient;
901
- get DashboardResource(): AxiosDashboardResourceClient;
902
- get AppResource(): AxiosAppResourceClient;
903
- get ConsoleResource(): AxiosConsoleResourceClient;
904
- get MapResource(): AxiosMapResourceClient;
905
- get AlarmResource(): AxiosAlarmResourceClient;
906
- get RulesResource(): AxiosRulesResourceClient;
907
- get ProvisioningResource(): AxiosProvisioningResourceClient;
908
- get GatewayClientResource(): AxiosGatewayClientResourceClient;
909
- get AssetResource(): AxiosAssetResourceClient;
910
- get UserResource(): AxiosUserResourceClient;
911
- get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
912
- get RealmResource(): AxiosRealmResourceClient;
900
+ get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
913
901
  get ConfigurationResource(): AxiosConfigurationResourceClient;
902
+ get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
903
+ get AlarmResource(): AxiosAlarmResourceClient;
904
+ get ConsoleResource(): AxiosConsoleResourceClient;
905
+ get SyslogResource(): AxiosSyslogResourceClient;
906
+ get AppResource(): AxiosAppResourceClient;
914
907
  get NotificationResource(): AxiosNotificationResourceClient;
915
- get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
916
908
  get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
917
909
  get AgentResource(): AxiosAgentResourceClient;
918
910
  get AssetModelResource(): AxiosAssetModelResourceClient;
911
+ get GatewayClientResource(): AxiosGatewayClientResourceClient;
919
912
  get StatusResource(): AxiosStatusResourceClient;
920
- get SyslogResource(): AxiosSyslogResourceClient;
913
+ get RealmResource(): AxiosRealmResourceClient;
914
+ get AssetResource(): AxiosAssetResourceClient;
915
+ get UserResource(): AxiosUserResourceClient;
916
+ get MapResource(): AxiosMapResourceClient;
917
+ get DashboardResource(): AxiosDashboardResourceClient;
918
+ get ProvisioningResource(): AxiosProvisioningResourceClient;
919
+ get RulesResource(): AxiosRulesResourceClient;
920
+ get FlowResource(): AxiosFlowResourceClient;
921
921
  }
922
922
  import * as Axios from "axios";
923
923
  declare module "axios" {
@@ -925,66 +925,66 @@ declare module "axios" {
925
925
  data: R;
926
926
  }
927
927
  }
928
- export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
928
+ export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
929
929
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
930
930
  }
931
- export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
931
+ export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
932
932
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
933
933
  }
934
- export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
934
+ export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
935
935
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
936
936
  }
937
- export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
937
+ export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
938
938
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
939
939
  }
940
- export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
940
+ export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
941
941
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
942
942
  }
943
- export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
943
+ export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
944
944
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
945
945
  }
946
- export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
946
+ export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
947
947
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
948
948
  }
949
- export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
949
+ export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
950
950
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
951
951
  }
952
- export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
952
+ export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<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 AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
956
956
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
957
957
  }
958
- export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
958
+ export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
959
959
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
960
960
  }
961
- export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
961
+ export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
962
962
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
963
963
  }
964
- export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
964
+ export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
965
965
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
966
966
  }
967
- export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
967
+ export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
968
968
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
969
969
  }
970
- export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
970
+ export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
971
971
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
972
972
  }
973
- export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
973
+ export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
974
974
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
975
975
  }
976
- export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
976
+ export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
977
977
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
978
978
  }
979
- export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
979
+ export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
980
980
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
981
981
  }
982
- export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
982
+ export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
983
983
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
984
984
  }
985
- export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
985
+ export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
986
986
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
987
987
  }
988
- export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
988
+ export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
989
989
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
990
990
  }