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