@openremote/rest 1.8.0-snapshot.20250818111451 → 1.8.0-snapshot.20250818114025

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