@openremote/rest 1.7.0-snapshot.20250626141721 → 1.7.0-snapshot.20250627125543
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.
- package/dist/umd/index.bundle.js +1 -1
- package/dist/umd/index.js +1 -1
- package/lib/restclient.d.ts +400 -400
- package/lib/restclient.js +1 -1
- package/lib/restclient.js.map +1 -1
- package/package.json +3 -3
package/lib/restclient.d.ts
CHANGED
|
@@ -9,6 +9,66 @@ export interface HttpClient<O> {
|
|
|
9
9
|
options?: O;
|
|
10
10
|
}): RestResponse<R>;
|
|
11
11
|
}
|
|
12
|
+
export declare class AssetDatapointResourceClient<O> {
|
|
13
|
+
protected httpClient: HttpClient<O>;
|
|
14
|
+
constructor(httpClient: HttpClient<O>);
|
|
15
|
+
/**
|
|
16
|
+
* HTTP GET /asset/datapoint/export
|
|
17
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
18
|
+
*/
|
|
19
|
+
getDatapointExport(queryParams?: {
|
|
20
|
+
attributeRefs?: string;
|
|
21
|
+
fromTimestamp?: number;
|
|
22
|
+
toTimestamp?: number;
|
|
23
|
+
}, options?: O): RestResponse<any>;
|
|
24
|
+
/**
|
|
25
|
+
* HTTP GET /asset/datapoint/periods
|
|
26
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
27
|
+
*/
|
|
28
|
+
getDatapointPeriod(queryParams?: {
|
|
29
|
+
assetId?: string;
|
|
30
|
+
attributeName?: string;
|
|
31
|
+
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
32
|
+
/**
|
|
33
|
+
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
34
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
35
|
+
*/
|
|
36
|
+
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
37
|
+
}
|
|
38
|
+
export declare class RealmResourceClient<O> {
|
|
39
|
+
protected httpClient: HttpClient<O>;
|
|
40
|
+
constructor(httpClient: HttpClient<O>);
|
|
41
|
+
/**
|
|
42
|
+
* HTTP POST /realm
|
|
43
|
+
* Java method: org.openremote.model.security.RealmResource.create
|
|
44
|
+
*/
|
|
45
|
+
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
46
|
+
/**
|
|
47
|
+
* HTTP GET /realm
|
|
48
|
+
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
49
|
+
*/
|
|
50
|
+
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
51
|
+
/**
|
|
52
|
+
* HTTP GET /realm/accessible
|
|
53
|
+
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
54
|
+
*/
|
|
55
|
+
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
56
|
+
/**
|
|
57
|
+
* HTTP DELETE /realm/{name}
|
|
58
|
+
* Java method: org.openremote.model.security.RealmResource.delete
|
|
59
|
+
*/
|
|
60
|
+
delete(name: string, options?: O): RestResponse<void>;
|
|
61
|
+
/**
|
|
62
|
+
* HTTP GET /realm/{name}
|
|
63
|
+
* Java method: org.openremote.model.security.RealmResource.get
|
|
64
|
+
*/
|
|
65
|
+
get(name: string, options?: O): RestResponse<Model.Realm>;
|
|
66
|
+
/**
|
|
67
|
+
* HTTP PUT /realm/{name}
|
|
68
|
+
* Java method: org.openremote.model.security.RealmResource.update
|
|
69
|
+
*/
|
|
70
|
+
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
71
|
+
}
|
|
12
72
|
export declare class AppResourceClient<O> {
|
|
13
73
|
protected httpClient: HttpClient<O>;
|
|
14
74
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -28,58 +88,59 @@ export declare class AppResourceClient<O> {
|
|
|
28
88
|
*/
|
|
29
89
|
getAppInfos(options?: O): RestResponse<any>;
|
|
30
90
|
}
|
|
31
|
-
export declare class
|
|
91
|
+
export declare class NotificationResourceClient<O> {
|
|
32
92
|
protected httpClient: HttpClient<O>;
|
|
33
93
|
constructor(httpClient: HttpClient<O>);
|
|
34
94
|
/**
|
|
35
|
-
* HTTP
|
|
36
|
-
* Java method: org.openremote.model.
|
|
37
|
-
*/
|
|
38
|
-
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
39
|
-
assetIds?: string[];
|
|
40
|
-
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
41
|
-
/**
|
|
42
|
-
* HTTP GET /alarm
|
|
43
|
-
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
95
|
+
* HTTP GET /notification
|
|
96
|
+
* Java method: org.openremote.model.notification.NotificationResource.getNotifications
|
|
44
97
|
*/
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
98
|
+
getNotifications(queryParams?: {
|
|
99
|
+
id?: number;
|
|
100
|
+
type?: string;
|
|
101
|
+
from?: number;
|
|
102
|
+
to?: number;
|
|
103
|
+
realmId?: string;
|
|
104
|
+
userId?: string;
|
|
48
105
|
assetId?: string;
|
|
49
|
-
|
|
50
|
-
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
51
|
-
/**
|
|
52
|
-
* HTTP DELETE /alarm
|
|
53
|
-
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
54
|
-
*/
|
|
55
|
-
removeAlarms(ids: number[], options?: O): RestResponse<void>;
|
|
106
|
+
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
56
107
|
/**
|
|
57
|
-
* HTTP
|
|
58
|
-
* Java method: org.openremote.model.
|
|
108
|
+
* HTTP DELETE /notification
|
|
109
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
59
110
|
*/
|
|
60
|
-
|
|
111
|
+
removeNotifications(queryParams?: {
|
|
112
|
+
id?: number;
|
|
113
|
+
type?: string;
|
|
114
|
+
from?: number;
|
|
115
|
+
to?: number;
|
|
116
|
+
realmId?: string;
|
|
117
|
+
userId?: string;
|
|
118
|
+
assetId?: string;
|
|
119
|
+
}, options?: O): RestResponse<void>;
|
|
61
120
|
/**
|
|
62
|
-
* HTTP
|
|
63
|
-
* Java method: org.openremote.model.
|
|
121
|
+
* HTTP POST /notification/alert
|
|
122
|
+
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
64
123
|
*/
|
|
65
|
-
|
|
124
|
+
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
66
125
|
/**
|
|
67
|
-
* HTTP DELETE /
|
|
68
|
-
* Java method: org.openremote.model.
|
|
126
|
+
* HTTP DELETE /notification/{notificationId}
|
|
127
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
69
128
|
*/
|
|
70
|
-
|
|
129
|
+
removeNotification(notificationId: number, options?: O): RestResponse<void>;
|
|
71
130
|
/**
|
|
72
|
-
* HTTP PUT /
|
|
73
|
-
* Java method: org.openremote.model.
|
|
131
|
+
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
132
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
74
133
|
*/
|
|
75
|
-
|
|
134
|
+
notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
|
|
135
|
+
targetId?: string;
|
|
136
|
+
}, options?: O): RestResponse<void>;
|
|
76
137
|
/**
|
|
77
|
-
* HTTP
|
|
78
|
-
* Java method: org.openremote.model.
|
|
138
|
+
* HTTP PUT /notification/{notificationId}/delivered
|
|
139
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
79
140
|
*/
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
}, options?: O): RestResponse<
|
|
141
|
+
notificationDelivered(notificationId: number, queryParams?: {
|
|
142
|
+
targetId?: string;
|
|
143
|
+
}, options?: O): RestResponse<void>;
|
|
83
144
|
}
|
|
84
145
|
export declare class GatewayServiceResourceClient<O> {
|
|
85
146
|
protected httpClient: HttpClient<O>;
|
|
@@ -110,6 +171,66 @@ export declare class GatewayServiceResourceClient<O> {
|
|
|
110
171
|
*/
|
|
111
172
|
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
112
173
|
}
|
|
174
|
+
export declare class ConfigurationResourceClient<O> {
|
|
175
|
+
protected httpClient: HttpClient<O>;
|
|
176
|
+
constructor(httpClient: HttpClient<O>);
|
|
177
|
+
/**
|
|
178
|
+
* HTTP GET /configuration/manager
|
|
179
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
180
|
+
*/
|
|
181
|
+
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
182
|
+
/**
|
|
183
|
+
* HTTP PUT /configuration/manager
|
|
184
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
185
|
+
*/
|
|
186
|
+
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
187
|
+
/**
|
|
188
|
+
* HTTP POST /configuration/manager/file
|
|
189
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
190
|
+
*/
|
|
191
|
+
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
192
|
+
path?: string;
|
|
193
|
+
}, options?: O): RestResponse<string>;
|
|
194
|
+
/**
|
|
195
|
+
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
196
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
197
|
+
*/
|
|
198
|
+
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
199
|
+
}
|
|
200
|
+
export declare class DashboardResourceClient<O> {
|
|
201
|
+
protected httpClient: HttpClient<O>;
|
|
202
|
+
constructor(httpClient: HttpClient<O>);
|
|
203
|
+
/**
|
|
204
|
+
* HTTP POST /dashboard
|
|
205
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
206
|
+
*/
|
|
207
|
+
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
208
|
+
/**
|
|
209
|
+
* HTTP PUT /dashboard
|
|
210
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
211
|
+
*/
|
|
212
|
+
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
213
|
+
/**
|
|
214
|
+
* HTTP GET /dashboard/all/{realm}
|
|
215
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
216
|
+
*/
|
|
217
|
+
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
218
|
+
/**
|
|
219
|
+
* HTTP POST /dashboard/query
|
|
220
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
221
|
+
*/
|
|
222
|
+
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
223
|
+
/**
|
|
224
|
+
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
225
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
226
|
+
*/
|
|
227
|
+
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
228
|
+
/**
|
|
229
|
+
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
230
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
231
|
+
*/
|
|
232
|
+
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
233
|
+
}
|
|
113
234
|
export declare class AgentResourceClient<O> {
|
|
114
235
|
protected httpClient: HttpClient<O>;
|
|
115
236
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -181,57 +302,60 @@ export declare class AssetModelResourceClient<O> {
|
|
|
181
302
|
[index: string]: Model.ValueDescriptor;
|
|
182
303
|
}>;
|
|
183
304
|
}
|
|
184
|
-
export declare class
|
|
305
|
+
export declare class MapResourceClient<O> {
|
|
185
306
|
protected httpClient: HttpClient<O>;
|
|
186
307
|
constructor(httpClient: HttpClient<O>);
|
|
187
308
|
/**
|
|
188
|
-
* HTTP GET /
|
|
189
|
-
* Java method: org.openremote.model.
|
|
309
|
+
* HTTP GET /map
|
|
310
|
+
* Java method: org.openremote.model.map.MapResource.getSettings
|
|
190
311
|
*/
|
|
191
|
-
|
|
192
|
-
[
|
|
312
|
+
getSettings(options?: O): RestResponse<{
|
|
313
|
+
[id: string]: unknown;
|
|
193
314
|
}>;
|
|
194
315
|
/**
|
|
195
|
-
* HTTP
|
|
196
|
-
* Java method: org.openremote.model.
|
|
316
|
+
* HTTP PUT /map
|
|
317
|
+
* Java method: org.openremote.model.map.MapResource.saveSettings
|
|
197
318
|
*/
|
|
198
|
-
|
|
199
|
-
[
|
|
319
|
+
saveSettings(mapConfig: Model.MapConfig, options?: O): RestResponse<{
|
|
320
|
+
[id: string]: unknown;
|
|
200
321
|
}>;
|
|
201
|
-
}
|
|
202
|
-
export declare class SyslogResourceClient<O> {
|
|
203
|
-
protected httpClient: HttpClient<O>;
|
|
204
|
-
constructor(httpClient: HttpClient<O>);
|
|
205
322
|
/**
|
|
206
|
-
* HTTP
|
|
207
|
-
* Java method: org.openremote.model.
|
|
323
|
+
* HTTP DELETE /map/deleteMap
|
|
324
|
+
* Java method: org.openremote.model.map.MapResource.deleteMap
|
|
208
325
|
*/
|
|
209
|
-
|
|
326
|
+
deleteMap(options?: O): RestResponse<{
|
|
327
|
+
[id: string]: unknown;
|
|
328
|
+
}>;
|
|
210
329
|
/**
|
|
211
|
-
* HTTP
|
|
212
|
-
* Java method: org.openremote.model.
|
|
330
|
+
* HTTP GET /map/getCustomMapInfo
|
|
331
|
+
* Java method: org.openremote.model.map.MapResource.getCustomMapInfo
|
|
213
332
|
*/
|
|
214
|
-
|
|
333
|
+
getCustomMapInfo(options?: O): RestResponse<{
|
|
334
|
+
[id: string]: unknown;
|
|
335
|
+
}>;
|
|
215
336
|
/**
|
|
216
|
-
* HTTP
|
|
217
|
-
* Java method: org.openremote.model.
|
|
337
|
+
* HTTP GET /map/js
|
|
338
|
+
* Java method: org.openremote.model.map.MapResource.getSettingsJs
|
|
218
339
|
*/
|
|
219
|
-
|
|
340
|
+
getSettingsJs(options?: O): RestResponse<{
|
|
341
|
+
[id: string]: unknown;
|
|
342
|
+
}>;
|
|
220
343
|
/**
|
|
221
|
-
* HTTP GET /
|
|
222
|
-
* Java method: org.openremote.model.
|
|
344
|
+
* HTTP GET /map/tile/{zoom}/{column}/{row}
|
|
345
|
+
* Java method: org.openremote.model.map.MapResource.getTile
|
|
223
346
|
*/
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
}
|
|
234
|
-
|
|
347
|
+
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
348
|
+
/**
|
|
349
|
+
* HTTP POST /map/upload
|
|
350
|
+
* Java method: org.openremote.model.map.MapResource.uploadMap
|
|
351
|
+
*/
|
|
352
|
+
uploadMap(queryParams?: {
|
|
353
|
+
filename?: string;
|
|
354
|
+
}, options?: O): RestResponse<{
|
|
355
|
+
[id: string]: unknown;
|
|
356
|
+
}>;
|
|
357
|
+
}
|
|
358
|
+
export declare class UserResourceClient<O> {
|
|
235
359
|
protected httpClient: HttpClient<O>;
|
|
236
360
|
constructor(httpClient: HttpClient<O>);
|
|
237
361
|
/**
|
|
@@ -335,154 +459,77 @@ export declare class UserResourceClient<O> {
|
|
|
335
459
|
*/
|
|
336
460
|
get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
|
|
337
461
|
}
|
|
338
|
-
export declare class
|
|
339
|
-
protected httpClient: HttpClient<O>;
|
|
340
|
-
constructor(httpClient: HttpClient<O>);
|
|
341
|
-
/**
|
|
342
|
-
* HTTP POST /realm
|
|
343
|
-
* Java method: org.openremote.model.security.RealmResource.create
|
|
344
|
-
*/
|
|
345
|
-
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
346
|
-
/**
|
|
347
|
-
* HTTP GET /realm
|
|
348
|
-
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
349
|
-
*/
|
|
350
|
-
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
351
|
-
/**
|
|
352
|
-
* HTTP GET /realm/accessible
|
|
353
|
-
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
354
|
-
*/
|
|
355
|
-
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
356
|
-
/**
|
|
357
|
-
* HTTP DELETE /realm/{name}
|
|
358
|
-
* Java method: org.openremote.model.security.RealmResource.delete
|
|
359
|
-
*/
|
|
360
|
-
delete(name: string, options?: O): RestResponse<void>;
|
|
361
|
-
/**
|
|
362
|
-
* HTTP GET /realm/{name}
|
|
363
|
-
* Java method: org.openremote.model.security.RealmResource.get
|
|
364
|
-
*/
|
|
365
|
-
get(name: string, options?: O): RestResponse<Model.Realm>;
|
|
366
|
-
/**
|
|
367
|
-
* HTTP PUT /realm/{name}
|
|
368
|
-
* Java method: org.openremote.model.security.RealmResource.update
|
|
369
|
-
*/
|
|
370
|
-
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
371
|
-
}
|
|
372
|
-
export declare class AssetDatapointResourceClient<O> {
|
|
462
|
+
export declare class AlarmResourceClient<O> {
|
|
373
463
|
protected httpClient: HttpClient<O>;
|
|
374
464
|
constructor(httpClient: HttpClient<O>);
|
|
375
465
|
/**
|
|
376
|
-
* HTTP
|
|
377
|
-
* Java method: org.openremote.model.
|
|
466
|
+
* HTTP POST /alarm
|
|
467
|
+
* Java method: org.openremote.model.alarm.AlarmResource.createAlarm
|
|
378
468
|
*/
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
toTimestamp?: number;
|
|
383
|
-
}, options?: O): RestResponse<any>;
|
|
469
|
+
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
470
|
+
assetIds?: string[];
|
|
471
|
+
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
384
472
|
/**
|
|
385
|
-
* HTTP GET /
|
|
386
|
-
* Java method: org.openremote.model.
|
|
473
|
+
* HTTP GET /alarm
|
|
474
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
387
475
|
*/
|
|
388
|
-
|
|
476
|
+
getAlarms(queryParams?: {
|
|
477
|
+
realm?: string;
|
|
478
|
+
status?: Model.AlarmStatus;
|
|
389
479
|
assetId?: string;
|
|
390
|
-
|
|
391
|
-
}, options?: O): RestResponse<Model.
|
|
480
|
+
assigneeId?: string;
|
|
481
|
+
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
392
482
|
/**
|
|
393
|
-
* HTTP
|
|
394
|
-
* Java method: org.openremote.model.
|
|
483
|
+
* HTTP DELETE /alarm
|
|
484
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
395
485
|
*/
|
|
396
|
-
|
|
397
|
-
}
|
|
398
|
-
export declare class ConfigurationResourceClient<O> {
|
|
399
|
-
protected httpClient: HttpClient<O>;
|
|
400
|
-
constructor(httpClient: HttpClient<O>);
|
|
486
|
+
removeAlarms(ids: number[], options?: O): RestResponse<void>;
|
|
401
487
|
/**
|
|
402
|
-
* HTTP
|
|
403
|
-
* Java method: org.openremote.model.
|
|
488
|
+
* HTTP PUT /alarm/assets
|
|
489
|
+
* Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
|
|
404
490
|
*/
|
|
405
|
-
|
|
491
|
+
setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
|
|
406
492
|
/**
|
|
407
|
-
* HTTP
|
|
408
|
-
* Java method: org.openremote.model.
|
|
493
|
+
* HTTP GET /alarm/{alarmId}
|
|
494
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarm
|
|
409
495
|
*/
|
|
410
|
-
|
|
496
|
+
getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
|
|
411
497
|
/**
|
|
412
|
-
* HTTP
|
|
413
|
-
* Java method: org.openremote.model.
|
|
498
|
+
* HTTP DELETE /alarm/{alarmId}
|
|
499
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
|
|
414
500
|
*/
|
|
415
|
-
|
|
416
|
-
path?: string;
|
|
417
|
-
}, options?: O): RestResponse<string>;
|
|
501
|
+
removeAlarm(alarmId: number, options?: O): RestResponse<void>;
|
|
418
502
|
/**
|
|
419
|
-
* HTTP
|
|
420
|
-
* Java method: org.openremote.model.
|
|
503
|
+
* HTTP PUT /alarm/{alarmId}
|
|
504
|
+
* Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
|
|
421
505
|
*/
|
|
422
|
-
|
|
423
|
-
}
|
|
424
|
-
export declare class ConsoleResourceClient<O> {
|
|
425
|
-
protected httpClient: HttpClient<O>;
|
|
426
|
-
constructor(httpClient: HttpClient<O>);
|
|
506
|
+
updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
|
|
427
507
|
/**
|
|
428
|
-
* HTTP
|
|
429
|
-
* Java method: org.openremote.model.
|
|
508
|
+
* HTTP GET /alarm/{alarmId}/assets
|
|
509
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
|
|
430
510
|
*/
|
|
431
|
-
|
|
511
|
+
getAssetLinks(alarmId: number, queryParams?: {
|
|
512
|
+
realm?: string;
|
|
513
|
+
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
432
514
|
}
|
|
433
|
-
export declare class
|
|
515
|
+
export declare class FlowResourceClient<O> {
|
|
434
516
|
protected httpClient: HttpClient<O>;
|
|
435
517
|
constructor(httpClient: HttpClient<O>);
|
|
436
518
|
/**
|
|
437
|
-
* HTTP GET /
|
|
438
|
-
* Java method: org.openremote.model.
|
|
439
|
-
*/
|
|
440
|
-
getNotifications(queryParams?: {
|
|
441
|
-
id?: number;
|
|
442
|
-
type?: string;
|
|
443
|
-
from?: number;
|
|
444
|
-
to?: number;
|
|
445
|
-
realmId?: string;
|
|
446
|
-
userId?: string;
|
|
447
|
-
assetId?: string;
|
|
448
|
-
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
449
|
-
/**
|
|
450
|
-
* HTTP DELETE /notification
|
|
451
|
-
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
452
|
-
*/
|
|
453
|
-
removeNotifications(queryParams?: {
|
|
454
|
-
id?: number;
|
|
455
|
-
type?: string;
|
|
456
|
-
from?: number;
|
|
457
|
-
to?: number;
|
|
458
|
-
realmId?: string;
|
|
459
|
-
userId?: string;
|
|
460
|
-
assetId?: string;
|
|
461
|
-
}, options?: O): RestResponse<void>;
|
|
462
|
-
/**
|
|
463
|
-
* HTTP POST /notification/alert
|
|
464
|
-
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
465
|
-
*/
|
|
466
|
-
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
467
|
-
/**
|
|
468
|
-
* HTTP DELETE /notification/{notificationId}
|
|
469
|
-
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
519
|
+
* HTTP GET /flow
|
|
520
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
470
521
|
*/
|
|
471
|
-
|
|
522
|
+
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
472
523
|
/**
|
|
473
|
-
* HTTP
|
|
474
|
-
* Java method: org.openremote.model.
|
|
524
|
+
* HTTP GET /flow/{name}
|
|
525
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
475
526
|
*/
|
|
476
|
-
|
|
477
|
-
targetId?: string;
|
|
478
|
-
}, options?: O): RestResponse<void>;
|
|
527
|
+
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
479
528
|
/**
|
|
480
|
-
* HTTP
|
|
481
|
-
* Java method: org.openremote.model.
|
|
529
|
+
* HTTP GET /flow/{type}
|
|
530
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
482
531
|
*/
|
|
483
|
-
|
|
484
|
-
targetId?: string;
|
|
485
|
-
}, options?: O): RestResponse<void>;
|
|
532
|
+
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
486
533
|
}
|
|
487
534
|
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
488
535
|
protected httpClient: HttpClient<O>;
|
|
@@ -498,64 +545,6 @@ export declare class AssetPredictedDatapointResourceClient<O> {
|
|
|
498
545
|
*/
|
|
499
546
|
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
500
547
|
}
|
|
501
|
-
export declare class ProvisioningResourceClient<O> {
|
|
502
|
-
protected httpClient: HttpClient<O>;
|
|
503
|
-
constructor(httpClient: HttpClient<O>);
|
|
504
|
-
/**
|
|
505
|
-
* HTTP POST /provisioning
|
|
506
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
507
|
-
*/
|
|
508
|
-
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
509
|
-
/**
|
|
510
|
-
* HTTP GET /provisioning
|
|
511
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
512
|
-
*/
|
|
513
|
-
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
514
|
-
/**
|
|
515
|
-
* HTTP DELETE /provisioning/{id}
|
|
516
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
517
|
-
*/
|
|
518
|
-
deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
|
|
519
|
-
/**
|
|
520
|
-
* HTTP PUT /provisioning/{id}
|
|
521
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
|
|
522
|
-
*/
|
|
523
|
-
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
524
|
-
}
|
|
525
|
-
export declare class DashboardResourceClient<O> {
|
|
526
|
-
protected httpClient: HttpClient<O>;
|
|
527
|
-
constructor(httpClient: HttpClient<O>);
|
|
528
|
-
/**
|
|
529
|
-
* HTTP POST /dashboard
|
|
530
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
531
|
-
*/
|
|
532
|
-
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
533
|
-
/**
|
|
534
|
-
* HTTP PUT /dashboard
|
|
535
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
536
|
-
*/
|
|
537
|
-
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
538
|
-
/**
|
|
539
|
-
* HTTP GET /dashboard/all/{realm}
|
|
540
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
541
|
-
*/
|
|
542
|
-
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
543
|
-
/**
|
|
544
|
-
* HTTP POST /dashboard/query
|
|
545
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
546
|
-
*/
|
|
547
|
-
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
548
|
-
/**
|
|
549
|
-
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
550
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
551
|
-
*/
|
|
552
|
-
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
553
|
-
/**
|
|
554
|
-
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
555
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
556
|
-
*/
|
|
557
|
-
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
558
|
-
}
|
|
559
548
|
export declare class AssetResourceClient<O> {
|
|
560
549
|
protected httpClient: HttpClient<O>;
|
|
561
550
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -638,82 +627,27 @@ export declare class AssetResourceClient<O> {
|
|
|
638
627
|
*/
|
|
639
628
|
get(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
640
629
|
/**
|
|
641
|
-
* HTTP PUT /asset/{assetId}
|
|
642
|
-
* Java method: org.openremote.model.asset.AssetResource.update
|
|
643
|
-
*/
|
|
644
|
-
update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
645
|
-
/**
|
|
646
|
-
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
647
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
648
|
-
*/
|
|
649
|
-
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
650
|
-
/**
|
|
651
|
-
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
652
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
653
|
-
*/
|
|
654
|
-
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
655
|
-
/**
|
|
656
|
-
* HTTP PUT /asset/{parentAssetId}/child
|
|
657
|
-
* Java method: org.openremote.model.asset.AssetResource.updateParent
|
|
658
|
-
*/
|
|
659
|
-
updateParent(parentAssetId: string, queryParams?: {
|
|
660
|
-
assetIds?: string[];
|
|
661
|
-
}, options?: O): RestResponse<void>;
|
|
662
|
-
}
|
|
663
|
-
export declare class GatewayClientResourceClient<O> {
|
|
664
|
-
protected httpClient: HttpClient<O>;
|
|
665
|
-
constructor(httpClient: HttpClient<O>);
|
|
666
|
-
/**
|
|
667
|
-
* HTTP DELETE /gateway/connection
|
|
668
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
669
|
-
*/
|
|
670
|
-
deleteConnections(queryParams?: {
|
|
671
|
-
realm?: string[];
|
|
672
|
-
}, options?: O): RestResponse<void>;
|
|
673
|
-
/**
|
|
674
|
-
* HTTP GET /gateway/connection
|
|
675
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
676
|
-
*/
|
|
677
|
-
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
678
|
-
/**
|
|
679
|
-
* HTTP DELETE /gateway/connection/{realm}
|
|
680
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
681
|
-
*/
|
|
682
|
-
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
683
|
-
/**
|
|
684
|
-
* HTTP GET /gateway/connection/{realm}
|
|
685
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
686
|
-
*/
|
|
687
|
-
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
688
|
-
/**
|
|
689
|
-
* HTTP PUT /gateway/connection/{realm}
|
|
690
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
691
|
-
*/
|
|
692
|
-
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
693
|
-
/**
|
|
694
|
-
* HTTP GET /gateway/status/{realm}
|
|
695
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
630
|
+
* HTTP PUT /asset/{assetId}
|
|
631
|
+
* Java method: org.openremote.model.asset.AssetResource.update
|
|
696
632
|
*/
|
|
697
|
-
|
|
698
|
-
}
|
|
699
|
-
export declare class FlowResourceClient<O> {
|
|
700
|
-
protected httpClient: HttpClient<O>;
|
|
701
|
-
constructor(httpClient: HttpClient<O>);
|
|
633
|
+
update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
702
634
|
/**
|
|
703
|
-
* HTTP
|
|
704
|
-
* Java method: org.openremote.model.
|
|
635
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
636
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
705
637
|
*/
|
|
706
|
-
|
|
638
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
707
639
|
/**
|
|
708
|
-
* HTTP
|
|
709
|
-
* Java method: org.openremote.model.
|
|
640
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
641
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
710
642
|
*/
|
|
711
|
-
|
|
643
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
712
644
|
/**
|
|
713
|
-
* HTTP
|
|
714
|
-
* Java method: org.openremote.model.
|
|
645
|
+
* HTTP PUT /asset/{parentAssetId}/child
|
|
646
|
+
* Java method: org.openremote.model.asset.AssetResource.updateParent
|
|
715
647
|
*/
|
|
716
|
-
|
|
648
|
+
updateParent(parentAssetId: string, queryParams?: {
|
|
649
|
+
assetIds?: string[];
|
|
650
|
+
}, options?: O): RestResponse<void>;
|
|
717
651
|
}
|
|
718
652
|
export declare class RulesResourceClient<O> {
|
|
719
653
|
protected httpClient: HttpClient<O>;
|
|
@@ -823,104 +757,170 @@ export declare class RulesResourceClient<O> {
|
|
|
823
757
|
*/
|
|
824
758
|
updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
825
759
|
}
|
|
826
|
-
export declare class
|
|
760
|
+
export declare class ProvisioningResourceClient<O> {
|
|
827
761
|
protected httpClient: HttpClient<O>;
|
|
828
762
|
constructor(httpClient: HttpClient<O>);
|
|
829
763
|
/**
|
|
830
|
-
* HTTP
|
|
831
|
-
* Java method: org.openremote.model.
|
|
764
|
+
* HTTP POST /provisioning
|
|
765
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
832
766
|
*/
|
|
833
|
-
|
|
834
|
-
[id: string]: unknown;
|
|
835
|
-
}>;
|
|
767
|
+
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
836
768
|
/**
|
|
837
|
-
* HTTP
|
|
838
|
-
* Java method: org.openremote.model.
|
|
769
|
+
* HTTP GET /provisioning
|
|
770
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
839
771
|
*/
|
|
840
|
-
|
|
841
|
-
[id: string]: unknown;
|
|
842
|
-
}>;
|
|
772
|
+
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
843
773
|
/**
|
|
844
|
-
* HTTP DELETE /
|
|
845
|
-
* Java method: org.openremote.model.
|
|
774
|
+
* HTTP DELETE /provisioning/{id}
|
|
775
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
846
776
|
*/
|
|
847
|
-
|
|
848
|
-
[id: string]: unknown;
|
|
849
|
-
}>;
|
|
777
|
+
deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
|
|
850
778
|
/**
|
|
851
|
-
* HTTP
|
|
852
|
-
* Java method: org.openremote.model.
|
|
779
|
+
* HTTP PUT /provisioning/{id}
|
|
780
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
|
|
853
781
|
*/
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
782
|
+
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
783
|
+
}
|
|
784
|
+
export declare class ConsoleResourceClient<O> {
|
|
785
|
+
protected httpClient: HttpClient<O>;
|
|
786
|
+
constructor(httpClient: HttpClient<O>);
|
|
857
787
|
/**
|
|
858
|
-
* HTTP
|
|
859
|
-
* Java method: org.openremote.model.
|
|
788
|
+
* HTTP POST /console/register
|
|
789
|
+
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
860
790
|
*/
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
791
|
+
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
792
|
+
}
|
|
793
|
+
export declare class SyslogResourceClient<O> {
|
|
794
|
+
protected httpClient: HttpClient<O>;
|
|
795
|
+
constructor(httpClient: HttpClient<O>);
|
|
864
796
|
/**
|
|
865
|
-
* HTTP GET /
|
|
866
|
-
* Java method: org.openremote.model.
|
|
797
|
+
* HTTP GET /syslog/config
|
|
798
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
867
799
|
*/
|
|
868
|
-
|
|
800
|
+
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
869
801
|
/**
|
|
870
|
-
* HTTP
|
|
871
|
-
* Java method: org.openremote.model.
|
|
802
|
+
* HTTP PUT /syslog/config
|
|
803
|
+
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
872
804
|
*/
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
805
|
+
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
806
|
+
/**
|
|
807
|
+
* HTTP DELETE /syslog/event
|
|
808
|
+
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
809
|
+
*/
|
|
810
|
+
clearEvents(options?: O): RestResponse<void>;
|
|
811
|
+
/**
|
|
812
|
+
* HTTP GET /syslog/event
|
|
813
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
814
|
+
*/
|
|
815
|
+
getEvents(queryParams?: {
|
|
816
|
+
level?: Model.SyslogLevel;
|
|
817
|
+
per_page?: number;
|
|
818
|
+
page?: number;
|
|
819
|
+
from?: number;
|
|
820
|
+
to?: number;
|
|
821
|
+
category?: Model.SyslogCategory[];
|
|
822
|
+
subCategory?: string[];
|
|
823
|
+
}, options?: O): RestResponse<any>;
|
|
824
|
+
}
|
|
825
|
+
export declare class GatewayClientResourceClient<O> {
|
|
826
|
+
protected httpClient: HttpClient<O>;
|
|
827
|
+
constructor(httpClient: HttpClient<O>);
|
|
828
|
+
/**
|
|
829
|
+
* HTTP DELETE /gateway/connection
|
|
830
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
831
|
+
*/
|
|
832
|
+
deleteConnections(queryParams?: {
|
|
833
|
+
realm?: string[];
|
|
834
|
+
}, options?: O): RestResponse<void>;
|
|
835
|
+
/**
|
|
836
|
+
* HTTP GET /gateway/connection
|
|
837
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
838
|
+
*/
|
|
839
|
+
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
840
|
+
/**
|
|
841
|
+
* HTTP DELETE /gateway/connection/{realm}
|
|
842
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
843
|
+
*/
|
|
844
|
+
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
845
|
+
/**
|
|
846
|
+
* HTTP GET /gateway/connection/{realm}
|
|
847
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
848
|
+
*/
|
|
849
|
+
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
850
|
+
/**
|
|
851
|
+
* HTTP PUT /gateway/connection/{realm}
|
|
852
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
853
|
+
*/
|
|
854
|
+
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
855
|
+
/**
|
|
856
|
+
* HTTP GET /gateway/status/{realm}
|
|
857
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
858
|
+
*/
|
|
859
|
+
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
860
|
+
}
|
|
861
|
+
export declare class StatusResourceClient<O> {
|
|
862
|
+
protected httpClient: HttpClient<O>;
|
|
863
|
+
constructor(httpClient: HttpClient<O>);
|
|
864
|
+
/**
|
|
865
|
+
* HTTP GET /health
|
|
866
|
+
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
867
|
+
*/
|
|
868
|
+
getHealthStatus(options?: O): RestResponse<{
|
|
869
|
+
[index: string]: any;
|
|
870
|
+
}>;
|
|
871
|
+
/**
|
|
872
|
+
* HTTP GET /info
|
|
873
|
+
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
874
|
+
*/
|
|
875
|
+
getInfo(options?: O): RestResponse<{
|
|
876
|
+
[index: string]: any;
|
|
877
877
|
}>;
|
|
878
878
|
}
|
|
879
879
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
880
880
|
export declare class ApiClient {
|
|
881
|
+
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
882
|
+
protected _realmResource: AxiosRealmResourceClient;
|
|
881
883
|
protected _appResource: AxiosAppResourceClient;
|
|
882
|
-
protected
|
|
884
|
+
protected _notificationResource: AxiosNotificationResourceClient;
|
|
883
885
|
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
886
|
+
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
887
|
+
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
884
888
|
protected _agentResource: AxiosAgentResourceClient;
|
|
885
889
|
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
886
|
-
protected
|
|
887
|
-
protected _syslogResource: AxiosSyslogResourceClient;
|
|
890
|
+
protected _mapResource: AxiosMapResourceClient;
|
|
888
891
|
protected _userResource: AxiosUserResourceClient;
|
|
889
|
-
protected
|
|
890
|
-
protected
|
|
891
|
-
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
892
|
-
protected _consoleResource: AxiosConsoleResourceClient;
|
|
893
|
-
protected _notificationResource: AxiosNotificationResourceClient;
|
|
892
|
+
protected _alarmResource: AxiosAlarmResourceClient;
|
|
893
|
+
protected _flowResource: AxiosFlowResourceClient;
|
|
894
894
|
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
895
|
-
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
896
|
-
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
897
895
|
protected _assetResource: AxiosAssetResourceClient;
|
|
898
|
-
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
899
|
-
protected _flowResource: AxiosFlowResourceClient;
|
|
900
896
|
protected _rulesResource: AxiosRulesResourceClient;
|
|
901
|
-
protected
|
|
897
|
+
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
898
|
+
protected _consoleResource: AxiosConsoleResourceClient;
|
|
899
|
+
protected _syslogResource: AxiosSyslogResourceClient;
|
|
900
|
+
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
901
|
+
protected _statusResource: AxiosStatusResourceClient;
|
|
902
902
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
903
|
+
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
904
|
+
get RealmResource(): AxiosRealmResourceClient;
|
|
903
905
|
get AppResource(): AxiosAppResourceClient;
|
|
904
|
-
get
|
|
906
|
+
get NotificationResource(): AxiosNotificationResourceClient;
|
|
905
907
|
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
908
|
+
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
909
|
+
get DashboardResource(): AxiosDashboardResourceClient;
|
|
906
910
|
get AgentResource(): AxiosAgentResourceClient;
|
|
907
911
|
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
908
|
-
get
|
|
909
|
-
get SyslogResource(): AxiosSyslogResourceClient;
|
|
912
|
+
get MapResource(): AxiosMapResourceClient;
|
|
910
913
|
get UserResource(): AxiosUserResourceClient;
|
|
911
|
-
get
|
|
912
|
-
get
|
|
913
|
-
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
914
|
-
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
915
|
-
get NotificationResource(): AxiosNotificationResourceClient;
|
|
914
|
+
get AlarmResource(): AxiosAlarmResourceClient;
|
|
915
|
+
get FlowResource(): AxiosFlowResourceClient;
|
|
916
916
|
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
917
|
-
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
918
|
-
get DashboardResource(): AxiosDashboardResourceClient;
|
|
919
917
|
get AssetResource(): AxiosAssetResourceClient;
|
|
920
|
-
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
921
|
-
get FlowResource(): AxiosFlowResourceClient;
|
|
922
918
|
get RulesResource(): AxiosRulesResourceClient;
|
|
923
|
-
get
|
|
919
|
+
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
920
|
+
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
921
|
+
get SyslogResource(): AxiosSyslogResourceClient;
|
|
922
|
+
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
923
|
+
get StatusResource(): AxiosStatusResourceClient;
|
|
924
924
|
}
|
|
925
925
|
import * as Axios from "axios";
|
|
926
926
|
declare module "axios" {
|
|
@@ -928,66 +928,66 @@ declare module "axios" {
|
|
|
928
928
|
data: R;
|
|
929
929
|
}
|
|
930
930
|
}
|
|
931
|
-
export declare class
|
|
931
|
+
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
932
932
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
933
933
|
}
|
|
934
|
-
export declare class
|
|
934
|
+
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
935
935
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
936
936
|
}
|
|
937
|
-
export declare class
|
|
937
|
+
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
938
938
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
939
939
|
}
|
|
940
|
-
export declare class
|
|
940
|
+
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
941
941
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
942
942
|
}
|
|
943
|
-
export declare class
|
|
943
|
+
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
944
944
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
945
945
|
}
|
|
946
|
-
export declare class
|
|
946
|
+
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
947
947
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
948
948
|
}
|
|
949
|
-
export declare class
|
|
949
|
+
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
950
950
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
951
951
|
}
|
|
952
|
-
export declare class
|
|
952
|
+
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
953
953
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
954
954
|
}
|
|
955
|
-
export declare class
|
|
955
|
+
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
956
956
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
957
957
|
}
|
|
958
|
-
export declare class
|
|
958
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
959
959
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
960
960
|
}
|
|
961
|
-
export declare class
|
|
961
|
+
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
962
962
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
963
963
|
}
|
|
964
|
-
export declare class
|
|
964
|
+
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
965
965
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
966
966
|
}
|
|
967
|
-
export declare class
|
|
967
|
+
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
968
968
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
969
969
|
}
|
|
970
970
|
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
971
971
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
972
972
|
}
|
|
973
|
-
export declare class
|
|
973
|
+
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
974
974
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
975
975
|
}
|
|
976
|
-
export declare class
|
|
976
|
+
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
977
977
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
978
978
|
}
|
|
979
|
-
export declare class
|
|
979
|
+
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
980
980
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
981
981
|
}
|
|
982
|
-
export declare class
|
|
982
|
+
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
983
983
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
984
984
|
}
|
|
985
|
-
export declare class
|
|
985
|
+
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
986
986
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
987
987
|
}
|
|
988
|
-
export declare class
|
|
988
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
989
989
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
990
990
|
}
|
|
991
|
-
export declare class
|
|
991
|
+
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
992
992
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
993
993
|
}
|