@openremote/rest 1.2.0 → 1.3.0-snapshot.20241219101240
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 +593 -593
- 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,111 +9,462 @@ export interface HttpClient<O> {
|
|
|
9
9
|
options?: O;
|
|
10
10
|
}): RestResponse<R>;
|
|
11
11
|
}
|
|
12
|
-
export declare class
|
|
12
|
+
export declare class SyslogResourceClient<O> {
|
|
13
13
|
protected httpClient: HttpClient<O>;
|
|
14
14
|
constructor(httpClient: HttpClient<O>);
|
|
15
15
|
/**
|
|
16
|
-
* HTTP GET /
|
|
17
|
-
* Java method: org.openremote.model.
|
|
16
|
+
* HTTP GET /syslog/config
|
|
17
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
18
18
|
*/
|
|
19
|
-
|
|
20
|
-
realm?: any;
|
|
21
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
19
|
+
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
22
20
|
/**
|
|
23
|
-
* HTTP
|
|
24
|
-
* Java method: org.openremote.model.
|
|
21
|
+
* HTTP PUT /syslog/config
|
|
22
|
+
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
25
23
|
*/
|
|
26
|
-
|
|
27
|
-
realm?: any;
|
|
28
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
24
|
+
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
29
25
|
/**
|
|
30
|
-
* HTTP
|
|
31
|
-
* Java method: org.openremote.model.
|
|
26
|
+
* HTTP DELETE /syslog/event
|
|
27
|
+
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
32
28
|
*/
|
|
33
|
-
|
|
34
|
-
|
|
29
|
+
clearEvents(options?: O): RestResponse<void>;
|
|
30
|
+
/**
|
|
31
|
+
* HTTP GET /syslog/event
|
|
32
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
33
|
+
*/
|
|
34
|
+
getEvents(queryParams?: {
|
|
35
|
+
level?: Model.SyslogLevel;
|
|
36
|
+
per_page?: any;
|
|
37
|
+
page?: any;
|
|
38
|
+
from?: any;
|
|
39
|
+
to?: any;
|
|
40
|
+
category?: Model.SyslogCategory[];
|
|
41
|
+
subCategory?: any[];
|
|
42
|
+
}, options?: O): RestResponse<any>;
|
|
43
|
+
}
|
|
44
|
+
export declare class AssetDatapointResourceClient<O> {
|
|
45
|
+
protected httpClient: HttpClient<O>;
|
|
46
|
+
constructor(httpClient: HttpClient<O>);
|
|
47
|
+
/**
|
|
48
|
+
* HTTP GET /asset/datapoint/export
|
|
49
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
50
|
+
*/
|
|
51
|
+
getDatapointExport(queryParams?: {
|
|
52
|
+
attributeRefs?: any;
|
|
53
|
+
fromTimestamp?: number;
|
|
54
|
+
toTimestamp?: number;
|
|
55
|
+
}, options?: O): RestResponse<any>;
|
|
56
|
+
/**
|
|
57
|
+
* HTTP GET /asset/datapoint/periods
|
|
58
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
59
|
+
*/
|
|
60
|
+
getDatapointPeriod(queryParams?: {
|
|
61
|
+
assetId?: any;
|
|
62
|
+
attributeName?: any;
|
|
63
|
+
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
64
|
+
/**
|
|
65
|
+
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
66
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
67
|
+
*/
|
|
68
|
+
getDatapoints(assetId: any, attributeName: any, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
69
|
+
}
|
|
70
|
+
export declare class AssetResourceClient<O> {
|
|
71
|
+
protected httpClient: HttpClient<O>;
|
|
72
|
+
constructor(httpClient: HttpClient<O>);
|
|
73
|
+
/**
|
|
74
|
+
* HTTP POST /asset
|
|
75
|
+
* Java method: org.openremote.model.asset.AssetResource.create
|
|
76
|
+
*/
|
|
77
|
+
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
78
|
+
/**
|
|
79
|
+
* HTTP DELETE /asset
|
|
80
|
+
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
81
|
+
*/
|
|
82
|
+
delete(queryParams?: {
|
|
83
|
+
assetId?: any[];
|
|
84
|
+
}, options?: O): RestResponse<void>;
|
|
85
|
+
/**
|
|
86
|
+
* HTTP PUT /asset/attributes
|
|
87
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
88
|
+
*/
|
|
89
|
+
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
90
|
+
/**
|
|
91
|
+
* HTTP PUT /asset/attributes/timestamp
|
|
92
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
93
|
+
*/
|
|
94
|
+
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
95
|
+
/**
|
|
96
|
+
* HTTP DELETE /asset/parent
|
|
97
|
+
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
98
|
+
*/
|
|
99
|
+
updateNoneParent(queryParams?: {
|
|
100
|
+
assetIds?: any[];
|
|
101
|
+
}, options?: O): RestResponse<void>;
|
|
102
|
+
/**
|
|
103
|
+
* HTTP GET /asset/partial/{assetId}
|
|
104
|
+
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
105
|
+
*/
|
|
106
|
+
getPartial(assetId: any, options?: O): RestResponse<Model.Asset>;
|
|
107
|
+
/**
|
|
108
|
+
* HTTP POST /asset/query
|
|
109
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
110
|
+
*/
|
|
111
|
+
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
112
|
+
/**
|
|
113
|
+
* HTTP GET /asset/user/current
|
|
114
|
+
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
115
|
+
*/
|
|
116
|
+
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
117
|
+
/**
|
|
118
|
+
* HTTP POST /asset/user/link
|
|
119
|
+
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
120
|
+
*/
|
|
121
|
+
createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
122
|
+
/**
|
|
123
|
+
* HTTP GET /asset/user/link
|
|
124
|
+
* Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
|
|
125
|
+
*/
|
|
126
|
+
getUserAssetLinks(queryParams?: {
|
|
35
127
|
realm?: any;
|
|
36
|
-
|
|
128
|
+
userId?: any;
|
|
129
|
+
assetId?: any;
|
|
130
|
+
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
131
|
+
/**
|
|
132
|
+
* HTTP POST /asset/user/link/delete
|
|
133
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
134
|
+
*/
|
|
135
|
+
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
136
|
+
/**
|
|
137
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
138
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
139
|
+
*/
|
|
140
|
+
deleteAllUserAssetLinks(realm: any, userId: any, options?: O): RestResponse<void>;
|
|
141
|
+
/**
|
|
142
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
143
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
144
|
+
*/
|
|
145
|
+
deleteUserAssetLink(realm: any, userId: any, assetId: any, options?: O): RestResponse<void>;
|
|
146
|
+
/**
|
|
147
|
+
* HTTP GET /asset/{assetId}
|
|
148
|
+
* Java method: org.openremote.model.asset.AssetResource.get
|
|
149
|
+
*/
|
|
150
|
+
get(assetId: any, options?: O): RestResponse<Model.Asset>;
|
|
151
|
+
/**
|
|
152
|
+
* HTTP PUT /asset/{assetId}
|
|
153
|
+
* Java method: org.openremote.model.asset.AssetResource.update
|
|
154
|
+
*/
|
|
155
|
+
update(assetId: any, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
156
|
+
/**
|
|
157
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
158
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
159
|
+
*/
|
|
160
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: any, attributeName: any, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
161
|
+
/**
|
|
162
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
163
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
164
|
+
*/
|
|
165
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: any, attributeName: any, timestamp: any, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
166
|
+
/**
|
|
167
|
+
* HTTP PUT /asset/{parentAssetId}/child
|
|
168
|
+
* Java method: org.openremote.model.asset.AssetResource.updateParent
|
|
169
|
+
*/
|
|
170
|
+
updateParent(parentAssetId: any, queryParams?: {
|
|
171
|
+
assetIds?: any[];
|
|
172
|
+
}, options?: O): RestResponse<void>;
|
|
37
173
|
}
|
|
38
|
-
export declare class
|
|
174
|
+
export declare class NotificationResourceClient<O> {
|
|
39
175
|
protected httpClient: HttpClient<O>;
|
|
40
176
|
constructor(httpClient: HttpClient<O>);
|
|
41
177
|
/**
|
|
42
|
-
* HTTP
|
|
43
|
-
* Java method: org.openremote.model.
|
|
178
|
+
* HTTP GET /notification
|
|
179
|
+
* Java method: org.openremote.model.notification.NotificationResource.getNotifications
|
|
44
180
|
*/
|
|
45
|
-
|
|
181
|
+
getNotifications(queryParams?: {
|
|
182
|
+
id?: any;
|
|
183
|
+
type?: any;
|
|
184
|
+
from?: any;
|
|
185
|
+
to?: any;
|
|
186
|
+
realmId?: any;
|
|
187
|
+
userId?: any;
|
|
188
|
+
assetId?: any;
|
|
189
|
+
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
190
|
+
/**
|
|
191
|
+
* HTTP DELETE /notification
|
|
192
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
193
|
+
*/
|
|
194
|
+
removeNotifications(queryParams?: {
|
|
195
|
+
id?: any;
|
|
196
|
+
type?: any;
|
|
197
|
+
from?: any;
|
|
198
|
+
to?: any;
|
|
199
|
+
realmId?: any;
|
|
200
|
+
userId?: any;
|
|
201
|
+
assetId?: any;
|
|
202
|
+
}, options?: O): RestResponse<void>;
|
|
203
|
+
/**
|
|
204
|
+
* HTTP POST /notification/alert
|
|
205
|
+
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
206
|
+
*/
|
|
207
|
+
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
208
|
+
/**
|
|
209
|
+
* HTTP DELETE /notification/{notificationId}
|
|
210
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
211
|
+
*/
|
|
212
|
+
removeNotification(notificationId: any, options?: O): RestResponse<void>;
|
|
213
|
+
/**
|
|
214
|
+
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
215
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
216
|
+
*/
|
|
217
|
+
notificationAcknowledged(notificationId: any, acknowledgement: any, queryParams?: {
|
|
218
|
+
targetId?: any;
|
|
219
|
+
}, options?: O): RestResponse<void>;
|
|
220
|
+
/**
|
|
221
|
+
* HTTP PUT /notification/{notificationId}/delivered
|
|
222
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
223
|
+
*/
|
|
224
|
+
notificationDelivered(notificationId: any, queryParams?: {
|
|
225
|
+
targetId?: any;
|
|
226
|
+
}, options?: O): RestResponse<void>;
|
|
46
227
|
}
|
|
47
|
-
export declare class
|
|
228
|
+
export declare class UserResourceClient<O> {
|
|
48
229
|
protected httpClient: HttpClient<O>;
|
|
49
230
|
constructor(httpClient: HttpClient<O>);
|
|
50
231
|
/**
|
|
51
|
-
* HTTP
|
|
52
|
-
* Java method: org.openremote.model.
|
|
232
|
+
* HTTP PUT /user/locale
|
|
233
|
+
* Java method: org.openremote.model.security.UserResource.updateCurrentUserLocale
|
|
53
234
|
*/
|
|
54
|
-
|
|
55
|
-
[index: string]: any;
|
|
56
|
-
}>;
|
|
235
|
+
updateCurrentUserLocale(locale: any, options?: O): RestResponse<void>;
|
|
57
236
|
/**
|
|
58
|
-
* HTTP
|
|
59
|
-
* Java method: org.openremote.model.
|
|
237
|
+
* HTTP POST /user/query
|
|
238
|
+
* Java method: org.openremote.model.security.UserResource.query
|
|
60
239
|
*/
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
240
|
+
query(query: Model.UserQuery, options?: O): RestResponse<Model.User[]>;
|
|
241
|
+
/**
|
|
242
|
+
* HTTP GET /user/user
|
|
243
|
+
* Java method: org.openremote.model.security.UserResource.getCurrent
|
|
244
|
+
*/
|
|
245
|
+
getCurrent(options?: O): RestResponse<Model.User>;
|
|
246
|
+
/**
|
|
247
|
+
* HTTP GET /user/userRealmRoles
|
|
248
|
+
* Java method: org.openremote.model.security.UserResource.getCurrentUserRealmRoles
|
|
249
|
+
*/
|
|
250
|
+
getCurrentUserRealmRoles(options?: O): RestResponse<Model.Role[]>;
|
|
251
|
+
/**
|
|
252
|
+
* HTTP GET /user/userRoles
|
|
253
|
+
* Java method: org.openremote.model.security.UserResource.getCurrentUserRoles
|
|
254
|
+
*/
|
|
255
|
+
getCurrentUserRoles(options?: O): RestResponse<Model.Role[]>;
|
|
256
|
+
/**
|
|
257
|
+
* HTTP GET /user/userRoles/{clientId}
|
|
258
|
+
* Java method: org.openremote.model.security.UserResource.getCurrentUserClientRoles
|
|
259
|
+
*/
|
|
260
|
+
getCurrentUserClientRoles(clientId: any, options?: O): RestResponse<Model.Role[]>;
|
|
261
|
+
/**
|
|
262
|
+
* HTTP GET /user/{realm}/disconnect/{sessionID}
|
|
263
|
+
* Java method: org.openremote.model.security.UserResource.disconnectUserSession
|
|
264
|
+
*/
|
|
265
|
+
disconnectUserSession(realm: any, sessionID: any, options?: O): RestResponse<void>;
|
|
266
|
+
/**
|
|
267
|
+
* HTTP PUT /user/{realm}/reset-password/{userId}
|
|
268
|
+
* Java method: org.openremote.model.security.UserResource.resetPassword
|
|
269
|
+
*/
|
|
270
|
+
resetPassword(realm: any, userId: any, credential: Model.Credential, options?: O): RestResponse<void>;
|
|
271
|
+
/**
|
|
272
|
+
* HTTP GET /user/{realm}/reset-secret/{userId}
|
|
273
|
+
* Java method: org.openremote.model.security.UserResource.resetSecret
|
|
274
|
+
*/
|
|
275
|
+
resetSecret(realm: any, userId: any, options?: O): RestResponse<any>;
|
|
276
|
+
/**
|
|
277
|
+
* HTTP GET /user/{realm}/roles
|
|
278
|
+
* Java method: org.openremote.model.security.UserResource.getRoles
|
|
279
|
+
*/
|
|
280
|
+
getRoles(realm: any, options?: O): RestResponse<Model.Role[]>;
|
|
281
|
+
/**
|
|
282
|
+
* HTTP PUT /user/{realm}/roles
|
|
283
|
+
* Java method: org.openremote.model.security.UserResource.updateRoles
|
|
284
|
+
*/
|
|
285
|
+
updateRoles(realm: any, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
286
|
+
/**
|
|
287
|
+
* HTTP GET /user/{realm}/userRealmRoles/{userId}
|
|
288
|
+
* Java method: org.openremote.model.security.UserResource.getUserRealmRoles
|
|
289
|
+
*/
|
|
290
|
+
getUserRealmRoles(realm: any, userId: any, options?: O): RestResponse<Model.Role[]>;
|
|
291
|
+
/**
|
|
292
|
+
* HTTP PUT /user/{realm}/userRealmRoles/{userId}
|
|
293
|
+
* Java method: org.openremote.model.security.UserResource.updateUserRealmRoles
|
|
294
|
+
*/
|
|
295
|
+
updateUserRealmRoles(realm: any, userId: any, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
296
|
+
/**
|
|
297
|
+
* HTTP GET /user/{realm}/userRoles/{userId}
|
|
298
|
+
* Java method: org.openremote.model.security.UserResource.getUserRoles
|
|
299
|
+
*/
|
|
300
|
+
getUserRoles(realm: any, userId: any, options?: O): RestResponse<Model.Role[]>;
|
|
301
|
+
/**
|
|
302
|
+
* HTTP PUT /user/{realm}/userRoles/{userId}
|
|
303
|
+
* Java method: org.openremote.model.security.UserResource.updateUserRoles
|
|
304
|
+
*/
|
|
305
|
+
updateUserRoles(realm: any, userId: any, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
306
|
+
/**
|
|
307
|
+
* HTTP GET /user/{realm}/userRoles/{userId}/{clientId}
|
|
308
|
+
* Java method: org.openremote.model.security.UserResource.getUserClientRoles
|
|
309
|
+
*/
|
|
310
|
+
getUserClientRoles(realm: any, userId: any, clientId: any, options?: O): RestResponse<Model.Role[]>;
|
|
311
|
+
/**
|
|
312
|
+
* HTTP PUT /user/{realm}/userRoles/{userId}/{clientId}
|
|
313
|
+
* Java method: org.openremote.model.security.UserResource.updateUserClientRoles
|
|
314
|
+
*/
|
|
315
|
+
updateUserClientRoles(realm: any, userId: any, clientId: any, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
316
|
+
/**
|
|
317
|
+
* HTTP GET /user/{realm}/userSessions/{userId}
|
|
318
|
+
* Java method: org.openremote.model.security.UserResource.getUserSessions
|
|
319
|
+
*/
|
|
320
|
+
getUserSessions(realm: any, userId: any, options?: O): RestResponse<Model.UserSession[]>;
|
|
321
|
+
/**
|
|
322
|
+
* HTTP POST /user/{realm}/users
|
|
323
|
+
* Java method: org.openremote.model.security.UserResource.create
|
|
324
|
+
*/
|
|
325
|
+
create(realm: any, user: Model.User, options?: O): RestResponse<Model.User>;
|
|
326
|
+
/**
|
|
327
|
+
* HTTP PUT /user/{realm}/users
|
|
328
|
+
* Java method: org.openremote.model.security.UserResource.update
|
|
329
|
+
*/
|
|
330
|
+
update(realm: any, user: Model.User, options?: O): RestResponse<Model.User>;
|
|
331
|
+
/**
|
|
332
|
+
* HTTP DELETE /user/{realm}/users/{userId}
|
|
333
|
+
* Java method: org.openremote.model.security.UserResource.delete
|
|
334
|
+
*/
|
|
335
|
+
delete(realm: any, userId: any, options?: O): RestResponse<void>;
|
|
336
|
+
/**
|
|
337
|
+
* HTTP GET /user/{realm}/{clientId}/roles
|
|
338
|
+
* Java method: org.openremote.model.security.UserResource.getClientRoles
|
|
339
|
+
*/
|
|
340
|
+
getClientRoles(realm: any, clientId: any, options?: O): RestResponse<Model.Role[]>;
|
|
341
|
+
/**
|
|
342
|
+
* HTTP PUT /user/{realm}/{clientId}/roles
|
|
343
|
+
* Java method: org.openremote.model.security.UserResource.updateClientRoles
|
|
344
|
+
*/
|
|
345
|
+
updateClientRoles(realm: any, clientId: any, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
346
|
+
/**
|
|
347
|
+
* HTTP GET /user/{realm}/{userId}
|
|
348
|
+
* Java method: org.openremote.model.security.UserResource.get
|
|
349
|
+
*/
|
|
350
|
+
get(realm: any, userId: any, options?: O): RestResponse<Model.User>;
|
|
64
351
|
}
|
|
65
|
-
export declare class
|
|
352
|
+
export declare class GatewayServiceResourceClient<O> {
|
|
66
353
|
protected httpClient: HttpClient<O>;
|
|
67
354
|
constructor(httpClient: HttpClient<O>);
|
|
68
355
|
/**
|
|
69
|
-
* HTTP POST /
|
|
70
|
-
* Java method: org.openremote.model.
|
|
356
|
+
* HTTP POST /gateway/tunnel
|
|
357
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
71
358
|
*/
|
|
72
|
-
|
|
359
|
+
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
73
360
|
/**
|
|
74
|
-
* HTTP
|
|
75
|
-
* Java method: org.openremote.model.
|
|
361
|
+
* HTTP DELETE /gateway/tunnel
|
|
362
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
76
363
|
*/
|
|
77
|
-
|
|
364
|
+
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
78
365
|
/**
|
|
79
|
-
* HTTP
|
|
80
|
-
* Java method: org.openremote.model.
|
|
366
|
+
* HTTP GET /gateway/tunnel/{realm}
|
|
367
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
81
368
|
*/
|
|
82
|
-
|
|
369
|
+
getAllActiveTunnelInfos(realm: any, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
83
370
|
/**
|
|
84
|
-
* HTTP
|
|
85
|
-
* Java method: org.openremote.model.
|
|
371
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
372
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
373
|
+
*/
|
|
374
|
+
getGatewayActiveTunnelInfos(realm: any, id: any, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
375
|
+
/**
|
|
376
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
377
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
378
|
+
*/
|
|
379
|
+
getActiveTunnelInfo(realm: any, id: any, target: any, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
380
|
+
}
|
|
381
|
+
export declare class DashboardResourceClient<O> {
|
|
382
|
+
protected httpClient: HttpClient<O>;
|
|
383
|
+
constructor(httpClient: HttpClient<O>);
|
|
384
|
+
/**
|
|
385
|
+
* HTTP POST /dashboard
|
|
386
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
387
|
+
*/
|
|
388
|
+
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
389
|
+
/**
|
|
390
|
+
* HTTP PUT /dashboard
|
|
391
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
392
|
+
*/
|
|
393
|
+
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
394
|
+
/**
|
|
395
|
+
* HTTP GET /dashboard/all/{realm}
|
|
396
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
397
|
+
*/
|
|
398
|
+
getAllRealmDashboards(realm: any, options?: O): RestResponse<Model.Dashboard[]>;
|
|
399
|
+
/**
|
|
400
|
+
* HTTP POST /dashboard/query
|
|
401
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
402
|
+
*/
|
|
403
|
+
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
404
|
+
/**
|
|
405
|
+
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
406
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
407
|
+
*/
|
|
408
|
+
delete(realm: any, dashboardId: any, options?: O): RestResponse<void>;
|
|
409
|
+
/**
|
|
410
|
+
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
411
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
412
|
+
*/
|
|
413
|
+
get(realm: any, dashboardId: any, options?: O): RestResponse<Model.Dashboard>;
|
|
414
|
+
}
|
|
415
|
+
export declare class ConsoleResourceClient<O> {
|
|
416
|
+
protected httpClient: HttpClient<O>;
|
|
417
|
+
constructor(httpClient: HttpClient<O>);
|
|
418
|
+
/**
|
|
419
|
+
* HTTP POST /console/register
|
|
420
|
+
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
86
421
|
*/
|
|
87
|
-
|
|
422
|
+
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
88
423
|
}
|
|
89
|
-
export declare class
|
|
424
|
+
export declare class AssetModelResourceClient<O> {
|
|
90
425
|
protected httpClient: HttpClient<O>;
|
|
91
426
|
constructor(httpClient: HttpClient<O>);
|
|
92
427
|
/**
|
|
93
|
-
* HTTP
|
|
94
|
-
* Java method: org.openremote.model.
|
|
428
|
+
* HTTP GET /model/assetDescriptors
|
|
429
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
95
430
|
*/
|
|
96
|
-
|
|
431
|
+
getAssetDescriptors(queryParams?: {
|
|
432
|
+
parentId?: any;
|
|
433
|
+
parentType?: any;
|
|
434
|
+
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
97
435
|
/**
|
|
98
|
-
* HTTP
|
|
99
|
-
* Java method: org.openremote.model.
|
|
436
|
+
* HTTP GET /model/assetInfo/{assetType}
|
|
437
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
100
438
|
*/
|
|
101
|
-
|
|
439
|
+
getAssetInfo(assetType: any, queryParams?: {
|
|
440
|
+
parentId?: any;
|
|
441
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
102
442
|
/**
|
|
103
|
-
* HTTP GET /
|
|
104
|
-
* Java method: org.openremote.model.
|
|
443
|
+
* HTTP GET /model/assetInfos
|
|
444
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
105
445
|
*/
|
|
106
|
-
|
|
446
|
+
getAssetInfos(queryParams?: {
|
|
447
|
+
parentId?: any;
|
|
448
|
+
parentType?: any;
|
|
449
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
107
450
|
/**
|
|
108
|
-
* HTTP GET /
|
|
109
|
-
* Java method: org.openremote.model.
|
|
451
|
+
* HTTP GET /model/metaItemDescriptors
|
|
452
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
|
|
110
453
|
*/
|
|
111
|
-
|
|
454
|
+
getMetaItemDescriptors(queryParams?: {
|
|
455
|
+
parentId?: any;
|
|
456
|
+
}, options?: O): RestResponse<{
|
|
457
|
+
[index: string]: Model.MetaItemDescriptor;
|
|
458
|
+
}>;
|
|
112
459
|
/**
|
|
113
|
-
* HTTP GET /
|
|
114
|
-
* Java method: org.openremote.model.
|
|
460
|
+
* HTTP GET /model/valueDescriptors
|
|
461
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
|
|
115
462
|
*/
|
|
116
|
-
|
|
463
|
+
getValueDescriptors(queryParams?: {
|
|
464
|
+
parentId?: any;
|
|
465
|
+
}, options?: O): RestResponse<{
|
|
466
|
+
[index: string]: Model.ValueDescriptor;
|
|
467
|
+
}>;
|
|
117
468
|
}
|
|
118
469
|
export declare class AlarmResourceClient<O> {
|
|
119
470
|
protected httpClient: HttpClient<O>;
|
|
@@ -168,6 +519,24 @@ export declare class AlarmResourceClient<O> {
|
|
|
168
519
|
realm?: any;
|
|
169
520
|
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
170
521
|
}
|
|
522
|
+
export declare class StatusResourceClient<O> {
|
|
523
|
+
protected httpClient: HttpClient<O>;
|
|
524
|
+
constructor(httpClient: HttpClient<O>);
|
|
525
|
+
/**
|
|
526
|
+
* HTTP GET /health
|
|
527
|
+
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
528
|
+
*/
|
|
529
|
+
getHealthStatus(options?: O): RestResponse<{
|
|
530
|
+
[index: string]: any;
|
|
531
|
+
}>;
|
|
532
|
+
/**
|
|
533
|
+
* HTTP GET /info
|
|
534
|
+
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
535
|
+
*/
|
|
536
|
+
getInfo(options?: O): RestResponse<{
|
|
537
|
+
[index: string]: any;
|
|
538
|
+
}>;
|
|
539
|
+
}
|
|
171
540
|
export declare class MapResourceClient<O> {
|
|
172
541
|
protected httpClient: HttpClient<O>;
|
|
173
542
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -198,46 +567,6 @@ export declare class MapResourceClient<O> {
|
|
|
198
567
|
*/
|
|
199
568
|
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
200
569
|
}
|
|
201
|
-
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
202
|
-
protected httpClient: HttpClient<O>;
|
|
203
|
-
constructor(httpClient: HttpClient<O>);
|
|
204
|
-
/**
|
|
205
|
-
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
206
|
-
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
207
|
-
*/
|
|
208
|
-
getPredictedDatapoints(assetId: any, attributeName: any, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
209
|
-
/**
|
|
210
|
-
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
211
|
-
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
212
|
-
*/
|
|
213
|
-
writePredictedDatapoints(assetId: any, attributeName: any, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
214
|
-
}
|
|
215
|
-
export declare class AssetDatapointResourceClient<O> {
|
|
216
|
-
protected httpClient: HttpClient<O>;
|
|
217
|
-
constructor(httpClient: HttpClient<O>);
|
|
218
|
-
/**
|
|
219
|
-
* HTTP GET /asset/datapoint/export
|
|
220
|
-
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
221
|
-
*/
|
|
222
|
-
getDatapointExport(queryParams?: {
|
|
223
|
-
attributeRefs?: any;
|
|
224
|
-
fromTimestamp?: number;
|
|
225
|
-
toTimestamp?: number;
|
|
226
|
-
}, options?: O): RestResponse<any>;
|
|
227
|
-
/**
|
|
228
|
-
* HTTP GET /asset/datapoint/periods
|
|
229
|
-
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
230
|
-
*/
|
|
231
|
-
getDatapointPeriod(queryParams?: {
|
|
232
|
-
assetId?: any;
|
|
233
|
-
attributeName?: any;
|
|
234
|
-
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
235
|
-
/**
|
|
236
|
-
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
237
|
-
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
238
|
-
*/
|
|
239
|
-
getDatapoints(assetId: any, attributeName: any, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
240
|
-
}
|
|
241
570
|
export declare class ConfigurationResourceClient<O> {
|
|
242
571
|
protected httpClient: HttpClient<O>;
|
|
243
572
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -270,197 +599,74 @@ export declare class ConfigurationResourceClient<O> {
|
|
|
270
599
|
*/
|
|
271
600
|
getManagerConfigImage(filename: any, options?: O): RestResponse<any>;
|
|
272
601
|
}
|
|
273
|
-
export declare class
|
|
274
|
-
protected httpClient: HttpClient<O>;
|
|
275
|
-
constructor(httpClient: HttpClient<O>);
|
|
276
|
-
/**
|
|
277
|
-
* HTTP DELETE /gateway/connection
|
|
278
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
279
|
-
*/
|
|
280
|
-
deleteConnections(queryParams?: {
|
|
281
|
-
realm?: any[];
|
|
282
|
-
}, options?: O): RestResponse<void>;
|
|
283
|
-
/**
|
|
284
|
-
* HTTP GET /gateway/connection
|
|
285
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
286
|
-
*/
|
|
287
|
-
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
288
|
-
/**
|
|
289
|
-
* HTTP DELETE /gateway/connection/{realm}
|
|
290
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
291
|
-
*/
|
|
292
|
-
deleteConnection(realm: any, options?: O): RestResponse<void>;
|
|
293
|
-
/**
|
|
294
|
-
* HTTP GET /gateway/connection/{realm}
|
|
295
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
296
|
-
*/
|
|
297
|
-
getConnection(realm: any, options?: O): RestResponse<Model.GatewayConnection>;
|
|
298
|
-
/**
|
|
299
|
-
* HTTP PUT /gateway/connection/{realm}
|
|
300
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
301
|
-
*/
|
|
302
|
-
setConnection(realm: any, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
303
|
-
/**
|
|
304
|
-
* HTTP GET /gateway/status/{realm}
|
|
305
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
306
|
-
*/
|
|
307
|
-
getConnectionStatus(realm: any, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
308
|
-
}
|
|
309
|
-
export declare class SyslogResourceClient<O> {
|
|
310
|
-
protected httpClient: HttpClient<O>;
|
|
311
|
-
constructor(httpClient: HttpClient<O>);
|
|
312
|
-
/**
|
|
313
|
-
* HTTP GET /syslog/config
|
|
314
|
-
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
315
|
-
*/
|
|
316
|
-
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
317
|
-
/**
|
|
318
|
-
* HTTP PUT /syslog/config
|
|
319
|
-
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
320
|
-
*/
|
|
321
|
-
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
322
|
-
/**
|
|
323
|
-
* HTTP DELETE /syslog/event
|
|
324
|
-
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
325
|
-
*/
|
|
326
|
-
clearEvents(options?: O): RestResponse<void>;
|
|
327
|
-
/**
|
|
328
|
-
* HTTP GET /syslog/event
|
|
329
|
-
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
330
|
-
*/
|
|
331
|
-
getEvents(queryParams?: {
|
|
332
|
-
level?: Model.SyslogLevel;
|
|
333
|
-
per_page?: any;
|
|
334
|
-
page?: any;
|
|
335
|
-
from?: any;
|
|
336
|
-
to?: any;
|
|
337
|
-
category?: Model.SyslogCategory[];
|
|
338
|
-
subCategory?: any[];
|
|
339
|
-
}, options?: O): RestResponse<any>;
|
|
340
|
-
}
|
|
341
|
-
export declare class UserResourceClient<O> {
|
|
602
|
+
export declare class AppResourceClient<O> {
|
|
342
603
|
protected httpClient: HttpClient<O>;
|
|
343
604
|
constructor(httpClient: HttpClient<O>);
|
|
344
605
|
/**
|
|
345
|
-
* HTTP
|
|
346
|
-
* Java method: org.openremote.model.
|
|
347
|
-
*/
|
|
348
|
-
updateCurrentUserLocale(locale: any, options?: O): RestResponse<void>;
|
|
349
|
-
/**
|
|
350
|
-
* HTTP POST /user/query
|
|
351
|
-
* Java method: org.openremote.model.security.UserResource.query
|
|
352
|
-
*/
|
|
353
|
-
query(query: Model.UserQuery, options?: O): RestResponse<Model.User[]>;
|
|
354
|
-
/**
|
|
355
|
-
* HTTP GET /user/user
|
|
356
|
-
* Java method: org.openremote.model.security.UserResource.getCurrent
|
|
357
|
-
*/
|
|
358
|
-
getCurrent(options?: O): RestResponse<Model.User>;
|
|
359
|
-
/**
|
|
360
|
-
* HTTP GET /user/userRealmRoles
|
|
361
|
-
* Java method: org.openremote.model.security.UserResource.getCurrentUserRealmRoles
|
|
362
|
-
*/
|
|
363
|
-
getCurrentUserRealmRoles(options?: O): RestResponse<Model.Role[]>;
|
|
364
|
-
/**
|
|
365
|
-
* HTTP GET /user/userRoles
|
|
366
|
-
* Java method: org.openremote.model.security.UserResource.getCurrentUserRoles
|
|
367
|
-
*/
|
|
368
|
-
getCurrentUserRoles(options?: O): RestResponse<Model.Role[]>;
|
|
369
|
-
/**
|
|
370
|
-
* HTTP GET /user/userRoles/{clientId}
|
|
371
|
-
* Java method: org.openremote.model.security.UserResource.getCurrentUserClientRoles
|
|
372
|
-
*/
|
|
373
|
-
getCurrentUserClientRoles(clientId: any, options?: O): RestResponse<Model.Role[]>;
|
|
374
|
-
/**
|
|
375
|
-
* HTTP GET /user/{realm}/disconnect/{sessionID}
|
|
376
|
-
* Java method: org.openremote.model.security.UserResource.disconnectUserSession
|
|
377
|
-
*/
|
|
378
|
-
disconnectUserSession(realm: any, sessionID: any, options?: O): RestResponse<void>;
|
|
379
|
-
/**
|
|
380
|
-
* HTTP PUT /user/{realm}/reset-password/{userId}
|
|
381
|
-
* Java method: org.openremote.model.security.UserResource.resetPassword
|
|
382
|
-
*/
|
|
383
|
-
resetPassword(realm: any, userId: any, credential: Model.Credential, options?: O): RestResponse<void>;
|
|
384
|
-
/**
|
|
385
|
-
* HTTP GET /user/{realm}/reset-secret/{userId}
|
|
386
|
-
* Java method: org.openremote.model.security.UserResource.resetSecret
|
|
387
|
-
*/
|
|
388
|
-
resetSecret(realm: any, userId: any, options?: O): RestResponse<any>;
|
|
389
|
-
/**
|
|
390
|
-
* HTTP GET /user/{realm}/roles
|
|
391
|
-
* Java method: org.openremote.model.security.UserResource.getRoles
|
|
392
|
-
*/
|
|
393
|
-
getRoles(realm: any, options?: O): RestResponse<Model.Role[]>;
|
|
394
|
-
/**
|
|
395
|
-
* HTTP PUT /user/{realm}/roles
|
|
396
|
-
* Java method: org.openremote.model.security.UserResource.updateRoles
|
|
397
|
-
*/
|
|
398
|
-
updateRoles(realm: any, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
399
|
-
/**
|
|
400
|
-
* HTTP GET /user/{realm}/userRealmRoles/{userId}
|
|
401
|
-
* Java method: org.openremote.model.security.UserResource.getUserRealmRoles
|
|
402
|
-
*/
|
|
403
|
-
getUserRealmRoles(realm: any, userId: any, options?: O): RestResponse<Model.Role[]>;
|
|
404
|
-
/**
|
|
405
|
-
* HTTP PUT /user/{realm}/userRealmRoles/{userId}
|
|
406
|
-
* Java method: org.openremote.model.security.UserResource.updateUserRealmRoles
|
|
407
|
-
*/
|
|
408
|
-
updateUserRealmRoles(realm: any, userId: any, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
409
|
-
/**
|
|
410
|
-
* HTTP GET /user/{realm}/userRoles/{userId}
|
|
411
|
-
* Java method: org.openremote.model.security.UserResource.getUserRoles
|
|
412
|
-
*/
|
|
413
|
-
getUserRoles(realm: any, userId: any, options?: O): RestResponse<Model.Role[]>;
|
|
414
|
-
/**
|
|
415
|
-
* HTTP PUT /user/{realm}/userRoles/{userId}
|
|
416
|
-
* Java method: org.openremote.model.security.UserResource.updateUserRoles
|
|
606
|
+
* HTTP GET /apps
|
|
607
|
+
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
417
608
|
*/
|
|
418
|
-
|
|
609
|
+
getApps(options?: O): RestResponse<any[]>;
|
|
419
610
|
/**
|
|
420
|
-
* HTTP GET /
|
|
421
|
-
* Java method: org.openremote.model.
|
|
611
|
+
* HTTP GET /apps/consoleConfig
|
|
612
|
+
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
422
613
|
*/
|
|
423
|
-
|
|
614
|
+
getConsoleConfig(options?: O): RestResponse<any>;
|
|
424
615
|
/**
|
|
425
|
-
* HTTP
|
|
426
|
-
* Java method: org.openremote.model.
|
|
616
|
+
* HTTP GET /apps/info
|
|
617
|
+
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
427
618
|
*/
|
|
428
|
-
|
|
619
|
+
getAppInfos(options?: O): RestResponse<any>;
|
|
620
|
+
}
|
|
621
|
+
export declare class AgentResourceClient<O> {
|
|
622
|
+
protected httpClient: HttpClient<O>;
|
|
623
|
+
constructor(httpClient: HttpClient<O>);
|
|
429
624
|
/**
|
|
430
|
-
* HTTP GET /
|
|
431
|
-
* Java method: org.openremote.model.
|
|
625
|
+
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
626
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
432
627
|
*/
|
|
433
|
-
|
|
628
|
+
doProtocolAssetDiscovery(agentId: any, queryParams?: {
|
|
629
|
+
realm?: any;
|
|
630
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
434
631
|
/**
|
|
435
|
-
* HTTP POST /
|
|
436
|
-
* Java method: org.openremote.model.
|
|
632
|
+
* HTTP POST /agent/assetImport/{agentId}
|
|
633
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
437
634
|
*/
|
|
438
|
-
|
|
635
|
+
doProtocolAssetImport(agentId: any, fileInfo: Model.FileInfo, queryParams?: {
|
|
636
|
+
realm?: any;
|
|
637
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
439
638
|
/**
|
|
440
|
-
* HTTP
|
|
441
|
-
* Java method: org.openremote.model.
|
|
639
|
+
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
640
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
442
641
|
*/
|
|
443
|
-
|
|
642
|
+
doProtocolInstanceDiscovery(agentType: any, queryParams?: {
|
|
643
|
+
parentId?: any;
|
|
644
|
+
realm?: any;
|
|
645
|
+
}, options?: O): RestResponse<Model.Agent[]>;
|
|
646
|
+
}
|
|
647
|
+
export declare class ProvisioningResourceClient<O> {
|
|
648
|
+
protected httpClient: HttpClient<O>;
|
|
649
|
+
constructor(httpClient: HttpClient<O>);
|
|
444
650
|
/**
|
|
445
|
-
* HTTP
|
|
446
|
-
* Java method: org.openremote.model.
|
|
651
|
+
* HTTP POST /provisioning
|
|
652
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
447
653
|
*/
|
|
448
|
-
|
|
654
|
+
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
449
655
|
/**
|
|
450
|
-
* HTTP GET /
|
|
451
|
-
* Java method: org.openremote.model.
|
|
656
|
+
* HTTP GET /provisioning
|
|
657
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
452
658
|
*/
|
|
453
|
-
|
|
659
|
+
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
454
660
|
/**
|
|
455
|
-
* HTTP
|
|
456
|
-
* Java method: org.openremote.model.
|
|
661
|
+
* HTTP DELETE /provisioning/{id}
|
|
662
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
457
663
|
*/
|
|
458
|
-
|
|
664
|
+
deleteProvisioningConfig(id: any, options?: O): RestResponse<void>;
|
|
459
665
|
/**
|
|
460
|
-
* HTTP
|
|
461
|
-
* Java method: org.openremote.model.
|
|
666
|
+
* HTTP PUT /provisioning/{id}
|
|
667
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
|
|
462
668
|
*/
|
|
463
|
-
|
|
669
|
+
updateProvisioningConfig(id: any, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
464
670
|
}
|
|
465
671
|
export declare class RulesResourceClient<O> {
|
|
466
672
|
protected httpClient: HttpClient<O>;
|
|
@@ -512,300 +718,113 @@ export declare class RulesResourceClient<O> {
|
|
|
512
718
|
*/
|
|
513
719
|
getAssetGeofences(assetId: any, options?: O): RestResponse<Model.GeofenceDefinition[]>;
|
|
514
720
|
/**
|
|
515
|
-
* HTTP GET /rules/info/asset/{assetId}
|
|
516
|
-
* Java method: org.openremote.model.rules.RulesResource.getAssetEngineInfo
|
|
517
|
-
*/
|
|
518
|
-
getAssetEngineInfo(assetId: any, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
519
|
-
/**
|
|
520
|
-
* HTTP GET /rules/info/global
|
|
521
|
-
* Java method: org.openremote.model.rules.RulesResource.getGlobalEngineInfo
|
|
522
|
-
*/
|
|
523
|
-
getGlobalEngineInfo(options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
524
|
-
/**
|
|
525
|
-
* HTTP GET /rules/info/realm/{realm}
|
|
526
|
-
* Java method: org.openremote.model.rules.RulesResource.getRealmEngineInfo
|
|
527
|
-
*/
|
|
528
|
-
getRealmEngineInfo(realm: any, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
529
|
-
/**
|
|
530
|
-
* HTTP POST /rules/realm
|
|
531
|
-
* Java method: org.openremote.model.rules.RulesResource.createRealmRuleset
|
|
532
|
-
*/
|
|
533
|
-
createRealmRuleset(ruleset: Model.RealmRuleset, options?: O): RestResponse<number>;
|
|
534
|
-
/**
|
|
535
|
-
* HTTP GET /rules/realm/for/{realm}
|
|
536
|
-
* Java method: org.openremote.model.rules.RulesResource.getRealmRulesets
|
|
537
|
-
*/
|
|
538
|
-
getRealmRulesets(realm: any, queryParams?: {
|
|
539
|
-
language?: Model.RulesetLang[];
|
|
540
|
-
fullyPopulate?: boolean;
|
|
541
|
-
}, options?: O): RestResponse<Model.RealmRuleset[]>;
|
|
542
|
-
/**
|
|
543
|
-
* HTTP DELETE /rules/realm/{id}
|
|
544
|
-
* Java method: org.openremote.model.rules.RulesResource.deleteRealmRuleset
|
|
545
|
-
*/
|
|
546
|
-
deleteRealmRuleset(id: any, options?: O): RestResponse<void>;
|
|
547
|
-
/**
|
|
548
|
-
* HTTP GET /rules/realm/{id}
|
|
549
|
-
* Java method: org.openremote.model.rules.RulesResource.getRealmRuleset
|
|
550
|
-
*/
|
|
551
|
-
getRealmRuleset(id: any, options?: O): RestResponse<Model.RealmRuleset>;
|
|
552
|
-
/**
|
|
553
|
-
* HTTP PUT /rules/realm/{id}
|
|
554
|
-
* Java method: org.openremote.model.rules.RulesResource.updateRealmRuleset
|
|
555
|
-
*/
|
|
556
|
-
updateRealmRuleset(id: any, ruleset: Model.RealmRuleset, options?: O): RestResponse<void>;
|
|
557
|
-
/**
|
|
558
|
-
* HTTP DELETE /rules/{id}
|
|
559
|
-
* Java method: org.openremote.model.rules.RulesResource.deleteGlobalRuleset
|
|
560
|
-
*/
|
|
561
|
-
deleteGlobalRuleset(id: any, options?: O): RestResponse<void>;
|
|
562
|
-
/**
|
|
563
|
-
* HTTP GET /rules/{id}
|
|
564
|
-
* Java method: org.openremote.model.rules.RulesResource.getGlobalRuleset
|
|
565
|
-
*/
|
|
566
|
-
getGlobalRuleset(id: any, options?: O): RestResponse<Model.GlobalRuleset>;
|
|
567
|
-
/**
|
|
568
|
-
* HTTP PUT /rules/{id}
|
|
569
|
-
* Java method: org.openremote.model.rules.RulesResource.updateGlobalRuleset
|
|
570
|
-
*/
|
|
571
|
-
updateGlobalRuleset(id: any, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
572
|
-
}
|
|
573
|
-
export declare class DashboardResourceClient<O> {
|
|
574
|
-
protected httpClient: HttpClient<O>;
|
|
575
|
-
constructor(httpClient: HttpClient<O>);
|
|
576
|
-
/**
|
|
577
|
-
* HTTP POST /dashboard
|
|
578
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
579
|
-
*/
|
|
580
|
-
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
581
|
-
/**
|
|
582
|
-
* HTTP PUT /dashboard
|
|
583
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
584
|
-
*/
|
|
585
|
-
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
586
|
-
/**
|
|
587
|
-
* HTTP GET /dashboard/all/{realm}
|
|
588
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
589
|
-
*/
|
|
590
|
-
getAllRealmDashboards(realm: any, options?: O): RestResponse<Model.Dashboard[]>;
|
|
591
|
-
/**
|
|
592
|
-
* HTTP POST /dashboard/query
|
|
593
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
594
|
-
*/
|
|
595
|
-
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
596
|
-
/**
|
|
597
|
-
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
598
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
599
|
-
*/
|
|
600
|
-
delete(realm: any, dashboardId: any, options?: O): RestResponse<void>;
|
|
601
|
-
/**
|
|
602
|
-
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
603
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
604
|
-
*/
|
|
605
|
-
get(realm: any, dashboardId: any, options?: O): RestResponse<Model.Dashboard>;
|
|
606
|
-
}
|
|
607
|
-
export declare class AssetModelResourceClient<O> {
|
|
608
|
-
protected httpClient: HttpClient<O>;
|
|
609
|
-
constructor(httpClient: HttpClient<O>);
|
|
610
|
-
/**
|
|
611
|
-
* HTTP GET /model/assetDescriptors
|
|
612
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
613
|
-
*/
|
|
614
|
-
getAssetDescriptors(queryParams?: {
|
|
615
|
-
parentId?: any;
|
|
616
|
-
parentType?: any;
|
|
617
|
-
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
618
|
-
/**
|
|
619
|
-
* HTTP GET /model/assetInfo/{assetType}
|
|
620
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
621
|
-
*/
|
|
622
|
-
getAssetInfo(assetType: any, queryParams?: {
|
|
623
|
-
parentId?: any;
|
|
624
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
625
|
-
/**
|
|
626
|
-
* HTTP GET /model/assetInfos
|
|
627
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
628
|
-
*/
|
|
629
|
-
getAssetInfos(queryParams?: {
|
|
630
|
-
parentId?: any;
|
|
631
|
-
parentType?: any;
|
|
632
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
633
|
-
/**
|
|
634
|
-
* HTTP GET /model/metaItemDescriptors
|
|
635
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
|
|
636
|
-
*/
|
|
637
|
-
getMetaItemDescriptors(queryParams?: {
|
|
638
|
-
parentId?: any;
|
|
639
|
-
}, options?: O): RestResponse<{
|
|
640
|
-
[index: string]: Model.MetaItemDescriptor;
|
|
641
|
-
}>;
|
|
642
|
-
/**
|
|
643
|
-
* HTTP GET /model/valueDescriptors
|
|
644
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
|
|
645
|
-
*/
|
|
646
|
-
getValueDescriptors(queryParams?: {
|
|
647
|
-
parentId?: any;
|
|
648
|
-
}, options?: O): RestResponse<{
|
|
649
|
-
[index: string]: Model.ValueDescriptor;
|
|
650
|
-
}>;
|
|
651
|
-
}
|
|
652
|
-
export declare class NotificationResourceClient<O> {
|
|
653
|
-
protected httpClient: HttpClient<O>;
|
|
654
|
-
constructor(httpClient: HttpClient<O>);
|
|
655
|
-
/**
|
|
656
|
-
* HTTP GET /notification
|
|
657
|
-
* Java method: org.openremote.model.notification.NotificationResource.getNotifications
|
|
658
|
-
*/
|
|
659
|
-
getNotifications(queryParams?: {
|
|
660
|
-
id?: any;
|
|
661
|
-
type?: any;
|
|
662
|
-
from?: any;
|
|
663
|
-
to?: any;
|
|
664
|
-
realmId?: any;
|
|
665
|
-
userId?: any;
|
|
666
|
-
assetId?: any;
|
|
667
|
-
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
668
|
-
/**
|
|
669
|
-
* HTTP DELETE /notification
|
|
670
|
-
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
671
|
-
*/
|
|
672
|
-
removeNotifications(queryParams?: {
|
|
673
|
-
id?: any;
|
|
674
|
-
type?: any;
|
|
675
|
-
from?: any;
|
|
676
|
-
to?: any;
|
|
677
|
-
realmId?: any;
|
|
678
|
-
userId?: any;
|
|
679
|
-
assetId?: any;
|
|
680
|
-
}, options?: O): RestResponse<void>;
|
|
681
|
-
/**
|
|
682
|
-
* HTTP POST /notification/alert
|
|
683
|
-
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
684
|
-
*/
|
|
685
|
-
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
686
|
-
/**
|
|
687
|
-
* HTTP DELETE /notification/{notificationId}
|
|
688
|
-
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
689
|
-
*/
|
|
690
|
-
removeNotification(notificationId: any, options?: O): RestResponse<void>;
|
|
691
|
-
/**
|
|
692
|
-
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
693
|
-
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
694
|
-
*/
|
|
695
|
-
notificationAcknowledged(notificationId: any, acknowledgement: any, queryParams?: {
|
|
696
|
-
targetId?: any;
|
|
697
|
-
}, options?: O): RestResponse<void>;
|
|
698
|
-
/**
|
|
699
|
-
* HTTP PUT /notification/{notificationId}/delivered
|
|
700
|
-
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
721
|
+
* HTTP GET /rules/info/asset/{assetId}
|
|
722
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetEngineInfo
|
|
701
723
|
*/
|
|
702
|
-
|
|
703
|
-
targetId?: any;
|
|
704
|
-
}, options?: O): RestResponse<void>;
|
|
705
|
-
}
|
|
706
|
-
export declare class AssetResourceClient<O> {
|
|
707
|
-
protected httpClient: HttpClient<O>;
|
|
708
|
-
constructor(httpClient: HttpClient<O>);
|
|
724
|
+
getAssetEngineInfo(assetId: any, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
709
725
|
/**
|
|
710
|
-
* HTTP
|
|
711
|
-
* Java method: org.openremote.model.
|
|
726
|
+
* HTTP GET /rules/info/global
|
|
727
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalEngineInfo
|
|
712
728
|
*/
|
|
713
|
-
|
|
729
|
+
getGlobalEngineInfo(options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
714
730
|
/**
|
|
715
|
-
* HTTP
|
|
716
|
-
* Java method: org.openremote.model.
|
|
731
|
+
* HTTP GET /rules/info/realm/{realm}
|
|
732
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmEngineInfo
|
|
717
733
|
*/
|
|
718
|
-
|
|
719
|
-
assetId?: any[];
|
|
720
|
-
}, options?: O): RestResponse<void>;
|
|
734
|
+
getRealmEngineInfo(realm: any, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
721
735
|
/**
|
|
722
|
-
* HTTP
|
|
723
|
-
* Java method: org.openremote.model.
|
|
736
|
+
* HTTP POST /rules/realm
|
|
737
|
+
* Java method: org.openremote.model.rules.RulesResource.createRealmRuleset
|
|
724
738
|
*/
|
|
725
|
-
|
|
739
|
+
createRealmRuleset(ruleset: Model.RealmRuleset, options?: O): RestResponse<number>;
|
|
726
740
|
/**
|
|
727
|
-
* HTTP
|
|
728
|
-
* Java method: org.openremote.model.
|
|
741
|
+
* HTTP GET /rules/realm/for/{realm}
|
|
742
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmRulesets
|
|
729
743
|
*/
|
|
730
|
-
|
|
744
|
+
getRealmRulesets(realm: any, queryParams?: {
|
|
745
|
+
language?: Model.RulesetLang[];
|
|
746
|
+
fullyPopulate?: boolean;
|
|
747
|
+
}, options?: O): RestResponse<Model.RealmRuleset[]>;
|
|
731
748
|
/**
|
|
732
|
-
* HTTP DELETE /
|
|
733
|
-
* Java method: org.openremote.model.
|
|
749
|
+
* HTTP DELETE /rules/realm/{id}
|
|
750
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteRealmRuleset
|
|
734
751
|
*/
|
|
735
|
-
|
|
736
|
-
assetIds?: any[];
|
|
737
|
-
}, options?: O): RestResponse<void>;
|
|
752
|
+
deleteRealmRuleset(id: any, options?: O): RestResponse<void>;
|
|
738
753
|
/**
|
|
739
|
-
* HTTP GET /
|
|
740
|
-
* Java method: org.openremote.model.
|
|
754
|
+
* HTTP GET /rules/realm/{id}
|
|
755
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmRuleset
|
|
741
756
|
*/
|
|
742
|
-
|
|
757
|
+
getRealmRuleset(id: any, options?: O): RestResponse<Model.RealmRuleset>;
|
|
743
758
|
/**
|
|
744
|
-
* HTTP
|
|
745
|
-
* Java method: org.openremote.model.
|
|
759
|
+
* HTTP PUT /rules/realm/{id}
|
|
760
|
+
* Java method: org.openremote.model.rules.RulesResource.updateRealmRuleset
|
|
746
761
|
*/
|
|
747
|
-
|
|
762
|
+
updateRealmRuleset(id: any, ruleset: Model.RealmRuleset, options?: O): RestResponse<void>;
|
|
748
763
|
/**
|
|
749
|
-
* HTTP
|
|
750
|
-
* Java method: org.openremote.model.
|
|
764
|
+
* HTTP DELETE /rules/{id}
|
|
765
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteGlobalRuleset
|
|
751
766
|
*/
|
|
752
|
-
|
|
767
|
+
deleteGlobalRuleset(id: any, options?: O): RestResponse<void>;
|
|
753
768
|
/**
|
|
754
|
-
* HTTP
|
|
755
|
-
* Java method: org.openremote.model.
|
|
769
|
+
* HTTP GET /rules/{id}
|
|
770
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalRuleset
|
|
756
771
|
*/
|
|
757
|
-
|
|
772
|
+
getGlobalRuleset(id: any, options?: O): RestResponse<Model.GlobalRuleset>;
|
|
758
773
|
/**
|
|
759
|
-
* HTTP
|
|
760
|
-
* Java method: org.openremote.model.
|
|
774
|
+
* HTTP PUT /rules/{id}
|
|
775
|
+
* Java method: org.openremote.model.rules.RulesResource.updateGlobalRuleset
|
|
761
776
|
*/
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
777
|
+
updateGlobalRuleset(id: any, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
778
|
+
}
|
|
779
|
+
export declare class GatewayClientResourceClient<O> {
|
|
780
|
+
protected httpClient: HttpClient<O>;
|
|
781
|
+
constructor(httpClient: HttpClient<O>);
|
|
767
782
|
/**
|
|
768
|
-
* HTTP
|
|
769
|
-
* Java method: org.openremote.model.
|
|
783
|
+
* HTTP DELETE /gateway/connection
|
|
784
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
770
785
|
*/
|
|
771
|
-
|
|
786
|
+
deleteConnections(queryParams?: {
|
|
787
|
+
realm?: any[];
|
|
788
|
+
}, options?: O): RestResponse<void>;
|
|
772
789
|
/**
|
|
773
|
-
* HTTP
|
|
774
|
-
* Java method: org.openremote.model.
|
|
790
|
+
* HTTP GET /gateway/connection
|
|
791
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
775
792
|
*/
|
|
776
|
-
|
|
793
|
+
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
777
794
|
/**
|
|
778
|
-
* HTTP DELETE /
|
|
779
|
-
* Java method: org.openremote.model.
|
|
795
|
+
* HTTP DELETE /gateway/connection/{realm}
|
|
796
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
780
797
|
*/
|
|
781
|
-
|
|
798
|
+
deleteConnection(realm: any, options?: O): RestResponse<void>;
|
|
782
799
|
/**
|
|
783
|
-
* HTTP GET /
|
|
784
|
-
* Java method: org.openremote.model.
|
|
800
|
+
* HTTP GET /gateway/connection/{realm}
|
|
801
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
785
802
|
*/
|
|
786
|
-
|
|
803
|
+
getConnection(realm: any, options?: O): RestResponse<Model.GatewayConnection>;
|
|
787
804
|
/**
|
|
788
|
-
* HTTP PUT /
|
|
789
|
-
* Java method: org.openremote.model.
|
|
805
|
+
* HTTP PUT /gateway/connection/{realm}
|
|
806
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
790
807
|
*/
|
|
791
|
-
|
|
808
|
+
setConnection(realm: any, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
792
809
|
/**
|
|
793
|
-
* HTTP
|
|
794
|
-
* Java method: org.openremote.model.
|
|
810
|
+
* HTTP GET /gateway/status/{realm}
|
|
811
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
795
812
|
*/
|
|
796
|
-
|
|
813
|
+
getConnectionStatus(realm: any, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
814
|
+
}
|
|
815
|
+
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
816
|
+
protected httpClient: HttpClient<O>;
|
|
817
|
+
constructor(httpClient: HttpClient<O>);
|
|
797
818
|
/**
|
|
798
|
-
* HTTP
|
|
799
|
-
* Java method: org.openremote.model.
|
|
819
|
+
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
820
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
800
821
|
*/
|
|
801
|
-
|
|
822
|
+
getPredictedDatapoints(assetId: any, attributeName: any, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
802
823
|
/**
|
|
803
|
-
* HTTP PUT /asset/{
|
|
804
|
-
* Java method: org.openremote.model.
|
|
824
|
+
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
825
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
805
826
|
*/
|
|
806
|
-
|
|
807
|
-
assetIds?: any[];
|
|
808
|
-
}, options?: O): RestResponse<void>;
|
|
827
|
+
writePredictedDatapoints(assetId: any, attributeName: any, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
809
828
|
}
|
|
810
829
|
export declare class RealmResourceClient<O> {
|
|
811
830
|
protected httpClient: HttpClient<O>;
|
|
@@ -860,70 +879,51 @@ export declare class FlowResourceClient<O> {
|
|
|
860
879
|
*/
|
|
861
880
|
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
862
881
|
}
|
|
863
|
-
export declare class AppResourceClient<O> {
|
|
864
|
-
protected httpClient: HttpClient<O>;
|
|
865
|
-
constructor(httpClient: HttpClient<O>);
|
|
866
|
-
/**
|
|
867
|
-
* HTTP GET /apps
|
|
868
|
-
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
869
|
-
*/
|
|
870
|
-
getApps(options?: O): RestResponse<any[]>;
|
|
871
|
-
/**
|
|
872
|
-
* HTTP GET /apps/consoleConfig
|
|
873
|
-
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
874
|
-
*/
|
|
875
|
-
getConsoleConfig(options?: O): RestResponse<any>;
|
|
876
|
-
/**
|
|
877
|
-
* HTTP GET /apps/info
|
|
878
|
-
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
879
|
-
*/
|
|
880
|
-
getAppInfos(options?: O): RestResponse<any>;
|
|
881
|
-
}
|
|
882
882
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
883
883
|
export declare class ApiClient {
|
|
884
|
-
protected
|
|
885
|
-
protected
|
|
886
|
-
protected
|
|
887
|
-
protected
|
|
884
|
+
protected _syslogResource: AxiosSyslogResourceClient;
|
|
885
|
+
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
886
|
+
protected _assetResource: AxiosAssetResourceClient;
|
|
887
|
+
protected _notificationResource: AxiosNotificationResourceClient;
|
|
888
|
+
protected _userResource: AxiosUserResourceClient;
|
|
888
889
|
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
890
|
+
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
891
|
+
protected _consoleResource: AxiosConsoleResourceClient;
|
|
892
|
+
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
889
893
|
protected _alarmResource: AxiosAlarmResourceClient;
|
|
894
|
+
protected _statusResource: AxiosStatusResourceClient;
|
|
890
895
|
protected _mapResource: AxiosMapResourceClient;
|
|
891
|
-
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
892
|
-
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
893
896
|
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
894
|
-
protected
|
|
895
|
-
protected
|
|
896
|
-
protected
|
|
897
|
+
protected _appResource: AxiosAppResourceClient;
|
|
898
|
+
protected _agentResource: AxiosAgentResourceClient;
|
|
899
|
+
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
897
900
|
protected _rulesResource: AxiosRulesResourceClient;
|
|
898
|
-
protected
|
|
899
|
-
protected
|
|
900
|
-
protected _notificationResource: AxiosNotificationResourceClient;
|
|
901
|
-
protected _assetResource: AxiosAssetResourceClient;
|
|
901
|
+
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
902
|
+
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
902
903
|
protected _realmResource: AxiosRealmResourceClient;
|
|
903
904
|
protected _flowResource: AxiosFlowResourceClient;
|
|
904
|
-
protected _appResource: AxiosAppResourceClient;
|
|
905
905
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
906
|
-
get
|
|
907
|
-
get
|
|
908
|
-
get
|
|
909
|
-
get
|
|
906
|
+
get SyslogResource(): AxiosSyslogResourceClient;
|
|
907
|
+
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
908
|
+
get AssetResource(): AxiosAssetResourceClient;
|
|
909
|
+
get NotificationResource(): AxiosNotificationResourceClient;
|
|
910
|
+
get UserResource(): AxiosUserResourceClient;
|
|
910
911
|
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
912
|
+
get DashboardResource(): AxiosDashboardResourceClient;
|
|
913
|
+
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
914
|
+
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
911
915
|
get AlarmResource(): AxiosAlarmResourceClient;
|
|
916
|
+
get StatusResource(): AxiosStatusResourceClient;
|
|
912
917
|
get MapResource(): AxiosMapResourceClient;
|
|
913
|
-
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
914
|
-
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
915
918
|
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
916
|
-
get
|
|
917
|
-
get
|
|
918
|
-
get
|
|
919
|
+
get AppResource(): AxiosAppResourceClient;
|
|
920
|
+
get AgentResource(): AxiosAgentResourceClient;
|
|
921
|
+
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
919
922
|
get RulesResource(): AxiosRulesResourceClient;
|
|
920
|
-
get
|
|
921
|
-
get
|
|
922
|
-
get NotificationResource(): AxiosNotificationResourceClient;
|
|
923
|
-
get AssetResource(): AxiosAssetResourceClient;
|
|
923
|
+
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
924
|
+
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
924
925
|
get RealmResource(): AxiosRealmResourceClient;
|
|
925
926
|
get FlowResource(): AxiosFlowResourceClient;
|
|
926
|
-
get AppResource(): AxiosAppResourceClient;
|
|
927
927
|
}
|
|
928
928
|
import * as Axios from "axios";
|
|
929
929
|
declare module "axios" {
|
|
@@ -931,58 +931,61 @@ declare module "axios" {
|
|
|
931
931
|
data: R;
|
|
932
932
|
}
|
|
933
933
|
}
|
|
934
|
-
export declare class
|
|
934
|
+
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
935
935
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
936
936
|
}
|
|
937
|
-
export declare class
|
|
937
|
+
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
938
938
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
939
939
|
}
|
|
940
|
-
export declare class
|
|
940
|
+
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
941
941
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
942
942
|
}
|
|
943
|
-
export declare class
|
|
943
|
+
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
944
|
+
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
945
|
+
}
|
|
946
|
+
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
944
947
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
945
948
|
}
|
|
946
949
|
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
947
950
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
948
951
|
}
|
|
949
|
-
export declare class
|
|
952
|
+
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
950
953
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
951
954
|
}
|
|
952
|
-
export declare class
|
|
955
|
+
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
953
956
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
954
957
|
}
|
|
955
|
-
export declare class
|
|
958
|
+
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
956
959
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
957
960
|
}
|
|
958
|
-
export declare class
|
|
961
|
+
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
959
962
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
960
963
|
}
|
|
961
|
-
export declare class
|
|
964
|
+
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
962
965
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
963
966
|
}
|
|
964
|
-
export declare class
|
|
967
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
965
968
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
966
969
|
}
|
|
967
|
-
export declare class
|
|
970
|
+
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
968
971
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
969
972
|
}
|
|
970
|
-
export declare class
|
|
973
|
+
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
971
974
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
972
975
|
}
|
|
973
|
-
export declare class
|
|
976
|
+
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
974
977
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
975
978
|
}
|
|
976
|
-
export declare class
|
|
979
|
+
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
977
980
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
978
981
|
}
|
|
979
|
-
export declare class
|
|
982
|
+
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
980
983
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
981
984
|
}
|
|
982
|
-
export declare class
|
|
985
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
983
986
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
984
987
|
}
|
|
985
|
-
export declare class
|
|
988
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
986
989
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
987
990
|
}
|
|
988
991
|
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
@@ -991,6 +994,3 @@ export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.
|
|
|
991
994
|
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
992
995
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
993
996
|
}
|
|
994
|
-
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
995
|
-
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
996
|
-
}
|