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

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