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