@openremote/rest 1.3.0-snapshot.20250123095123 → 1.3.0-snapshot.20250124120257

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