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