@openremote/rest 1.11.0-snapshot.20251031164933 → 1.11.0-snapshot.20251103144513

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,57 @@ export interface HttpClient<O> {
9
9
  options?: O;
10
10
  }): RestResponse<R>;
11
11
  }
12
+ export declare class AssetPredictedDatapointResourceClient<O> {
13
+ protected httpClient: HttpClient<O>;
14
+ constructor(httpClient: HttpClient<O>);
15
+ /**
16
+ * HTTP POST /asset/predicted/{assetId}/{attributeName}
17
+ * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
18
+ */
19
+ getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
20
+ /**
21
+ * HTTP PUT /asset/predicted/{assetId}/{attributeName}
22
+ * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
23
+ */
24
+ writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
25
+ }
26
+ export declare class StatusResourceClient<O> {
27
+ protected httpClient: HttpClient<O>;
28
+ constructor(httpClient: HttpClient<O>);
29
+ /**
30
+ * HTTP GET /health
31
+ * Java method: org.openremote.model.system.StatusResource.getHealthStatus
32
+ */
33
+ getHealthStatus(options?: O): RestResponse<{
34
+ [index: string]: any;
35
+ }>;
36
+ /**
37
+ * HTTP GET /info
38
+ * Java method: org.openremote.model.system.StatusResource.getInfo
39
+ */
40
+ getInfo(options?: O): RestResponse<{
41
+ [index: string]: any;
42
+ }>;
43
+ }
44
+ export declare class FlowResourceClient<O> {
45
+ protected httpClient: HttpClient<O>;
46
+ constructor(httpClient: HttpClient<O>);
47
+ /**
48
+ * HTTP GET /flow
49
+ * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
50
+ */
51
+ getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
52
+ /**
53
+ * HTTP GET /flow/{name}
54
+ * Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
55
+ */
56
+ getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
57
+ /**
58
+ * HTTP GET /flow/{type}
59
+ * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
60
+ */
61
+ getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
62
+ }
12
63
  export declare class AlarmResourceClient<O> {
13
64
  protected httpClient: HttpClient<O>;
14
65
  constructor(httpClient: HttpClient<O>);
@@ -62,87 +113,6 @@ export declare class AlarmResourceClient<O> {
62
113
  realm?: string;
63
114
  }, options?: O): RestResponse<Model.AlarmAssetLink[]>;
64
115
  }
