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