@openremote/rest 1.3.0-snapshot.20250124124333 → 1.3.0-snapshot.20250129124305

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