@openremote/rest 1.2.2 → 1.2.3

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