65
- export declare class AgentResourceClient<O> {
66
- protected httpClient: HttpClient<O>;
67
- constructor(httpClient: HttpClient<O>);
68
- /**
69
- * HTTP GET /agent/assetDiscovery/{agentId}
70
- * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
71
- */
72
- doProtocolAssetDiscovery(agentId: string, queryParams?: {
73
- realm?: string;
74
- }, options?: O): RestResponse<Model.AssetTreeNode[]>;
75
- /**
76
- * HTTP POST /agent/assetImport/{agentId}
77
- * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
78
- */
79
- doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
80
- realm?: string;
81
- }, options?: O): RestResponse<Model.AssetTreeNode[]>;
82
- /**
83
- * HTTP GET /agent/instanceDiscovery/{agentType}
84
- * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
85
- */
86
- doProtocolInstanceDiscovery(agentType: string, queryParams?: {
87
- parentId?: string;
88
- realm?: string;
89
- }, options?: O): RestResponse<Model.Agent[]>;
90
- }
91
- export declare class GatewayClientResourceClient<O> {
92
- protected httpClient: HttpClient<O>;
93
- constructor(httpClient: HttpClient<O>);
94
- /**
95
- * HTTP DELETE /gateway/connection
96
- * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
97
- */
98
- deleteConnections(queryParams?: {
99
- realm?: string[];
100
- }, options?: O): RestResponse<void>;
101
- /**
102
- * HTTP GET /gateway/connection
103
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
104
- */
105
- getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
106
- /**
107
- * HTTP DELETE /gateway/connection/{realm}
108
- * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
109
- */
110
- deleteConnection(realm: string, options?: O): RestResponse<void>;
111
- /**
112
- * HTTP GET /gateway/connection/{realm}
113
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
114
- */
115
- getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
116
- /**
117
- * HTTP PUT /gateway/connection/{realm}
118
- * Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
119
- */
120
- setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
121
- /**
122
- * HTTP GET /gateway/status/{realm}
123
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
124
- */
125
- getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
126
- }
127
- export declare class AppResourceClient<O> {
128
- protected httpClient: HttpClient<O>;
129
- constructor(httpClient: HttpClient<O>);
130
- /**
131
- * HTTP GET /apps
132
- * Java method: org.openremote.model.apps.AppResource.getApps
133
- */
134
- getApps(options?: O): RestResponse<string[]>;
135
- /**
136
- * HTTP GET /apps/consoleConfig
137
- * Java method: org.openremote.model.apps.AppResource.getConsoleConfig
138
- */
139
- getConsoleConfig(options?: O): RestResponse<any>;
140
- /**
141
- * HTTP GET /apps/info
142
- * Java method: org.openremote.model.apps.AppResource.getAppInfos
143
- */
144
- getAppInfos(options?: O): RestResponse<any>;
145
- }
146
116
  export declare class RealmResourceClient<O> {
147
117
  protected httpClient: HttpClient<O>;
148
118
  constructor(httpClient: HttpClient<O>);
@@ -177,34 +147,31 @@ export declare class RealmResourceClient<O> {
177
147
  */
178
148
  update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
179
149
  }
180
- export declare class GatewayServiceResourceClient<O> {
150
+ export declare class ConfigurationResourceClient<O> {
181
151
  protected httpClient: HttpClient<O>;
182
152
  constructor(httpClient: HttpClient<O>);
183
153
  /**
184
- * HTTP POST /gateway/tunnel
185
- * Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
186
- */
187
- startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
188
- /**
189
- * HTTP DELETE /gateway/tunnel
190
- * Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
154
+ * HTTP GET /configuration/manager
155
+ * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
191
156
  */
192
- stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
157
+ getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
193
158
  /**
194
- * HTTP GET /gateway/tunnel/{realm}
195
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
159
+ * HTTP PUT /configuration/manager
160
+ * Java method: org.openremote.model.manager.ConfigurationResource.update
196
161
  */
197
- getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
162
+ update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
198
163
  /**
199
- * HTTP GET /gateway/tunnel/{realm}/{id}
200
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
164
+ * HTTP POST /configuration/manager/file
165
+ * Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
201
166
  */
202
- getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
167
+ fileUpload(fileInfo: Model.FileInfo, queryParams?: {
168
+ path?: string;
169
+ }, options?: O): RestResponse<string>;
203
170
  /**
204
- * HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
205
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
171
+ * HTTP GET /configuration/manager/image/{filename: .+}
172
+ * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
206
173
  */
207
- getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
174
+ getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
208
175
  }
209
176
  export declare class ConsoleResourceClient<O> {
210
177
  protected httpClient: HttpClient<O>;
@@ -215,145 +182,24 @@ export declare class ConsoleResourceClient<O> {
215
182
  */
216
183
  register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
217
184
  }
218
- export declare class MapResourceClient<O> {
219
- protected httpClient: HttpClient<O>;
220
- constructor(httpClient: HttpClient<O>);
221
- /**
222
- * HTTP GET /map
223
- * Java method: org.openremote.model.map.MapResource.getSettings
224
- */
225
- getSettings(options?: O): RestResponse<{
226
- [id: string]: unknown;
227
- }>;
228
- /**
229
- * HTTP PUT /map
230
- * Java method: org.openremote.model.map.MapResource.saveSettings
231
- */
232
- saveSettings(mapConfig: Model.MapConfig, options?: O): RestResponse<{
233
- [id: string]: unknown;
234
- }>;
235
- /**
236
- * HTTP DELETE /map/deleteMap
237
- * Java method: org.openremote.model.map.MapResource.deleteMap
238
- */
239
- deleteMap(options?: O): RestResponse<{
240
- [id: string]: unknown;
241
- }>;
242
- /**
243
- * HTTP GET /map/getCustomMapInfo
244
- * Java method: org.openremote.model.map.MapResource.getCustomMapInfo
245
- */
246
- getCustomMapInfo(options?: O): RestResponse<{
247
- [id: string]: unknown;
248
- }>;
249
- /**
250
- * HTTP GET /map/js
251
- * Java method: org.openremote.model.map.MapResource.getSettingsJs
252
- */
253
- getSettingsJs(options?: O): RestResponse<{
254
- [id: string]: unknown;
255
- }>;
256
- /**
257
- * HTTP GET /map/tile/{zoom}/{column}/{row}
258
- * Java method: org.openremote.model.map.MapResource.getTile
259
- */
260
- getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
261
- /**
262
- * HTTP POST /map/upload
263
- * Java method: org.openremote.model.map.MapResource.uploadMap
264
- */
265
- uploadMap(queryParams?: {
266
- filename?: string;
267
- }, options?: O): RestResponse<{
268
- [id: string]: unknown;
269
- }>;
270
- }
271
- export declare class ProvisioningResourceClient<O> {
272
- protected httpClient: HttpClient<O>;
273
- constructor(httpClient: HttpClient<O>);
274
- /**
275
- * HTTP POST /provisioning
276
- * Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
277
- */
278
- createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
279
- /**
280
- * HTTP GET /provisioning
281
- * Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
282
- */
283
- getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
284
- /**
285
- * HTTP DELETE /provisioning/{id}
286
- * Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
287
- */
288
- deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
289
- /**
290
- * HTTP PUT /provisioning/{id}
291
- * Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
292
- */
293
- updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
294
- }
295
- export declare class StatusResourceClient<O> {
296
- protected httpClient: HttpClient<O>;
297
- constructor(httpClient: HttpClient<O>);
298
- /**
299
- * HTTP GET /health
300
- * Java method: org.openremote.model.system.StatusResource.getHealthStatus
301
- */
302
- getHealthStatus(options?: O): RestResponse<{
303
- [index: string]: any;
304
- }>;
305
- /**
306
- * HTTP GET /info
307
- * Java method: org.openremote.model.system.StatusResource.getInfo
308
- */
309
- getInfo(options?: O): RestResponse<{
310
- [index: string]: any;
311
- }>;
312
- }
313
- export declare class FlowResourceClient<O> {
314
- protected httpClient: HttpClient<O>;
315
- constructor(httpClient: HttpClient<O>);
316
- /**
317
- * HTTP GET /flow
318
- * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
319
- */
320
- getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
321
- /**
322
- * HTTP GET /flow/{name}
323
- * Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
324
- */
325
- getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
326
- /**
327
- * HTTP GET /flow/{type}
328
- * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
329
- */
330
- getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
331
- }
332
- export declare class ConfigurationResourceClient<O> {
185
+ export declare class AppResourceClient<O> {
333
186
  protected httpClient: HttpClient<O>;
334
187
  constructor(httpClient: HttpClient<O>);
335
188
  /**
336
- * HTTP GET /configuration/manager
337
- * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
338
- */
339
- getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
340
- /**
341
- * HTTP PUT /configuration/manager
342
- * Java method: org.openremote.model.manager.ConfigurationResource.update
189
+ * HTTP GET /apps
190
+ * Java method: org.openremote.model.apps.AppResource.getApps
343
191
  */
344
- update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
192
+ getApps(options?: O): RestResponse<string[]>;
345
193
  /**
346
- * HTTP POST /configuration/manager/file
347
- * Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
194
+ * HTTP GET /apps/consoleConfig
195
+ * Java method: org.openremote.model.apps.AppResource.getConsoleConfig
348
196
  */
349
- fileUpload(fileInfo: Model.FileInfo, queryParams?: {
350
- path?: string;
351
- }, options?: O): RestResponse<string>;
197
+ getConsoleConfig(options?: O): RestResponse<any>;
352
198
  /**
353
- * HTTP GET /configuration/manager/image/{filename: .+}
354
- * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
199
+ * HTTP GET /apps/info
200
+ * Java method: org.openremote.model.apps.AppResource.getAppInfos
355
201
  */
356
- getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
202
+ getAppInfos(options?: O): RestResponse<any>;
357
203
  }
358
204
  export declare class AssetResourceClient<O> {
359
205
  protected httpClient: HttpClient<O>;
@@ -455,14 +301,138 @@ export declare class AssetResourceClient<O> {
455
301
  * HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
456
302
  * Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
457
303
  */
458
- writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
304
+ writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
305
+ /**
306
+ * HTTP PUT /asset/{parentAssetId}/child
307
+ * Java method: org.openremote.model.asset.AssetResource.updateParent
308
+ */
309
+ updateParent(parentAssetId: string, queryParams?: {
310
+ assetIds?: string[];
311
+ }, options?: O): RestResponse<void>;
312
+ }
313
+ export declare class UserResourceClient<O> {
314
+ protected httpClient: HttpClient<O>;
315
+ constructor(httpClient: HttpClient<O>);
316
+ /**
317
+ * HTTP PUT /user/locale
318
+ * Java method: org.openremote.model.security.UserResource.updateCurrentUserLocale
319
+ */
320
+ updateCurrentUserLocale(locale: string, options?: O): RestResponse<void>;
321
+ /**
322
+ * HTTP POST /user/query
323
+ * Java method: org.openremote.model.security.UserResource.query
324
+ */
325
+ query(query: Model.UserQuery, options?: O): RestResponse<Model.User[]>;
326
+ /**
327
+ * HTTP PUT /user/request-password-reset
328
+ * Java method: org.openremote.model.security.UserResource.requestPasswordResetCurrent
329
+ */
330
+ requestPasswordResetCurrent(options?: O): RestResponse<void>;
331
+ /**
332
+ * HTTP PUT /user/reset-password
333
+ * Java method: org.openremote.model.security.UserResource.updatePasswordCurrent
334
+ */
335
+ updatePasswordCurrent(credential: Model.Credential, options?: O): RestResponse<void>;
336
+ /**
337
+ * HTTP PUT /user/update
338
+ * Java method: org.openremote.model.security.UserResource.updateCurrent
339
+ */
340
+ updateCurrent(user: Model.User, options?: O): RestResponse<Model.User>;
341
+ /**
342
+ * HTTP GET /user/user
343
+ * Java method: org.openremote.model.security.UserResource.getCurrent
344
+ */
345
+ getCurrent(options?: O): RestResponse<Model.User>;
346
+ /**
347
+ * HTTP GET /user/userRealmRoles
348
+ * Java method: org.openremote.model.security.UserResource.getCurrentUserRealmRoles
349
+ */
350
+ getCurrentUserRealmRoles(options?: O): RestResponse<string[]>;
351
+ /**
352
+ * HTTP GET /user/userRoles/{clientId}
353
+ * Java method: org.openremote.model.security.UserResource.getCurrentUserClientRoles
354
+ */
355
+ getCurrentUserClientRoles(clientId: string, options?: O): RestResponse<string[]>;
356
+ /**
357
+ * HTTP GET /user/{realm}/disconnect/{sessionID}
358
+ * Java method: org.openremote.model.security.UserResource.disconnectUserSession
359
+ */
360
+ disconnectUserSession(realm: string, sessionID: string, options?: O): RestResponse<void>;
361
+ /**
362
+ * HTTP PUT /user/{realm}/request-password-reset/{userId}
363
+ * Java method: org.openremote.model.security.UserResource.requestPasswordReset
364
+ */
365
+ requestPasswordReset(realm: string, userId: string, options?: O): RestResponse<void>;
366
+ /**
367
+ * HTTP PUT /user/{realm}/reset-password/{userId}
368
+ * Java method: org.openremote.model.security.UserResource.updatePassword
369
+ */
370
+ updatePassword(realm: string, userId: string, credential: Model.Credential, options?: O): RestResponse<void>;
371
+ /**
372
+ * HTTP GET /user/{realm}/reset-secret/{userId}
373
+ * Java method: org.openremote.model.security.UserResource.resetSecret
374
+ */
375
+ resetSecret(realm: string, userId: string, options?: O): RestResponse<string>;
376
+ /**
377
+ * HTTP PUT /user/{realm}/roles
378
+ * Java method: org.openremote.model.security.UserResource.updateRoles
379
+ */
380
+ updateRoles(realm: string, roles: Model.Role[], options?: O): RestResponse<void>;
381
+ /**
382
+ * HTTP GET /user/{realm}/userRealmRoles/{userId}
383
+ * Java method: org.openremote.model.security.UserResource.getUserRealmRoles
384
+ */
385
+ getUserRealmRoles(realm: string, userId: string, options?: O): RestResponse<string[]>;
386
+ /**
387
+ * HTTP PUT /user/{realm}/userRealmRoles/{userId}
388
+ * Java method: org.openremote.model.security.UserResource.updateUserRealmRoles
389
+ */
390
+ updateUserRealmRoles(realm: string, userId: string, roles: string[], options?: O): RestResponse<void>;
391
+ /**
392
+ * HTTP GET /user/{realm}/userRoles/{userId}/{clientId}
393
+ * Java method: org.openremote.model.security.UserResource.getUserClientRoles
394
+ */
395
+ getUserClientRoles(realm: string, userId: string, clientId: string, options?: O): RestResponse<string[]>;
396
+ /**
397
+ * HTTP PUT /user/{realm}/userRoles/{userId}/{clientId}
398
+ * Java method: org.openremote.model.security.UserResource.updateUserClientRoles
399
+ */
400
+ updateUserClientRoles(realm: string, userId: string, clientId: string, roles: string[], options?: O): RestResponse<void>;
401
+ /**
402
+ * HTTP GET /user/{realm}/userSessions/{userId}
403
+ * Java method: org.openremote.model.security.UserResource.getUserSessions
404
+ */
405
+ getUserSessions(realm: string, userId: string, options?: O): RestResponse<Model.UserSession[]>;
406
+ /**
407
+ * HTTP POST /user/{realm}/users
408
+ * Java method: org.openremote.model.security.UserResource.create
409
+ */
410
+ create(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
411
+ /**
412
+ * HTTP PUT /user/{realm}/users
413
+ * Java method: org.openremote.model.security.UserResource.update
414
+ */
415
+ update(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
416
+ /**
417
+ * HTTP DELETE /user/{realm}/users/{userId}
418
+ * Java method: org.openremote.model.security.UserResource.delete
419
+ */
420
+ delete(realm: string, userId: string, options?: O): RestResponse<void>;
421
+ /**
422
+ * HTTP GET /user/{realm}/{clientId}/roles
423
+ * Java method: org.openremote.model.security.UserResource.getClientRoles
424
+ */
425
+ getClientRoles(realm: string, clientId: string, options?: O): RestResponse<Model.Role[]>;
426
+ /**
427
+ * HTTP PUT /user/{realm}/{clientId}/roles
428
+ * Java method: org.openremote.model.security.UserResource.updateClientRoles
429
+ */
430
+ updateClientRoles(realm: string, clientId: string, roles: Model.Role[], options?: O): RestResponse<void>;
459
431
  /**
460
- * HTTP PUT /asset/{parentAssetId}/child
461
- * Java method: org.openremote.model.asset.AssetResource.updateParent
432
+ * HTTP GET /user/{realm}/{userId}
433
+ * Java method: org.openremote.model.security.UserResource.get
462
434
  */
463
- updateParent(parentAssetId: string, queryParams?: {
464
- assetIds?: string[];
465
- }, options?: O): RestResponse<void>;
435
+ get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
466
436
  }
467
437
  export declare class ExternalServiceResourceClient<O> {
468
438
  protected httpClient: HttpClient<O>;
@@ -519,59 +489,29 @@ export declare class ExternalServiceResourceClient<O> {
519
489
  */
520
490
  heartbeat(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
521
491
  }
522
- export declare class NotificationResourceClient<O> {
492
+ export declare class ProvisioningResourceClient<O> {
523
493
  protected httpClient: HttpClient<O>;
524
494
  constructor(httpClient: HttpClient<O>);
525
495
  /**
526
- * HTTP GET /notification
527
- * Java method: org.openremote.model.notification.NotificationResource.getNotifications
528
- */
529
- getNotifications(queryParams?: {
530
- id?: number;
531
- type?: string;
532
- from?: number;
533
- to?: number;
534
- realmId?: string;
535
- userId?: string;
536
- assetId?: string;
537
- }, options?: O): RestResponse<Model.SentNotification[]>;
538
- /**
539
- * HTTP DELETE /notification
540
- * Java method: org.openremote.model.notification.NotificationResource.removeNotifications
541
- */
542
- removeNotifications(queryParams?: {
543
- id?: number;
544
- type?: string;
545
- from?: number;
546
- to?: number;
547
- realmId?: string;
548
- userId?: string;
549
- assetId?: string;
550
- }, options?: O): RestResponse<void>;
551
- /**
552
- * HTTP POST /notification/alert
553
- * Java method: org.openremote.model.notification.NotificationResource.sendNotification
496
+ * HTTP POST /provisioning
497
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
554
498
  */
555
- sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
499
+ createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
556
500
  /**
557
- * HTTP DELETE /notification/{notificationId}
558
- * Java method: org.openremote.model.notification.NotificationResource.removeNotification
501
+ * HTTP GET /provisioning
502
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
559
503
  */
560
- removeNotification(notificationId: number, options?: O): RestResponse<void>;
504
+ getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
561
505
  /**
562
- * HTTP PUT /notification/{notificationId}/acknowledged
563
- * Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
506
+ * HTTP DELETE /provisioning/{id}
507
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
564
508
  */
565
- notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
566
- targetId?: string;
567
- }, options?: O): RestResponse<void>;
509
+ deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
568
510
  /**
569
- * HTTP PUT /notification/{notificationId}/delivered
570
- * Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
511
+ * HTTP PUT /provisioning/{id}
512
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
571
513
  */
572
- notificationDelivered(notificationId: number, queryParams?: {
573
- targetId?: string;
574
- }, options?: O): RestResponse<void>;
514
+ updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
575
515
  }
576
516
  export declare class SyslogResourceClient<O> {
577
517
  protected httpClient: HttpClient<O>;
@@ -713,129 +653,263 @@ export declare class RulesResourceClient<O> {
713
653
  */
714
654
  updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
715
655
  }
716
- export declare class UserResourceClient<O> {
656
+ export declare class NotificationResourceClient<O> {
717
657
  protected httpClient: HttpClient<O>;
718
658
  constructor(httpClient: HttpClient<O>);
719
659
  /**
720
- * HTTP PUT /user/locale
721
- * Java method: org.openremote.model.security.UserResource.updateCurrentUserLocale
660
+ * HTTP GET /notification
661
+ * Java method: org.openremote.model.notification.NotificationResource.getNotifications
722
662
  */
723
- updateCurrentUserLocale(locale: string, options?: O): RestResponse<void>;
663
+ getNotifications(queryParams?: {
664
+ id?: number;
665
+ type?: string;
666
+ from?: number;
667
+ to?: number;
668
+ realmId?: string;
669
+ userId?: string;
670
+ assetId?: string;
671
+ }, options?: O): RestResponse<Model.SentNotification[]>;
724
672
  /**
725
- * HTTP POST /user/query
726
- * Java method: org.openremote.model.security.UserResource.query
673
+ * HTTP DELETE /notification
674
+ * Java method: org.openremote.model.notification.NotificationResource.removeNotifications
727
675
  */
728
- query(query: Model.UserQuery, options?: O): RestResponse<Model.User[]>;
676
+ removeNotifications(queryParams?: {
677
+ id?: number;
678
+ type?: string;
679
+ from?: number;
680
+ to?: number;
681
+ realmId?: string;
682
+ userId?: string;
683
+ assetId?: string;
684
+ }, options?: O): RestResponse<void>;
729
685
  /**
730
- * HTTP PUT /user/request-password-reset
731
- * Java method: org.openremote.model.security.UserResource.requestPasswordResetCurrent
686
+ * HTTP POST /notification/alert
687
+ * Java method: org.openremote.model.notification.NotificationResource.sendNotification
732
688
  */
733
- requestPasswordResetCurrent(options?: O): RestResponse<void>;
689
+ sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
734
690
  /**
735
- * HTTP PUT /user/reset-password
736
- * Java method: org.openremote.model.security.UserResource.updatePasswordCurrent
691
+ * HTTP DELETE /notification/{notificationId}
692
+ * Java method: org.openremote.model.notification.NotificationResource.removeNotification
737
693
  */
738
- updatePasswordCurrent(credential: Model.Credential, options?: O): RestResponse<void>;
694
+ removeNotification(notificationId: number, options?: O): RestResponse<void>;
739
695
  /**
740
- * HTTP PUT /user/update
741
- * Java method: org.openremote.model.security.UserResource.updateCurrent
696
+ * HTTP PUT /notification/{notificationId}/acknowledged
697
+ * Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
742
698
  */
743
- updateCurrent(user: Model.User, options?: O): RestResponse<Model.User>;
699
+ notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
700
+ targetId?: string;
701
+ }, options?: O): RestResponse<void>;
744
702
  /**
745
- * HTTP GET /user/user
746
- * Java method: org.openremote.model.security.UserResource.getCurrent
703
+ * HTTP PUT /notification/{notificationId}/delivered
704
+ * Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
747
705
  */
748
- getCurrent(options?: O): RestResponse<Model.User>;
706
+ notificationDelivered(notificationId: number, queryParams?: {
707
+ targetId?: string;
708
+ }, options?: O): RestResponse<void>;
709
+ }
710
+ export declare class MapResourceClient<O> {
711
+ protected httpClient: HttpClient<O>;
712
+ constructor(httpClient: HttpClient<O>);
749
713
  /**
750
- * HTTP GET /user/userRealmRoles
751
- * Java method: org.openremote.model.security.UserResource.getCurrentUserRealmRoles
714
+ * HTTP GET /map
715
+ * Java method: org.openremote.model.map.MapResource.getSettings
752
716
  */
753
- getCurrentUserRealmRoles(options?: O): RestResponse<string[]>;
717
+ getSettings(options?: O): RestResponse<{
718
+ [id: string]: unknown;
719
+ }>;
754
720
  /**
755
- * HTTP GET /user/userRoles/{clientId}
756
- * Java method: org.openremote.model.security.UserResource.getCurrentUserClientRoles
721
+ * HTTP PUT /map
722
+ * Java method: org.openremote.model.map.MapResource.saveSettings
757
723
  */
758
- getCurrentUserClientRoles(clientId: string, options?: O): RestResponse<string[]>;
724
+ saveSettings(mapConfig: Model.MapConfig, options?: O): RestResponse<{
725
+ [id: string]: unknown;
726
+ }>;
759
727
  /**
760
- * HTTP GET /user/{realm}/disconnect/{sessionID}
761
- * Java method: org.openremote.model.security.UserResource.disconnectUserSession
728
+ * HTTP DELETE /map/deleteMap
729
+ * Java method: org.openremote.model.map.MapResource.deleteMap
762
730
  */
763
- disconnectUserSession(realm: string, sessionID: string, options?: O): RestResponse<void>;
731
+ deleteMap(options?: O): RestResponse<{
732
+ [id: string]: unknown;
733
+ }>;
764
734
  /**
765
- * HTTP PUT /user/{realm}/request-password-reset/{userId}
766
- * Java method: org.openremote.model.security.UserResource.requestPasswordReset
735
+ * HTTP GET /map/getCustomMapInfo
736
+ * Java method: org.openremote.model.map.MapResource.getCustomMapInfo
767
737
  */
768
- requestPasswordReset(realm: string, userId: string, options?: O): RestResponse<void>;
738
+ getCustomMapInfo(options?: O): RestResponse<{
739
+ [id: string]: unknown;
740
+ }>;
769
741
  /**
770
- * HTTP PUT /user/{realm}/reset-password/{userId}
771
- * Java method: org.openremote.model.security.UserResource.updatePassword
742
+ * HTTP GET /map/js
743
+ * Java method: org.openremote.model.map.MapResource.getSettingsJs
772
744
  */
773
- updatePassword(realm: string, userId: string, credential: Model.Credential, options?: O): RestResponse<void>;
745
+ getSettingsJs(options?: O): RestResponse<{
746
+ [id: string]: unknown;
747
+ }>;
774
748
  /**
775
- * HTTP GET /user/{realm}/reset-secret/{userId}
776
- * Java method: org.openremote.model.security.UserResource.resetSecret
749
+ * HTTP GET /map/tile/{zoom}/{column}/{row}
750
+ * Java method: org.openremote.model.map.MapResource.getTile
751
+ */
752
+ getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
753
+ /**
754
+ * HTTP POST /map/upload
755
+ * Java method: org.openremote.model.map.MapResource.uploadMap
756
+ */
757
+ uploadMap(queryParams?: {
758
+ filename?: string;
759
+ }, options?: O): RestResponse<{
760
+ [id: string]: unknown;
761
+ }>;
762
+ }
763
+ export declare class AssetDatapointResourceClient<O> {
764
+ protected httpClient: HttpClient<O>;
765
+ constructor(httpClient: HttpClient<O>);
766
+ /**
767
+ * HTTP GET /asset/datapoint/export
768
+ * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
769
+ */
770
+ getDatapointExport(queryParams?: {
771
+ attributeRefs?: string;
772
+ fromTimestamp?: number;
773
+ toTimestamp?: number;
774
+ }, options?: O): RestResponse<any>;
775
+ /**
776
+ * HTTP GET /asset/datapoint/periods
777
+ * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
778
+ */
779
+ getDatapointPeriod(queryParams?: {
780
+ assetId?: string;
781
+ attributeName?: string;
782
+ }, options?: O): RestResponse<Model.DatapointPeriod>;
783
+ /**
784
+ * HTTP POST /asset/datapoint/{assetId}/{attributeName}
785
+ * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
786
+ */
787
+ getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
788
+ }
789
+ export declare class DashboardResourceClient<O> {
790
+ protected httpClient: HttpClient<O>;
791
+ constructor(httpClient: HttpClient<O>);
792
+ /**
793
+ * HTTP POST /dashboard
794
+ * Java method: org.openremote.model.dashboard.DashboardResource.create
795
+ */
796
+ create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
797
+ /**
798
+ * HTTP PUT /dashboard
799
+ * Java method: org.openremote.model.dashboard.DashboardResource.update
800
+ */
801
+ update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
802
+ /**
803
+ * HTTP GET /dashboard/all/{realm}
804
+ * Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
805
+ */
806
+ getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
807
+ /**
808
+ * HTTP POST /dashboard/query
809
+ * Java method: org.openremote.model.dashboard.DashboardResource.query
810
+ */
811
+ query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
812
+ /**
813
+ * HTTP DELETE /dashboard/{realm}/{dashboardId}
814
+ * Java method: org.openremote.model.dashboard.DashboardResource.delete
815
+ */
816
+ delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
817
+ /**
818
+ * HTTP GET /dashboard/{realm}/{dashboardId}
819
+ * Java method: org.openremote.model.dashboard.DashboardResource.get
820
+ */
821
+ get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
822
+ }
823
+ export declare class GatewayClientResourceClient<O> {
824
+ protected httpClient: HttpClient<O>;
825
+ constructor(httpClient: HttpClient<O>);
826
+ /**
827
+ * HTTP DELETE /gateway/connection
828
+ * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
829
+ */
830
+ deleteConnections(queryParams?: {
831
+ realm?: string[];
832
+ }, options?: O): RestResponse<void>;
833
+ /**
834
+ * HTTP GET /gateway/connection
835
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
777
836
  */
778
- resetSecret(realm: string, userId: string, options?: O): RestResponse<string>;
837
+ getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
779
838
  /**
780
- * HTTP PUT /user/{realm}/roles
781
- * Java method: org.openremote.model.security.UserResource.updateRoles
839
+ * HTTP DELETE /gateway/connection/{realm}
840
+ * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
782
841
  */
783
- updateRoles(realm: string, roles: Model.Role[], options?: O): RestResponse<void>;
842
+ deleteConnection(realm: string, options?: O): RestResponse<void>;
784
843
  /**
785
- * HTTP GET /user/{realm}/userRealmRoles/{userId}
786
- * Java method: org.openremote.model.security.UserResource.getUserRealmRoles
844
+ * HTTP GET /gateway/connection/{realm}
845
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
787
846
  */
788
- getUserRealmRoles(realm: string, userId: string, options?: O): RestResponse<string[]>;
847
+ getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
789
848
  /**
790
- * HTTP PUT /user/{realm}/userRealmRoles/{userId}
791
- * Java method: org.openremote.model.security.UserResource.updateUserRealmRoles
849
+ * HTTP PUT /gateway/connection/{realm}
850
+ * Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
792
851
  */
793
- updateUserRealmRoles(realm: string, userId: string, roles: string[], options?: O): RestResponse<void>;
852
+ setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
794
853
  /**
795
- * HTTP GET /user/{realm}/userRoles/{userId}/{clientId}
796
- * Java method: org.openremote.model.security.UserResource.getUserClientRoles
854
+ * HTTP GET /gateway/status/{realm}
855
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
797
856
  */
798
- getUserClientRoles(realm: string, userId: string, clientId: string, options?: O): RestResponse<string[]>;
857
+ getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
858
+ }
859
+ export declare class AgentResourceClient<O> {
860
+ protected httpClient: HttpClient<O>;
861
+ constructor(httpClient: HttpClient<O>);
799
862
  /**
800
- * HTTP PUT /user/{realm}/userRoles/{userId}/{clientId}
801
- * Java method: org.openremote.model.security.UserResource.updateUserClientRoles
863
+ * HTTP GET /agent/assetDiscovery/{agentId}
864
+ * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
802
865
  */
803
- updateUserClientRoles(realm: string, userId: string, clientId: string, roles: string[], options?: O): RestResponse<void>;
866
+ doProtocolAssetDiscovery(agentId: string, queryParams?: {
867
+ realm?: string;
868
+ }, options?: O): RestResponse<Model.AssetTreeNode[]>;
804
869
  /**
805
- * HTTP GET /user/{realm}/userSessions/{userId}
806
- * Java method: org.openremote.model.security.UserResource.getUserSessions
870
+ * HTTP POST /agent/assetImport/{agentId}
871
+ * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
807
872
  */
808
- getUserSessions(realm: string, userId: string, options?: O): RestResponse<Model.UserSession[]>;
873
+ doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
874
+ realm?: string;
875
+ }, options?: O): RestResponse<Model.AssetTreeNode[]>;
809
876
  /**
810
- * HTTP POST /user/{realm}/users
811
- * Java method: org.openremote.model.security.UserResource.create
877
+ * HTTP GET /agent/instanceDiscovery/{agentType}
878
+ * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
812
879
  */
813
- create(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
880
+ doProtocolInstanceDiscovery(agentType: string, queryParams?: {
881
+ parentId?: string;
882
+ realm?: string;
883
+ }, options?: O): RestResponse<Model.Agent[]>;
884
+ }
885
+ export declare class GatewayServiceResourceClient<O> {
886
+ protected httpClient: HttpClient<O>;
887
+ constructor(httpClient: HttpClient<O>);
814
888
  /**
815
- * HTTP PUT /user/{realm}/users
816
- * Java method: org.openremote.model.security.UserResource.update
889
+ * HTTP POST /gateway/tunnel
890
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
817
891
  */
818
- update(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
892
+ startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
819
893
  /**
820
- * HTTP DELETE /user/{realm}/users/{userId}
821
- * Java method: org.openremote.model.security.UserResource.delete
894
+ * HTTP DELETE /gateway/tunnel
895
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
822
896
  */
823
- delete(realm: string, userId: string, options?: O): RestResponse<void>;
897
+ stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
824
898
  /**
825
- * HTTP GET /user/{realm}/{clientId}/roles
826
- * Java method: org.openremote.model.security.UserResource.getClientRoles
899
+ * HTTP GET /gateway/tunnel/{realm}
900
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
827
901
  */
828
- getClientRoles(realm: string, clientId: string, options?: O): RestResponse<Model.Role[]>;
902
+ getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
829
903
  /**
830
- * HTTP PUT /user/{realm}/{clientId}/roles
831
- * Java method: org.openremote.model.security.UserResource.updateClientRoles
904
+ * HTTP GET /gateway/tunnel/{realm}/{id}
905
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
832
906
  */
833
- updateClientRoles(realm: string, clientId: string, roles: Model.Role[], options?: O): RestResponse<void>;
907
+ getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
834
908
  /**
835
- * HTTP GET /user/{realm}/{userId}
836
- * Java method: org.openremote.model.security.UserResource.get
909
+ * HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
910
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
837
911
  */
838
- get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
912
+ getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
839
913
  }
840
914
  export declare class AssetModelResourceClient<O> {
841
915
  protected httpClient: HttpClient<O>;
@@ -890,127 +964,53 @@ export declare class AssetModelResourceClient<O> {
890
964
  [index: string]: Model.ValueDescriptor;
891
965
  }>;
892
966
  }
893
- export declare class AssetPredictedDatapointResourceClient<O> {
894
- protected httpClient: HttpClient<O>;
895
- constructor(httpClient: HttpClient<O>);
896
- /**
897
- * HTTP POST /asset/predicted/{assetId}/{attributeName}
898
- * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
899
- */
900
- getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
901
- /**
902
- * HTTP PUT /asset/predicted/{assetId}/{attributeName}
903
- * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
904
- */
905
- writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
906
- }
907
- export declare class AssetDatapointResourceClient<O> {
908
- protected httpClient: HttpClient<O>;
909
- constructor(httpClient: HttpClient<O>);
910
- /**
911
- * HTTP GET /asset/datapoint/export
912
- * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
913
- */
914
- getDatapointExport(queryParams?: {
915
- attributeRefs?: string;
916
- fromTimestamp?: number;
917
- toTimestamp?: number;
918
- }, options?: O): RestResponse<any>;
919
- /**
920
- * HTTP GET /asset/datapoint/periods
921
- * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
922
- */
923
- getDatapointPeriod(queryParams?: {
924
- assetId?: string;
925
- attributeName?: string;
926
- }, options?: O): RestResponse<Model.DatapointPeriod>;
927
- /**
928
- * HTTP POST /asset/datapoint/{assetId}/{attributeName}
929
- * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
930
- */
931
- getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
932
- }
933
- export declare class DashboardResourceClient<O> {
934
- protected httpClient: HttpClient<O>;
935
- constructor(httpClient: HttpClient<O>);
936
- /**
937
- * HTTP POST /dashboard
938
- * Java method: org.openremote.model.dashboard.DashboardResource.create
939
- */
940
- create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
941
- /**
942
- * HTTP PUT /dashboard
943
- * Java method: org.openremote.model.dashboard.DashboardResource.update
944
- */
945
- update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
946
- /**
947
- * HTTP GET /dashboard/all/{realm}
948
- * Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
949
- */
950
- getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
951
- /**
952
- * HTTP POST /dashboard/query
953
- * Java method: org.openremote.model.dashboard.DashboardResource.query
954
- */
955
- query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
956
- /**
957
- * HTTP DELETE /dashboard/{realm}/{dashboardId}
958
- * Java method: org.openremote.model.dashboard.DashboardResource.delete
959
- */
960
- delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
961
- /**
962
- * HTTP GET /dashboard/{realm}/{dashboardId}
963
- * Java method: org.openremote.model.dashboard.DashboardResource.get
964
- */
965
- get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
966
- }
967
967
  export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
968
968
  export declare class ApiClient {
969
- protected _alarmResource: AxiosAlarmResourceClient;
970
- protected _agentResource: AxiosAgentResourceClient;
971
- protected _gatewayClientResource: AxiosGatewayClientResourceClient;
972
- protected _appResource: AxiosAppResourceClient;
973
- protected _realmResource: AxiosRealmResourceClient;
974
- protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
975
- protected _consoleResource: AxiosConsoleResourceClient;
976
- protected _mapResource: AxiosMapResourceClient;
977
- protected _provisioningResource: AxiosProvisioningResourceClient;
969
+ protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
978
970
  protected _statusResource: AxiosStatusResourceClient;
979
971
  protected _flowResource: AxiosFlowResourceClient;
972
+ protected _alarmResource: AxiosAlarmResourceClient;
973
+ protected _realmResource: AxiosRealmResourceClient;
980
974
  protected _configurationResource: AxiosConfigurationResourceClient;
975
+ protected _consoleResource: AxiosConsoleResourceClient;
976
+ protected _appResource: AxiosAppResourceClient;
981
977
  protected _assetResource: AxiosAssetResourceClient;
978
+ protected _userResource: AxiosUserResourceClient;
982
979
  protected _externalServiceResource: AxiosExternalServiceResourceClient;
983
- protected _notificationResource: AxiosNotificationResourceClient;
980
+ protected _provisioningResource: AxiosProvisioningResourceClient;
984
981
  protected _syslogResource: AxiosSyslogResourceClient;
985
982
  protected _rulesResource: AxiosRulesResourceClient;
986
- protected _userResource: AxiosUserResourceClient;
987
- protected _assetModelResource: AxiosAssetModelResourceClient;
988
- protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
983
+ protected _notificationResource: AxiosNotificationResourceClient;
984
+ protected _mapResource: AxiosMapResourceClient;
989
985
  protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
990
986
  protected _dashboardResource: AxiosDashboardResourceClient;
987
+ protected _gatewayClientResource: AxiosGatewayClientResourceClient;
988
+ protected _agentResource: AxiosAgentResourceClient;
989
+ protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
990
+ protected _assetModelResource: AxiosAssetModelResourceClient;
991
991
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
992
- get AlarmResource(): AxiosAlarmResourceClient;
993
- get AgentResource(): AxiosAgentResourceClient;
994
- get GatewayClientResource(): AxiosGatewayClientResourceClient;
995
- get AppResource(): AxiosAppResourceClient;
996
- get RealmResource(): AxiosRealmResourceClient;
997
- get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
998
- get ConsoleResource(): AxiosConsoleResourceClient;
999
- get MapResource(): AxiosMapResourceClient;
1000
- get ProvisioningResource(): AxiosProvisioningResourceClient;
992
+ get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
1001
993
  get StatusResource(): AxiosStatusResourceClient;
1002
994
  get FlowResource(): AxiosFlowResourceClient;
995
+ get AlarmResource(): AxiosAlarmResourceClient;
996
+ get RealmResource(): AxiosRealmResourceClient;
1003
997
  get ConfigurationResource(): AxiosConfigurationResourceClient;
998
+ get ConsoleResource(): AxiosConsoleResourceClient;
999
+ get AppResource(): AxiosAppResourceClient;
1004
1000
  get AssetResource(): AxiosAssetResourceClient;
1001
+ get UserResource(): AxiosUserResourceClient;
1005
1002
  get ExternalServiceResource(): AxiosExternalServiceResourceClient;
1006
- get NotificationResource(): AxiosNotificationResourceClient;
1003
+ get ProvisioningResource(): AxiosProvisioningResourceClient;
1007
1004
  get SyslogResource(): AxiosSyslogResourceClient;
1008
1005
  get RulesResource(): AxiosRulesResourceClient;
1009
- get UserResource(): AxiosUserResourceClient;
1010
- get AssetModelResource(): AxiosAssetModelResourceClient;
1011
- get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
1006
+ get NotificationResource(): AxiosNotificationResourceClient;
1007
+ get MapResource(): AxiosMapResourceClient;
1012
1008
  get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
1013
1009
  get DashboardResource(): AxiosDashboardResourceClient;
1010
+ get GatewayClientResource(): AxiosGatewayClientResourceClient;
1011
+ get AgentResource(): AxiosAgentResourceClient;
1012
+ get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
1013
+ get AssetModelResource(): AxiosAssetModelResourceClient;
1014
1014
  }
1015
1015
  import * as Axios from "axios";
1016
1016
  declare module "axios" {
@@ -1018,69 +1018,69 @@ declare module "axios" {
1018
1018
  data: R;
1019
1019
  }
1020
1020
  }
1021
- export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
1021
+ export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
1022
1022
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1023
1023
  }
1024
- export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
1024
+ export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
1025
1025
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1026
1026
  }
1027
- export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
1027
+ export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
1028
1028
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1029
1029
  }
1030
- export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
1030
+ export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
1031
1031
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1032
1032
  }
1033
1033
  export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
1034
1034
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1035
1035
  }
1036
- export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
1036
+ export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
1037
1037
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1038
1038
  }
1039
1039
  export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
1040
1040
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1041
1041
  }
1042
- export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
1042
+ export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
1043
1043
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1044
1044
  }
