@openremote/rest 1.9.0 → 1.10.0-snapshot.20251006133739

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