@openremote/rest 1.7.0-snapshot.20250611105753 → 1.7.0-snapshot.20250623172317

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