1045
- export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
1045
+ export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
1046
1046
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1047
1047
  }
1048
- export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
1048
+ export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
1049
1049
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1050
1050
  }
1051
- export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
1051
+ export declare class AxiosExternalServiceResourceClient extends ExternalServiceResourceClient<Axios.AxiosRequestConfig> {
1052
1052
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1053
1053
  }
1054
- export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
1054
+ export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
1055
1055
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1056
1056
  }
1057
- export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
1057
+ export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
1058
1058
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1059
1059
  }
1060
- export declare class AxiosExternalServiceResourceClient extends ExternalServiceResourceClient<Axios.AxiosRequestConfig> {
1060
+ export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
1061
1061
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1062
1062
  }
1063
1063
  export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
1064
1064
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1065
1065
  }
1066
- export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
1066
+ export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
1067
1067
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1068
1068
  }
1069
- export declare class AxiosRulesResourceClient extends RulesResourceClient<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 AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
1072
+ export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
1073
1073
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1074
1074
  }
1075
- export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
1075
+ export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
1076
1076
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1077
1077
  }
1078
- export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
1078
+ export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
1079
1079
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1080
1080
  }
1081
- export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
1081
+ export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
1082
1082
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1083
1083
  }
1084
- export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
1084
+ export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
1085
1085
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1086
1086
  }