@openremote/rest 1.3.0-snapshot.20250120112952 → 1.3.0-snapshot.20250120125703

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