@openremote/rest 1.12.0-snapshot.20251215123037 → 1.12.0

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,6 +9,101 @@ export interface HttpClient<O> {
9
9
  options?: O;
10
10
  }): RestResponse<R>;
11
11
  }
12
+ export declare class StatusResourceClient<O> {
13
+ protected httpClient: HttpClient<O>;
14
+ constructor(httpClient: HttpClient<O>);
15
+ /**
16
+ * HTTP GET /health
17
+ * Java method: org.openremote.model.system.StatusResource.getHealthStatus
18
+ */
19
+ getHealthStatus(options?: O): RestResponse<{
20
+ [index: string]: any;
21
+ }>;
22
+ /**
23
+ * HTTP GET /info
24
+ * Java method: org.openremote.model.system.StatusResource.getInfo
25
+ */
26
+ getInfo(options?: O): RestResponse<{
27
+ [index: string]: any;
28
+ }>;
29
+ }
30
+ export declare class AssetModelResourceClient<O> {
31
+ protected httpClient: HttpClient<O>;
32
+ constructor(httpClient: HttpClient<O>);
33
+ /**
34
+ * HTTP GET /model/assetDescriptors
35
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
36
+ */
37
+ getAssetDescriptors(queryParams?: {
38
+ parentId?: string;
39
+ parentType?: string;
40
+ }, options?: O): RestResponse<Model.AssetDescriptor[]>;
41
+ /**
42
+ * HTTP GET /model/assetInfo/{assetType}
43
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
44
+ */
45
+ getAssetInfo(assetType: string, queryParams?: {
46
+ parentId?: string;
47
+ }, options?: O): RestResponse<Model.AssetTypeInfo>;
48
+ /**
49
+ * HTTP GET /model/assetInfos
50
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
51
+ */
52
+ getAssetInfos(queryParams?: {
53
+ parentId?: string;
54
+ parentType?: string;
55
+ }, options?: O): RestResponse<Model.AssetTypeInfo[]>;
56
+ /**
57
+ * HTTP GET /model/getValueDescriptorSchema
58
+ * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptorSchema
59
+ */
60
+ getValueDescriptorSchema(queryParams?: {
61
+ name?: string;
62
+ hash?: string;
63
+ }, options?: O): RestResponse<any>;
64
+ /**
65
+ * HTTP GET /model/metaItemDescriptors
66
+ * Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
67
+ */
68
+ getMetaItemDescriptors(queryParams?: {
69
+ parentId?: string;
70
+ }, options?: O): RestResponse<{
71
+ [index: string]: Model.MetaItemDescriptor;
72
+ }>;
73
+ /**
74
+ * HTTP GET /model/valueDescriptors
75
+ * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
76
+ */
77
+ getValueDescriptors(queryParams?: {
78
+ parentId?: string;
79
+ }, options?: O): RestResponse<{
80
+ [index: string]: Model.ValueDescriptor;
81
+ }>;
82
+ }
83
+ export declare class ProvisioningResourceClient<O> {
84
+ protected httpClient: HttpClient<O>;
85
+ constructor(httpClient: HttpClient<O>);
86
+ /**
87
+ * HTTP POST /provisioning
88
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
89
+ */
90
+ createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
91
+ /**
92
+ * HTTP GET /provisioning
93
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
94
+ */
95
+ getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
96
+ /**
97
+ * HTTP DELETE /provisioning/{id}
98
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
99
+ */
100
+ deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
101
+ /**
102
+ * HTTP PUT /provisioning/{id}
103
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
104
+ */
105
+ updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
106
+ }
12
107
  export declare class SyslogResourceClient<O> {
13
108
  protected httpClient: HttpClient<O>;
14
109
  constructor(httpClient: HttpClient<O>);
@@ -41,84 +136,187 @@ export declare class SyslogResourceClient<O> {
41
136
  subCategory?: string[];
42
137
  }, options?: O): RestResponse<any>;
43
138
  }
44
- export declare class FlowResourceClient<O> {
139
+ export declare class NotificationResourceClient<O> {
45
140
  protected httpClient: HttpClient<O>;
46
141
  constructor(httpClient: HttpClient<O>);
47
142
  /**
48
- * HTTP GET /flow
49
- * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
143
+ * HTTP GET /notification
144
+ * Java method: org.openremote.model.notification.NotificationResource.getNotifications
50
145
  */
51
- getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
146
+ getNotifications(queryParams?: {
147
+ id?: number;
148
+ type?: string;
149
+ from?: number;
150
+ to?: number;
151
+ realmId?: string;
152
+ userId?: string;
153
+ assetId?: string;
154
+ }, options?: O): RestResponse<Model.SentNotification[]>;
52
155
  /**
53
- * HTTP GET /flow/{name}
54
- * Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
156
+ * HTTP DELETE /notification
157
+ * Java method: org.openremote.model.notification.NotificationResource.removeNotifications
55
158
  */
56
- getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
159
+ removeNotifications(queryParams?: {
160
+ id?: number;
161
+ type?: string;
162
+ from?: number;
163
+ to?: number;
164
+ realmId?: string;
165
+ userId?: string;
166
+ assetId?: string;
167
+ }, options?: O): RestResponse<void>;
57
168
  /**
58
- * HTTP GET /flow/{type}
59
- * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
169
+ * HTTP POST /notification/alert
170
+ * Java method: org.openremote.model.notification.NotificationResource.sendNotification
60
171
  */
61
- getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
172
+ sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
173
+ /**
174
+ * HTTP DELETE /notification/{notificationId}
175
+ * Java method: org.openremote.model.notification.NotificationResource.removeNotification
176
+ */
177
+ removeNotification(notificationId: number, options?: O): RestResponse<void>;
178
+ /**
179
+ * HTTP PUT /notification/{notificationId}/acknowledged
180
+ * Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
181
+ */
182
+ notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
183
+ targetId?: string;
184
+ }, options?: O): RestResponse<void>;
185
+ /**
186
+ * HTTP PUT /notification/{notificationId}/delivered
187
+ * Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
188
+ */
189
+ notificationDelivered(notificationId: number, queryParams?: {
190
+ targetId?: string;
191
+ }, options?: O): RestResponse<void>;
62
192
  }
