@openremote/rest 1.4.0-snapshot.20250314091541 → 1.4.0-snapshot.20250317153938

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