@openremote/rest 1.9.0-snapshot.20250910131051 → 1.9.0-snapshot.20250910140942

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