@openremote/rest 1.4.0-snapshot.20250326124637 → 1.4.0-snapshot.20250328114049

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