63
- export declare class DashboardResourceClient<O> {
193
+ export declare class AssetResourceClient<O> {
64
194
  protected httpClient: HttpClient<O>;
65
195
  constructor(httpClient: HttpClient<O>);
66
196
  /**
67
- * HTTP POST /dashboard
68
- * Java method: org.openremote.model.dashboard.DashboardResource.create
197
+ * HTTP POST /asset
198
+ * Java method: org.openremote.model.asset.AssetResource.create
69
199
  */
70
- create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
200
+ create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
71
201
  /**
72
- * HTTP PUT /dashboard
73
- * Java method: org.openremote.model.dashboard.DashboardResource.update
202
+ * HTTP DELETE /asset
203
+ * Java method: org.openremote.model.asset.AssetResource.delete
74
204
  */
75
- update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
205
+ delete(queryParams?: {
206
+ assetId?: string[];
207
+ }, options?: O): RestResponse<void>;
76
208
  /**
77
- * HTTP GET /dashboard/all/{realm}
78
- * Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
209
+ * HTTP PUT /asset/attributes
210
+ * Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
79
211
  */
80
- getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
212
+ writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
81
213
  /**
82
- * HTTP POST /dashboard/query
83
- * Java method: org.openremote.model.dashboard.DashboardResource.query
214
+ * HTTP PUT /asset/attributes/timestamp
215
+ * Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
84
216
  */
85
- query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
217
+ writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
86
218
  /**
87
- * HTTP DELETE /dashboard/{realm}/{dashboardId}
88
- * Java method: org.openremote.model.dashboard.DashboardResource.delete
219
+ * HTTP DELETE /asset/parent
220
+ * Java method: org.openremote.model.asset.AssetResource.updateNoneParent
89
221
  */
90
- delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
222
+ updateNoneParent(queryParams?: {
223
+ assetIds?: string[];
224
+ }, options?: O): RestResponse<void>;
91
225
  /**
92
- * HTTP GET /dashboard/{realm}/{dashboardId}
93
- * Java method: org.openremote.model.dashboard.DashboardResource.get
226
+ * HTTP GET /asset/partial/{assetId}
227
+ * Java method: org.openremote.model.asset.AssetResource.getPartial
94
228
  */
95
- get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
229
+ getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
230
+ /**
231
+ * HTTP POST /asset/query
232
+ * Java method: org.openremote.model.asset.AssetResource.queryAssets
233
+ */
234
+ queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
235
+ /**
236
+ * HTTP POST /asset/tree
237
+ * Java method: org.openremote.model.asset.AssetResource.queryAssetTree
238
+ */
239
+ queryAssetTree(query: Model.AssetQuery, options?: O): RestResponse<Model.AssetTree>;
240
+ /**
241
+ * HTTP GET /asset/user/current
242
+ * Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
243
+ */
244
+ getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
245
+ /**
246
+ * HTTP POST /asset/user/link
247
+ * Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
248
+ */
249
+ createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
250
+ /**
251
+ * HTTP GET /asset/user/link
252
+ * Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
253
+ */
254
+ getUserAssetLinks(queryParams?: {
255
+ realm?: string;
256
+ userId?: string;
257
+ assetId?: string;
258
+ }, options?: O): RestResponse<Model.UserAssetLink[]>;
259
+ /**
260
+ * HTTP POST /asset/user/link/delete
261
+ * Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
262
+ */
263
+ deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
264
+ /**
265
+ * HTTP DELETE /asset/user/link/{realm}/{userId}
266
+ * Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
267
+ */
268
+ deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
269
+ /**
270
+ * HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
271
+ * Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
272
+ */
273
+ deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
274
+ /**
275
+ * HTTP GET /asset/{assetId}
276
+ * Java method: org.openremote.model.asset.AssetResource.get
277
+ */
278
+ get(assetId: string, options?: O): RestResponse<Model.Asset>;
279
+ /**
280
+ * HTTP PUT /asset/{assetId}
281
+ * Java method: org.openremote.model.asset.AssetResource.update
282
+ */
283
+ update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
284
+ /**
285
+ * HTTP PUT /asset/{assetId}/attribute/{attributeName}
286
+ * Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
287
+ */
288
+ writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
289
+ /**
290
+ * HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
291
+ * Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
292
+ */
293
+ writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
294
+ /**
295
+ * HTTP PUT /asset/{parentAssetId}/child
296
+ * Java method: org.openremote.model.asset.AssetResource.updateParent
297
+ */
298
+ updateParent(parentAssetId: string, queryParams?: {
299
+ assetIds?: string[];
300
+ }, options?: O): RestResponse<void>;
96
301
  }
97
- export declare class ConfigurationResourceClient<O> {
302
+ export declare class FlowResourceClient<O> {
98
303
  protected httpClient: HttpClient<O>;
99
304
  constructor(httpClient: HttpClient<O>);
100
305
  /**
101
- * HTTP GET /configuration/manager
102
- * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
103
- */
104
- getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
105
- /**
106
- * HTTP PUT /configuration/manager
107
- * Java method: org.openremote.model.manager.ConfigurationResource.update
306
+ * HTTP GET /flow
307
+ * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
108
308
  */
109
- update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
309
+ getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
110
310
  /**
111
- * HTTP POST /configuration/manager/file
112
- * Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
311
+ * HTTP GET /flow/{name}
312
+ * Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
113
313
  */
114
- fileUpload(fileInfo: Model.FileInfo, queryParams?: {
115
- path?: string;
116
- }, options?: O): RestResponse<string>;
314
+ getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
117
315
  /**
118
- * HTTP GET /configuration/manager/image/{filename: .+}
119
- * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
316
+ * HTTP GET /flow/{type}
317
+ * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
120
318
  */
121
- getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
319
+ getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
122
320
  }
123
321
  export declare class RulesResourceClient<O> {
124
322
  protected httpClient: HttpClient<O>;
@@ -228,169 +426,40 @@ export declare class RulesResourceClient<O> {
228
426
  */
229
427
  updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
230
428
  }
231
- export declare class AssetResourceClient<O> {
429
+ export declare class ConsoleResourceClient<O> {
232
430
  protected httpClient: HttpClient<O>;
233
431
  constructor(httpClient: HttpClient<O>);
234
432
  /**
235
- * HTTP POST /asset
236
- * Java method: org.openremote.model.asset.AssetResource.create
237
- */
238
- create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
239
- /**
240
- * HTTP DELETE /asset
241
- * Java method: org.openremote.model.asset.AssetResource.delete
242
- */
243
- delete(queryParams?: {
244
- assetId?: string[];
245
- }, options?: O): RestResponse<void>;
246
- /**
247
- * HTTP PUT /asset/attributes
248
- * Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
249
- */
250
- writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
251
- /**
252
- * HTTP PUT /asset/attributes/timestamp
253
- * Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
254
- */
255
- writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
256
- /**
257
- * HTTP DELETE /asset/parent
258
- * Java method: org.openremote.model.asset.AssetResource.updateNoneParent
259
- */
260
- updateNoneParent(queryParams?: {
261
- assetIds?: string[];
262
- }, options?: O): RestResponse<void>;
263
- /**
264
- * HTTP GET /asset/partial/{assetId}
265
- * Java method: org.openremote.model.asset.AssetResource.getPartial
266
- */
267
- getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
268
- /**
269
- * HTTP POST /asset/query
270
- * Java method: org.openremote.model.asset.AssetResource.queryAssets
271
- */
272
- queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
273
- /**
274
- * HTTP POST /asset/tree
275
- * Java method: org.openremote.model.asset.AssetResource.queryAssetTree
276
- */
277
- queryAssetTree(query: Model.AssetQuery, options?: O): RestResponse<Model.AssetTree>;
278
- /**
279
- * HTTP GET /asset/user/current
280
- * Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
281
- */
282
- getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
283
- /**
284
- * HTTP POST /asset/user/link
285
- * Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
286
- */
287
- createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
288
- /**
289
- * HTTP GET /asset/user/link
290
- * Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
291
- */
292
- getUserAssetLinks(queryParams?: {
293
- realm?: string;
294
- userId?: string;
295
- assetId?: string;
296
- }, options?: O): RestResponse<Model.UserAssetLink[]>;
297
- /**
298
- * HTTP POST /asset/user/link/delete
299
- * Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
300
- */
301
- deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
302
- /**
303
- * HTTP DELETE /asset/user/link/{realm}/{userId}
304
- * Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
305
- */
306
- deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
307
- /**
308
- * HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
309
- * Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
310
- */
311
- deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
312
- /**
313
- * HTTP GET /asset/{assetId}
314
- * Java method: org.openremote.model.asset.AssetResource.get
315
- */
316
- get(assetId: string, options?: O): RestResponse<Model.Asset>;
317
- /**
318
- * HTTP PUT /asset/{assetId}
319
- * Java method: org.openremote.model.asset.AssetResource.update
320
- */
321
- update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
322
- /**
323
- * HTTP PUT /asset/{assetId}/attribute/{attributeName}
324
- * Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
325
- */
326
- writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
327
- /**
328
- * HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
329
- * Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
330
- */
331
- writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
332
- /**
333
- * HTTP PUT /asset/{parentAssetId}/child
334
- * Java method: org.openremote.model.asset.AssetResource.updateParent
433
+ * HTTP POST /console/register
434
+ * Java method: org.openremote.model.console.ConsoleResource.register
335
435
  */
336
- updateParent(parentAssetId: string, queryParams?: {
337
- assetIds?: string[];
338
- }, options?: O): RestResponse<void>;
436
+ register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
339
437
  }
340
- export declare class ExternalServiceResourceClient<O> {
438
+ export declare class ConfigurationResourceClient<O> {
341
439
  protected httpClient: HttpClient<O>;
342
440
  constructor(httpClient: HttpClient<O>);
343
441
  /**
344
- * Response code 200 - List of registered external services
345
- * HTTP GET /service
346
- * Java method: org.openremote.model.services.ExternalServiceResource.getServices
347
- */
348
- getServices(queryParams?: {
349
- realm?: string;
350
- }, options?: O): RestResponse<Model.ExternalService[]>;
351
- /**
352
- * Response code 200 - Service registered successfully
353
- * Response code 400 - Invalid external service object
354
- * Response code 409 - ExternalService instance already registered
355
- * HTTP POST /service
356
- * Java method: org.openremote.model.services.ExternalServiceResource.registerService
357
- */
358
- registerService(service: Model.ExternalService, options?: O): RestResponse<Model.ExternalService>;
359
- /**
360
- * Response code 200 - List of registered external services
361
- * HTTP GET /service/global
362
- * Java method: org.openremote.model.services.ExternalServiceResource.getGlobalServices
363
- */
364
- getGlobalServices(options?: O): RestResponse<Model.ExternalService[]>;
365
- /**
366
- * Response code 200 - Service registered successfully
367
- * Response code 400 - Invalid external service object
368
- * Response code 409 - ExternalService instance already registered
369
- * HTTP POST /service/global
370
- * Java method: org.openremote.model.services.ExternalServiceResource.registerGlobalService
371
- */
372
- registerGlobalService(service: Model.ExternalService, options?: O): RestResponse<Model.ExternalService>;
373
- /**
374
- * Response code 204 - Service deregistered successfully
375
- * Response code 404 - Service instance not found
376
- * HTTP DELETE /service/{serviceId}/{instanceId}
377
- * Java method: org.openremote.model.services.ExternalServiceResource.deregisterService
442
+ * HTTP GET /configuration/manager
443
+ * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
378
444
  */
379
- deregisterService(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
445
+ getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
380
446
  /**
381
- * Response code 200 - ExternalService retrieved successfully
382
- * Response code 404 - ExternalService not found
383
- * HTTP GET /service/{serviceId}/{instanceId}
384
- * Java method: org.openremote.model.services.ExternalServiceResource.getService
447
+ * HTTP PUT /configuration/manager
448
+ * Java method: org.openremote.model.manager.ConfigurationResource.update
385
449
  */
386
- getService(serviceId: string, instanceId: number, options?: O): RestResponse<Model.ExternalService>;
450
+ update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
387
451
  /**
388
- * Response code 204 - Heartbeat sent successfully
389
- * Response code 404 - Service instance not found
390
- * HTTP PUT /service/{serviceId}/{instanceId}
391
- * Java method: org.openremote.model.services.ExternalServiceResource.heartbeat
452
+ * HTTP POST /configuration/manager/file
453
+ * Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
392
454
  */
393
- heartbeat(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
455
+ fileUpload(fileInfo: Model.FileInfo, queryParams?: {
456
+ path?: string;
457
+ }, options?: O): RestResponse<string>;
458
+ /**
459
+ * HTTP GET /configuration/manager/image/{filename: .+}
460
+ * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
461
+ */
462
+ getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
394
463
  }
395
464
  export declare class AlarmResourceClient<O> {
396
465
  protected httpClient: HttpClient<O>;
@@ -445,42 +514,6 @@ export declare class AlarmResourceClient<O> {
445
514
  realm?: string;
446
515
  }, options?: O): RestResponse<Model.AlarmAssetLink[]>;
447
516
  }
448
- export declare class GatewayClientResourceClient<O> {
449
- protected httpClient: HttpClient<O>;
450
- constructor(httpClient: HttpClient<O>);
451
- /**
452
- * HTTP DELETE /gateway/connection
453
- * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
454
- */
455
- deleteConnections(queryParams?: {
456
- realm?: string[];
457
- }, options?: O): RestResponse<void>;
458
- /**
459
- * HTTP GET /gateway/connection
460
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
461
- */
462
- getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
463
- /**
464
- * HTTP DELETE /gateway/connection/{realm}
465
- * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
466
- */
467
- deleteConnection(realm: string, options?: O): RestResponse<void>;
468
- /**
469
- * HTTP GET /gateway/connection/{realm}
470
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
471
- */
472
- getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
473
- /**
474
- * HTTP PUT /gateway/connection/{realm}
475
- * Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
476
- */
477
- setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
478
- /**
479
- * HTTP GET /gateway/status/{realm}
480
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
481
- */
482
- getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
483
- }
484
517
  export declare class GatewayServiceResourceClient<O> {
485
518
  protected httpClient: HttpClient<O>;
486
519
  constructor(httpClient: HttpClient<O>);
@@ -510,102 +543,6 @@ export declare class GatewayServiceResourceClient<O> {
510
543
  */
511
544
  getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
512
545
  }
513
- export declare class AssetDatapointResourceClient<O> {
514
- protected httpClient: HttpClient<O>;
515
- constructor(httpClient: HttpClient<O>);
516
- /**
517
- * HTTP GET /asset/datapoint/export
518
- * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
519
- */
520
- getDatapointExport(queryParams?: {
521
- attributeRefs?: string;
522
- fromTimestamp?: number;
523
- toTimestamp?: number;
524
- }, options?: O): RestResponse<any>;
525
- /**
526
- * HTTP GET /asset/datapoint/periods
527
- * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
528
- */
529
- getDatapointPeriod(queryParams?: {
530
- assetId?: string;
531
- attributeName?: string;
532
- }, options?: O): RestResponse<Model.DatapointPeriod>;
533
- /**
534
- * HTTP POST /asset/datapoint/{assetId}/{attributeName}
535
- * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
536
- */
537
- getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
538
- }
539
- export declare class ConsoleResourceClient<O> {
540
- protected httpClient: HttpClient<O>;
541
- constructor(httpClient: HttpClient<O>);
542
- /**
543
- * HTTP POST /console/register
544
- * Java method: org.openremote.model.console.ConsoleResource.register
545
- */
546
- register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
547
- }
548
- export declare class ProvisioningResourceClient<O> {
549
- protected httpClient: HttpClient<O>;
550
- constructor(httpClient: HttpClient<O>);
551
- /**
552
- * HTTP POST /provisioning
553
- * Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
554
- */
555
- createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
556
- /**
557
- * HTTP GET /provisioning
558
- * Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
559
- */
560
- getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
561
- /**
562
- * HTTP DELETE /provisioning/{id}
563
- * Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
564
- */
565
- deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
566
- /**
567
- * HTTP PUT /provisioning/{id}
568
- * Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
569
- */
570
- updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
571
- }
572
- export declare class AppResourceClient<O> {
573
- protected httpClient: HttpClient<O>;
574
- constructor(httpClient: HttpClient<O>);
575
- /**
576
- * HTTP GET /apps
577
- * Java method: org.openremote.model.apps.AppResource.getApps
578
- */
579
- getApps(options?: O): RestResponse<string[]>;
580
- /**
581
- * HTTP GET /apps/consoleConfig
582
- * Java method: org.openremote.model.apps.AppResource.getConsoleConfig
583
- */
584
- getConsoleConfig(options?: O): RestResponse<any>;
585
- /**
586
- * HTTP GET /apps/info
587
- * Java method: org.openremote.model.apps.AppResource.getAppInfos
588
- */
589
- getAppInfos(options?: O): RestResponse<any>;
590
- }
591
- export declare class StatusResourceClient<O> {
592
- protected httpClient: HttpClient<O>;
593
- constructor(httpClient: HttpClient<O>);
594
- /**
595
- * HTTP GET /health
596
- * Java method: org.openremote.model.system.StatusResource.getHealthStatus
597
- */
598
- getHealthStatus(options?: O): RestResponse<{
599
- [index: string]: any;
600
- }>;
601
- /**
602
- * HTTP GET /info
603
- * Java method: org.openremote.model.system.StatusResource.getInfo
604
- */
605
- getInfo(options?: O): RestResponse<{
606
- [index: string]: any;
607
- }>;
608
- }
609
546
  export declare class RealmResourceClient<O> {
610
547
  protected httpClient: HttpClient<O>;
611
548
  constructor(httpClient: HttpClient<O>);
@@ -640,152 +577,167 @@ export declare class RealmResourceClient<O> {
640
577
  */
641
578
  update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
642
579
  }
643
- export declare class AgentResourceClient<O> {
580
+ export declare class GatewayClientResourceClient<O> {
644
581
  protected httpClient: HttpClient<O>;
645
582
  constructor(httpClient: HttpClient<O>);
646
583
  /**
647
- * HTTP GET /agent/assetDiscovery/{agentId}
648
- * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
584
+ * HTTP DELETE /gateway/connection
585
+ * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
649
586
  */
650
- doProtocolAssetDiscovery(agentId: string, queryParams?: {
651
- realm?: string;
652
- }, options?: O): RestResponse<Model.AssetTreeNode[]>;
587
+ deleteConnections(queryParams?: {
588
+ realm?: string[];
589
+ }, options?: O): RestResponse<void>;
653
590
  /**
654
- * HTTP POST /agent/assetImport/{agentId}
655
- * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
591
+ * HTTP GET /gateway/connection
592
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
656
593
  */
657
- doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
658
- realm?: string;
659
- }, options?: O): RestResponse<Model.AssetTreeNode[]>;
594
+ getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
660
595
  /**
661
- * HTTP GET /agent/instanceDiscovery/{agentType}
662
- * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
596
+ * HTTP DELETE /gateway/connection/{realm}
597
+ * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
663
598
  */
664
- doProtocolInstanceDiscovery(agentType: string, queryParams?: {
665
- parentId?: string;
666
- realm?: string;
667
- }, options?: O): RestResponse<Model.Agent[]>;
668
- }
669
- export declare class AssetPredictedDatapointResourceClient<O> {
670
- protected httpClient: HttpClient<O>;
671
- constructor(httpClient: HttpClient<O>);
599
+ deleteConnection(realm: string, options?: O): RestResponse<void>;
672
600
  /**
673
- * HTTP POST /asset/predicted/{assetId}/{attributeName}
674
- * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
601
+ * HTTP GET /gateway/connection/{realm}
602
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
675
603
  */
676
- getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
604
+ getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
677
605
  /**
678
- * HTTP PUT /asset/predicted/{assetId}/{attributeName}
679
- * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
606
+ * HTTP PUT /gateway/connection/{realm}
607
+ * Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
680
608
  */
681
- writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
609
+ setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
610
+ /**
611
+ * HTTP GET /gateway/status/{realm}
612
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
613
+ */
614
+ getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
682
615
  }
683
- export declare class NotificationResourceClient<O> {
616
+ export declare class ExternalServiceResourceClient<O> {
684
617
  protected httpClient: HttpClient<O>;
685
618
  constructor(httpClient: HttpClient<O>);
686
619
  /**
687
- * HTTP GET /notification
688
- * Java method: org.openremote.model.notification.NotificationResource.getNotifications
620
+ * Response code 200 - List of registered external services
621
+ * HTTP GET /service
622
+ * Java method: org.openremote.model.services.ExternalServiceResource.getServices
689
623
  */
690
- getNotifications(queryParams?: {
691
- id?: number;
692
- type?: string;
693
- from?: number;
694
- to?: number;
695
- realmId?: string;
696
- userId?: string;
697
- assetId?: string;
698
- }, options?: O): RestResponse<Model.SentNotification[]>;
624
+ getServices(queryParams?: {
625
+ realm?: string;
626
+ }, options?: O): RestResponse<Model.ExternalService[]>;
699
627
  /**
700
- * HTTP DELETE /notification
701
- * Java method: org.openremote.model.notification.NotificationResource.removeNotifications
628
+ * Response code 200 - Service registered successfully
629
+ * Response code 400 - Invalid external service object
630
+ * Response code 409 - ExternalService instance already registered
631
+ * HTTP POST /service
632
+ * Java method: org.openremote.model.services.ExternalServiceResource.registerService
702
633
  */
703
- removeNotifications(queryParams?: {
704
- id?: number;
705
- type?: string;
706
- from?: number;
707
- to?: number;
708
- realmId?: string;
709
- userId?: string;
710
- assetId?: string;
711
- }, options?: O): RestResponse<void>;
634
+ registerService(service: Model.ExternalService, options?: O): RestResponse<Model.ExternalService>;
635
+ /**
636
+ * Response code 200 - List of registered external services
637
+ * HTTP GET /service/global
638
+ * Java method: org.openremote.model.services.ExternalServiceResource.getGlobalServices
639
+ */
640
+ getGlobalServices(options?: O): RestResponse<Model.ExternalService[]>;
641
+ /**
642
+ * Response code 200 - Service registered successfully
643
+ * Response code 400 - Invalid external service object
644
+ * Response code 409 - ExternalService instance already registered
645
+ * HTTP POST /service/global
646
+ * Java method: org.openremote.model.services.ExternalServiceResource.registerGlobalService
647
+ */
648
+ registerGlobalService(service: Model.ExternalService, options?: O): RestResponse<Model.ExternalService>;
649
+ /**
650
+ * Response code 204 - Service deregistered successfully
651
+ * Response code 404 - Service instance not found
652
+ * HTTP DELETE /service/{serviceId}/{instanceId}
653
+ * Java method: org.openremote.model.services.ExternalServiceResource.deregisterService
654
+ */
655
+ deregisterService(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
712
656
  /**
713
- * HTTP POST /notification/alert
714
- * Java method: org.openremote.model.notification.NotificationResource.sendNotification
657
+ * Response code 200 - ExternalService retrieved successfully
658
+ * Response code 404 - ExternalService not found
659
+ * HTTP GET /service/{serviceId}/{instanceId}
660
+ * Java method: org.openremote.model.services.ExternalServiceResource.getService
715
661
  */
716
- sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
662
+ getService(serviceId: string, instanceId: number, options?: O): RestResponse<Model.ExternalService>;
717
663
  /**
718
- * HTTP DELETE /notification/{notificationId}
719
- * Java method: org.openremote.model.notification.NotificationResource.removeNotification
664
+ * Response code 204 - Heartbeat sent successfully
665
+ * Response code 404 - Service instance not found
666
+ * HTTP PUT /service/{serviceId}/{instanceId}
667
+ * Java method: org.openremote.model.services.ExternalServiceResource.heartbeat
720
668
  */
721
- removeNotification(notificationId: number, options?: O): RestResponse<void>;
669
+ heartbeat(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
670
+ }
671
+ export declare class AgentResourceClient<O> {
672
+ protected httpClient: HttpClient<O>;
673
+ constructor(httpClient: HttpClient<O>);
722
674
  /**
723
- * HTTP PUT /notification/{notificationId}/acknowledged
724
- * Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
675
+ * HTTP GET /agent/assetDiscovery/{agentId}
676
+ * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
725
677
  */
726
- notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
727
- targetId?: string;
728
- }, options?: O): RestResponse<void>;
678
+ doProtocolAssetDiscovery(agentId: string, queryParams?: {
679
+ realm?: string;
680
+ }, options?: O): RestResponse<Model.AssetTreeNode[]>;
729
681
  /**
730
- * HTTP PUT /notification/{notificationId}/delivered
731
- * Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
682
+ * HTTP POST /agent/assetImport/{agentId}
683
+ * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
732
684
  */
733
- notificationDelivered(notificationId: number, queryParams?: {
734
- targetId?: string;
735
- }, options?: O): RestResponse<void>;
685
+ doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
686
+ realm?: string;
687
+ }, options?: O): RestResponse<Model.AssetTreeNode[]>;
688
+ /**
689
+ * HTTP GET /agent/instanceDiscovery/{agentType}
690
+ * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
691
+ */
692
+ doProtocolInstanceDiscovery(agentType: string, queryParams?: {
693
+ parentId?: string;
694
+ realm?: string;
695
+ }, options?: O): RestResponse<Model.Agent[]>;
736
696
  }
737
- export declare class AssetModelResourceClient<O> {
697
+ export declare class AssetDatapointResourceClient<O> {
738
698
  protected httpClient: HttpClient<O>;
739
699
  constructor(httpClient: HttpClient<O>);
740
700
  /**
741
- * HTTP GET /model/assetDescriptors
742
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
701
+ * HTTP GET /asset/datapoint/export
702
+ * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
743
703
  */
744
- getAssetDescriptors(queryParams?: {
745
- parentId?: string;
746
- parentType?: string;
747
- }, options?: O): RestResponse<Model.AssetDescriptor[]>;
704
+ getDatapointExport(queryParams?: {
705
+ attributeRefs?: string;
706
+ fromTimestamp?: number;
707
+ toTimestamp?: number;
708
+ }, options?: O): RestResponse<any>;
748
709
  /**
749
- * HTTP GET /model/assetInfo/{assetType}
750
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
710
+ * HTTP GET /asset/datapoint/periods
711
+ * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
751
712
  */
752
- getAssetInfo(assetType: string, queryParams?: {
753
- parentId?: string;
754
- }, options?: O): RestResponse<Model.AssetTypeInfo>;
713
+ getDatapointPeriod(queryParams?: {
714
+ assetId?: string;
715
+ attributeName?: string;
716
+ }, options?: O): RestResponse<Model.DatapointPeriod>;
755
717
  /**
756
- * HTTP GET /model/assetInfos
757
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
718
+ * HTTP POST /asset/datapoint/{assetId}/{attributeName}
719
+ * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
758
720
  */
759
- getAssetInfos(queryParams?: {
760
- parentId?: string;
761
- parentType?: string;
762
- }, options?: O): RestResponse<Model.AssetTypeInfo[]>;
721
+ getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
722
+ }
723
+ export declare class AppResourceClient<O> {
724
+ protected httpClient: HttpClient<O>;
725
+ constructor(httpClient: HttpClient<O>);
763
726
  /**
764
- * HTTP GET /model/getValueDescriptorSchema
765
- * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptorSchema
727
+ * HTTP GET /apps
728
+ * Java method: org.openremote.model.apps.AppResource.getApps
766
729
  */
767
- getValueDescriptorSchema(queryParams?: {
768
- name?: string;
769
- hash?: string;
770
- }, options?: O): RestResponse<any>;
730
+ getApps(options?: O): RestResponse<string[]>;
771
731
  /**
772
- * HTTP GET /model/metaItemDescriptors
773
- * Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
732
+ * HTTP GET /apps/consoleConfig
733
+ * Java method: org.openremote.model.apps.AppResource.getConsoleConfig
774
734
  */
775
- getMetaItemDescriptors(queryParams?: {
776
- parentId?: string;
777
- }, options?: O): RestResponse<{
778
- [index: string]: Model.MetaItemDescriptor;
779
- }>;
735
+ getConsoleConfig(options?: O): RestResponse<any>;
780
736
  /**
781
- * HTTP GET /model/valueDescriptors
782
- * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
737
+ * HTTP GET /apps/info
738
+ * Java method: org.openremote.model.apps.AppResource.getAppInfos
783
739
  */
784
- getValueDescriptors(queryParams?: {
785
- parentId?: string;
786
- }, options?: O): RestResponse<{
787
- [index: string]: Model.ValueDescriptor;
788
- }>;
740
+ getAppInfos(options?: O): RestResponse<any>;
789
741
  }
790
742
  export declare class UserResourceClient<O> {
791
743
  protected httpClient: HttpClient<O>;
@@ -911,6 +863,54 @@ export declare class UserResourceClient<O> {
911
863
  */
912
864
  get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
913
865
  }
866
+ export declare class AssetPredictedDatapointResourceClient<O> {
867
+ protected httpClient: HttpClient<O>;
868
+ constructor(httpClient: HttpClient<O>);
869
+ /**
870
+ * HTTP POST /asset/predicted/{assetId}/{attributeName}
871
+ * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
872
+ */
873
+ getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
874
+ /**
875
+ * HTTP PUT /asset/predicted/{assetId}/{attributeName}
876
+ * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
877
+ */
878
+ writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
879
+ }
880
+ export declare class DashboardResourceClient<O> {
881
+ protected httpClient: HttpClient<O>;
882
+ constructor(httpClient: HttpClient<O>);
883
+ /**
884
+ * HTTP POST /dashboard
885
+ * Java method: org.openremote.model.dashboard.DashboardResource.create
886
+ */
887
+ create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
888
+ /**
889
+ * HTTP PUT /dashboard
890
+ * Java method: org.openremote.model.dashboard.DashboardResource.update
891
+ */
892
+ update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
893
+ /**
894
+ * HTTP GET /dashboard/all/{realm}
895
+ * Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
896
+ */
897
+ getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
898
+ /**
899
+ * HTTP POST /dashboard/query
900
+ * Java method: org.openremote.model.dashboard.DashboardResource.query
901
+ */
902
+ query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
903
+ /**
904
+ * HTTP DELETE /dashboard/{realm}/{dashboardId}
905
+ * Java method: org.openremote.model.dashboard.DashboardResource.delete
906
+ */
907
+ delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
908
+ /**
909
+ * HTTP GET /dashboard/{realm}/{dashboardId}
910
+ * Java method: org.openremote.model.dashboard.DashboardResource.get
911
+ */
912
+ get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
913
+ }
914
914
  export declare class MapResourceClient<O> {
915
915
  protected httpClient: HttpClient<O>;
916
916
  constructor(httpClient: HttpClient<O>);
@@ -966,50 +966,50 @@ export declare class MapResourceClient<O> {
966
966
  }
967
967
  export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
968
968
  export declare class ApiClient {
969
+ protected _statusResource: AxiosStatusResourceClient;
970
+ protected _assetModelResource: AxiosAssetModelResourceClient;
971
+ protected _provisioningResource: AxiosProvisioningResourceClient;
969
972
  protected _syslogResource: AxiosSyslogResourceClient;
973
+ protected _notificationResource: AxiosNotificationResourceClient;
974
+ protected _assetResource: AxiosAssetResourceClient;
970
975
  protected _flowResource: AxiosFlowResourceClient;
971
- protected _dashboardResource: AxiosDashboardResourceClient;
972
- protected _configurationResource: AxiosConfigurationResourceClient;
973
976
  protected _rulesResource: AxiosRulesResourceClient;
974
- protected _assetResource: AxiosAssetResourceClient;
975
- protected _externalServiceResource: AxiosExternalServiceResourceClient;
977
+ protected _consoleResource: AxiosConsoleResourceClient;
978
+ protected _configurationResource: AxiosConfigurationResourceClient;
976
979
  protected _alarmResource: AxiosAlarmResourceClient;
977
- protected _gatewayClientResource: AxiosGatewayClientResourceClient;
978
980
  protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
979
- protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
980
- protected _consoleResource: AxiosConsoleResourceClient;
981
- protected _provisioningResource: AxiosProvisioningResourceClient;
982
- protected _appResource: AxiosAppResourceClient;
983
- protected _statusResource: AxiosStatusResourceClient;
984
981
  protected _realmResource: AxiosRealmResourceClient;
982
+ protected _gatewayClientResource: AxiosGatewayClientResourceClient;
983
+ protected _externalServiceResource: AxiosExternalServiceResourceClient;
985
984
  protected _agentResource: AxiosAgentResourceClient;
986
- protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
987
- protected _notificationResource: AxiosNotificationResourceClient;
988
- protected _assetModelResource: AxiosAssetModelResourceClient;
985
+ protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
986
+ protected _appResource: AxiosAppResourceClient;
989
987
  protected _userResource: AxiosUserResourceClient;
988
+ protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
989
+ protected _dashboardResource: AxiosDashboardResourceClient;
990
990
  protected _mapResource: AxiosMapResourceClient;
991
991
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
992
+ get StatusResource(): AxiosStatusResourceClient;
993
+ get AssetModelResource(): AxiosAssetModelResourceClient;
994
+ get ProvisioningResource(): AxiosProvisioningResourceClient;
992
995
  get SyslogResource(): AxiosSyslogResourceClient;
996
+ get NotificationResource(): AxiosNotificationResourceClient;
997
+ get AssetResource(): AxiosAssetResourceClient;
993
998
  get FlowResource(): AxiosFlowResourceClient;
994
- get DashboardResource(): AxiosDashboardResourceClient;
995
- get ConfigurationResource(): AxiosConfigurationResourceClient;
996
999
  get RulesResource(): AxiosRulesResourceClient;
997
- get AssetResource(): AxiosAssetResourceClient;
998
- get ExternalServiceResource(): AxiosExternalServiceResourceClient;
1000
+ get ConsoleResource(): AxiosConsoleResourceClient;
1001
+ get ConfigurationResource(): AxiosConfigurationResourceClient;
999
1002
  get AlarmResource(): AxiosAlarmResourceClient;
1000
- get GatewayClientResource(): AxiosGatewayClientResourceClient;
1001
1003
  get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
1002
- get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
1003
- get ConsoleResource(): AxiosConsoleResourceClient;
1004
- get ProvisioningResource(): AxiosProvisioningResourceClient;
1005
- get AppResource(): AxiosAppResourceClient;
1006
- get StatusResource(): AxiosStatusResourceClient;
1007
1004
  get RealmResource(): AxiosRealmResourceClient;
1005
+ get GatewayClientResource(): AxiosGatewayClientResourceClient;
1006
+ get ExternalServiceResource(): AxiosExternalServiceResourceClient;
1008
1007
  get AgentResource(): AxiosAgentResourceClient;
1009
- get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
1010
- get NotificationResource(): AxiosNotificationResourceClient;
1011
- get AssetModelResource(): AxiosAssetModelResourceClient;
1008
+ get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
1009
+ get AppResource(): AxiosAppResourceClient;
1012
1010
  get UserResource(): AxiosUserResourceClient;
1011
+ get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
1012
+ get DashboardResource(): AxiosDashboardResourceClient;
1013
1013
  get MapResource(): AxiosMapResourceClient;
1014
1014
  }
1015
1015
  import * as Axios from "axios";
@@ -1018,67 +1018,67 @@ declare module "axios" {
1018
1018
  data: R;
1019
1019
  }
1020
1020
  }
1021
- export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
1021
+ export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
1022
1022
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1023
1023
  }
1024
- export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
1024
+ export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
1025
1025
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1026
1026
  }
1027
- export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
1027
+ export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
1028
1028
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1029
1029
  }
1030
- export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
1030
+ export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
1031
1031
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1032
1032
  }
1033
- export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
1033
+ export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
1034
1034
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1035
1035
  }
1036
1036
  export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
1037
1037
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1038
1038
  }
1039
- export declare class AxiosExternalServiceResourceClient extends ExternalServiceResourceClient<Axios.AxiosRequestConfig> {
1039
+ export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
1040
1040
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1041
1041
  }
1042
- export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
1042
+ export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
1043
1043
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1044
1044
  }
1045
- export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
1045
+ export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
1046
1046
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1047
1047
  }
1048
- export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
1048
+ export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
1049
1049
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1050
1050
  }
1051
- export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
1051
+ export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
1052
1052
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1053
1053
  }
1054
- export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
1054
+ export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
1055
1055
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1056
1056
  }
1057
- export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
1057
+ export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
1058
1058
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1059
1059
  }
1060
- export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
1060
+ export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
1061
1061
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1062
1062
  }
1063
- export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
1063
+ export declare class AxiosExternalServiceResourceClient extends ExternalServiceResourceClient<Axios.AxiosRequestConfig> {
1064
1064
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1065
1065
  }
1066
- export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
1066
+ export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
1067
1067
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1068
1068
  }
1069
- export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
1069
+ export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
1070
1070
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1071
1071
  }
1072
- export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
1072
+ export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
1073
1073
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1074
1074
  }
1075
- export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
1075
+ export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
1076
1076
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1077
1077
  }
1078
- export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
1078
+ export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
1079
1079
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1080
1080
  }
1081
- export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
1081
+ export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
1082
1082
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1083
1083
  }
1084
1084
  export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {