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