@openremote/rest 1.4.0-snapshot.20250312084137 → 1.4.0-snapshot.20250313165420

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