@openremote/rest 1.6.0 → 1.6.2

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