@openremote/rest 1.6.0-snapshot.20250513093322 → 1.6.0-snapshot.20250514060942

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