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