@openremote/rest 1.10.0-snapshot.20251009142540 → 1.10.0-snapshot.20251010093013

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